@font-face {
  font-family: Kanit;
  src: url("../fonts/Kanit-Light.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: Kanit;
  src: url("../fonts/Kanit-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Kanit;
  src: url("../fonts/Kanit-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: Kanit;
  src: url("../fonts/Kanit-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: Kanit;
  src: url("../fonts/Kanit-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: Kanit;
  src: url("../fonts/Kanit-ExtraBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: Kanit;
  src: url("../fonts/Kanit-Black.ttf") format("truetype");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

:root {
  --red: #bd101c;
  --red-dark: #890a13;
  --ink: #111315;
  --ink-soft: #1b1e20;
  --teal: #188477;
  --teal-dark: #0b5e56;
  --paper: #fff;
  --mist: #f3f4f3;
  --muted: #70787a;
  --line: #dce0df;
  --font: "Kanit", "Tahoma", sans-serif;
  --container: 1200px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--paper);
  color: #202426;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button,
a,
input,
textarea {
  outline-offset: 3px;
}

button {
  cursor: pointer;
}

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.22;
  letter-spacing: -0.035em;
}

h1,
h2 {
  font-weight: 750;
}

h1 {
  font-size: clamp(2.8rem, 6.5vw, 5.8rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  font-size: 1.18rem;
  font-weight: 700;
}

em {
  color: var(--red);
  font-style: normal;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -10000px;
  top: 8px;
  background: #fff;
  padding: 10px 14px;
  z-index: 999;
}

.skip-link:focus {
  left: 10px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow:before {
  content: "";
  width: 25px;
  height: 2px;
  background: currentColor;
}

.eyebrow-light {
  color: #ff737b;
}

.muted {
  color: var(--muted);
}

.utility-bar {
  height: 35px;
  background: var(--ink);
  color: #cad0cf;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

.utility-inner {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.utility-company {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0;
}

.utility-inner a {
  color: #fff;
}

.utility-inner strong {
  margin-left: 8px;
  color: #ff737b;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid #e5e8e7;
  box-shadow: 0 8px 25px #12161808;
}

.header-inner {
  height: 86px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand img {
  width: 146px;
  height: auto;
  object-fit: contain;
}

.header-navigation {
  margin-left: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.primary-nav > a,
.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 43px;
  padding: 9px 12px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #364044;
  font-size: 0.82rem;
  font-weight: 650;
  transition:
    background 0.18s,
    color 0.18s;
}

.primary-nav > a:hover,
.nav-link:hover,
.primary-nav a[aria-current="page"] {
  background: #f3f4f3;
  color: var(--red);
}

.nav-group {
  position: relative;
}

.nav-dropdown-toggle span {
  font-size: 1rem;
  transition: transform 0.2s;
}

.nav-dropdown-toggle[aria-expanded="true"] span {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 320px;
  padding: 8px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 20px 45px #11131521;
}

.dropdown-menu[hidden] {
  display: none;
}

#about-menu {
  width: 390px;
  max-height: min(78vh, 680px);
  overflow-y: auto;
}

.dropdown-menu a {
  display: grid;
  grid-template-columns: 40px 1fr 18px;
  align-items: center;
  gap: 10px;
  padding: 12px 10px;
  border-bottom: 1px solid #eef0ef;
  transition: background 0.15s;
}

.dropdown-menu a:hover {
  background: var(--mist);
}

.dropdown-menu a:last-child {
  border-bottom: 0;
}

.policy-menu-toggle {
  display: grid;
  width: 100%;
  grid-template-columns: 40px 1fr 18px;
  align-items: center;
  gap: 10px;
  padding: 12px 10px;
  border: 0;
  border-bottom: 1px solid #eef0ef;
  background: #fff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background 0.15s;
}

.policy-menu-toggle:hover,
.policy-menu-toggle[aria-expanded="true"] {
  background: var(--mist);
}

.policy-menu-toggle strong,
.policy-menu-toggle small {
  display: block;
}

.policy-menu-toggle strong {
  font-size: 0.8rem;
}

.policy-menu-toggle small {
  color: var(--muted);
  font-size: 0.68rem;
}

.policy-menu-toggle .arrow {
  font-size: 0.65rem;
  transition: transform 0.2s;
}

.policy-menu-toggle[aria-expanded="true"] .arrow {
  transform: rotate(180deg);
}

.policy-menu[hidden] {
  display: none;
}

.policy-menu {
  padding: 4px 0 8px 14px;
  border-bottom: 1px solid #eef0ef;
  background: #f8f9f9;
}

.policy-menu h3 {
  margin: 12px 8px 4px;
  color: var(--red);
  font-size: 0.69rem;
  font-weight: 750;
}

.dropdown-menu .policy-menu a {
  display: block;
  padding: 7px 8px;
  border-bottom: 1px solid #e2e6e5;
  color: #364044;
  font-size: 0.69rem;
  line-height: 1.45;
}

.dropdown-menu .policy-menu a:last-child {
  border-bottom: 0;
}

.policy-menu h3 + a {
  margin-top: 3px;
}

.policy-menu a + h3 {
  margin-top: 16px;
}

.dropdown-menu .policy-menu a:hover {
  color: var(--red);
}

.dropdown-menu strong,
.dropdown-menu small {
  display: block;
}

.dropdown-menu strong {
  font-size: 0.8rem;
}

.dropdown-menu small {
  color: var(--muted);
  font-size: 0.68rem;
}

.nav-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  background: #f9e7e8;
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 800;
}

.arrow {
  color: var(--red);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 0.78rem;
  font-weight: 750;
  transition:
    transform 0.2s,
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s;
}

.button:hover {
  transform: translateY(-2px);
}

.button span {
  font-size: 1rem;
}

.button-primary {
  background: var(--red);
  color: white;
  box-shadow: 0 8px 18px #bd101c24;
}

.button-primary:hover {
  background: var(--red-dark);
}

.button-light {
  background: #fff;
  color: var(--ink);
}

.button-light:hover {
  box-shadow: 0 10px 24px #0003;
}

.button-outline-light {
  border-color: #ffffff75;
  color: white;
  background: #ffffff0a;
}

.button-outline-light:hover {
  background: #ffffff1b;
}

.header-cta {
  min-height: 42px;
  padding-inline: 16px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  background: white;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  background: var(--ink);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.015);
  transition:
    opacity 0.65s,
    transform 6.5s;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-shade {
  background:
    linear-gradient(90deg, #111315ee 0%, #111315c9 36%, #11131526 77%),
    linear-gradient(0deg, #11131572, transparent 38%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 110px;
  color: #fff;
}

.hero-kicker {
  margin: 24px 0 12px;
  color: #f6c9cb;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(3.15rem, 7vw, 6.1rem);
  line-height: 1.12;
}

.hero h1 em {
  color: #ff666f;
}

.hero-lead {
  max-width: 570px;
  margin: 22px 0 0;
  color: #e2e4e4;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-bottom {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 24px;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.hero-index {
  font: 700 0.7rem/1 var(--font);
  letter-spacing: 0.12em;
}

.hero-index b {
  color: #ff737b;
  font-size: 1.1rem;
}

.slide-controls {
  display: flex;
  gap: 7px;
}

.slide-controls button {
  width: 40px;
  height: 40px;
  border: 1px solid #ffffff6b;
  background: #11131530;
  color: white;
}

.slide-controls button:hover {
  background: var(--red);
}

.section {
  padding: 50px 0;
}

.section-soft {
  background: var(--mist);
}

.section-dark {
  background: var(--ink);
  color: #f7f8f7;
}

.intro-grid,
.section-heading,
.split-feature,
.org-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}

.intro-grid h2 {
  margin-top: 18px;
}

.intro-copy {
  max-width: 460px;
  margin: 0 0 5px;
  color: #6f7778;
  font-size: 1.05rem;
}

.service-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
}

.service-card {
  position: relative;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 30px;
  color: white;
  transition: transform 0.25s;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card-dark {
  background: linear-gradient(135deg, #25292b, #101214);
}

.service-card-light {
  background: linear-gradient(130deg, #177769, #084f48);
}

.service-card:after {
  position: absolute;
  top: -100px;
  right: -65px;
  width: 300px;
  height: 300px;
  border: 1px solid #ffffff22;
  border-radius: 50%;
  content: "";
  box-shadow:
    0 0 0 30px #ffffff08,
    0 0 0 60px #ffffff06;
}

.card-number {
  position: absolute;
  top: 27px;
  left: 30px;
  color: #ffffff9b;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
}

.service-card-title {
  position: relative;
  z-index: 1;
  margin: 0 0 4px;
  font-size: 2.1rem;
  font-weight: 750;
}

.service-card
  > span:not(.card-number):not(.service-card-title):not(.card-arrow) {
  position: relative;
  z-index: 1;
  color: #e0e6e4;
  font-size: 0.82rem;
}

.card-arrow {
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #ffffff70;
  font-size: 1.1rem;
}

.split-feature {
  align-items: center;
  grid-template-columns: 1fr 0.8fr;
}

.split-feature h2 {
  margin: 22px 0;
}

.split-feature p {
  max-width: 490px;
  color: #c3c8c8;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 800;
}

.text-link span {
  font-size: 1rem;
  transition: transform 0.2s;
}

.text-link:hover span {
  transform: translate(3px, -3px);
}

.text-link-light {
  margin-top: 16px;
  color: white;
}

.feature-stats {
  border-top: 1px solid #ffffff36;
}

.feature-stats div {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 22px 0;
  border-bottom: 1px solid #ffffff36;
}

.feature-stats b {
  color: #ff737b;
  font-size: 1.5rem;
}

.feature-stats span {
  color: #e1e4e3;
  font-size: 0.88rem;
}

.section-heading {
  margin-bottom: 35px;
  align-items: end;
}

.section-heading h2 {
  margin-top: 15px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 86px;
  background: var(--ink);
  color: white;
}

.page-hero:after {
  position: absolute;
  right: -6%;
  bottom: -70%;
  width: 56vw;
  height: 110%;
  border: 1px solid #ffffff23;
  content: "";
  transform: rotate(-26deg);
  box-shadow:
    0 0 0 40px #ffffff05,
    0 0 0 80px #ffffff05;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 850px;
  margin: 25px 0 14px;
  font-size: clamp(2.6rem, 5vw, 4.7rem);
}

.page-hero p {
  max-width: 650px;
  color: #c5cbca;
}

.page-hero-compact {
  padding: 62px 0 66px;
}

.page-hero-compact h1 {
  font-size: clamp(2.4rem, 4vw, 4rem);
}

.breadcrumb {
  display: flex;
  gap: 10px;
  margin-bottom: 32px;
  color: #a9b1b0;
  font-size: 0.7rem;
}

.breadcrumb a:hover {
  color: #fff;
}

.page-hero-taxi {
  background:
    linear-gradient(100deg, #17191b 0%, #17191be8 55%, #17191b4d),
    url("../images/Mcap-slide2.jpg") center/cover;
}

.page-hero-solar {
  background:
    linear-gradient(100deg, #17191b 0%, #17191be5 55%, #17191b28),
    url("../images/Mcap-slide4.jpg") center/cover;
}

.page-hero .button {
  margin-top: 20px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 46px;
}

.detail-card {
  min-height: 215px;
  padding: 26px;
  border: 1px solid var(--line);
  background: white;
}

.detail-card > b {
  color: var(--red);
  font-size: 0.73rem;
}

.detail-card h3 {
  margin: 29px 0 8px;
  font-size: 1.35rem;
}

.detail-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.split-light {
  align-items: center;
}

.split-light h2 {
  color: var(--ink);
}

.split-light p {
  color: #666f70;
}

.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.steps-list li {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 21px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 0.87rem;
}

.steps-list b {
  color: var(--red);
  font-size: 0.78rem;
}

.listing-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 28px;
}

.listing-toolbar h2 {
  margin-top: 10px;
  font-size: 2rem;
}

.listing-count {
  color: var(--muted);
  font-size: 0.8rem;
}

.content-grid,
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.content-card {
  overflow: hidden;
  border: 1px solid #e2e5e4;
  background: #fff;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}

.content-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px #171b1c12;
}

.card-image {
  position: relative;
  height: 220px;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, #22272a, #565f60);
}

.content-card:nth-child(3n + 2) .card-image {
  background: linear-gradient(135deg, #155e55, #3ba191);
}

.content-card:nth-child(3n + 3) .card-image {
  background: linear-gradient(135deg, #71202a, #cf454b);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s;
}

.content-card:hover .card-image img {
  transform: scale(1.04);
}

.image-label {
  position: absolute;
  top: 13px;
  left: 13px;
  padding: 6px 9px;
  background: #111315d9;
  color: #fff;
  font-size: 0.64rem;
}

.card-copy {
  padding: 21px;
}

.card-index {
  color: var(--red);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.card-copy h3 {
  margin: 11px 0 9px;
  line-height: 1.45;
}

.card-copy h3 a:hover {
  color: var(--red);
}

.card-copy p {
  min-height: 48px;
  color: var(--muted);
  font-size: 0.78rem;
}

.card-copy .text-link {
  margin-top: 8px;
}

/* แสดงแท็กหมวดหมู่เหนือหัวข้อในการ์ดและหน้ารายละเอียด */
.article-meta {
  display: flex;
  gap: 18px;
  color: #747c7c;
  font-size: 0.67rem;
}

.article-meta + .card-copy h3 {
  margin-top: 10px;
}

.search-box {
  width: min(300px, 100%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid var(--line);
}

.search-box > span {
  font-size: 1.2rem;
  color: var(--red);
}

.search-box input {
  width: 100%;
  height: 43px;
  border: 0;
  outline: none;
  font-size: 0.78rem;
}

.empty-state {
  padding: 28px;
  border: 1px dashed var(--line);
  color: var(--muted);
  text-align: center;
}

.org-intro {
  align-items: start;
}

.org-intro h2 {
  margin-top: 17px;
}

.org-intro p {
  color: var(--muted);
}

.org-chart {
  margin-top: 50px;
  text-align: center;
}

.org-node {
  position: relative;
  max-width: 310px;
  margin: 0 auto;
  padding: 22px 18px;
  border: 1px solid var(--line);
  background: white;
  box-shadow: 0 10px 28px #1113150a;
}

.org-node span {
  color: var(--red);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.org-node h3 {
  margin: 8px 0 4px;
}

.org-node p {
  margin: 0;
  color: var(--muted);
  font-size: 0.77rem;
}

.org-lead {
  border-top: 3px solid var(--red);
}

.org-branches {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 54px;
  padding-top: 30px;
}

.org-branches:before {
  position: absolute;
  top: 0;
  left: 16.66%;
  right: 16.66%;
  height: 1px;
  background: var(--line);
  content: "";
}

.org-branches .org-node:before {
  position: absolute;
  top: -32px;
  left: 50%;
  height: 31px;
  border-left: 1px solid var(--line);
  content: "";
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}

.contact-layout h2 {
  margin: 17px 0 25px;
  font-size: 2rem;
}

.contact-list {
  border-top: 1px solid var(--line);
}

.contact-list > div,
.contact-list > a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list span {
  color: var(--muted);
  font-size: 0.7rem;
}

.contact-list strong {
  font-size: 0.88rem;
}

.contact-list a:hover strong {
  color: var(--red);
}

.contact-form {
  padding: 30px;
  background: var(--mist);
}

.contact-form h2 {
  margin: 11px 0;
  font-size: 1.8rem;
}

.contact-form > p {
  color: var(--muted);
  font-size: 0.78rem;
}

.contact-form label:not(.consent) {
  display: grid;
  gap: 6px;
  margin-top: 13px;
  font-size: 0.73rem;
  font-weight: 650;
}

.contact-form input:not([type="checkbox"]),
.contact-form textarea {
  width: 100%;
  border: 1px solid #d6dcda;
  background: #fff;
  padding: 11px 12px;
  font-size: 0.85rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  outline: 2px solid #18847724;
}

.consent {
  display: flex;
  align-items: start;
  gap: 9px;
  margin: 16px 0;
  font-size: 0.7rem;
}

.form-status {
  display: block;
  margin-top: 12px;
  color: var(--teal-dark);
  font-size: 0.75rem;
}

.policy-copy {
  max-width: 850px;
}

.policy-copy h2 {
  margin: 32px 0 10px;
  font-size: 1.35rem;
}

.policy-copy p {
  color: var(--muted);
}

.policy-copy > a {
  color: var(--red);
  font-weight: 700;
}

.notice {
  margin: 24px 0;
  padding: 16px 18px;
  border-left: 3px solid var(--red);
  background: #faf1f2;
  color: #683439;
  font-size: 0.78rem;
}

.article-detail {
  max-width: 850px;
}

.article-detail .detail-media {
  height: 360px;
  margin-bottom: 25px;
  background: #202426;
}

.detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-lead {
  margin: 25px 0 16px;
  font-size: 1.15rem;
  font-weight: 650;
}

.article-detail > p:not(.detail-lead) {
  color: #555e5f;
}

.article-detail .button {
  margin-top: 12px;
}

.back-link {
  display: inline-flex;
  margin: 24px 0 0 18px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
}

.error-section {
  min-height: 58vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  text-align: center;
}

.error-code {
  color: var(--red);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 800;
  line-height: 1;
}

.error-section h1 {
  margin: 14px 0;
  font-size: 2.4rem;
}

.error-section p {
  margin-bottom: 23px;
  color: var(--muted);
}

.cta-section {
  padding-top: 30px;
}

.cta-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 50px;
  background: linear-gradient(120deg, #151719, #272b2d);
  color: white;
}

.cta-panel-brand {
  background: linear-gradient(120deg, var(--red) 0%, var(--red-dark) 100%);
}

.cta-panel h2 {
  margin-top: 15px;
  font-size: 2.4rem;
}

.solar-visual-panel {
  position: relative;
  min-height: 290px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #16796c, #092f2e);
}

.solar-visual-panel:before,
.solar-visual-panel:after {
  position: absolute;
  width: 270px;
  height: 170px;
  border: 1px solid #ffffff65;
  content: "";
  transform: skewY(-28deg) rotate(25deg);
}

.solar-visual-panel:after {
  transform: translateY(24px) skewY(-28deg) rotate(25deg);
  background:
    repeating-linear-gradient(90deg, transparent 0 45px, #ffffff25 46px 47px),
    repeating-linear-gradient(0deg, transparent 0 35px, #ffffff25 36px 37px);
}

.solar-orbit {
  position: absolute;
  width: 330px;
  height: 330px;
  border: 1px solid #ffffff36;
  border-radius: 50%;
  box-shadow:
    0 0 0 40px #ffffff0a,
    0 0 0 80px #ffffff08;
}

.solar-tag {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-align: center;
}

.site-footer {
  background: #101214;
  color: #f2f3f2;
}

.footer-top {
  padding: 60px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.4fr;
  gap: 32px;
}

.footer-grid img {
  width: 140px;
  height: auto;
}

.footer-grid h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}

.footer-grid p,
.footer-grid > a,
.footer-brand p {
  display: block;
  margin: 0 0 10px;
  color: #aeb5b4;
  font-size: 0.72rem;
  line-height: 1.9;
}

.footer-grid > div > a:not(:has(img)) {
  display: block;
  margin: 0 0 8px;
  color: #aeb5b4;
  font-size: 0.72rem;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-note {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 7px;
  border: 1px solid #ffffff36;
  color: #ff999e;
  font-size: 0.58rem;
}

.footer-bottom {
  border-top: 1px solid #ffffff20;
}

.footer-bottom .container {
  min-height: 54px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #939a99;
  font-size: 0.82rem;
}

.footer-bottom a:hover {
  color: #fff;
}

/* ปุ่มกลับด้านบนแบบลอย เพื่อให้แตะได้สะดวกจากทุกตำแหน่งของหน้า */
.back-to-top {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border: 1px solid #ffffff40;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 8px 24px #171b1c38;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    background-color 0.2s,
    transform 0.2s;
}

.back-to-top span {
  font-size: 1.15rem;
  line-height: 1;
}

.back-to-top:hover {
  transform: translateY(-3px);
  background: #a80f19;
  color: #fff;
}

.back-to-top:focus-visible {
  outline: 3px solid #111315;
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .header-inner {
    gap: 16px;
  }
  .brand img {
    width: 130px;
  }
  .header-cta {
    display: none;
  }
  .primary-nav > a,
  .nav-link {
    padding-inline: 9px;
    font-size: 0.74rem;
  }
  .content-grid,
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero {
    min-height: 620px;
  }
}

@media (max-width: 760px) {
  .container {
    width: calc(100% - 36px);
  }
  .utility-inner span {
    display: none;
  }
  .utility-inner {
    justify-content: flex-end;
  }
  .header-inner {
    height: 72px;
  }
  .brand img {
    width: 122px;
  }
  .menu-toggle {
    display: block;
    margin-left: auto;
  }
  .header-navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 10px 18px 18px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 16px 28px #1113151c;
  }
  .header-navigation.is-open {
    display: block;
  }
  .primary-nav {
    display: grid;
    gap: 2px;
  }
  .primary-nav > a,
  .nav-link {
    width: 100%;
    justify-content: flex-start;
    padding: 12px 10px;
    font-size: 0.9rem;
  }
  .nav-group {
    width: 100%;
  }
  .dropdown-menu {
    position: static;
    width: auto;
    margin: 4px 0 8px 12px;
    box-shadow: none;
  }
  .hero {
    min-height: 590px;
  }
  .hero-slide {
    object-position: 58% center;
  }
  .hero-shade {
    background:
      linear-gradient(90deg, #111315ec 0%, #111315bf 70%, #11131570),
      linear-gradient(0deg, #11131588, transparent 45%);
  }
  .hero-content {
    padding-top: 100px;
  }
  .hero h1 {
    font-size: clamp(2.8rem, 11vw, 4.6rem);
  }
  .hero-lead {
    font-size: 0.9rem;
  }
  .section {
    padding: 50px 0;
  }
  .intro-grid,
  .section-heading,
  .split-feature,
  .org-intro {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .service-cards {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }
  .service-card {
    min-height: 230px;
  }
  .feature-stats div {
    padding: 16px 0;
  }
  .page-hero {
    padding: 54px 0 60px;
  }
  .page-hero-compact {
    padding: 48px 0;
  }
  .page-hero h1 {
    font-size: clamp(2.45rem, 10vw, 3.8rem);
  }
  .breadcrumb {
    margin-bottom: 25px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 30px;
  }
  .detail-card {
    min-height: 150px;
  }
  .detail-card h3 {
    margin-top: 17px;
  }
  .listing-toolbar {
    align-items: flex-start;
    gap: 16px;
  }
  .listing-toolbar h2 {
    font-size: 1.6rem;
  }
  .content-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }
  .card-image {
    height: 230px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .contact-form {
    padding: 22px;
  }
  .org-branches {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
    padding-top: 0;
  }
  .org-branches:before,
  .org-branches .org-node:before {
    display: none;
  }
  .org-chart {
    margin-top: 32px;
  }
  .article-detail .detail-media {
    height: 240px;
  }
  .cta-section {
    padding-top: 0;
  }
  .cta-panel {
    align-items: flex-start;
    flex-direction: column;
    gap: 25px;
    padding: 30px 22px;
  }
  .cta-panel h2 {
    font-size: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
  .footer-grid > div:first-child {
    grid-column: 1/-1;
  }
  .footer-bottom .container {
    gap: 12px;
    font-size: 0.58rem;
  }
}

@media (max-width: 430px) {
  .container {
    width: calc(100% - 30px);
  }
  .hero-content {
    padding-top: 85px;
  }
  .hero-actions {
    gap: 8px;
  }
  .hero-actions .button {
    min-height: 44px;
    padding-inline: 13px;
    font-size: 0.7rem;
  }
  .hero-bottom {
    bottom: 16px;
  }
  .slide-controls button {
    width: 36px;
    height: 36px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid > div:first-child {
    grid-column: auto;
  }
  .footer-bottom .container {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

[hidden] {
  display: none !important;
}

.hero-media {
  touch-action: pan-y;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: start;
}

.faq-layout h2 {
  margin-top: 16px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 18px 38px 18px 0;
  cursor: pointer;
  list-style: none;
  font-size: 0.86rem;
  font-weight: 700;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary:after {
  position: absolute;
  right: 5px;
  content: "+";
  color: var(--red);
  font-size: 1.25rem;
}

.faq-list details[open] summary:after {
  content: "−";
}

.faq-list details p {
  margin: 0;
  padding: 0 24px 18px 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.faq-list a {
  color: var(--red);
  font-weight: 700;
}

.cookie-notice {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: calc(100vw - 36px);
  padding: 14px 16px;
  background: #17191bed;
  color: white;
  box-shadow: 0 10px 36px #0004;
  font-size: 0.7rem;
}

.cookie-notice > div {
  display: flex;
  gap: 7px;
}

.cookie-notice button {
  padding: 7px 10px;
  border: 1px solid #ffffff65;
  background: transparent;
  color: white;
  font-size: 0.68rem;
}

.cookie-notice button:last-child {
  border-color: var(--red);
  background: var(--red);
}

@media (max-width: 760px) {
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .cookie-notice {
    right: 10px;
    bottom: 10px;
    left: 10px;
    max-width: none;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .cookie-notice > div {
    align-self: flex-end;
  }
}

.brand img {
  object-fit: contain;
}

.primary-nav > a,
.nav-link {
  white-space: nowrap;
}

.nav-link[aria-current="page"] {
  background: #f9eded;
  color: var(--red);
}

.service-card:focus-visible,
.content-card a:focus-visible,
.button:focus-visible {
  outline: 3px solid #229b8b;
  outline-offset: 3px;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.quick-links > a {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 98px;
  padding: 17px 15px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition:
    transform 0.2s,
    border-color 0.2s;
}

.quick-links > a:hover {
  transform: translateY(-3px);
  border-color: #229b8b;
}

.quick-links b,
.quick-links small {
  display: block;
}

.quick-links b {
  font-size: 0.93rem;
}

.quick-links small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.73rem;
}

.quick-links i {
  margin-left: auto;
  color: var(--red);
  font-style: normal;
}

.quick-icon {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e6f5f2;
  color: #167c70;
  font-weight: 700;
}

.delivery-image {
  width: 100%;
  min-height: 340px;
  object-fit: cover;
  object-position: center;
  border-radius: 4px;
}

.leader-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}

.leader-card {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  align-items: center;
  gap: 17px;
  padding: 18px;
  border: 1px solid var(--line);
  background: #fff;
}

.leader-card img {
  width: 100px;
  height: 118px;
  object-fit: cover;
  background: #f2f2f2;
}

.leader-card span {
  color: var(--red);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.leader-card h3 {
  margin: 7px 0 2px;
  font-size: 1rem;
  line-height: 1.45;
}

.leader-card small {
  color: var(--muted);
  font-size: 0.72rem;
}

.about-quote {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 290px;
  padding: 38px;
  background: linear-gradient(135deg, #171a1c, #303638);
  color: white;
}

.about-quote > span {
  color: #82d8cc;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.about-quote strong {
  margin: 20px 0;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1.12;
}

.about-quote small {
  color: #c2c7c6;
}

.mission-list {
  display: grid;
  gap: 0;
}

.mission-list article {
  display: flex;
  gap: 20px;
  padding: 19px 0;
  border-bottom: 1px solid #ffffff25;
}

.mission-list article > b {
  color: #78d6c9;
  font-size: 1.2rem;
}

.mission-list strong,
.mission-list small {
  display: block;
}

.mission-list small {
  margin-top: 4px;
  color: #b9bfbe;
}

.job-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 42px;
  margin-bottom: 28px;
}

.job-list article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 4px 14px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.job-list article > span {
  grid-row: span 2;
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 700;
}

.job-list h3 {
  margin: 0;
  font-size: 1.05rem;
}

.job-list small {
  color: var(--muted);
  font-size: 0.75rem;
}

.content-disclaimer {
  padding: 15px 18px;
  border-left: 3px solid #c32534;
  background: #f7f4f3;
  color: #5f6363;
  font-size: 0.82rem;
  line-height: 1.7;
}

.contact-channel-list {
  display: grid;
  gap: 10px;
}

.contact-channel-list a {
  display: grid;
  grid-template-columns: 46px 1fr 24px;
  align-items: center;
  gap: 12px;
  padding: 19px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}

.contact-channel-list a > span {
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 700;
}

.contact-channel-list a > i {
  color: var(--teal);
  font-style: normal;
}

.payment-note {
  padding: 32px;
  background: #f1f6f5;
  border-top: 3px solid var(--teal);
}

.payment-note > b {
  font-size: 1.3rem;
}

.payment-note p {
  margin: 12px 0 22px;
  color: var(--muted);
  line-height: 1.8;
}

address {
  font-style: normal;
  font-size: 1.25rem;
  line-height: 1.9;
}

/* Tablet navigation and grid rhythm */
@media (max-width: 1100px) and (min-width: 761px) {
  .header-inner {
    gap: 14px;
  }
  .header-cta {
    display: none;
  }
  .menu-toggle {
    display: block;
    margin-left: auto;
  }
  .header-navigation {
    position: absolute;
    top: 100%;
    right: 24px;
    width: min(380px, calc(100vw - 48px));
    display: none;
    margin: 0;
    padding: 12px;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 20px 44px #11131520;
  }
  .header-navigation.is-open {
    display: block;
  }
  .primary-nav {
    display: grid;
    gap: 2px;
  }
  .primary-nav > a,
  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 12px 11px;
    font-size: 0.86rem;
  }
  .dropdown-menu {
    position: static;
    width: auto;
    margin: 4px 0 8px;
    box-shadow: none;
  }
  .primary-nav > a,
  .nav-link {
    min-height: 45px;
    border-radius: 6px;
  }
  .nav-icon {
    flex: 0 0 34px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) and (min-width: 761px) {
  .container {
    width: calc(100% - 64px);
  }
  .hero {
    min-height: 590px;
  }
  .hero-content {
    padding-top: 94px;
  }
  .hero-slide {
    object-position: 64% center;
  }
  .hero-shade {
    background:
      linear-gradient(90deg, #111315f0 0%, #111315c8 52%, #11131545 100%),
      linear-gradient(0deg, #11131580, transparent 42%);
  }
  .section {
    padding: 50px 0;
  }
  .intro-grid,
  .section-heading,
  .split-feature,
  .org-intro {
    gap: 40px;
  }
  .detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .detail-card:last-child:nth-child(odd) {
    grid-column: 1/-1;
  }
  .faq-layout {
    grid-template-columns: 0.7fr 1.3fr;
    gap: 38px;
  }
  .content-grid,
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .card-image {
    height: 205px;
  }
  .leader-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .leader-card:last-child:nth-child(odd) {
    grid-column: 1/-1;
    max-width: calc(50% - 12px);
  }
  .quick-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .delivery-image {
    min-height: 290px;
  }
}

@media (max-width: 920px) and (min-width: 761px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
  }
  .contact-form > .eyebrow,
  .contact-form > h2,
  .contact-form > p,
  .contact-form > .button,
  .contact-form > .form-status {
    grid-column: 1/-1;
  }
  .contact-form label:nth-of-type(4) {
    grid-column: 1/-1;
  }
  .contact-form .consent {
    grid-column: 1/-1;
  }
  .org-branches {
    gap: 10px;
  }
  .org-node {
    padding: 18px 12px;
  }
}

/* Phone layout */
@media (max-width: 760px) {
  .header-navigation {
    max-height: calc(100dvh - 105px);
    overflow-y: auto;
  }
  .hero {
    min-height: 620px;
  }
  .hero-slide {
    object-position: 66% center;
  }
  .hero-content {
    padding-top: 92px;
    padding-bottom: 90px;
  }
  .hero-kicker {
    margin-top: 20px;
  }
  .hero-lead {
    max-width: 440px;
    margin-top: 18px;
  }
  .hero-bottom {
    bottom: 14px;
  }
  .service-card {
    min-height: 220px;
  }
  .section-heading {
    align-items: flex-start;
  }
  .page-hero:after {
    right: -35%;
    width: 90vw;
  }
  .listing-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .search-box {
    width: 100%;
  }
  .faq-layout {
    gap: 22px;
  }
  .contact-form {
    display: block;
  }
  .org-node {
    width: 100%;
    max-width: 440px;
  }
  .article-detail .detail-media {
    height: 230px;
  }
  .cta-panel {
    width: calc(100% - 36px);
  }
  .quick-links {
    grid-template-columns: 1fr 1fr;
  }
  .quick-links > a {
    min-height: 82px;
    padding: 12px 10px;
    gap: 9px;
  }
  .quick-icon {
    width: 33px;
    height: 33px;
    flex-basis: 33px;
  }
  .quick-links small {
    font-size: 0.67rem;
  }
  .quick-links i {
    display: none;
  }
  .leader-grid {
    grid-template-columns: 1fr;
  }
  .leader-card:last-child:nth-child(odd) {
    grid-column: auto;
    max-width: none;
  }
  .delivery-image {
    min-height: 230px;
  }
  .job-list article {
    grid-template-columns: 35px 1fr;
    gap: 8px 12px;
    padding: 17px 0;
  }
  .job-list small {
    grid-column: 2;
  }
  .contact-channel-list a {
    grid-template-columns: 36px minmax(0, 1fr) 20px;
    gap: 8px;
    padding: 16px 12px;
    font-size: 0.84rem;
  }
}

@media (max-width: 560px) {
  .container {
    width: calc(100% - 32px);
  }
  .utility-bar {
    height: 32px;
  }
  .header-inner {
    height: 66px;
  }
  .brand img {
    width: 112px;
  }
  .hero {
    min-height: 590px;
  }
  .hero-content {
    padding-top: 76px;
  }
  .hero h1 {
    font-size: clamp(2.55rem, 11vw, 3.8rem);
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  .hero-actions .button {
    min-height: 46px;
    padding-inline: 10px;
    font-size: 0.68rem;
  }
  .hero-index {
    font-size: 0.65rem;
  }
  .section {
    padding: 50px 0;
  }
  .intro-grid h2,
  .split-feature h2 {
    font-size: clamp(1.9rem, 8vw, 2.65rem);
  }
  .service-card {
    min-height: 205px;
    padding: 23px;
  }
  .card-number {
    top: 22px;
    left: 23px;
  }
  .service-card-title {
    font-size: 1.85rem;
  }
  .page-hero {
    padding: 42px 0 48px;
  }
  .page-hero-compact {
    padding: 38px 0 42px;
  }
  .page-hero h1 {
    font-size: clamp(2.2rem, 9vw, 3.15rem);
  }
  .breadcrumb {
    gap: 7px;
    margin-bottom: 21px;
    font-size: 0.63rem;
  }
  .content-grid,
  .article-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .card-image {
    height: 205px;
  }
  .card-copy {
    padding: 18px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .detail-card:last-child:nth-child(odd) {
    grid-column: auto;
  }
  .faq-layout {
    grid-template-columns: 1fr;
  }
  .org-branches {
    margin-top: 16px;
  }
  .contact-form {
    padding: 19px;
  }
  .contact-form h2 {
    font-size: 1.55rem;
  }
  .article-detail .detail-media {
    height: 190px;
  }
  .cta-panel {
    padding: 25px 19px;
  }
  .cta-panel h2 {
    font-size: 1.85rem;
  }
  .footer-grid {
    gap: 21px;
  }
  .footer-bottom .container {
    width: calc(100% - 32px);
  }
  .cookie-notice {
    right: 8px;
    bottom: 8px;
    left: 8px;
    padding: 12px;
  }
  .quick-links {
    grid-template-columns: 1fr;
  }
  .quick-links > a {
    min-height: 72px;
    padding: 13px 14px;
  }
  .quick-links i {
    display: block;
  }
  .leader-card {
    grid-template-columns: 82px 1fr;
    gap: 14px;
  }
  .leader-card img {
    width: 82px;
    height: 94px;
  }
  .leader-card h3 {
    font-size: 1rem;
  }
  .leader-card small {
    font-size: 0.7rem;
  }
  .about-quote {
    min-height: 215px;
    padding: 24px;
  }
  .payment-note {
    padding: 22px;
  }
  .job-list h3 {
    font-size: 0.95rem;
  }
  address {
    font-size: 1.05rem;
  }
}

@media (max-width: 360px) {
  .container {
    width: calc(100% - 26px);
  }
  .hero {
    min-height: 610px;
  }
  .hero h1 {
    font-size: 2.35rem;
  }
  .hero-actions {
    grid-template-columns: 1fr;
  }
  .hero-actions .button {
    justify-content: space-between;
    padding-inline: 14px;
  }
  .slide-controls button {
    width: 33px;
    height: 33px;
  }
  .service-card-title {
    font-size: 1.65rem;
  }
  .quick-links > a {
    gap: 9px;
  }
  .quick-links b {
    font-size: 0.81rem;
  }
  .quick-links small {
    font-size: 0.62rem;
  }
}

:focus-visible {
  outline: 3px solid #229b8b;
  outline-offset: 3px;
}

/* UI refinement: restore the earlier, calmer type scale and spacing. */
:root {
  --container: 1180px;
}

body {
  font-size: 15px;
  line-height: 1.65;
}

h1 {
  font-size: clamp(2.35rem, 4.1vw, 3.65rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(1.75rem, 3.05vw, 2.65rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.12rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.container {
  width: min(var(--container), calc(100% - 56px));
}

.section {
  padding: 50px 0;
}

.hero {
  min-height: 610px;
}

.hero-content {
  padding-top: clamp(88px, 10vh, 116px);
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(2.75rem, 5.25vw, 4.65rem);
  line-height: 1.16;
  letter-spacing: -0.025em;
}

.page-hero h1 {
  font-size: clamp(2.25rem, 4vw, 3.45rem);
  line-height: 1.2;
}

.hero-lead {
  max-width: 540px;
  font-size: 0.98rem;
  line-height: 1.75;
}

.hero-kicker {
  margin: 20px 0 10px;
  font-size: 0.72rem;
}

.hero-actions {
  gap: 11px;
  margin-top: 27px;
}

.button {
  min-height: 46px;
  padding: 0 17px;
  border-radius: 4px;
  font-size: 0.84rem;
  font-weight: 650;
  gap: 12px;
}

.header-cta {
  min-height: 42px;
  padding-inline: 15px;
  font-size: 0.78rem;
}

.slide-controls button {
  width: 38px;
  height: 38px;
  border-radius: 3px;
}

.intro-grid,
.section-heading,
.split-feature,
.org-intro {
  gap: 52px;
}

.intro-copy {
  font-size: 0.98rem;
  line-height: 1.8;
}

.service-cards {
  gap: 14px;
  margin-top: 38px;
}

.service-card {
  min-height: 225px;
  padding: 27px;
}

.service-card-title {
  font-size: 1.8rem;
}

.detail-card {
  min-height: 190px;
  padding: 22px;
}

.detail-card h3 {
  margin-top: 23px;
  font-size: 1.16rem;
}

.card-image {
  height: 198px;
}

.card-copy {
  padding: 19px;
}

.card-copy h3 {
  font-size: 1.05rem;
  line-height: 1.45;
}

.card-copy p {
  font-size: 0.82rem;
  line-height: 1.65;
}

.cta-panel {
  padding: 40px;
}

.cta-panel h2 {
  font-size: 2.05rem;
}

/* Tablet and compact laptop: replace the crowded link row with an accessible menu. */
@media (max-width: 1100px) {
  .header-inner {
    height: 76px;
    gap: 16px;
  }
  .brand img {
    width: 126px;
  }
  .header-cta {
    display: none;
  }
  .menu-toggle {
    display: block;
    margin-left: auto;
    width: 44px;
    height: 44px;
    border-radius: 4px;
  }
  .header-navigation {
    position: absolute;
    top: 100%;
    right: 24px;
    left: auto;
    width: min(430px, calc(100vw - 40px));
    max-height: calc(100dvh - 104px);
    overflow: auto;
    display: none;
    margin: 0;
    padding: 10px;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 16px 40px #11131520;
  }
  .header-navigation.is-open {
    display: block;
  }
  .primary-nav {
    display: grid;
    gap: 3px;
  }
  .primary-nav > a,
  .nav-link {
    width: 100%;
    min-height: 45px;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 4px;
    font-size: 0.88rem;
  }
  .nav-group {
    width: 100%;
  }
  .dropdown-menu {
    position: static;
    width: auto;
    margin: 3px 0 7px;
    box-shadow: none;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1101px) {
  .menu-toggle {
    display: none;
  }
  .header-navigation {
    display: block;
  }
}

@media (max-width: 1100px) {
  #about-menu {
    width: auto;
    max-height: 58vh;
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .container {
    width: calc(100% - 64px);
  }
  .hero {
    min-height: 560px;
  }
  .hero-content {
    padding-top: 82px;
  }
  .hero h1 {
    font-size: clamp(2.65rem, 5.1vw, 4rem);
  }
  .hero-slide {
    object-position: 64% center;
  }
  .hero-shade {
    background:
      linear-gradient(90deg, #111315ed 0%, #111315c7 46%, #11131535 100%),
      linear-gradient(0deg, #11131570, transparent 42%);
  }
  .section {
    padding: 50px 0;
  }
  .intro-grid,
  .section-heading,
  .split-feature,
  .org-intro {
    gap: 34px;
  }
  .content-grid,
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
  }
  .card-image {
    height: 178px;
  }
  .detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .detail-card:last-child:nth-child(odd) {
    grid-column: 1/-1;
  }
  .faq-layout {
    gap: 30px;
  }
  .leader-grid {
    gap: 14px;
  }
  .leader-card {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }
  .leader-card img {
    width: 78px;
    height: 92px;
  }
}

@media (max-width: 760px) {
  .container {
    width: calc(100% - 40px);
  }
  .utility-bar {
    height: 32px;
  }
  .utility-inner {
    justify-content: flex-end;
  }
  .utility-inner > span {
    display: none;
  }
  .header-inner {
    height: 68px;
  }
  .brand img {
    width: 116px;
  }
  .header-navigation {
    right: 12px;
    width: min(410px, calc(100vw - 24px));
    max-height: calc(100dvh - 92px);
  }
  .hero {
    min-height: 560px;
  }
  .hero-slide {
    object-position: 66% center;
  }
  .hero-shade {
    background:
      linear-gradient(90deg, #111315eb 0%, #111315bb 64%, #11131557 100%),
      linear-gradient(0deg, #11131591, transparent 44%);
  }
  .hero-content {
    padding-top: 76px;
    padding-bottom: 86px;
  }
  .hero h1 {
    max-width: 560px;
    font-size: clamp(2.45rem, 7.5vw, 3.35rem);
    line-height: 1.2;
  }
  .page-hero h1 {
    font-size: clamp(2.05rem, 6vw, 2.7rem);
  }
  .hero-kicker {
    margin-top: 17px;
  }
  .hero-lead {
    max-width: 480px;
    margin-top: 14px;
    font-size: 0.91rem;
  }
  .hero-actions {
    margin-top: 22px;
  }
  .hero-bottom {
    bottom: 14px;
  }
  .section {
    padding: 50px 0;
  }
  .intro-grid,
  .section-heading,
  .split-feature,
  .org-intro {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .intro-grid h2,
  .split-feature h2 {
    font-size: clamp(1.72rem, 5.7vw, 2.25rem);
  }
  .intro-copy {
    margin: 0;
  }
  .service-cards {
    grid-template-columns: 1fr;
    gap: 11px;
    margin-top: 25px;
  }
  .service-card {
    min-height: 180px;
    padding: 22px;
  }
  .card-number {
    top: 19px;
    left: 22px;
  }
  .service-card-title {
    font-size: 1.55rem;
  }
  .section-heading {
    align-items: start;
    margin-bottom: 24px;
  }
  .section-heading h2 {
    font-size: 1.8rem;
  }
  .content-grid,
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .card-image {
    height: 150px;
  }
  .card-copy {
    padding: 14px;
  }
  .card-copy h3 {
    font-size: 0.94rem;
  }
  .card-copy p {
    min-height: 0;
    font-size: 0.76rem;
  }
  .image-label {
    top: 9px;
    left: 9px;
    padding: 5px 7px;
    font-size: 0.59rem;
  }
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .detail-card {
    min-height: 0;
    padding: 20px;
  }
  .detail-card h3 {
    margin: 14px 0 7px;
  }
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .contact-form {
    padding: 22px;
  }
  .org-branches {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 20px;
    padding-top: 0;
  }
  .org-branches:before,
  .org-branches .org-node:before {
    display: none;
  }
  .leader-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .leader-card {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }
  .leader-card img {
    width: 82px;
    height: 94px;
  }
  .quick-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .quick-links > a {
    min-height: 76px;
    padding: 10px;
    gap: 8px;
  }
  .quick-icon {
    width: 31px;
    height: 31px;
    flex-basis: 31px;
  }
  .quick-links b {
    font-size: 0.84rem;
  }
  .quick-links small {
    font-size: 0.66rem;
    line-height: 1.4;
  }
  .quick-links i {
    display: none;
  }
  .delivery-image {
    min-height: 220px;
  }
  .cta-panel {
    width: calc(100% - 40px);
    padding: 26px 22px;
    gap: 18px;
  }
  .cta-panel h2 {
    font-size: 1.72rem;
  }
  .footer-top {
    padding: 42px 0;
  }
  .footer-grid {
    gap: 20px;
  }
  .footer-grid h2 {
    font-size: 0.78rem;
  }
  .footer-grid > div > a:not(:has(img)),
  .footer-grid p {
    font-size: 0.7rem;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 530px;
  }
  .hero-content {
    padding-top: 65px;
  }
  .hero h1 {
    font-size: clamp(2.2rem, 8vw, 2.85rem);
  }
  .page-hero h1 {
    font-size: clamp(1.95rem, 7.2vw, 2.35rem);
  }
  .hero-kicker {
    font-size: 0.64rem;
    letter-spacing: 0.13em;
  }
  .hero-lead {
    font-size: 0.85rem;
  }
  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .hero-actions .button {
    flex: 1 1 145px;
    min-height: 43px;
    padding: 0 12px;
    font-size: 0.78rem;
  }
  .slide-controls button {
    width: 34px;
    height: 34px;
  }
  .section {
    padding: 50px 0;
  }
  .content-grid,
  .article-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .card-image {
    height: 185px;
  }
  .card-copy {
    padding: 17px;
  }
  .card-copy h3 {
    font-size: 1rem;
  }
  .card-copy p {
    font-size: 0.8rem;
  }
  .quick-links {
    grid-template-columns: 1fr;
  }
  .quick-links > a {
    min-height: 68px;
    padding: 11px 13px;
  }
  .quick-links i {
    display: block;
    margin-left: auto;
  }
  .quick-links small {
    font-size: 0.72rem;
  }
  .cta-panel {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 19px 14px;
  }
  .footer-grid > div:first-child {
    grid-column: 1/-1;
  }
  .footer-bottom .container {
    min-height: 54px;
    gap: 8px;
    font-size: 0.6rem;
  }
  .job-list {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 380px) {
  .container {
    width: calc(100% - 30px);
  }
  .hero {
    min-height: 550px;
  }
  .hero h1 {
    font-size: 2.08rem;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .hero-actions .button {
    width: 100%;
    justify-content: space-between;
  }
  .quick-links b {
    font-size: 0.8rem;
  }
}

/* Career cards: readable details without overwhelming the page. */
.job-list article {
  align-items: start;
  grid-template-columns: 38px 1fr;
  gap: 12px 18px;
  padding: 20px 0;
}

.job-list h3 {
  margin: 0 0 4px;
  font-size: 1.02rem;
  line-height: 1.45;
}

.job-list small {
  display: block;
  color: var(--muted);
  line-height: 1.6;
}

.job-list ul {
  margin: 10px 0 0;
  padding-left: 1.2rem;
  color: #465055;
  font-size: 0.82rem;
  line-height: 1.75;
}

.career-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 32px;
}

.career-bottom article {
  padding: 22px;
  border: 1px solid var(--line);
  background: #fff;
}

.career-bottom h2 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.career-bottom p,
.career-contact a {
  font-size: 0.86rem;
  line-height: 1.75;
}

.career-contact a {
  display: block;
  color: var(--red);
  font-weight: 650;
}

@media (max-width: 700px) {
  .career-bottom {
    grid-template-columns: 1fr;
  }
  .job-list ul {
    font-size: 0.8rem;
  }
}

/* Smaller, consistent typography for the corporate landing page. */
.quick-links {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.footer-social {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.footer-social a {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  transition:
    transform 0.18s,
    box-shadow 0.18s;
}

.footer-social a:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 16px #11131520;
}

.footer-social img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

@media (max-width: 760px) {
  .quick-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-social {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .quick-links {
    grid-template-columns: 1fr;
  }
}

/* Final compact type scale requested for section and slide headings. */
h1 {
  font-size: clamp(1.95rem, 3.15vw, 2.75rem);
  line-height: 1.25;
}

h2 {
  font-size: clamp(1.5rem, 2.4vw, 2.05rem);
  line-height: 1.35;
}

h3 {
  font-size: 1rem;
  line-height: 1.45;
}

.hero h1 {
  max-width: 640px;
  font-size: clamp(2.2rem, 4.1vw, 3.45rem);
  line-height: 1.15;
}

.page-hero h1 {
  font-size: clamp(1.95rem, 3.2vw, 2.75rem);
  line-height: 1.25;
}

.intro-grid h2,
.split-feature h2,
.section-heading h2,
.org-intro h2 {
  font-size: clamp(1.5rem, 2.35vw, 2.05rem);
}

@media (max-width: 760px) {
  h1 {
    font-size: 1.9rem;
  }
  .hero h1 {
    font-size: clamp(2rem, 6.2vw, 2.55rem);
  }
  .page-hero h1 {
    font-size: clamp(1.75rem, 5.5vw, 2.1rem);
  }
  h2,
  .intro-grid h2,
  .split-feature h2,
  .section-heading h2,
  .org-intro h2 {
    font-size: 1.55rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: clamp(1.85rem, 8vw, 2.2rem);
  }
  .page-hero h1 {
    font-size: 1.75rem;
  }
  h2,
  .intro-grid h2,
  .split-feature h2,
  .section-heading h2,
  .org-intro h2 {
    font-size: 1.45rem;
  }
}

.service-card-title {
  display: block;
  margin: 8px 0 5px;
  font-size: 1.28rem;
  line-height: 1.35;
  font-weight: 700;
}

/* Compact brand mark and persistent favicon presence. */
.site-header .header-inner {
  height: 74px;
}

.site-header .brand img {
  width: 112px;
}

@media (max-width: 1100px) {
  .site-header .header-inner {
    height: 72px;
  }
}

@media (max-width: 760px) {
  .site-header .brand img {
    width: 105px;
  }
}

/* Home news cards and category filters. */
.home-news {
  padding-top: 58px;
  padding-bottom: 72px;
}

.home-news .section-heading {
  align-items: end;
  margin-bottom: 20px;
}

.home-news .section-heading p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.news-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.news-tags button {
  min-height: 36px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  font: inherit;
  font-size: 0.78rem;
  cursor: pointer;
  transition:
    background 0.18s,
    color 0.18s,
    border-color 0.18s;
}

.news-tags button:hover,
.news-tags button[aria-pressed="true"] {
  border-color: var(--red);
  background: var(--red);
  color: white;
}

.home-news-grid {
  margin-top: 0;
}

.home-news-grid .card-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.home-news-grid .content-card[hidden] {
  display: none;
}

@media (max-width: 760px) {
  .home-news {
    padding-top: 42px;
    padding-bottom: 52px;
  }
  .home-news .section-heading {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .news-tags {
    gap: 7px;
  }
  .news-tags button {
    padding-inline: 12px;
  }
}

.cookie-backdrop {
  position: fixed;
  inset: 0;
  z-index: 89;
  background: #14171938;
  backdrop-filter: blur(1px);
}

.cookie-backdrop[hidden] {
  display: none;
}

.cookie-notice {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 90;
  padding: 14px 0;
  background: #f5f5f5;
  border: 1px solid #dedede;
  box-shadow: 0 -4px 16px #10141418;
}

.cookie-notice[hidden] {
  display: none;
}

.cookie-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  align-items: center;
  gap: 28px;
  max-width: 1220px;
  min-height: 108px;
}

.cookie-inner p {
  margin: 0;
  color: #292e30;
  font-size: 0.82rem;
  line-height: 1.8;
}

.cookie-inner a {
  color: #0784e8;
  text-decoration: underline;
}

.cookie-inner button {
  min-height: 44px;
  padding: 0 25px;
  border: 0;
  border-radius: 4px;
  background: #d9344a;
  color: #fff;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.cookie-inner button:hover {
  background: #b92439;
}

@media (max-width: 640px) {
  .cookie-notice {
    padding: 12px 0;
  }
  .cookie-inner {
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: 0;
  }
  .cookie-inner button {
    width: 100%;
  }
  .cookie-inner p {
    font-size: 0.77rem;
  }
}

.legal-content {
  max-width: 900px;
  color: #41494c;
  font-size: 0.92rem;
  line-height: 1.9;
}

.legal-content h2 {
  margin: 34px 0 10px;
  color: var(--ink);
  font-size: 1.25rem;
}

.legal-content a {
  color: var(--red);
}

/* Requested media adjustments: smaller header mark, square news artwork, pulled-back slides. */
.site-header .brand img {
  width: 118px;
  max-height: 28px;
}

@media (max-width: 760px) {
  .site-header .brand img {
    width: 108px;
    max-height: 26px;
  }
}

.home-news-grid .card-image {
  height: auto;
  aspect-ratio: 1/1;
  background: #f1f2f2;
}

.home-news-grid .card-image img {
  height: 100%;
  min-height: 0;
  object-fit: contain;
  background: #f1f2f2;
}

.home-news-grid .content-card:hover .card-image img {
  transform: none;
}

.hero-home .hero-slide,
.hero-home .hero-slide.is-active {
  transform: none;
  transition: opacity 0.55s ease;
}

@media (min-width: 761px) {
  .hero-home {
    height: clamp(660px, 56.25vw, 900px);
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .hero-home {
    height: 620px;
    min-height: 0;
  }
  .hero-home .hero-slide {
    object-position: 72% center;
  }
}

.payment-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.payment-intro h2 {
  margin: 12px 0 8px;
  font-size: clamp(1.5rem, 2.5vw, 2.05rem);
}

.payment-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.payment-poster {
  max-width: 1120px;
  margin: 0 auto 30px;
  padding: 10px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 16px 42px #171b1c12;
}

.payment-poster a,
.payment-poster img {
  display: block;
  width: 100%;
  height: auto;
}

.payment-poster figcaption {
  padding: 8px 4px 0;
  color: var(--muted);
  font-size: 0.72rem;
  text-align: right;
}

.payment-method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.payment-method-grid article {
  padding: 20px;
  border: 1px solid var(--line);
  background: #fff;
}

.payment-method-grid article > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 50%;
  background: #f9e7e8;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
}

.payment-method-grid h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.payment-method-grid p,
.payment-reminder p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.75;
}

.payment-reminder {
  margin-top: 18px;
  padding: 18px 20px;
  border-left: 3px solid var(--red);
  background: var(--mist);
}

.payment-reminder strong {
  display: block;
  margin-bottom: 4px;
}

.payment-reminder a {
  color: var(--red);
  font-weight: 700;
}

@media (max-width: 760px) {
  .payment-intro {
    align-items: flex-start;
    flex-direction: column;
  }
  .payment-method-grid {
    grid-template-columns: 1fr;
  }
  .payment-poster {
    padding: 6px;
  }
}

/* Large service cards inspired by the supplied reference. */
.home-services .section-heading {
  margin-bottom: 26px;
}

.home-services .section-heading p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.service-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-showcase-card {
  position: relative;
  display: flex;
  min-height: 410px;
  flex-direction: column;
  align-items: center;
  padding: 26px 24px 22px;
  overflow: hidden;
  border: 1.5px solid #188477;
  border-radius: 25px;
  background: #fff;
  color: var(--ink);
  text-align: center;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.service-showcase-card:before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 2%, #18847712, transparent 40%);
  content: "";
  opacity: 0;
  transition: opacity 0.28s;
}

.service-showcase-card:hover {
  transform: translateY(-8px);
  border-color: #0b5e56;
  box-shadow: 0 22px 48px #10252318;
}

.service-showcase-card:hover:before {
  opacity: 1;
}

.service-showcase-logo {
  position: relative;
  display: flex;
  width: 100%;
  height: 185px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.service-showcase-logo img {
  width: min(250px, 85%);
  height: 145px;
  object-fit: contain;
}

.service-showcase-card .card-number {
  position: static;
  margin: 3px 0 9px;
  color: var(--teal);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
}

.service-showcase-card h3 {
  margin: 0 0 8px;
  font-size: 1.18rem;
}

.service-showcase-card p {
  max-width: 290px;
  min-height: 54px;
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

.service-card-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
}

.service-card-link b {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: #f8e9ea;
  transition:
    transform 0.2s,
    background 0.2s,
    color 0.2s;
}

.service-showcase-card:hover .service-card-link b {
  transform: translate(3px, -2px);
  background: var(--red);
  color: #fff;
}

.carmoney-mark {
  display: grid;
  width: 94px;
  height: 94px;
  place-items: center;
  border: 10px solid #bd2632;
  border-right-color: #5f1720;
  border-radius: 50%;
  color: transparent;
  font-size: 0;
  transform: rotate(-25deg);
}

.carmoney-wordmark {
  position: absolute;
  top: 134px;
  color: #71787a;
  font-size: 0.95rem;
  font-weight: 700;
}

.home-popular-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.home-popular-links a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #41494a;
  font-size: 0.76rem;
  transition:
    border-color 0.2s,
    color 0.2s,
    transform 0.2s;
}

.home-popular-links a:hover {
  transform: translateY(-2px);
  border-color: var(--teal);
  color: var(--teal-dark);
}

.home-popular-links span {
  color: var(--red);
}

@media (max-width: 850px) {
  .service-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-showcase-card:last-child {
    grid-column: 1/-1;
    max-width: calc(50% - 11px);
    width: 100%;
    justify-self: center;
  }
}

@media (max-width: 560px) {
  .service-showcase-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .service-showcase-card,
  .service-showcase-card:last-child {
    grid-column: auto;
    max-width: none;
    min-height: 365px;
    padding: 22px;
  }
  .service-showcase-logo {
    height: 160px;
  }
  .service-showcase-logo img {
    height: 130px;
  }
  .home-popular-links {
    justify-content: flex-start;
  }
  .home-popular-links a {
    font-size: 0.72rem;
  }
}

.complaint-intro {
  max-width: 900px;
}

.complaint-intro h2 {
  margin: 14px 0;
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
}

.complaint-intro p,
.complaint-policy-grid p,
.complaint-scope p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.85;
}

.complaint-policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.complaint-policy-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
}

.complaint-policy-grid article > span {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.complaint-policy-grid h2,
.complaint-scope h2 {
  margin: 8px 0 9px;
  font-size: 1.12rem;
}

.complaint-policy-grid ul,
.complaint-scope ul {
  margin: 8px 0 0;
  padding-left: 1.2rem;
  color: #485154;
  font-size: 0.82rem;
  line-height: 1.8;
}

.complaint-scope {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 36px;
  align-items: start;
}

.complaint-scope details {
  padding: 20px;
  border: 1px solid var(--line);
  background: #fff;
}

.complaint-scope summary {
  cursor: pointer;
  font-weight: 700;
}

.complaint-contact .section-heading {
  grid-template-columns: 1fr;
  margin-bottom: 20px;
}

.complaint-postal {
  margin: 22px 0;
  padding: 18px 20px;
  border-left: 3px solid var(--teal);
  background: #fff;
}

.complaint-postal h3 {
  margin: 0 0 7px;
  font-size: 1rem;
}

.complaint-postal address {
  font-size: 0.82rem;
  line-height: 1.8;
  font-style: normal;
}

.content-disclaimer a {
  color: var(--red);
  font-weight: 700;
}

@media (max-width: 700px) {
  .complaint-policy-grid,
  .complaint-scope {
    grid-template-columns: 1fr;
  }
  .complaint-scope {
    gap: 18px;
  }
}

@media (min-width: 1101px) {
  .hero-home {
    height: clamp(660px, 56.25vw, 900px);
    min-height: 0;
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .hero-home {
    height: clamp(460px, 56.25vw, 620px);
    min-height: 0;
  }
}

.service-showcase-card:nth-child(1) .service-showcase-logo img {
  width: min(285px, 92%);
  height: auto;
  max-height: 90px;
}

.service-showcase-card:nth-child(2) .service-showcase-logo img {
  width: 138px;
  height: 138px;
}

/* Final refinements from the latest review. */
body {
  font-weight: 400;
}

.site-header .brand img {
  width: 136px;
  max-height: 34px;
}

.footer-brand img {
  width: 112px;
  height: auto;
  max-height: 28px;
  object-fit: contain;
}

.footer-brand p {
  font-size: 0.76rem;
  font-weight: 400;
  line-height: 1.6;
}

.utility-inner {
  justify-content: space-between;
}

.utility-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.utility-actions a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 0.68rem;
  white-space: nowrap;
}

.utility-actions a + a {
  padding-left: 16px;
  border-left: 1px solid #ffffff35;
}

@media (max-width: 760px) {
  .site-header .brand img {
    width: 122px;
    max-height: 31px;
  }
  .utility-actions {
    gap: 10px;
  }
  .utility-actions a {
    font-size: 0.62rem;
  }
  .utility-actions a + a {
    padding-left: 10px;
  }
}

@media (max-width: 440px) {
  .utility-actions {
    gap: 7px;
  }
  .utility-actions a {
    font-size: 0.56rem;
  }
  .utility-actions a + a {
    padding-left: 7px;
  }
}

/* Three compact service cards fit on one desktop row. */
.service-showcase-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-showcase-card {
  grid-column: auto;
  min-height: 330px;
  padding: 20px 18px 18px;
  border-radius: 18px;
}

.service-showcase-logo {
  height: 135px;
  margin-bottom: 8px;
}

.service-showcase-logo img {
  height: 110px;
}

.service-showcase-card h3 {
  font-size: 1.06rem;
}

.service-showcase-card p {
  min-height: 46px;
  font-size: 0.78rem;
}

.service-showcase-card .service-card-link {
  font-size: 0.72rem;
}

.service-showcase-mark {
  display: grid;
  width: 94px;
  height: 94px;
  place-items: center;
  border: 2px solid #188477;
  border-radius: 50%;
  background: #f3faf8;
  color: #14776c;
  font-size: 2.2rem;
  font-weight: 700;
}

.mark-promotion {
  border-color: #bd101c;
  background: #fff4f4;
  color: #bd101c;
}

.mark-payment {
  border-color: #188477;
  background: #f3faf8;
  color: #188477;
}

.mark-career {
  border-color: #111315;
  background: #f5f5f5;
  color: #111315;
}

@media (max-width: 850px) {
  .service-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .service-showcase-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .service-showcase-card {
    min-height: 310px;
    padding: 20px;
  }
  .service-showcase-logo {
    height: 125px;
  }
  .service-showcase-logo img {
    height: 100px;
  }
}

/* Complaint policy follows the source document as a plain numbered text flow. */
.complaint-policy-content {
  max-width: 1000px;
}

.complaint-policy-lead {
  margin: 0 0 28px;
  font-size: 14pt;
  font-weight: 400;
  line-height: 1.8;
}

.complaint-policy-part {
  padding: 18px 0 24px;
  border-bottom: 1px solid var(--line);
}

.complaint-policy-part h2 {
  margin: 0 0 9px;
  font-size: 14pt;
  font-weight: 600;
  line-height: 1.5;
}

.complaint-policy-content .complaint-policy-part > p,
.complaint-policy-content .complaint-row p {
  margin: 0;
  font-size: 14pt;
  font-weight: 400;
  line-height: 1.8;
}

.complaint-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #e8e9e9;
}

.complaint-row:last-child {
  border-bottom: 0;
}

.complaint-row > span {
  color: #42494b;
  font-size: 14pt;
  font-weight: 400;
  line-height: 1.8;
}

.complaint-row a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 560px) {
  .complaint-row {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 8px;
  }
  .complaint-policy-lead,
  .complaint-policy-content .complaint-policy-part > p,
  .complaint-policy-content .complaint-row p,
  .complaint-row > span {
    font-size: 14pt;
  }
}

/* A very slight slideshow drift keeps the image movement restrained. */
.hero-home .hero-slide {
  transform: scale(1);
  transition:
    opacity 0.55s ease,
    transform 7s ease;
}

.hero-home .hero-slide.is-active {
  transform: scale(1.008);
}

/* Organization leadership cards: three people in one row, with larger portraits. */
.leader-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 38px;
}

.leader-card,
.leader-card:last-child:nth-child(odd) {
  grid-column: auto;
  max-width: none;
  width: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 8px 24px #1113150a;
}

.leader-info {
  min-height: 112px;
  padding: 2px 2px 0;
}

.leader-card .leader-info > span {
  display: block;
  max-width: 100%;
  color: var(--red);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5;
}

.leader-card .leader-info h3 {
  margin: 8px 0 3px;
  font-size: 1.15rem;
  line-height: 1.4;
}

.leader-card .leader-info small {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.leader-card img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  object-position: center top;
  background: #f2f2f2;
}

.org-chart {
  max-width: var(--container);
  margin-top: 64px;
  text-align: left;
}

.org-chart-heading {
  margin-bottom: 18px;
}

.org-chart-heading h2 {
  margin-top: 10px;
  font-size: clamp(1.45rem, 2.35vw, 2rem);
}

.org-chart-image {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  background: #f8f8f8;
}

@media (min-width: 561px) and (max-width: 900px) {
  .leader-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .leader-card:last-child:nth-child(odd) {
    grid-column: 1/-1;
    width: calc(50% - 8px);
    justify-self: center;
  }
  .leader-card img {
    height: 340px;
  }
}

@media (max-width: 560px) {
  .leader-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .leader-card,
  .leader-card:last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%;
    padding: 18px;
  }
  .leader-info {
    min-height: 0;
  }
  .leader-card .leader-info > span {
    font-size: 1rem;
  }
  .leader-card .leader-info h3 {
    font-size: 1.25rem;
  }
  .leader-card img {
    height: clamp(380px, 112vw, 500px);
    object-position: center top;
  }
  .org-chart {
    margin-top: 42px;
  }
}

/* Long-form company history and exact vision/mission content from the source brief. */
.about-history {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 56px;
  align-items: center;
}

.about-history-copy h2 {
  margin: 14px 0 22px;
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
}

.about-history-copy p {
  margin: 0 0 16px;
  color: #555e60;
  font-size: 1rem;
  line-height: 1.9;
}

.about-history-copy strong {
  color: var(--red);
}

.about-history-photo {
  margin: 0;
  overflow: hidden;
  background: #f2f3f3;
}

.about-history-photo img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  object-position: center top;
}

.about-history-photo figcaption {
  padding: 11px 14px;
  background: var(--ink);
  color: white;
  font-size: 0.85rem;
}

.about-vision-mission {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 64px;
  align-items: start;
}

.about-vision h2,
.about-mission h2 {
  margin: 10px 0 20px;
  font-size: 1.8rem;
}

.about-vision p {
  color: #e3e7e6;
  font-size: 1.15rem;
  line-height: 2;
}

.about-mission .mission-list article {
  align-items: flex-start;
}

.about-mission .mission-list article > b {
  flex: 0 0 36px;
}

.about-mission .mission-list strong {
  color: #fff;
  font-size: 1rem;
  line-height: 1.55;
}

.about-mission .mission-list small {
  color: #c3cac9;
  font-size: 0.92rem;
  line-height: 1.8;
}

.home-contact {
  padding-top: 70px;
  padding-bottom: 70px;
}

.home-contact .section-heading {
  margin-bottom: 22px;
}

.home-contact .section-heading p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.home-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.home-contact-grid > a {
  display: flex;
  min-height: 112px;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  background: #fff;
  transition:
    border-color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}

.home-contact-grid > a:hover {
  transform: translateY(-3px);
  border-color: var(--teal);
  box-shadow: 0 12px 28px #1113150d;
}

.home-contact-grid img,
.home-contact-phone {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  object-fit: contain;
}

.home-contact-phone {
  border-radius: 50%;
  background: #f9e7e8;
  color: var(--red);
  font-size: 1.35rem;
}

.home-contact-grid strong,
.home-contact-grid small {
  display: block;
}

.home-contact-grid strong {
  font-size: 0.95rem;
}

.home-contact-grid small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.home-contact-grid > a > b {
  margin-left: auto;
  color: var(--red);
}

/* Font Awesome icons: one shared size and alignment for headings and labels. */
.eyebrow .fa-solid,
.eyebrow .fa-regular {
  margin-right: 6px;
  color: var(--red);
}

.heading-icon {
  margin-right: 8px;
  color: var(--teal);
  font-size: 0.78em;
}

.nav-link .fa-chevron-down {
  margin-left: 4px;
  font-size: 0.68em;
  transition: transform 0.2s ease;
}

.nav-dropdown-toggle[aria-expanded="true"] .fa-chevron-down {
  transform: rotate(180deg);
}

.nav-icon {
  display: grid;
  place-items: center;
}

.nav-icon .fa-solid {
  font-size: 0.92rem;
}

.footer-grid h2 .fa-solid {
  margin-right: 7px;
  color: #65c0b1;
}

.footer-grid > div > a .fa-solid {
  width: 18px;
  color: #72c6b7;
}

.footer-grid .footer-branch-image {
  display: block;
  width: min(100%, 220px);
  height: auto;
  max-height: none;
  margin: 14px 0 10px;
  aspect-ratio: 16 / 9;
  border: 1px solid #ffffff2e;
  border-radius: 10px;
  background: #fff;
  object-fit: contain;
  object-position: center;
}

.footer-grid > div > a.footer-map-button {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid #ffffff35;
  border-radius: 8px;
  background: #ffffff0b;
  color: #e9f3f1;
  font-size: 0.68rem;
  line-height: 1.3;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.footer-grid > div > a.footer-map-button:hover {
  border-color: #72c6b7;
  background: #72c6b71a;
  color: #fff;
}

.footer-grid > div > a.footer-map-button .fa-solid {
  color: #72c6b7;
}

/* Alternate section tones to match the current home page order. */
.home-services {
  background: linear-gradient(145deg, #edf6f3 0%, #f5f8f7 58%, #eef4f2 100%);
}

.home-news {
  background: #fff;
}

.home-delivery-section {
  background: linear-gradient(145deg, #f6f4f1 0%, #f2f1ee 100%);
}

.home-approach-section {
  background:
    radial-gradient(circle at 85% 15%, #bd101c25, transparent 32%),
    linear-gradient(135deg, #171a1b 0%, #101314 58%, #17201f 100%);
}

.intro-section {
  background: #fff;
}

.home-contact {
  background: linear-gradient(150deg, #edf6f4 0%, #f6f8f7 100%);
}

/* Compact service cards keep the icons and descriptions close together. */
.service-showcase-card {
  min-height: 258px;
  padding: 18px 20px 16px;
  border-radius: 20px;
}

.service-showcase-logo {
  height: 66px;
  margin-bottom: 6px;
}

.service-showcase-logo img {
  width: min(180px, 78%);
  height: 58px;
}

.service-showcase-mark {
  width: 54px;
  height: 54px;
  font-size: 1.3rem;
}

.service-showcase-card .card-number {
  margin: 0 0 5px;
}

.service-showcase-card h3 {
  margin-bottom: 5px;
}

.service-showcase-card p {
  min-height: 0;
  line-height: 1.55;
}

.service-showcase-card .service-card-link {
  padding-top: 9px;
}

/* Contact page: branch cards, click-to-call actions, and a responsive map. */
.contact-section-heading {
  align-items: end;
}

.contact-section-heading p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.head-office-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 22px;
  align-items: stretch;
}

.head-office-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 32px #11131508;
}

.contact-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  color: var(--ink);
}

a.contact-detail-row {
  border-top: 1px solid var(--line);
}

.contact-detail-icon,
.branch-card-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 12px;
  background: #eaf5f2;
  color: var(--teal-dark);
}

.contact-detail-row strong,
.contact-detail-value {
  display: block;
}

.contact-detail-row strong {
  margin-bottom: 3px;
  font-size: 0.86rem;
}

.contact-detail-row p,
.contact-detail-value {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

a.contact-detail-row:hover .contact-detail-value {
  color: var(--red);
}

.head-office-map {
  min-height: 340px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #e9eeed;
}

.head-office-map iframe {
  display: block;
  width: 100%;
  min-height: 340px;
  height: 100%;
  border: 0;
}

.branch-section .section-heading {
  margin-bottom: 24px;
}

.branch-section .section-heading p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

.branch-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.branch-card {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  align-items: flex-start;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.branch-card:hover {
  transform: translateY(-3px);
  border-color: #9dcac2;
  box-shadow: 0 14px 30px #1113150b;
}

.branch-card-icon {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
  border-radius: 10px;
  font-size: 0.9rem;
}

.branch-card h3 {
  margin: 12px 0 6px;
  font-size: 0.98rem;
}

.branch-card > a {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.branch-card > a .fa-solid {
  margin-right: 5px;
  color: var(--teal);
}

.branch-card .branch-map-link {
  margin-top: auto;
  padding-top: 10px;
  color: var(--red);
  font-size: 12pt;
  font-weight: 700;
}

@media (max-width: 900px) {
  .head-office-layout {
    grid-template-columns: 1fr;
  }

  .head-office-map,
  .head-office-map iframe {
    min-height: 320px;
  }

  .branch-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .service-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .service-showcase-card {
    min-height: 238px;
    padding: 15px 12px 13px;
    border-radius: 15px;
  }

  .service-showcase-card h3 {
    font-size: 0.96rem;
  }

  .service-showcase-card p {
    font-size: 0.74rem;
  }

  .service-showcase-logo {
    height: 56px;
  }

  .service-showcase-logo img {
    height: 50px;
  }

  .service-showcase-mark {
    width: 46px;
    height: 46px;
    font-size: 1.1rem;
  }

  .branch-card-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .branch-card {
    min-height: 165px;
  }

  .head-office-card {
    padding: 17px;
  }

  .head-office-map,
  .head-office-map iframe {
    min-height: 280px;
  }

  .contact-section-heading {
    align-items: flex-start;
  }
}

.article-photo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 620px;
  margin: 0 0 24px;
  object-fit: contain;
  background: #f2f3f3;
}

.article-detail h2 {
  margin: 28px 0 12px;
  font-size: 1.35rem;
}

.article-detail ul {
  padding-left: 1.4rem;
  color: #555e5f;
  line-height: 1.9;
}

.promotion-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 980px;
  margin-inline: auto;
}

@media (max-width: 900px) {
  .about-history {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .about-history-photo img {
    height: 380px;
  }
  .about-vision-mission {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .home-contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .about-history {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about-history-photo {
    max-width: 420px;
  }
  .about-history-photo img {
    height: 420px;
  }
  .about-vision-mission {
    gap: 30px;
  }
  .home-contact-grid > a {
    min-height: 92px;
    padding: 14px;
  }
}

@media (max-width: 760px) {
  .promotion-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
}

/* Keep the slideshow a contained 16:9 feature instead of viewport-filling. */
.hero-home {
  width: min(100%, 1360px);
  height: auto;
  min-height: 0;
  aspect-ratio: 16/9;
  margin-inline: auto;
  background: #111315;
}

.hero-home .hero-slide {
  transform: scale(1);
  object-fit: contain;
  transition:
    opacity 0.55s ease,
    transform 7s ease;
}

.hero-home .hero-slide.is-active {
  transform: scale(1.002);
}

@media (max-width: 760px) {
  .hero-home {
    width: 100%;
    height: 490px;
    aspect-ratio: auto;
  }
  .hero-home .hero-slide {
    object-fit: cover;
    object-position: center 44%;
  }
  .hero-home .hero-slide.is-active {
    transform: scale(1.002);
  }
}

/* เพิ่มขนาดแบรนด์และพื้นที่หัวท้ายเว็บให้อ่านง่ายขึ้น */
.utility-bar {
  height: 39px;
}

.site-header .header-inner {
  height: 80px;
}

.site-header .brand img {
  width: 148px;
  max-height: 38px;
}

.footer-top {
  padding-block: 64px;
}

.footer-brand img {
  width: 124px;
  max-height: 32px;
}

.footer-bottom .container {
  min-height: 60px;
}

@media (max-width: 1100px) {
  .site-header .header-inner {
    height: 76px;
  }
}

@media (max-width: 760px) {
  .utility-bar {
    height: 36px;
  }

  .site-header .header-inner {
    height: 74px;
  }

  .site-header .brand img {
    width: 130px;
    max-height: 34px;
  }

  .footer-top {
    padding-block: 54px;
  }
}

/* รูปแบบภาพการ์ดโปรโมชันและบทความ ใช้สัดส่วนเดียวกันทั้งหน้ารวม */
.paginated-grid .card-image {
  height: auto;
  aspect-ratio: 1 / 1;
  background: #f1f3f2;
}

.paginated-grid .card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f1f3f2;
  transition: transform 0.35s ease;
}

.paginated-grid .content-card {
  display: flex;
  flex-direction: column;
  border-color: #e4e9e7;
  border-radius: 14px;
  box-shadow: 0 8px 24px #10252308;
}

.paginated-grid .content-card[hidden] {
  display: none;
}

.paginated-grid .content-card:hover {
  border-color: #c9ddd8;
  box-shadow: 0 16px 32px #10252314;
}

.paginated-grid .card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px;
}

.paginated-grid .card-copy p {
  min-height: 0;
  margin-bottom: 12px;
}

.paginated-grid .card-copy .text-link {
  margin-top: auto;
  padding-top: 6px;
}

.promotion-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1200px;
  margin-inline: auto;
  gap: 22px;
}

.listing-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 34px;
}

.pagination[hidden] {
  display: none;
}

.pagination-arrow,
.pagination-number {
  display: inline-flex;
  min-width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid #dce5e2;
  border-radius: 9px;
  background: #fff;
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.78rem;
  cursor: pointer;
  transition:
    color 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

.pagination-arrow:hover:not(:disabled),
.pagination-number:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.pagination-arrow:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.pagination-numbers {
  display: flex;
  gap: 6px;
}

.pagination-number[aria-current="page"] {
  border-color: var(--teal-dark);
  background: var(--teal-dark);
  color: #fff;
}

.pagination-status {
  margin-left: 8px;
  color: var(--muted);
  font-size: 0.74rem;
}

.listing-actions .search-box {
  min-width: 220px;
}

@media (max-width: 900px) {
  .promotion-grid,
  .content-grid.paginated-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .promotion-grid,
  .content-grid.paginated-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .paginated-grid .card-copy {
    padding: 14px;
  }

  .listing-toolbar {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
  }

  .listing-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column-reverse;
    gap: 8px;
  }

  .listing-actions .search-box {
    width: 100%;
    min-width: 0;
  }

  .listing-actions .listing-count {
    align-self: flex-end;
  }

  .pagination {
    flex-wrap: wrap;
    gap: 6px;
  }

  .pagination-arrow {
    min-width: 38px;
    padding-inline: 9px;
  }

  .pagination-status {
    width: 100%;
    margin: 4px 0 0;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .promotion-grid,
  .content-grid.paginated-grid {
    grid-template-columns: 1fr;
  }
}

/* Standard 12pt reading size for page details, navigation, and footer links. */
@media (min-width: 1101px) {
  main :is(p, li, small, address, summary, dt, dd, blockquote) {
    font-size: 12pt !important;
  }
}

.primary-nav > a,
.primary-nav .nav-link,
.dropdown-menu strong,
.dropdown-menu small,
.dropdown-menu .policy-menu a,
.policy-menu h3 {
  font-size: 12pt !important;
}

.footer-grid > a,
.footer-grid > div > a,
.footer-grid > div > a:not(:has(img)),
.footer-bottom a {
  font-size: 12pt !important;
}

.complaint-policy-lead,
.complaint-policy-part h2,
.complaint-policy-content .complaint-policy-part > p,
.complaint-policy-content .complaint-row p,
.complaint-row > span {
  font-size: 12pt !important;
}

.job-list h3,
.job-list small,
.job-list ul,
.job-list li,
.career-bottom p,
.career-contact a {
  font-size: 12pt !important;
}

/* Square taxi handover gallery and accessible full-screen lightbox. */
.delivery-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.delivery-gallery-item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  padding: 0;
  border: 1px solid #e1e8e6;
  border-radius: 14px;
  background: #e9eeec;
  cursor: zoom-in;
}

.delivery-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.delivery-gallery-item > span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #10161500;
  color: #fff;
  font-size: 1.6rem;
  opacity: 0;
  transition:
    opacity 0.25s,
    background 0.25s;
}

.delivery-gallery-item:hover img,
.delivery-gallery-item:focus-visible img {
  transform: scale(1.06);
}

.delivery-gallery-item:hover > span,
.delivery-gallery-item:focus-visible > span {
  background: #10161552;
  opacity: 1;
}

.delivery-gallery-caption {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  color: #465351;
}

.delivery-lightbox {
  position: fixed;
  inset: 0;
  display: grid;
  width: min(94vw, 1320px);
  max-width: none;
  height: min(92vh, 940px);
  max-height: none;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  overflow: hidden;
  padding: 48px 76px 54px;
  border: 1px solid #ffffff24;
  border-radius: 16px;
  background: #111514;
  color: #fff;
}

.delivery-lightbox:not([open]) {
  display: none;
}

.delivery-lightbox[open] {
  animation: lightbox-enter 0.2s ease-out;
}

.delivery-lightbox::backdrop {
  background: #050807e8;
  backdrop-filter: blur(5px);
}

.delivery-lightbox-image {
  min-width: 0;
  min-height: 0;
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: min(100%, calc(100vw - 280px));
  max-height: min(100%, calc(100dvh - 180px));
  object-fit: contain !important;
  object-position: center;
}

.delivery-lightbox-close,
.delivery-lightbox-arrow {
  position: absolute;
  z-index: 1;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid #ffffff38;
  border-radius: 50%;
  background: #ffffff14;
  color: #fff;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
}

.delivery-lightbox-close:hover,
.delivery-lightbox-arrow:hover {
  background: var(--red);
  transform: scale(1.05);
}

.delivery-lightbox-close {
  top: 16px;
  right: 16px;
}

.delivery-lightbox-arrow {
  top: 50%;
  transform: translateY(-50%);
}

.delivery-lightbox-arrow:hover {
  transform: translateY(-50%) scale(1.05);
}

.delivery-lightbox-prev {
  left: 16px;
}

.delivery-lightbox-next {
  right: 16px;
}

.delivery-lightbox-count {
  position: absolute;
  bottom: 18px;
  left: 50%;
  color: #ffffffc9;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  transform: translateX(-50%);
}

@keyframes lightbox-enter {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 900px) {
  .delivery-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 11px;
  }
}

@media (max-width: 600px) {
  .delivery-gallery-heading {
    gap: 18px;
    margin-bottom: 24px;
  }

  .delivery-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .delivery-gallery-item {
    border-radius: 10px;
  }

  .delivery-lightbox {
    width: 100vw;
    height: 100dvh;
    padding: 62px 48px 64px;
    border: 0;
    border-radius: 0;
  }

  .delivery-lightbox-image {
    max-width: calc(100vw - 96px);
    max-height: calc(100dvh - 126px);
  }

  .delivery-lightbox-close,
  .delivery-lightbox-arrow {
    width: 42px;
    height: 42px;
  }

  .delivery-lightbox-prev {
    left: 8px;
  }

  .delivery-lightbox-next {
    right: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .delivery-gallery-item img,
  .delivery-gallery-item > span,
  .delivery-lightbox-close,
  .delivery-lightbox-arrow {
    transition: none;
  }

  .delivery-lightbox[open] {
    animation: none;
  }
}

/* Keep paragraph copy and all text links at the requested 12pt size. */
p,
a {
  font-size: 12pt !important;
}

.promotion-benefits {
  margin: 20px 0 28px;
  padding: 0;
  list-style: none;
}

.promotion-benefits li {
  position: relative;
  padding: 11px 10px 11px 36px;
  border-bottom: 1px solid #e5e9e8;
  color: #364044;
  font-size: 12pt;
  line-height: 1.65;
}

.promotion-benefits li::before {
  position: absolute;
  top: 11px;
  left: 8px;
  color: #16846e;
  content: "✓";
  font-weight: 800;
}

.promotion-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0;
}

.promotion-contact-actions .button {
  gap: 10px;
}

.button-secondary {
  background: #202827;
  color: #fff;
  box-shadow: 0 8px 18px #11131520;
}

.button-secondary:hover {
  background: #394341;
}

.promotion-condition {
  margin: 22px 0;
  padding: 16px 18px;
  border-left: 3px solid #aab8b3;
  background: #f4f6f5;
  color: #596260;
  line-height: 1.7;
}

.promotion-condition p {
  margin: 0;
}

.promotion-condition p + p {
  margin-top: 6px;
}

.promotion-more-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid #e3e8e6;
}

.promotion-more-links p {
  width: 100%;
  margin: 0;
  color: #465351;
}

.promotion-more-links a {
  color: var(--red);
  font-weight: 650;
}

.promotion-hashtags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
}

.promotion-hashtags p {
  width: 100%;
  margin: 0 0 2px;
  color: #465351;
}

.promotion-hashtags span,
.promotion-hashtags a {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f4f6f5;
  color: var(--red);
  font-size: 0.76rem;
  line-height: 1.5;
}

.promotion-hashtags a {
  text-decoration: none;
}

.promotion-hashtags a:hover {
  background: #e9efed;
  text-decoration: underline;
}

/* แสดงวันที่สร้างและชื่อผู้สร้างในรายการและหน้ารายละเอียด */
.content-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin: 0 0 12px;
  color: #68736f;
  font-size: 0.78rem;
  line-height: 1.5;
}

.content-card .content-byline {
  margin-bottom: 8px;
  font-size: 0.68rem;
}

.content-byline span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.content-byline i {
  color: var(--teal-dark);
}

@media (max-width: 600px) {
  .promotion-contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .promotion-contact-actions .button {
    width: 100%;
    justify-content: center;
  }
}

/* Full-width home slider with the existing responsive height and restrained zoom. */
.hero-home {
  width: 100%;
  max-width: none;
  height: clamp(660px, 56.25vw, 900px);
  min-height: 0;
  aspect-ratio: auto;
  margin-inline: 0;
}

.hero-home .hero-slide,
.hero-home .hero-slide.is-active {
  object-fit: cover;
  object-position: center;
  transform: none;
}

@media (min-width: 761px) and (max-width: 1100px) {
  .hero-home {
    height: clamp(460px, 56.25vw, 620px);
  }
}

@media (max-width: 760px) {
  .hero-home {
    width: 100%;
    height: 490px;
  }

  .hero-home .hero-slide,
  .hero-home .hero-slide.is-active {
    object-fit: cover;
    object-position: center 44%;
  }
}
