/* ===================================================================
   DENTWELL — Shared Stylesheet
   Design tokens: clean clinical teal + soft ink + warm coral
   Type: Fraunces (display) / Inter (body) / IBM Plex Mono (data)
   Note: legacy token names kept (--navy, --red…) and remapped to the
   refreshed palette so every page stays consistent.
   =================================================================== */

:root {
  /* Color — refreshed clinical palette */
  --navy:        #103A41;   /* deep clinical teal (primary ink) */
  --navy-700:    #16505A;   /* mid teal */
  --navy-500:    #1E6B77;   /* teal */
  --paper:       #FCFDFD;   /* near-white, faint cool */
  --paper-warm:  #F1F6F5;   /* soft mist panel */
  --mint:        #E4F1EE;   /* pale teal-mint */
  --mint-deep:   #CDE6E1;   /* deeper mint */
  --red:         #FF6B5B;   /* warm coral accent */
  --red-dark:    #ED5544;   /* coral pressed */
  --slate:       #41525A;   /* body text, cool grey */
  --slate-soft:  #74858C;   /* secondary text */
  --line:        #E0E8E8;   /* hairlines */
  --line-dark:   #265058;   /* hairlines on dark teal */
  --white:       #FFFFFF;
  --teal-glow:   #2BB3A3;   /* accent for gradients/highlights */

  /* Type */
  --display: "Fraunces", Georgia, serif;
  --body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:    "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 4px;
  --radius-lg: 10px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  color: var(--slate);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--navy);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-optical-sizing: auto;
}
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
h4 { font-size: clamp(1.1rem, 1.6vw, 1.35rem); }
p  { color: var(--slate); }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--red);
  display: inline-block;
}
.eyebrow.center { justify-content: center; }
.eyebrow.light { color: #FF6B6F; }

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section { padding: clamp(70px, 9vw, 130px) 0; }
.section-sm { padding: clamp(48px, 6vw, 80px) 0; }
.bg-navy   { background: var(--navy); }
.bg-paper-warm { background: var(--paper-warm); }
.bg-mint   { background: var(--mint); }
.on-dark, .on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--white); }
.on-dark p { color: rgba(255,255,255,0.72); }

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  color: var(--slate-soft);
  max-width: 56ch;
}
.on-dark .lead { color: rgba(255,255,255,0.72); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin: 18px 0 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 15px 28px;
  border-radius: var(--radius);
  transition: all 0.25s var(--ease);
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-700); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--navy); background: transparent; }
.btn-ghost:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.btn-ghost-light { border: 1.5px solid rgba(255,255,255,0.3); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; background: #fff; color: var(--navy); }
.btn-lg { padding: 18px 36px; font-size: 1rem; }

/* ===================================================================
   HEADER / NAV
   =================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(251,251,249,0.88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.scrolled { box-shadow: 0 4px 30px rgba(11,31,58,0.07); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.45rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 34px; height: 34px;
  flex-shrink: 0;
}
.brand span { color: var(--red); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 16px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--slate);
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover, .nav-item:hover > .nav-link { color: var(--navy); }
.nav-link svg { width: 11px; height: 11px; transition: transform 0.2s; opacity: 0.6; }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 280px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(11,31,58,0.14);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.22s var(--ease);
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius);
  transition: background 0.18s;
}
.dropdown a:hover { background: var(--mint); }
.dropdown strong {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 2px;
}
.dropdown small { color: var(--slate-soft); font-size: 0.82rem; line-height: 1.4; }

.nav-cta { display: flex; align-items: center; gap: 12px; }

/* wide products dropdown */
.dropdown-wide { min-width: 330px; }

/* appliance category blocks (orthodontic appliances page) */
.ortho-cat { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; overflow: hidden; }
.ortho-cat + .ortho-cat { margin-top: 22px; }
.ortho-cat-head {
  display: flex; align-items: center; gap: 18px;
  padding: 24px 28px; background: var(--paper-warm); border-bottom: 1px solid var(--line);
}
.ortho-cat-head .ohash {
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.12em; color: var(--red);
  flex-shrink: 0;
}
.ortho-cat-head h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.ortho-cat-head p { font-size: 0.92rem; margin-top: 4px; }
.ortho-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.ortho-item { background: #fff; padding: 20px 24px; }
.ortho-item b { display: block; color: var(--navy); font-weight: 600; font-size: 0.98rem; margin-bottom: 5px; }
.ortho-item .en { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.04em; color: var(--slate-soft); display:block; margin-bottom: 9px; }
.ortho-item p { font-size: 0.86rem; line-height: 1.55; color: var(--slate); }
@media (max-width: 820px) { .ortho-items { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ortho-items { grid-template-columns: 1fr; } .ortho-cat-head { flex-direction: column; align-items: flex-start; gap: 8px; } }

.nav-toggle { display: none; width: 28px; height: 28px; flex-direction: column; justify-content: center; gap: 6px; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: all 0.3s var(--ease); }

@media (max-width: 1080px) {
  .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    padding: 16px var(--gutter) 32px;
    gap: 0;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px rgba(11,31,58,0.12);
    transform: translateY(-120%);
    transition: transform 0.35s var(--ease);
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-link { padding: 16px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-item { width: 100%; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; padding: 0 0 8px 14px; min-width: 0;
    display: none;
  }
  .nav-item.expanded .dropdown { display: block; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ===================================================================
   HERO (home)
   =================================================================== */
.hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  padding: clamp(80px, 11vw, 150px) 0 clamp(70px, 9vw, 120px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 80% 6%, rgba(43,179,163,0.22), transparent 62%),
    radial-gradient(720px 600px at 4% 92%, rgba(255,107,91,0.10), transparent 58%);
  pointer-events: none;
}
/* blueprint grid */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 70% 40%, #000 0%, transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.hero h1 { color: #fff; margin: 26px 0 28px; }
.hero h1 em {
  font-style: italic;
  color: #fff;
  position: relative;
}
.hero h1 .annot {
  position: relative;
  white-space: nowrap;
}
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: rgba(255,255,255,0.74); max-width: 52ch; margin-bottom: 38px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 46px; }
.hero-certs { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.hero-certs span {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55);
  padding: 7px 14px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px;
}

/* engineering-drawing visual */
.hero-spec {
  position: relative;
  aspect-ratio: 1 / 1.05;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(28,58,99,0.4), rgba(11,31,58,0.1));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  overflow: hidden;
}
.hero-spec .spec-tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  display: flex;
  justify-content: space-between;
}
.hero-spec .spec-shape {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-spec svg { width: 100%; height: 100%; }
.hero-spec .spec-foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 18px;
}
.hero-spec .spec-foot b {
  font-family: var(--display);
  font-size: 1.5rem;
  color: #fff;
  display: block;
  line-height: 1;
}
.hero-spec .spec-foot small {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-spec { display: none; }
}

/* ===================================================================
   STATS BAR
   =================================================================== */
.statbar {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.statbar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 44px 32px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat b {
  font-family: var(--display);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  color: var(--navy);
  display: block;
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat b .u { color: var(--red); }
.stat span {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-soft);
  margin-top: 12px;
  display: block;
}
@media (max-width: 760px) {
  .statbar-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* ===================================================================
   PRODUCT CATEGORY CARDS
   =================================================================== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cat-grid.four { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-grid.four .cat-body { padding: 26px 22px 28px; }
.cat-grid.four .cat-body h3 { font-size: 1.4rem; }
@media (max-width: 1100px) { .cat-grid.four { grid-template-columns: repeat(2, 1fr); } }
.cat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px rgba(11,31,58,0.12); border-color: transparent; }
.cat-visual {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cat-visual svg { width: 78%; height: 78%; }

/* ---------- Image slots (drop-in photo system) ----------
   Usage: put an <img> as the FIRST child of any .img-slot to replace
   the placeholder. The SVG + "add photo" badge show only until then.
   Recommended photo sizes are noted on each slot via data-ratio.        */
.img-slot { position: relative; overflow: hidden; }
.img-slot > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 3;
}
/* the replace-photo badge */
.img-slot .photo-tag {
  position: absolute; bottom: 12px; right: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.85);
  background: rgba(16,58,65,0.72); border: 1px dashed rgba(255,255,255,0.45);
  padding: 5px 9px; border-radius: 100px; backdrop-filter: blur(2px);
  pointer-events: none;
}
.img-slot .photo-tag svg { width: 11px; height: 11px; opacity: 0.9; }
/* when an <img> is present, hide the placeholder layer + badge */
.img-slot:has(> img) .photo-tag,
.img-slot:has(> img) .ph-art { display: none; }
.ph-art { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }

.cat-num {
  position: absolute;
  top: 16px; left: 18px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.6);
  z-index: 2;
}
.cat-body { padding: 30px 28px 32px; display: flex; flex-direction: column; flex: 1; }
.cat-body h3 { margin-bottom: 12px; }
.cat-body p { font-size: 0.96rem; margin-bottom: 22px; flex: 1; }
.cat-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.cat-tags span {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--slate-soft);
  background: var(--mint);
  padding: 5px 11px;
  border-radius: 100px;
}
.cat-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}
.cat-link svg { width: 15px; height: 15px; transition: transform 0.2s var(--ease); }
.cat-card:hover .cat-link svg { transform: translateX(5px); }
@media (max-width: 900px) { .cat-grid { grid-template-columns: 1fr; } }

/* ===================================================================
   PROCESS / TIMELINE
   =================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
}
.process-step {
  padding: 0 28px;
  border-left: 1px solid var(--line);
  position: relative;
}
.process-step:first-child { padding-left: 0; border-left: none; }
.process-step .pnum {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  color: var(--red);
  margin-bottom: 18px;
  display: block;
}
.process-step h4 { margin-bottom: 12px; }
.process-step p { font-size: 0.92rem; }
@media (max-width: 860px) {
  .process-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .process-step { border-left: none; padding: 0; }
}
@media (max-width: 520px) { .process-grid { grid-template-columns: 1fr; } }

/* ===================================================================
   FEATURE SPLIT (alternating)
   =================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.split + .split { margin-top: clamp(70px, 9vw, 120px); }
.split.rev .split-text { order: 2; }
.split-text h2 { margin: 18px 0 22px; }
.split-list { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.split-list li { display: flex; gap: 14px; align-items: flex-start; }
.split-list .ic {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--mint);
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.split-list .ic svg { width: 13px; height: 13px; color: var(--red); }
.split-list strong { color: var(--navy); font-weight: 600; }
.split-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy);
  aspect-ratio: 4/3.4;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.split-visual svg { width: 100%; height: 100%; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split.rev .split-text { order: 0; }
}

/* ===================================================================
   SPEC TABLE (precision signature)
   =================================================================== */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.spec-table th {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  padding: 14px 18px;
}
.spec-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--slate);
}
.spec-table td.part { font-family: var(--mono); color: var(--navy); font-size: 0.85rem; }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:nth-child(even) td { background: var(--paper-warm); }

/* ===================================================================
   PROFILE / TESTIMONIAL
   =================================================================== */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 34px;
  display: flex;
  flex-direction: column;
}
.quote-card .mark { font-family: var(--display); font-size: 3.2rem; color: var(--mint-deep); line-height: 0.6; margin-bottom: 14px; }
.quote-card p { font-size: 1rem; color: var(--slate); flex: 1; }
.quote-meta { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.quote-meta b { display: block; color: var(--navy); font-weight: 600; }
.quote-meta small { color: var(--slate-soft); font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.04em; }
@media (max-width: 760px) { .quote-grid { grid-template-columns: 1fr; } }

/* ===================================================================
   CTA BAND
   =================================================================== */
.cta-band {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(48px, 7vw, 84px) clamp(32px, 6vw, 80px);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(700px 360px at 50% -10%, rgba(43,179,163,0.28), transparent 60%);
}
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; margin: 18px auto 20px; max-width: 18ch; }
.cta-band p { color: rgba(255,255,255,0.72); max-width: 52ch; margin: 0 auto 34px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 76px 0 0; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand .brand { color: #fff; margin-bottom: 18px; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.94rem; max-width: 34ch; margin-bottom: 24px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.footer-social a:hover { background: var(--red); border-color: var(--red); }
.footer-social svg { width: 17px; height: 17px; color: #fff; }
.footer-col h5 {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: rgba(255,255,255,0.72); font-size: 0.94rem; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-bottom small { color: rgba(255,255,255,0.5); font-size: 0.84rem; }
.footer-bottom .legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom .legal a { color: rgba(255,255,255,0.5); font-size: 0.84rem; }
.footer-bottom .legal a:hover { color: #fff; }
@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

/* ===================================================================
   PAGE HERO (interior pages)
   =================================================================== */
.page-hero {
  background: var(--navy);
  color: #fff;
  padding: clamp(70px, 9vw, 120px) 0 clamp(56px, 7vw, 90px);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content:""; position:absolute; inset:0;
  background: radial-gradient(800px 400px at 85% 0%, rgba(43,179,163,0.22), transparent 60%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin: 22px 0 24px; max-width: 18ch; }
.page-hero p { color: rgba(255,255,255,0.74); max-width: 58ch; font-size: clamp(1.05rem,1.5vw,1.25rem); }
.breadcrumb { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; color: rgba(255,255,255,0.5); margin-bottom: 6px; }
.breadcrumb a { color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: #fff; }

/* ---------- Prose (knowledge / legal) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 48px 0 18px; }
.prose h3 { font-size: 1.3rem; margin: 34px 0 14px; }
.prose p { margin-bottom: 18px; line-height: 1.75; }
.prose ul.bullets { margin: 0 0 22px; padding-left: 0; display: flex; flex-direction: column; gap: 12px; }
.prose ul.bullets li { padding-left: 28px; position: relative; }
.prose ul.bullets li::before {
  content: ""; position: absolute; left: 4px; top: 11px;
  width: 7px; height: 7px; background: var(--red); border-radius: 50%;
}
.prose strong { color: var(--navy); }
.prose a.inline { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Article cards ---------- */
.article-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.article-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.article-card:hover { transform: translateY(-5px); box-shadow: 0 22px 44px rgba(11,31,58,0.1); }
.article-visual { aspect-ratio: 16/9; background: var(--navy); position: relative; display:flex; align-items:center; justify-content:center; }
.article-visual svg { width: 60%; height: 60%; opacity: 0.9; }
.article-body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.article-cat { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.article-body h3 { font-size: 1.25rem; margin-bottom: 12px; }
.article-body p { font-size: 0.94rem; flex: 1; margin-bottom: 18px; }
.article-body .cat-link { font-size: 0.88rem; }
@media (max-width: 900px) { .article-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .article-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ accordion ---------- */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group > h3 { margin-bottom: 18px; padding-bottom: 14px; border-bottom: 2px solid var(--navy); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; padding: 22px 44px 22px 0;
  font-family: var(--display); font-size: clamp(1.1rem,1.6vw,1.3rem); color: var(--navy);
  position: relative; font-weight: 500; line-height: 1.3;
}
.faq-q::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--body); font-size: 1.6rem; color: var(--red); transition: transform 0.3s var(--ease); font-weight: 300;
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a-inner { padding: 0 44px 26px 0; color: var(--slate); line-height: 1.7; }
.faq-a-inner p + p { margin-top: 14px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.84rem; font-weight: 600; color: var(--navy); }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  font-family: var(--body); font-size: 0.96rem; padding: 14px 16px;
  border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--slate);
  transition: border-color 0.2s; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); }
.field textarea { resize: vertical; min-height: 130px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Contact split ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px,6vw,80px); }
.contact-info .info-item { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-info .info-item:first-of-type { padding-top: 0; }
.contact-info .ic-box {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: var(--radius);
  background: var(--mint); display: flex; align-items: center; justify-content: center;
}
.contact-info .ic-box svg { width: 20px; height: 20px; color: var(--red); }
.contact-info h4 { font-family: var(--body); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--slate-soft); margin-bottom: 4px; font-weight: 600; }
.contact-info .info-item p { color: var(--navy); font-weight: 500; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Logo strip ---------- */
.logo-strip { display: flex; align-items: center; justify-content: center; gap: clamp(28px,5vw,64px); flex-wrap: wrap; opacity: 0.7; }
.logo-strip span { font-family: var(--display); font-size: 1.3rem; color: var(--slate-soft); font-weight: 500; letter-spacing: 0.02em; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Pill row ---------- */
.pillrow { display: flex; flex-wrap: wrap; gap: 10px; }
.pillrow span {
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em;
  padding: 8px 16px; border: 1px solid var(--line); border-radius: 100px; color: var(--slate);
  background: #fff;
}

/* utility */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.tier-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: stretch; }
@media (max-width: 900px) { .tier-grid { grid-template-columns: 1fr; } }
.tier {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px 32px; display: flex; flex-direction: column;
}
.tier.feature { border-color: var(--navy); border-width: 2px; position: relative; }
.tier.feature::before {
  content: "Most popular"; position: absolute; top: -12px; left: 32px;
  background: var(--red); color: #fff; font-family: var(--mono); font-size: 0.66rem;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 14px; border-radius: 100px;
}
.tier .tname { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.tier h3 { margin-bottom: 8px; }
.tier .tvol { color: var(--slate-soft); font-size: 0.9rem; margin-bottom: 24px; }
.tier ul { display: flex; flex-direction: column; gap: 13px; margin-bottom: 30px; flex: 1; }
.tier ul li { display: flex; gap: 11px; align-items: flex-start; font-size: 0.94rem; }
.tier ul li svg { width: 17px; height: 17px; color: var(--red); flex-shrink: 0; margin-top: 3px; }
.tier .btn { width: 100%; justify-content: center; }


.contact-direct { max-width: 980px; margin: 0 auto; }
.contact-direct h2 { text-align: center; margin-top: 10px; }
.contact-direct-lead { max-width: 680px; margin: 12px auto 34px; color: var(--slate); }
.direct-contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.direct-contact-card {
  min-height: 190px;
  padding: 28px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--navy);
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s, border-color 0.2s;
}
.direct-contact-card:hover { transform: translateY(-4px); border-color: var(--teal); }
.direct-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-weight: 700;
}
.direct-contact-card strong { font-size: 1.12rem; }
.direct-contact-card small { color: var(--slate-soft); line-height: 1.5; }
@media (max-width: 860px) { .direct-contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .direct-contact-grid { grid-template-columns: 1fr; } }
