/* ==========================================================================
   YIHANG ELECTRONICS — Official Website
   Home page stylesheet
   --------------------------------------------------------------------------
   1.  Design tokens
   2.  Base & reset
   3.  Layout helpers
   4.  Typography & reusable elements
   5.  Buttons
   6.  Header & navigation
   7.  Hero
   8.  Sections (overview / services / capabilities / quality / industries)
   9.  CTA band
   10. Footer
   11. Utilities
   12. Responsive
   ========================================================================== */

/* ==========================================================================
   1. Design tokens
   ========================================================================== */
:root {
  --navy:        #0B1F3A;
  --navy-800:    #122B4D;
  --navy-700:    #1B3A63;
  --blue:        #1677D2;
  --blue-600:    #1268BB;
  --blue-50:     #E8F2FC;
  --white:       #FFFFFF;
  --gray-light:  #F5F7FA;
  --gray-mid:    #E3E8EF;
  --gray-dark:   #333333;
  --ink:         #16202C;
  --muted:       #5A6B7D;
  --muted-light: #A9B8C9;

  --container:   1200px;
  --radius-sm:   6px;
  --radius:      10px;
  --radius-lg:   16px;

  --shadow-xs:   0 1px 2px rgba(11, 31, 58, .06);
  --shadow-sm:   0 2px 8px rgba(11, 31, 58, .07);
  --shadow-md:   0 10px 28px rgba(11, 31, 58, .10);
  --shadow-lg:   0 22px 48px rgba(11, 31, 58, .16);

  --header-h:    76px;
  --ease:        cubic-bezier(.22, .61, .36, 1);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

/* ==========================================================================
   2. Base & reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.68;
  color: var(--gray-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--blue); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--blue-600); }

:focus-visible {
  outline: 3px solid rgba(22, 119, 210, .55);
  outline-offset: 2px;
  border-radius: 3px;
}

address { font-style: normal; }

/* ==========================================================================
   3. Layout helpers
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -60px; left: 16px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--navy);
  color: var(--white);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; color: var(--white); }

/* ==========================================================================
   4. Typography & reusable elements
   ========================================================================== */
h1, h2, h3, h4 {
  margin: 0 0 .6em;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.015em;
}

h1 { font-size: clamp(2rem, 1.15rem + 3vw, 3.1rem); font-weight: 800; letter-spacing: -.028em; }
h2 { font-size: clamp(1.6rem, 1.1rem + 1.9vw, 2.4rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
}

.section-sub {
  max-width: 62ch;
  margin: 0;
  font-size: 1.06rem;
  color: var(--muted);
}

.lead { font-size: 1.1rem; color: var(--gray-dark); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: .95rem;
}
.text-link svg { width: 16px; height: 16px; transition: transform .22s var(--ease); }
.text-link:hover svg { transform: translateX(3px); }

/* Section scaffolding ---------------------------------------------------- */
.section { padding: 96px 0; }
.section--alt { background: var(--gray-light); }
.section--dark { background: var(--navy); color: #D7E2EF; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }

.section-head { max-width: 780px; margin-bottom: 56px; }
.section-head--light .eyebrow { color: #6FB2F0; }
.section-head--light .section-sub { color: #A9BDD4; }

/* ==========================================================================
   5. Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .22s var(--ease), border-color .22s var(--ease),
              color .22s var(--ease), transform .22s var(--ease), box-shadow .22s var(--ease);
}

.btn-primary {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(22, 119, 210, .22);
}
.btn-primary:hover {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(22, 119, 210, .28);
}

.btn-ghost {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .55);
  color: var(--white);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, .16);
  border-color: var(--white);
  color: var(--white);
}

/* Secondary action on light backgrounds */
.btn-outline {
  background: var(--white);
  border-color: var(--gray-mid);
  color: var(--navy);
  box-shadow: var(--shadow-xs);
}
.btn-outline:hover {
  background: var(--white);
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-sm { padding: 10px 20px; font-size: .875rem; }

/* ==========================================================================
   6. Header & navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--gray-mid);
  transition: box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}

/* Brand ------------------------------------------------------------------ */
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-mark { width: 38px; height: 38px; border-radius: 9px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong {
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: .10em;
  color: var(--navy);
}
.brand-text span {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .28em;
  color: var(--muted);
}

/* Navigation ------------------------------------------------------------- */
.nav { margin-left: auto; }
.nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav a {
  position: relative;
  display: block;
  padding: 9px 13px;
  border-radius: var(--radius-sm);
  font-size: .93rem;
  font-weight: 600;
  color: var(--gray-dark);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav a:hover { color: var(--blue); background: var(--blue-50); }
.nav a.is-active { color: var(--navy); }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 13px; right: 13px; bottom: 2px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

/* Hidden on desktop — specificity must beat `.nav a { display: block }` */
.nav .nav-cta-mobile { display: none; }
.header-cta { flex: 0 0 auto; }

/* Mobile toggle ---------------------------------------------------------- */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 20px; height: 2px;
  margin: 4px auto;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   7. Hero — text-led, no background photography
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 0;
  background:
    radial-gradient(120% 92% at 100% 0%, rgba(22, 119, 210, .07) 0%, rgba(22, 119, 210, 0) 56%),
    linear-gradient(180deg, #F6F9FC 0%, #FFFFFF 74%, #FFFFFF 100%);
  border-bottom: 1px solid var(--gray-mid);
}

/* Decorative geometry — thin lines only, deliberately no imagery */
.hero-deco { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }

.hero-ring { position: absolute; display: block; border-radius: 50%; }
.hero-ring--1 {
  top: -270px; right: -190px;
  width: 670px; height: 670px;
  border: 1px solid rgba(22, 119, 210, .17);
}
.hero-ring--2 {
  top: -130px; right: -40px;
  width: 400px; height: 400px;
  border: 1px solid rgba(11, 31, 58, .07);
}

.hero-lines {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(11, 31, 58, .05) 0 1px, transparent 1px 108px);
  -webkit-mask-image: linear-gradient(90deg, transparent 28%, #000 100%);
          mask-image: linear-gradient(90deg, transparent 28%, #000 100%);
}

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

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: 64px;
  align-items: center;
  padding-bottom: 68px;
}

.hero-copy { max-width: 620px; }

.hero .eyebrow {
  color: var(--blue);
  background: var(--blue-50);
  border: 1px solid rgba(22, 119, 210, .2);
  padding: 7px 15px;
  border-radius: 999px;
  letter-spacing: .13em;
  margin-bottom: 24px;
}

.hero h1 {
  color: var(--navy);
  font-size: clamp(2.05rem, 1.15rem + 3.1vw, 3.4rem);
  margin-bottom: .46em;
}
.hero h1 .accent { color: var(--blue); }

.hero-sub {
  max-width: 52ch;
  margin-bottom: 34px;
  font-size: clamp(1.02rem, .96rem + .34vw, 1.15rem);
  color: var(--muted);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Purely illustrative technical panel (inline SVG, no photo) */
.hero-visual {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.hero-visual svg { width: 100%; height: auto; }

/* Key facts strip */
.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 30px 0 34px;
  border-top: 1px solid var(--gray-mid);
  list-style: none;
}
.hero-facts li { display: flex; flex-direction: column; gap: 3px; }
.hero-facts strong {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.02em;
}
.hero-facts span { font-size: .82rem; color: var(--muted); letter-spacing: .01em; }

/* ==========================================================================
   8. Sections
   ========================================================================== */

/* --- Overview ---------------------------------------------------------- */
.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 64px;
  align-items: start;
}

.overview-copy p + p { margin-top: 1.1em; }

.check-list {
  margin: 30px 0 28px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.check-list li {
  position: relative;
  padding-left: 32px;
  font-size: .96rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .32em;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.6L12 5.6' fill='none' stroke='%231677D2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.overview-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.stat-card {
  padding: 24px 22px;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.stat-value {
  display: block;
  font-size: 2.05rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--navy);
  letter-spacing: -.03em;
}
.stat-value small { font-size: .95rem; font-weight: 700; margin-left: 3px; color: var(--blue); }
.stat-label {
  display: block;
  margin-top: 6px;
  font-size: .84rem;
  line-height: 1.45;
  color: var(--muted);
}

.stat-card--accent {
  grid-column: 1 / -1;
  background: var(--navy);
  border-color: var(--navy);
}
.stat-card--accent .stat-label { color: var(--muted-light); }
.stat-standards {
  display: block;
  margin-top: 8px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .01em;
}

/* --- Cards grid -------------------------------------------------------- */
.card-grid { display: grid; gap: 26px; }
.card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.service-card,
.industry-card,
.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.service-card:hover,
.industry-card:hover,
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #CFDBE8;
}

.service-media {
  position: relative;
  aspect-ratio: 3 / 2;
  background: var(--navy-800);
  overflow: hidden;
}
.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.service-card:hover .service-media img { transform: scale(1.045); }

.service-body { padding: 26px 26px 28px; }
.service-body h3 { margin-bottom: .45em; }
.service-body p { margin-bottom: 16px; font-size: .95rem; color: var(--muted); }

.service-card--promo {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  background:
    radial-gradient(90% 230% at 92% 18%, rgba(22, 119, 210, .40) 0%, rgba(22, 119, 210, 0) 62%),
    linear-gradient(120deg, var(--navy) 0%, var(--navy-800) 58%, var(--navy-700) 100%);
  border-color: var(--navy);
}
.service-card--promo .service-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  width: 100%;
  padding: 38px 40px;
}
.service-card--promo .promo-copy { max-width: 64ch; }
.service-card--promo h3 { color: var(--white); font-size: 1.32rem; margin-bottom: .35em; }
.service-card--promo p { color: #B9CADD; margin: 0; }
.service-card--promo .btn { flex: 0 0 auto; }

/* --- Capabilities ------------------------------------------------------ */
.capacity-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 56px;
  background: rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  overflow: hidden;
}
.capacity-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 30px 28px;
  background: var(--navy);
}
.capacity-value {
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.025em;
  line-height: 1.1;
}
.capacity-label { font-size: .87rem; color: #9FB4CB; }

.capability-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 32px;
  align-items: start;
}

.equipment-block,
.spec-block {
  padding: 32px 30px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius);
}
.equipment-block h3,
.spec-block h3 {
  margin-bottom: 22px;
  font-size: 1.08rem;
  letter-spacing: .01em;
}

.equipment-list { margin: 0; padding: 0; list-style: none; }
.equipment-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .13);
  font-size: .93rem;
}
.equipment-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.eq-name { color: #C6D5E6; }
.eq-count {
  flex: 0 0 auto;
  min-width: 42px;
  text-align: right;
  font-size: 1.1rem;
  font-weight: 700;
  color: #6FB2F0;
}

.spec-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.spec-table th,
.spec-table td {
  padding: 10px 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px dashed rgba(255, 255, 255, .13);
}
.spec-table tr:last-child th,
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 52%; font-weight: 500; color: #C6D5E6; }
.spec-table td { font-weight: 600; color: var(--white); }

.spec-table tr.spec-group th {
  padding: 22px 0 9px;
  width: auto;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #6FB2F0;
  border-bottom: 0;
}
.spec-table tr.spec-group:first-child th { padding-top: 0; }
.spec-note {
  margin: 20px 0 0;
  font-size: .8rem;
  line-height: 1.6;
  color: #8FA6BF;
}

.highlight-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px 30px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}
.highlight-row li {
  position: relative;
  padding-left: 26px;
  font-size: .93rem;
  color: #C6D5E6;
}
.highlight-row li::before {
  content: "";
  position: absolute;
  left: 0; top: .5em;
  width: 12px; height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

/* --- Quality ----------------------------------------------------------- */
.qc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
  counter-reset: qc;
}
.qc-card {
  position: relative;
  padding: 28px 24px 26px;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-top: 3px solid var(--blue);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.qc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.qc-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 11px;
  background: var(--blue-50);
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--blue);
}
.qc-card h3 { font-size: 1.02rem; margin-bottom: .55em; }
.qc-card p { font-size: .9rem; color: var(--muted); }

.quality-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .95fr) minmax(0, 1.1fr);
  gap: 22px;
}
.quality-panel {
  padding: 28px 26px;
  background: var(--gray-light);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius);
}
.quality-panel h3 { font-size: 1rem; margin-bottom: 18px; }

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tag-list li {
  padding: 6px 13px;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 600;
  color: var(--navy);
}

.quality-panel--metric { background: var(--navy); border-color: var(--navy); }
.quality-panel--metric h3 { color: var(--white); }
.metric-row { display: flex; gap: 14px; }
.metric {
  flex: 1 1 0;
  padding: 18px 16px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius-sm);
}
.metric-value {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
  line-height: 1.1;
}
.metric-value small { font-size: .82rem; font-weight: 700; color: #6FB2F0; }
.metric-label { display: block; margin-top: 6px; font-size: .8rem; color: #9FB4CB; }

.standard-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.standard-list li { display: flex; flex-direction: column; gap: 3px; }
.standard-list strong { font-size: 1rem; color: var(--navy); }
.standard-list span { font-size: .85rem; color: var(--muted); }

/* --- Industries & features -------------------------------------------- */
.industry-card,
.feature-card { padding: 30px 28px 32px; }

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  margin-bottom: 20px;
  background: var(--blue-50);
  border-radius: 12px;
  color: var(--blue);
}
.icon svg { width: 25px; height: 25px; }

.industry-card h3,
.feature-card h3 { font-size: 1.08rem; margin-bottom: .5em; }
.industry-card p,
.feature-card p { font-size: .93rem; color: var(--muted); margin: 0; }

/* --- Process ----------------------------------------------------------- */
.process-block {
  margin-top: 72px;
  padding: 44px 40px 40px;
  background: var(--gray-light);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-lg);
}
.process-title {
  margin-bottom: 30px;
  font-size: 1.22rem;
  text-align: center;
}
.process-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.process-list li {
  position: relative;
  padding-top: 4px;
}
.process-list li::after {
  content: "";
  position: absolute;
  top: 15px; left: 38px; right: -10px;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--gray-mid) 0 6px, transparent 6px 12px);
}
.process-list li:last-child::after { display: none; }
.process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  margin-bottom: 12px;
  background: var(--white);
  border: 1px solid var(--blue);
  border-radius: 50%;
  font-size: .74rem;
  font-weight: 800;
  color: var(--blue);
}
.process-list h4 { margin-bottom: .3em; font-size: .96rem; }
.process-list p { font-size: .85rem; color: var(--muted); margin: 0; }

/* ==========================================================================
   9. CTA band
   ========================================================================== */
.section--cta {
  background:
    radial-gradient(90% 140% at 88% 12%, rgba(22, 119, 210, .42) 0%, rgba(22, 119, 210, 0) 62%),
    linear-gradient(120deg, var(--navy) 0%, var(--navy-800) 58%, var(--navy-700) 100%);
}
.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
  gap: 48px;
  align-items: center;
}
.section--cta h2 { color: var(--white); }
.section--cta .eyebrow { color: #7CBBF5; }
.section--cta .section-sub { color: #B9CADD; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.cta-note { margin: 0; font-size: .85rem; color: #8FA6BF; }

/* ==========================================================================
   10. Footer
   ========================================================================== */
.site-footer { background: var(--navy); color: #A9BDD4; }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.5fr);
  gap: 44px;
  padding-top: 72px;
  padding-bottom: 56px;
}

.brand--footer .brand-mark { width: 40px; height: 40px; }
.brand--footer .brand-text strong { color: var(--white); }
.brand--footer .brand-text span { color: #7E93AB; }

.footer-legal-name {
  margin: 18px 0 12px;
  font-size: .95rem;
  font-weight: 600;
  color: var(--white);
}
.footer-desc { font-size: .89rem; line-height: 1.65; margin: 0; }

.footer-col h3 {
  margin-bottom: 20px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
}
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li + li { margin-top: 11px; }
.footer-col a { font-size: .91rem; color: #A9BDD4; }
.footer-col a:hover { color: var(--white); }

.contact-list li { display: flex; gap: 11px; align-items: flex-start; font-size: .91rem; }
.contact-list svg { flex: 0 0 auto; width: 17px; height: 17px; margin-top: 4px; color: #6FB2F0; }
.contact-list address { line-height: 1.6; }
.footer-col .btn { margin-top: 22px; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 26px;
}
.footer-bottom p { margin: 0; font-size: .82rem; }
.footer-note { max-width: 62ch; color: #7E93AB; }

/* ==========================================================================
   11. Utilities
   ========================================================================== */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.to-top svg { width: 17px; height: 17px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue); }

/* Scroll reveal (progressive enhancement) */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   12. Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .card-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quality-bottom { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  .process-list li::after { display: none; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }

  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }

  .header-cta { display: none; }
  .nav-toggle { display: block; }

  .nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    max-height: calc(100vh - var(--header-h));
    margin: 0;
    padding: 12px 28px 26px;
    background: var(--white);
    border-bottom: 1px solid var(--gray-mid);
    box-shadow: var(--shadow-md);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav a {
    padding: 13px 12px;
    font-size: 1rem;
    border-bottom: 1px solid var(--gray-light);
    border-radius: 0;
  }
  .nav a.is-active::after { display: none; }
  .nav a.is-active { color: var(--blue); }
  .nav .nav-cta-mobile {
    display: inline-flex;
    width: 100%;
    margin-top: 18px;
  }

  .hero { padding: 64px 0 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding-bottom: 46px; }
  .hero-copy { max-width: none; }
  .hero-visual { max-width: 520px; }
  .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }

  .overview-grid { grid-template-columns: 1fr; gap: 44px; }
  .capability-grid { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  /* Only touch the horizontal gutter: several blocks (.footer-grid,
     .footer-bottom-inner) also carry .container and set their own vertical
     padding — a shorthand `padding: 0 20px` here would wipe it out. */
  .container { padding-left: 20px; padding-right: 20px; }
  .section { padding: 60px 0; }

  /* Keep the hero light and airy on phones: drop the ruling lines */
  .hero { padding: 48px 0 0; }
  .hero h1 { font-size: 1.92rem; }
  .hero-lines { display: none; }
  .hero-ring--1 { top: -150px; right: -170px; width: 400px; height: 400px; }
  .hero-ring--2 { display: none; }
  .hero-visual { padding: 16px; }

  .card-grid--3 { grid-template-columns: 1fr; }
  .qc-grid { grid-template-columns: 1fr; }
  .quality-bottom { grid-template-columns: 1fr; }
  .capacity-strip { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-top: 56px; }
  .metric-row { flex-direction: column; }

  .service-card--promo .service-body {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding: 30px 24px;
  }
  .service-card--promo .btn { width: 100%; }

  .process-block { padding: 30px 22px; }
  .overview-stats { grid-template-columns: 1fr; }

  .hero-actions .btn { width: 100%; }
  .hero-facts strong { font-size: 1.3rem; }
  .to-top { right: 14px; bottom: 14px; }
}

/* Very narrow phones (≤400px): tighten the contact rows so the e-mail address
   still fits on one line instead of wrapping mid-token. */
@media (max-width: 400px) {
  .contact-detail { gap: 20px; }
  .contact-detail > li { gap: 12px; }
  .contact-detail .icon { width: 38px; height: 38px; border-radius: 10px; }
  .contact-detail .icon svg { width: 19px; height: 19px; }
  .contact-detail address,
  .contact-detail p,
  .contact-detail a { font-size: .93rem; }
}

/* Motion & contrast preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .to-top, .nav-toggle, .hero-actions { display: none; }
  .hero, .section--dark, .section--cta, .site-footer { background: #fff !important; color: #000 !important; }
  .hero h1, .section--dark h2, .section--cta h2 { color: #000 !important; }
}

/* ==========================================================================
   13. Inner pages — shared building blocks
   ========================================================================== */

/* Line break helper — desktop only */
.br-lg { display: none; }
@media (min-width: 940px) { .br-lg { display: inline; } }

/* --- Page hero (inner pages) -------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 60px 0 54px;
  background:
    radial-gradient(110% 100% at 100% 0%, rgba(22, 119, 210, .07) 0%, rgba(22, 119, 210, 0) 58%),
    linear-gradient(180deg, #F6F9FC 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--gray-mid);
}
.page-hero::after {
  content: "";
  position: absolute;
  top: -210px; right: -170px;
  width: 540px; height: 540px;
  border: 1px solid rgba(22, 119, 210, .13);
  border-radius: 50%;
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 830px; }
.page-hero h1 { font-size: clamp(1.9rem, 1.25rem + 2.3vw, 2.8rem); margin-bottom: .4em; }
.page-hero-sub { max-width: 64ch; margin: 0; font-size: 1.06rem; color: var(--muted); }
.page-hero .eyebrow { margin-bottom: 12px; }

/* Breadcrumb */
.breadcrumb { margin-bottom: 22px; }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0; padding: 0;
  list-style: none;
  font-size: .83rem;
}
.breadcrumb li { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; color: var(--muted-light); }
.breadcrumb a { color: var(--muted); font-weight: 500; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb [aria-current="page"] { color: var(--navy); font-weight: 600; }

/* --- Two-column split --------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.split--reverse .split-media { order: 2; }
.split-media {
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--navy-800);
}
.split-media img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.split-body h2 { margin-bottom: .5em; }
.split-body .lead { margin-bottom: 1.1em; }
.split-body p + p { margin-top: 1.05em; }

/* --- Panels ------------------------------------------------------------- */
.panel {
  padding: 34px 32px;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
}
.panel--alt { background: var(--gray-light); box-shadow: none; }
.panel h2, .panel h3 { margin-bottom: .45em; }
.panel > :last-child { margin-bottom: 0; }
.panel-head { margin-bottom: 24px; }
.panel-grid { display: grid; gap: 26px; }
.panel-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* --- Data tables -------------------------------------------------------- */
.table-wrap {
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.data-table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.data-table th, .data-table td {
  padding: 13px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--gray-mid);
}
.data-table thead th {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--gray-light);
}
.data-table tbody th { width: 58%; font-weight: 500; color: var(--gray-dark); }
.data-table tbody td { font-weight: 700; color: var(--navy); }
.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td { border-bottom: 0; }
.table-note { margin: 14px 0 0; font-size: .82rem; line-height: 1.6; color: var(--muted); }

/* Dark-section variant */
.section--dark .table-wrap { background: rgba(255, 255, 255, .045); border-color: rgba(255, 255, 255, .13); }
.section--dark .data-table th,
.section--dark .data-table td { border-bottom-color: rgba(255, 255, 255, .13); }
.section--dark .data-table thead th { background: rgba(255, 255, 255, .05); color: #9FB4CB; }
.section--dark .data-table tbody th { color: #C6D5E6; }
.section--dark .data-table tbody td { color: var(--white); }

/* --- Service detail rows ------------------------------------------------ */
.service-detail {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 52px;
  align-items: center;
  padding: 56px 0;
  border-top: 1px solid var(--gray-mid);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.service-detail:first-of-type { border-top: 0; padding-top: 6px; }
.service-detail--reverse .service-detail-media { order: 2; }
.service-detail-media {
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--navy-800);
}
.service-detail-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.service-detail-body h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin-bottom: .45em; }
.service-index {
  padding: 4px 10px;
  background: var(--blue-50);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--blue);
}
.service-detail-body > p { color: var(--muted); }
.service-subhead {
  margin: 24px 0 14px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
}
.service-detail-body .btn { margin-top: 26px; }

/* --- Feature list & value box ------------------------------------------ */
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 26px;
  margin: 0; padding: 0;
  list-style: none;
}
.feature-list li { position: relative; padding-left: 24px; font-size: .93rem; }
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .58em;
  width: 11px; height: 2px;
  border-radius: 2px;
  background: var(--blue);
}
.value-box {
  margin: 0;
  padding: 18px 22px;
  background: var(--blue-50);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .93rem;
  color: var(--navy);
}
.value-box strong {
  display: block;
  margin-bottom: 5px;
  font-size: .72rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--blue);
}

/* --- Industry blocks ---------------------------------------------------- */
/* Desktop: 2 x 2 grid of equal cards; single column on mobile. */
.industry-stack { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.industry-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
  padding: 30px 28px 32px;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.industry-block:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #CFDBE8;
}
.industry-block .icon { width: 64px; height: 64px; margin: 0; border-radius: 16px; }
.industry-block .icon svg { width: 32px; height: 32px; }
.industry-block h2 { font-size: 1.22rem; margin-bottom: .45em; }
.industry-block p { margin: 0; font-size: .95rem; color: var(--muted); }
.industry-services-wrap { min-width: 0; }
.industry-services-label {
  display: block;
  margin-bottom: 12px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
}
.industry-services { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.industry-services li { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; color: var(--gray-dark); }
.industry-services li::before {
  content: "";
  flex: 0 0 auto;
  width: 6px; height: 6px;
  margin-top: .52em;
  border-radius: 50%;
  background: var(--blue);
}

/* --- Contact page ------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: 40px;
  align-items: start;
}
.contact-card {
  padding: 34px 32px;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
}
.contact-card h2 { margin-bottom: .5em; }
.contact-detail { margin: 0; padding: 0; list-style: none; display: grid; gap: 24px; }
.contact-detail > li { display: flex; gap: 16px; align-items: flex-start; min-width: 0; }
/* Let the text column shrink and long tokens (e-mail address) wrap on very
   narrow screens instead of forcing the whole card wider than the viewport. */
.contact-detail > li > div { min-width: 0; }
.contact-detail .icon { width: 44px; height: 44px; margin: 0; flex: 0 0 auto; border-radius: 12px; }
.contact-detail .icon svg { width: 22px; height: 22px; }
.contact-label {
  display: block;
  margin-bottom: 4px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-detail address,
.contact-detail p { margin: 0; font-size: .98rem; line-height: 1.62; color: var(--gray-dark); }
.contact-detail a { font-size: .98rem; font-weight: 600; color: var(--navy); overflow-wrap: anywhere; }
.contact-detail a:hover { color: var(--blue); }

.enquiry-card {
  padding: 34px 32px;
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: var(--radius-lg);
  color: #C6D5E6;
}
.enquiry-card h2 { color: var(--white); margin-bottom: .4em; }
.enquiry-card p { color: #A9BDD4; }
.enquiry-card .btn { margin-top: 26px; }
.enquiry-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  margin: 26px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
  list-style: none;
}
.enquiry-fields li { position: relative; padding-left: 22px; font-size: .92rem; color: var(--white); }
.enquiry-fields li::before {
  content: "";
  position: absolute;
  left: 0; top: .58em;
  width: 10px; height: 2px;
  border-radius: 2px;
  background: #6FB2F0;
}
.enquiry-hint { margin: 22px 0 0; font-size: .84rem; color: #8FA6BF; }

/* --- Misc --------------------------------------------------------------- */
.section--tight { padding: 72px 0; }
.stack { display: grid; gap: 26px; }
.card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.note-strip {
  padding: 18px 24px;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .9rem;
  line-height: 1.62;
  color: var(--muted);
}
.note-strip strong { color: var(--navy); }
.section--dark .note-strip {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .14);
  border-left-color: #6FB2F0;
  color: #A9BDD4;
}
.section--dark .note-strip strong { color: var(--white); }

/* --- Inner-page responsive --------------------------------------------- */
@media (max-width: 1080px) {
  .panel-grid--2 { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .industry-stack { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .page-hero { padding: 44px 0 40px; }
  .split, .service-detail { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse .split-media,
  .service-detail--reverse .service-detail-media { order: 0; }
  .service-detail { padding: 44px 0; }
  .split-media img { aspect-ratio: 16 / 10; }
  .card-grid--2 { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .page-hero h1 { font-size: 1.7rem; }
  .page-hero-sub { font-size: 1rem; }
  .feature-list, .enquiry-fields { grid-template-columns: 1fr; }
  .industry-block { gap: 14px; padding: 26px 22px 28px; }
  .data-table th, .data-table td { padding: 11px 14px; }
  .data-table tbody th { width: 62%; }
  .panel, .contact-card, .enquiry-card { padding: 26px 22px; }
  .industry-block .icon { width: 54px; height: 54px; border-radius: 14px; }
  .industry-block .icon svg { width: 27px; height: 27px; }
}

/* Contact enquiry card specifics */
.enquiry-card .eyebrow { color: #7CBBF5; margin-bottom: 10px; }
.enquiry-card a:not(.btn) { color: #8FC6F5; text-decoration: underline; text-underline-offset: 3px; }
.enquiry-card a:not(.btn):hover { color: var(--white); }
.contact-detail .icon svg { stroke-width: 1.6; }
.industry-body { min-width: 0; }

/* ==========================================================================
   14. WhatsApp & dual-channel contact actions
   ========================================================================== */
/* Small inline icons inside buttons (e.g. WhatsApp glyph) */
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }

/* WhatsApp quick-chat button on the dark CTA band — white on navy,
   kept within the site blue/white palette. */
.btn-whatsapp {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
  box-shadow: 0 6px 16px rgba(11, 31, 58, .28);
}
.btn-whatsapp:hover {
  background: #EDF4FC;
  border-color: #EDF4FC;
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(11, 31, 58, .34);
}
.btn-whatsapp svg { color: var(--blue); }

/* Homepage CTA with two actions side by side on desktop */
@media (min-width: 1081px) {
  .cta-inner--pair { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
}
.cta-actions--pair { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 14px; }
.cta-actions--pair .cta-note { flex-basis: 100%; }

/* Dual-channel block inside the contact details card */
.contact-cta {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--gray-mid);
}
.contact-cta h3 { margin: 0 0 .45em; font-size: 1.18rem; color: var(--navy); }
.contact-cta p { margin: 0 0 18px; font-size: .96rem; line-height: 1.6; color: var(--muted); }
.contact-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-cta-actions .btn-outline svg { color: #25D366; }

@media (max-width: 640px) {
  .cta-actions--pair { flex-direction: column; align-items: stretch; gap: 12px; }
  .cta-actions--pair .cta-note { flex-basis: auto; text-align: center; }
  .contact-cta-actions { flex-direction: column; align-items: stretch; }
}
