/* ==========================================================================
   TaxOptima - Superior SaaS Design System
   ========================================================================== */
:root {
  /* Core Brand Colors */
  --c-ink: #0E2233;
  --c-accent: #0C6B52;
  --c-paper: #FBF9F5;

  /* Modern SaaS Variables */
  --bg-main: #FAFAFA;
  --surface: #FFFFFF;
  --surface-hover: #F2F5F8;

  /* Emerald Scales */
  --emerald: var(--c-accent);
  --emerald-dim: color-mix(in srgb, var(--c-accent) 8%, transparent);
  --emerald-hover: color-mix(in srgb, var(--c-accent) 80%, #000);
  --emerald-glow: color-mix(in srgb, var(--c-accent) 20%, transparent);

  /* Ink Scales */
  --ink: var(--c-ink);
  --ink-light: color-mix(in srgb, var(--c-ink) 75%, #fff);
  --ink-muted: color-mix(in srgb, var(--c-ink) 50%, #fff);

  /* Architectural Borders */
  --border: rgba(14, 34, 51, 0.08);
  --border-light: rgba(14, 34, 51, 0.04);
  --border-active: rgba(12, 107, 82, 0.3);

  /* Deep, Physical Shadows */
  --sh-1: 0 2px 4px rgba(14, 34, 51, 0.02), 0 4px 12px rgba(14, 34, 51, 0.04);
  --sh-2: 0 10px 24px -8px rgba(14, 34, 51, 0.08), 0 4px 8px rgba(14, 34, 51, 0.03);
  --sh-3: 0 32px 64px -16px rgba(14, 34, 51, 0.12), 0 16px 24px -8px rgba(14, 34, 51, 0.06);
  --sh-glow: 0 0 0 1px var(--emerald), 0 12px 36px -12px var(--emerald-glow);

  /* Fluid Geometry */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  /* Easing & Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t: 0.5s var(--ease);
  --t-fast: 0.2s ease;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  background-color: var(--bg-main);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Tactile Grain Overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}

h1,
h2,
h3,
h4 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all var(--t-fast);
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
.display-1 {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  letter-spacing: -0.03em;
  font-weight: 700;
  line-height: 1.1;
}

.display-2 {
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  letter-spacing: -0.02em;
  font-weight: 700;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--emerald);
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--emerald);
  transform: rotate(45deg);
}

.text-lead {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  color: var(--ink-muted);
  line-height: 1.6;
}

/* ==========================================================================
   LAYOUT PRIMITIVES
   ========================================================================== */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 60px 0;
  position: relative;
}

.section-head {
  max-width: 700px;
  margin: 0 auto 56px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* ==========================================================================
   COMPONENTS
   ========================================================================== */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--t);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover {
  background: var(--emerald);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: var(--surface);
  border-color: var(--emerald);
}

/* Glass Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 250, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--t);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* height: 80px; */
}

.brand img {
  height: 60px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-light);
  position: relative;
}

.nav-links a:hover {
  color: var(--ink);
}

/* Mega Menu Dropdowns */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-drop-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.nav-drop-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  min-width: 240px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--sh-2);
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--t-fast);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 200;
}

.nav-dropdown:hover .nav-drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-drop-menu a {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--ink-muted);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all var(--t-fast);
  display: block;
}

.nav-drop-menu a:hover {
  background: var(--surface-hover);
  color: var(--emerald);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Premium Grid Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

/* Editorial Layouts */
.feat-card {
  grid-column: span 2;
  display: flex;
  flex-direction: row;
  padding: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--sh-1);
  transition: all var(--t);
  position: relative;
}

.feat-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--sh-3);
  border-color: transparent;
}

.feat-card-img {
  width: 50%;
  position: relative;
  overflow: hidden;
}

.feat-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

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

.feat-card-body {
  width: 50%;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
}

.process-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.sticky-visual {
  position: sticky;
  top: 120px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--sh-3);
  border: 1px solid var(--border);
  height: 600px;
}

.sticky-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bg-banner {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.bg-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.05;
}

.bg-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg-main), transparent 20%, transparent 80%, var(--bg-main));
}

.section-content {
  position: relative;
  z-index: 1;
}

.premium-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  position: relative;
  transition: all var(--t);
  box-shadow: var(--sh-1);
  display: flex;
  flex-direction: column;
}

.premium-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px transparent;
  transition: all var(--t);
  pointer-events: none;
}

.premium-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--sh-3);
  border-color: transparent;
}

.premium-card:hover::after {
  box-shadow: inset 0 0 0 2px var(--emerald);
}

.ico-wrap {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--emerald-dim);
  color: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  transition: all var(--t);
  border: 1px solid transparent;
}

.premium-card:hover .ico-wrap {
  background: var(--emerald);
  color: #fff;
  transform: scale(1.1) rotate(-5deg);
  box-shadow: var(--sh-glow);
}

.ico-wrap svg {
  width: 28px;
  height: 28px;
}

/* Bento service grid */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 196px;
  gap: 16px;
  grid-template-areas:
    "reg reg gst gst"
    "reg reg itr tm"
    "roc roc acc acc";
}

.bt-reg { grid-area: reg; }
.bt-gst { grid-area: gst; }
.bt-itr { grid-area: itr; }
.bt-tm  { grid-area: tm; }
.bt-roc { grid-area: roc; }
.bt-acc { grid-area: acc; }

.bento-tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--sh-1);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: inherit;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.bento-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-3);
  border-color: transparent;
}

.bento-ico {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: var(--emerald-dim);
  color: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  transition: all var(--t);
}

.bento-ico svg {
  width: 23px;
  height: 23px;
}

.bento-body h3 {
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.bento-body p {
  color: var(--ink-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.bento-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.bento-price {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
}

.bento-arrow {
  display: inline-flex;
  color: var(--ink-muted);
  transition: transform var(--t), color var(--t);
}

.bento-arrow svg {
  width: 20px;
  height: 20px;
}

.bento-tile:hover .bento-arrow {
  transform: translate(3px, -3px);
  color: var(--emerald);
}

/* Feature tile (image) */
.tile-feature {
  padding: 0;
  border: none;
}

.tile-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.tile-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 34, 51, 0.1) 0%, rgba(14, 34, 51, 0.55) 55%, rgba(14, 34, 51, 0.9) 100%);
}

.tile-feature:hover img {
  transform: scale(1.05);
}

.tile-feature .bento-body {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 30px;
  color: #fff;
}

.tile-feature .bento-ico {
  position: absolute;
  top: 26px;
  left: 26px;
  z-index: 1;
  margin: 0;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.tile-feature .bento-body h3,
.tile-dark .bento-body h3 {
  color: #fff;
}

.tile-feature .bento-body p {
  color: rgba(255, 255, 255, 0.8);
}

.tile-feature .bento-price {
  color: #fff;
}

.tile-feature .bento-arrow {
  color: rgba(255, 255, 255, 0.85);
}

.tile-feature:hover .bento-arrow {
  color: #fff;
}

/* Navy color-block tile */
.tile-dark {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.tile-dark .bento-ico {
  background: rgba(52, 211, 158, 0.16);
  color: #34d39e;
}

.tile-dark .bento-body p {
  color: rgba(255, 255, 255, 0.72);
}

.tile-dark .bento-price {
  color: #fff;
}

.tile-dark .bento-arrow {
  color: rgba(255, 255, 255, 0.8);
}

.tile-dark:hover .bento-arrow {
  color: #34d39e;
}

/* Emerald tint tile */
.tile-tint {
  background: var(--emerald-dim);
  border-color: transparent;
}

.tile-tag {
  align-self: flex-start;
  display: inline-block;
  background: rgba(52, 211, 158, 0.16);
  color: #34d39e;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

@media (max-width: 900px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 190px;
    grid-template-areas:
      "reg reg"
      "reg reg"
      "gst gst"
      "itr tm"
      "roc roc"
      "acc acc";
  }
}

@media (max-width: 540px) {
  .bento {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(170px, auto);
    grid-template-areas:
      "reg"
      "gst"
      "itr"
      "tm"
      "roc"
      "acc";
  }

  .bt-reg { min-height: 320px; }
}

/* Bento — 4-tile variant (one feature + three) */
.bento-4 {
  grid-template-areas:
    "a a b c"
    "a a d d";
}
.bt-a { grid-area: a; }
.bt-b { grid-area: b; }
.bt-c { grid-area: c; }
.bt-d { grid-area: d; }

@media (max-width: 900px) {
  .bento-4 {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "a a"
      "a a"
      "b c"
      "d d";
  }
}

@media (max-width: 540px) {
  .bento-4 {
    grid-template-columns: 1fr;
    grid-template-areas:
      "a"
      "b"
      "c"
      "d";
  }
  .bento-4 .bt-a { min-height: 300px; }
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */

/* Hero */
.hero {
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--border) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(160deg, #000 0%, transparent 55%);
  mask-image: linear-gradient(160deg, #000 0%, transparent 55%);
  opacity: 0.55;
  pointer-events: none;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.hero-content h1 {
  margin-bottom: 24px;
}

.hero-content .text-lead {
  margin-bottom: 48px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.premium-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--sh-3);
  position: relative;
  z-index: 1;
  background: var(--surface);
}

.premium-image-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 1.2s var(--ease);
}

.premium-image-wrap:hover img {
  transform: scale(1.04);
}

.premium-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(14, 34, 51, 0.4));
  pointer-events: none;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 16px;
  border-left: 2px solid var(--emerald);
}

.trust-item strong {
  font-size: 1.25rem;
  color: var(--ink);
}

.trust-item span {
  font-size: 0.85rem;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Editorial hero figure */
.hero-figure {
  position: relative;
  padding-left: 30px;
}

.hero-figure::before {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -22px;
  width: 78%;
  height: 80%;
  border: 1.5px solid var(--emerald);
  border-radius: var(--radius-lg);
  opacity: 0.4;
  z-index: 0;
}

.hero-vlabel {
  position: absolute;
  left: 0;
  top: 4px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--ink-muted);
  z-index: 2;
}

.hero-caption {
  position: absolute;
  right: 22px;
  bottom: 20px;
  z-index: 2;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: right;
  text-shadow: 0 1px 12px rgba(14, 34, 51, 0.55);
}

.hero-badge {
  position: absolute;
  left: -18px;
  bottom: 30px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--sh-2);
  padding: 14px 18px;
}

.hero-badge-stars {
  display: flex;
  gap: 3px;
  color: var(--emerald);
}

.hero-badge-stars svg {
  width: 15px;
  height: 15px;
}

.hero-badge-txt {
  font-size: 0.82rem;
  color: var(--ink-muted);
  font-weight: 600;
}

.hero-badge-txt strong {
  color: var(--ink);
  font-weight: 700;
}

/* Process Timeline */
.process-track {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.process-track::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 32px;
  width: 2px;
  background: var(--border);
}

.process-step {
  position: relative;
  padding-left: 96px;
  margin-bottom: 64px;
}

.process-step:last-child {
  margin-bottom: 0;
}

.step-node {
  position: absolute;
  left: 16px;
  top: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 2;
  transition: all var(--t);
}

.process-step:hover .step-node {
  background: var(--emerald);
  border-color: var(--emerald);
  color: #fff;
  transform: scale(1.2);
  box-shadow: var(--sh-glow);
}

/* Pricing */
.pricing-card {
  text-align: center;
}

.pricing-card.featured {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.pricing-card.featured h3,
.pricing-card.featured .text-lead {
  color: #fff;
}

.pricing-tier {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--emerald);
  margin-bottom: 16px;
}

.pricing-card.featured .pricing-tier {
  color: var(--emerald);
}

.price {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1;
}

.price span {
  font-size: 1rem;
  color: var(--ink-muted);
}

.pricing-features {
  text-align: left;
  margin: 40px 0;
  list-style: none;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-weight: 500;
}

.pricing-features svg {
  color: var(--emerald);
  width: 20px;
  height: 20px;
}

/* Footer */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 60px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 64px;
  margin-bottom: 80px;
}

.footer-col h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  color: var(--ink-light);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 16px;
  font-weight: 500;
  color: var(--ink-muted);
}

.footer-col li:hover {
  color: var(--emerald);
}

/* Utilities */
.text-center {
  text-align: center;
}

.mb-2 {
  margin-bottom: 16px;
}

.mb-4 {
  margin-bottom: 32px;
}

/* Responsive */
@media (max-width: 1024px) {

  .hero-grid,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .process-track::before {
    left: 24px;
  }

  .step-node {
    left: 8px;
  }

  .process-step {
    padding-left: 72px;
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-8px);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================================
   PAGE COMPONENTS  (migrated from index.html — replaces inline styles)
   ========================================================================== */

/* Announcement bar */
.topbar {
  background: var(--emerald-dim);
  color: var(--emerald-hover);
  text-align: center;
  padding: 12px;
  font-size: 0.9rem;
  font-weight: 500;
}

.topbar a {
  text-decoration: underline;
  font-weight: 700;
  margin-left: 8px;
}

/* Nav */
.nav-signin {
  font-weight: 600;
  color: var(--ink-light);
}

.nav-signin:hover {
  color: var(--ink);
}

/* Highlight word inside a heading */
.hl {
  color: var(--emerald);
}

/* Section modifiers */
.section-surface {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.bordered-top {
  border-top: 1px solid var(--border);
}

.section-head.wide {
  max-width: 800px;
}

.section-head.sticky-left {
  position: sticky;
  top: 120px;
  text-align: left;
  align-items: flex-start;
  margin: 0;
}

.section-head.sticky-left .text-lead {
  text-align: left;
  margin-bottom: 32px;
}

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

/* Extra grid */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

/* Hero */
.hero-content .eyebrow {
  margin-bottom: 24px;
}

/* Stats — cohesive divided band */
.stats {
  padding: 0;
}

.stats-head {
  text-align: center;
  margin-bottom: 48px;
}

.stats-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--emerald);
  margin-bottom: 14px;
}

.stats-head h2 {
  font-size: 2.2rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--sh-1);
  overflow: hidden;
  position: relative;
}

.stats-band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ink), var(--emerald));
}

.stat {
  padding: 48px 28px 40px;
  text-align: center;
  border-left: 1px solid var(--border);
  transition: background var(--t);
}

.stat:first-child {
  border-left: none;
}

.stat:hover {
  background: var(--emerald-dim);
}

.stat-num {
  font-size: 3.1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.stat-num .sfx,
.stat-num .pfx {
  color: var(--emerald);
}

.stat-lbl {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Service / feature cards */
.feat-card-body h3,
.premium-card h3 {
  font-size: 1.4rem;
}

.card-desc {
  color: var(--ink-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

.card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.card-price {
  font-weight: 700;
  font-size: 1.15rem;
}

/* Why */
.why-copy .eyebrow {
  margin-bottom: 16px;
}

.why-copy h2 {
  margin-bottom: 24px;
}

.why-copy .text-lead {
  margin-bottom: 40px;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.why-item {
  display: flex;
  gap: 24px;
}

.why-item h4 {
  margin-bottom: 8px;
}

.why-item p {
  color: var(--ink-muted);
}

.ico-wrap.ico-sm {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  margin-bottom: 0;
  flex: none;
}

/* Process */
.step-desc {
  color: var(--ink-muted);
  font-size: 1.1rem;
}

/* Industries pills */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 40px;
}

.pill {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: var(--sh-1);
  transition: all var(--t);
}

.pill:hover {
  border-color: var(--emerald);
  transform: translateY(-2px);
  box-shadow: var(--sh-glow);
}

.pill svg {
  width: 18px;
  height: 18px;
  color: var(--emerald);
}

/* Pricing */
.pricing-desc {
  color: var(--ink-muted);
  margin-bottom: 32px;
}

.pricing-card.featured {
  position: relative;
  z-index: 2;
  padding: 48px 32px;
}

.pricing-card.featured .price {
  color: #fff;
}

.pricing-card.featured .price span {
  color: rgba(255, 255, 255, 0.7);
}

.pricing-card.featured .pricing-desc {
  color: rgba(255, 255, 255, 0.8);
}

.pricing-card.featured .pricing-features {
  color: #fff;
}

.pricing-card.featured .btn-primary {
  background: var(--emerald);
  box-shadow: var(--sh-2);
}

.pricing-card.featured .btn-primary:hover {
  background: var(--emerald-hover);
}

.pop-badge {
  position: absolute;
  bottom: 100%;
  margin-bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--emerald);
  color: #fff;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: var(--sh-2);
  white-space: nowrap;
  z-index: 3;
}

.btn-block {
  width: 100%;
}

/* FAQ */
/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.faq-aside {
  position: sticky;
  top: 120px;
}

.faq-aside .eyebrow {
  margin-bottom: 16px;
}

.faq-aside h2 {
  margin-bottom: 20px;
}

.faq-aside .text-lead {
  margin-bottom: 36px;
}

.faq-help {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--sh-1);
  padding: 30px;
  max-width: 400px;
}

.faq-help-avatars {
  display: flex;
  margin-bottom: 18px;
}

.faq-help-avatars img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--surface);
  margin-left: -12px;
}

.faq-help-avatars img:first-child {
  margin-left: 0;
}

.faq-help h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.faq-help p {
  color: var(--ink-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 22px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t);
}

.faq-item:hover {
  border-color: color-mix(in srgb, var(--emerald) 40%, var(--border));
}

.faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 22px 26px;
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.35;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  color: var(--ink);
  font-family: inherit;
}

.faq-ico {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--emerald-dim);
  color: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  transition: transform var(--t), background var(--t), color var(--t);
}

.faq-ico svg {
  width: 18px;
  height: 18px;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 26px;
  color: var(--ink-muted);
  line-height: 1.6;
}

.faq-item.open {
  border-color: var(--emerald);
  box-shadow: var(--sh-2);
}

.faq-item.open .faq-ico {
  background: var(--emerald);
  color: #fff;
  transform: rotate(135deg);
}

.faq-item.open .faq-a {
  padding-bottom: 24px;
}

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

  .faq-aside {
    position: static;
  }

  .faq-help {
    max-width: none;
  }
}

/* Testimonials */
.stars {
  color: var(--emerald);
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.tgrid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.t-feature {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--sh-3);
}

.t-feature::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  right: -90px;
  top: -110px;
  background: radial-gradient(circle, rgba(12, 107, 82, 0.55), transparent 65%);
  pointer-events: none;
}

.t-mark {
  width: 46px;
  height: 46px;
  color: #34d39e;
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
}

.t-feature .stars {
  color: #34d39e;
  position: relative;
  z-index: 1;
}

.t-quote {
  position: relative;
  z-index: 1;
  font-size: 1.6rem;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: auto;
}

.t-person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  position: relative;
  z-index: 1;
}

.t-feature .t-person {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 26px;
}

.t-av {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}

.t-nm {
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
}

.t-rl {
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.t-feature .t-nm { color: #fff; }
.t-feature .t-rl { color: rgba(255, 255, 255, 0.65); }

.t-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.t-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--sh-1);
  padding: 30px 30px;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.t-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-3);
  border-color: transparent;
}

.t-quote-sm {
  font-size: 1.05rem;
  line-height: 1.55;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: auto;
}

.t-card .t-person {
  margin-top: 22px;
}

@media (max-width: 860px) {
  .tgrid {
    grid-template-columns: 1fr;
  }

  .t-feature {
    padding: 40px 32px;
  }

  .t-quote {
    font-size: 1.35rem;
  }
}

/* Background banner variant */
.bg-banner.op50 {
  opacity: 0.5;
}

/* CTA */
.cta-card {
  max-width: 800px;
  margin: 0 auto;
  background: var(--emerald);
  color: #fff;
  border: none;
  box-shadow: var(--sh-3);
}

.cta-card h2 {
  color: #fff;
  margin-bottom: 24px;
}

.cta-card p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.cta-card .btn-primary {
  background: var(--ink);
  box-shadow: none;
}

.cta-card .btn-ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.cta-card .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
  color: #fff;
  box-shadow: none;
}

/* Footer */
.footer-logo {
  height: 80px;
  margin-bottom: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--ink);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul a {
  color: var(--ink-muted);
  font-size: 0.95rem;
  transition: all var(--t-fast);
}

.footer-col ul a:hover {
  color: var(--emerald);
}

.footer-about {
  color: var(--ink-muted);
  margin-bottom: 32px;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--ink-muted);
}

.social-link:hover {
  border-color: var(--emerald);
  color: var(--emerald);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a:hover {
  color: var(--emerald);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-spring), transform 0.8s var(--ease-spring);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.d1 {
  transition-delay: 0.1s;
}

.d2 {
  transition-delay: 0.2s;
}

.d3 {
  transition-delay: 0.3s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Responsive additions */
@media (max-width: 1024px) {

  .grid-4,
  .process-split {
    grid-template-columns: 1fr;
  }

  .section-head.sticky-left {
    position: static;
  }

  .pricing-card.featured {
    transform: none;
    padding: 40px 32px;
  }
}

@media (max-width: 860px) {
  .stats-band {
    grid-template-columns: 1fr 1fr;
  }

  .stat:nth-child(2n+1) {
    border-left: none;
  }

  .stat:nth-child(n+3) {
    border-top: 1px solid var(--border);
  }
}

@media (max-width: 640px) {
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .stats-head h2 {
    font-size: 1.7rem;
  }

  .stat-num {
    font-size: 2.4rem;
  }

  .hero-trust {
    flex-wrap: wrap;
    gap: 20px;
  }

  .cta-actions {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 1024px) {
  .hero-figure {
    padding-left: 30px;
    max-width: 560px;
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  .hero-figure {
    padding-left: 0;
  }

  .hero-figure::before,
  .hero-vlabel {
    display: none;
  }

  .hero-badge {
    left: 12px;
    bottom: 12px;
    padding: 10px 14px;
  }
}
/* ==========================================================================
   PREMIUM CTA  (index.html #contact)
   ========================================================================== */
.cta-section { position: relative; overflow: hidden; padding: clamp(84px, 11vw, 148px) 24px; text-align: center; color: #fff; background: var(--ink); }
.cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 80% at 82% 8%, rgba(12,107,82,.4), transparent 55%),
    linear-gradient(180deg, rgba(14,34,51,.9) 0%, rgba(14,34,51,.93) 100%);
}
.cta-pro-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.cta-eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #34d39e; margin-bottom: 18px; }
.cta-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #34d39e; box-shadow: 0 0 0 4px rgba(34,195,154,.2); }
.cta-section h2 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.5rem); letter-spacing: -0.035em; line-height: 1.04; margin-bottom: 18px; }
.cta-section h2 span { color: #34d39e; }
.cta-section p { color: rgba(255,255,255,.82); font-size: 1.15rem; max-width: 48ch; margin: 0 auto 36px; }
.cta-section .cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.btn.cta-white { background: #fff; color: var(--ink); }
.btn.cta-white:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 18px 44px -14px rgba(0,0,0,.5); }
.btn.cta-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn.cta-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.cta-white svg, .cta-outline svg { width: 18px; height: 18px; }
.cta-proof { display: inline-flex; align-items: center; gap: 14px; color: rgba(255,255,255,.78); font-size: 0.95rem; }
.cta-proof strong { color: #fff; }
.cta-avatars { display: flex; flex: none; }
.cta-avatars img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; margin-left: -12px; }
.cta-avatars img:first-child { margin-left: 0; }
@media (max-width: 640px) {
  .cta-section { padding: 64px 20px; }
  .cta-proof { flex-direction: column; gap: 12px; text-align: center; }
  .cta-section .cta-actions .btn { width: 100%; }
}


/* Creative Page Layouts */
.zig-zag-section {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}
.zig-zag-section.reverse {
    flex-direction: row-reverse;
}
.zig-zag-content {
    flex: 1;
}
.zig-zag-image {
    flex: 1;
    border-radius: 16px;
    overflow: hidden;
    height: 400px;
}
.zig-zag-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.magazine-hero {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 500px;
    display: flex;
    align-items: flex-end;
    padding: 48px;
    background-size: cover;
    background-position: center;
    margin-bottom: 40px;
}
.magazine-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(14,34,51,0.9), transparent);
    z-index: 1;
}
.magazine-hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 600px;
}
.magazine-hero-content h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.magazine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.mag-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}
.mag-card:hover {
    transform: translateY(-5px);
}
.mag-card-img {
    height: 200px;
    width: 100%;
}
.mag-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mag-card-body {
    padding: 24px;
}

.split-contact {
    display: flex;
    min-height: 80vh;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}
.split-form {
    flex: 1;
    padding: 64px;
    background: #ffffff;
}
.split-info {
    flex: 1;
    padding: 64px;
    background: var(--surface);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.team-member {
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--sh-1);
    padding: 32px 24px;
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.team-member:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh-3);
    border-color: transparent;
}
.team-member .team-img {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 18px;
    border: 3px solid var(--surface);
    box-shadow: 0 8px 24px rgba(14, 34, 51, 0.1);
}
.team-name {
    font-size: 1.15rem;
    margin-bottom: 4px;
}
.team-role {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--emerald);
}
@media (max-width: 900px) {
    .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
    .team-grid { grid-template-columns: 1fr; }
}

/* About — mission band */
.mission-band {
    position: relative;
    overflow: hidden;
    background: var(--emerald-dim);
    border-radius: var(--radius-xl);
    padding: clamp(48px, 6vw, 88px) clamp(28px, 5vw, 72px);
    text-align: center;
}
.mission-band::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    top: -40%;
    right: -6%;
    background: radial-gradient(circle, var(--emerald-glow), transparent 65%);
    pointer-events: none;
}
.mission-band > * { position: relative; z-index: 1; }
.mission-band .eyebrow { justify-content: center; margin-bottom: 18px; }
.mission-band h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.7rem);
    letter-spacing: -0.02em;
    line-height: 1.12;
    max-width: 20ch;
    margin: 0 auto 20px;
}
.mission-band p {
    color: var(--ink-muted);
    font-size: 1.12rem;
    line-height: 1.65;
    max-width: 58ch;
    margin: 0 auto;
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-method {
    display: block;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--sh-1);
    padding: 30px;
    color: inherit;
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.contact-method:hover { transform: translateY(-6px); box-shadow: var(--sh-3); border-color: transparent; }
.contact-method .ico-wrap { margin-bottom: 20px; }
.contact-method:hover .ico-wrap { background: var(--emerald); color: #fff; }
.contact-method h3 { font-size: 1.15rem; margin-bottom: 6px; }
.contact-method p { color: var(--ink-muted); font-size: 0.95rem; margin-bottom: 14px; }
.contact-method .cm-val { font-weight: 700; color: var(--emerald); display: inline-flex; align-items: center; gap: 7px; }
.contact-method .cm-val svg { width: 16px; height: 16px; transition: transform var(--t); }
.contact-method:hover .cm-val svg { transform: translateX(4px); }

.contact-layout { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 28px; align-items: start; }
.contact-form-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--sh-1);
    padding: clamp(28px, 4vw, 44px);
}
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-size: 0.85rem; font-weight: 700; color: var(--ink); }
.form-field input, .form-field select, .form-field textarea {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg-main);
    font-family: inherit;
    font-size: 0.98rem;
    color: var(--ink);
    width: 100%;
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--ink-muted); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
    outline: none;
    border-color: var(--emerald);
    box-shadow: 0 0 0 3px var(--emerald-dim);
}
.form-field textarea { resize: vertical; min-height: 130px; }

.contact-aside {
    position: relative;
    overflow: hidden;
    background: var(--ink);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: clamp(30px, 4vw, 42px);
    box-shadow: var(--sh-2);
}
.contact-aside::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    top: -38%;
    right: -22%;
    background: radial-gradient(circle, rgba(12, 107, 82, 0.5), transparent 65%);
    pointer-events: none;
}
.contact-aside > * { position: relative; z-index: 1; }
.contact-aside h3 { color: #fff; font-size: 1.35rem; margin-bottom: 8px; }
.contact-aside .ca-lead { color: rgba(255, 255, 255, 0.72); font-size: 0.98rem; margin-bottom: 28px; line-height: 1.6; }
.ca-steps { list-style: none; display: flex; flex-direction: column; gap: 20px; margin-bottom: 28px; }
.ca-steps li { display: flex; gap: 14px; align-items: flex-start; }
.ca-steps .n {
    width: 30px; height: 30px; border-radius: 50%; flex: 0 0 auto;
    background: rgba(52, 211, 158, 0.16); color: #34d39e;
    display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem;
}
.ca-steps .t { font-size: 0.95rem; }
.ca-steps .t strong { display: block; color: #fff; margin-bottom: 2px; }
.ca-steps .t span { color: rgba(255, 255, 255, 0.66); }
.ca-contact { border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.ca-contact a { color: #fff; font-weight: 600; display: inline-flex; align-items: center; gap: 11px; }
.ca-contact a:hover { color: #34d39e; }
.ca-contact svg { width: 18px; height: 18px; color: #34d39e; flex: 0 0 auto; }

.loc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.loc-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--sh-1);
    overflow: hidden;
    transition: transform var(--t), box-shadow var(--t);
}
.loc-card:hover { transform: translateY(-5px); box-shadow: var(--sh-3); }
.loc-card img { width: 100%; height: 190px; object-fit: cover; display: block; }
.loc-card-body { padding: 28px 30px; }
.loc-tag { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--emerald); }
.loc-card h3 { font-size: 1.3rem; margin: 6px 0 14px; }
.loc-line { display: flex; gap: 11px; align-items: flex-start; margin-top: 10px; color: var(--ink); font-size: 0.96rem; line-height: 1.5; }
.loc-line svg { width: 17px; height: 17px; color: var(--emerald); flex: 0 0 auto; margin-top: 2px; }

@media (max-width: 900px) {
    .contact-methods { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .loc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .form-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   INNER PAGES — shared depth-page components (services, about, contact, etc.)
   ========================================================================== */
/* Page hero (navy band + breadcrumb) */
.page-hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: 56px 0 68px; }
.page-hero::before { content: ""; position: absolute; width: 560px; height: 560px; top: -46%; right: -6%; background: radial-gradient(circle, rgba(34,195,154,.2), transparent 62%); pointer-events: none; }
.page-hero::after { content: ""; position: absolute; width: 460px; height: 460px; bottom: -60%; left: -8%; background: radial-gradient(circle, rgba(12,107,82,.4), transparent 62%); pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.breadcrumb { display: flex; align-items: center; gap: 9px; font-size: 0.85rem; color: rgba(255,255,255,.6); margin-bottom: 22px; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,.6); } .breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .45; }
.breadcrumb .cur { color: #34d39e; font-weight: 600; }
.page-hero .eyebrow { color: #34d39e; }
.page-hero .eyebrow::before { background: #34d39e; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.5rem); letter-spacing: -0.035em; margin: 10px 0 18px; line-height: 1.05; }
.page-hero h1 .hl { color: #34d39e; }
.page-hero .p-lead { color: rgba(255,255,255,.8); font-size: 1.16rem; max-width: 56ch; margin-bottom: 28px; }
.page-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.page-hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.32); }
.page-hero .btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; box-shadow: none; }
.page-hero-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--sh-3); border: 1px solid rgba(255,255,255,.1); }
.page-hero-img img { width: 100%; height: 360px; object-fit: cover; display: block; }
.page-hero-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.page-hero-chips span { display: inline-flex; align-items: center; gap: 7px; font-size: 0.85rem; color: rgba(255,255,255,.8); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); padding: 8px 14px; border-radius: 999px; }
.page-hero-chips svg { width: 15px; height: 15px; color: #34d39e; }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; gap: 36px; } .page-hero-img img { height: 260px; } }

/* Left-aligned section head */
.section-head.left { text-align: left; align-items: flex-start; margin: 0 0 44px; max-width: 720px; }

/* Overview split (image + text) */
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-2 .split-img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--sh-2); }
@media (max-width: 900px) { .split-2 { grid-template-columns: 1fr; gap: 36px; } }

/* Checklist */
.checklist { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.checklist.tri { grid-template-columns: repeat(3, 1fr); }
.checklist li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.35;
  box-shadow: var(--sh-1);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.checklist li:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-2);
  border-color: var(--border-active);
}
.checklist li svg {
  width: 34px;
  height: 34px;
  padding: 8px;
  background: var(--emerald-dim);
  color: var(--emerald);
  border-radius: 10px;
  flex: 0 0 auto;
  margin: 0;
}
@media (max-width: 700px) { .checklist, .checklist.tri { grid-template-columns: 1fr; } }

/* Comparison table */
.compare-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--sh-1); }
.compare { width: 100%; border-collapse: collapse; min-width: 680px; }
.compare th, .compare td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.compare thead th { background: var(--ink); color: #fff; font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }
.compare tbody th { font-weight: 700; color: var(--ink); }
.compare td { color: var(--ink-muted); }
.compare tbody tr:last-child td, .compare tbody tr:last-child th { border-bottom: none; }
.compare .yes { color: var(--emerald); font-weight: 700; }
.compare .rec { background: var(--emerald-dim); }
.compare thead th.rec { background: var(--emerald); color: #fff; }

/* 4-step process cards */
.steps4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps4 .st { position: relative; text-align: center; padding: 0 14px; }
.steps4 .st::before {
  content: "";
  position: absolute;
  top: 31px;
  left: 50%;
  width: calc(100% + 16px);
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--border) 0 7px, transparent 7px 14px);
  z-index: 0;
}
.steps4 .st:last-child::before { display: none; }
.steps4 .st .num {
  position: relative;
  z-index: 1;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 auto 22px;
  box-shadow: 0 0 0 7px var(--bg-main);
  transition: transform var(--t), background var(--t), box-shadow var(--t);
}
.steps4 .st:hover .num {
  background: var(--emerald);
  transform: scale(1.08);
  box-shadow: 0 0 0 7px var(--bg-main), var(--sh-glow);
}
.steps4 .st h4 { margin-bottom: 8px; font-size: 1.12rem; }
.steps4 .st p { color: var(--ink-muted); font-size: 0.93rem; max-width: 25ch; margin: 0 auto; }
@media (max-width: 900px) {
  .steps4 { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  .steps4 .st::before { display: none; }
}
@media (max-width: 560px) { .steps4 { grid-template-columns: 1fr; } }

/* Documents layout (content + sticky aside) */
.doc-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
.doc-aside { position: sticky; top: 100px; background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--sh-2); }
.doc-aside-img { width: 100%; height: 168px; object-fit: cover; border-radius: var(--radius-md); margin-bottom: 24px; }
.doc-aside h4 { color: #fff; margin-bottom: 10px; }
.doc-aside p { color: rgba(255,255,255,.75); font-size: 0.95rem; margin-bottom: 22px; }
.doc-aside .btn { width: 100%; }
.doc-aside .btn-primary { background: #fff; color: var(--ink); }
.doc-aside .btn-primary:hover { background: #34d39e; color: var(--ink); transform: translateY(-2px); }
@media (max-width: 900px) { .doc-layout { grid-template-columns: 1fr; gap: 32px; } .doc-aside { position: static; } }

/* Mini stat strip */
.mini-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.mini-stat { text-align: center; }
.mini-stat .n { font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.mini-stat .n span { color: var(--emerald); }
.mini-stat .l { color: var(--ink-muted); font-size: 0.92rem; margin-top: 6px; }
@media (max-width: 700px) { .mini-stats { grid-template-columns: 1fr 1fr; gap: 30px 16px; } }

/* Related services */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.related-card { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; transition: all var(--t); }
.related-card:hover { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: transparent; }
.related-card .ic { width: 50px; height: 50px; border-radius: 13px; background: var(--emerald-dim); color: var(--emerald); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.related-card .ic svg { width: 24px; height: 24px; }
.related-card h4 { margin-bottom: 8px; }
.related-card p { color: var(--ink-muted); font-size: 0.94rem; margin-bottom: 14px; }
.related-card .lnk { color: var(--emerald); font-weight: 700; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 900px) { .related-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   PAGE HERO — light variant with faded background image (theme)
   ========================================================================== */
.page-hero { background: var(--bg-main); color: var(--ink); }
.page-hero::after { display: none; }
.page-hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .1; -webkit-mask-image: linear-gradient(180deg, #000, transparent 84%); mask-image: linear-gradient(180deg, #000, transparent 84%); }
.page-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg-main) 24%, rgba(250,250,250,.4) 56%, transparent); }
.page-hero .breadcrumb, .page-hero .breadcrumb a { color: var(--ink-muted); }
.page-hero .breadcrumb a:hover { color: var(--ink); }
.page-hero .breadcrumb .cur { color: var(--emerald); }
.page-hero .eyebrow { color: var(--emerald); }
.page-hero .eyebrow::before { background: var(--emerald); }
.page-hero h1 { color: var(--ink); }
.page-hero h1 .hl { color: var(--emerald); }
.page-hero .p-lead { color: var(--ink-muted); }
.page-hero .btn-ghost { color: var(--ink); border-color: var(--border); }
.page-hero .btn-ghost:hover { border-color: var(--ink); background: var(--surface); }
.page-hero-img { border-color: var(--border); }
.page-hero-chips span { color: var(--ink); background: var(--surface); border-color: var(--border); box-shadow: var(--sh-1); }
.page-hero-chips svg { color: var(--emerald); }
