/* Dr. Alex Coutinho — design system */
:root {
  --ink: #0d1a2b;
  --navy: #132a4a;
  --navy-2: #1d3b64;
  --navy-3: #2c5287;
  --paper: #f6f2eb;
  --paper-2: #ede6da;
  --paper-3: #e2d8c8;
  --white: #fffdf9;
  --gold: #a9834a;
  --gold-2: #c9a46a;
  --gold-soft: #e6d3b0;
  --text: #1b2533;
  --muted: #5d6878;
  --line: rgba(13, 26, 43, 0.12);
  --line-strong: rgba(13, 26, 43, 0.22);
  --line-light: rgba(246, 242, 235, 0.16);

  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 18px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 30px 60px -30px rgba(13, 26, 43, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold-soft); color: var(--ink); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; color: var(--ink); margin: 0; letter-spacing: -0.02em; font-variation-settings: "opsz" 144, "SOFT" 30; }
h1 { font-size: clamp(2.7rem, 6.4vw, 5.9rem); line-height: 1.0; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.6rem); line-height: 1.06; }
h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1.2; letter-spacing: -0.01em; }
h1 em, h2 em, h3 em, .quote em { font-style: italic; color: var(--gold); font-variation-settings: "opsz" 144, "SOFT" 100; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.28rem); line-height: 1.6; color: var(--muted); max-width: 40ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 242, 235, 0.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.header.scrolled { border-bottom-color: var(--line); background: rgba(246, 242, 235, 0.94); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; transition: height .3s var(--ease); }
.header.scrolled .container { height: 70px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-seal { width: 44px; height: 44px; color: var(--navy); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 21px; color: var(--ink); letter-spacing: -0.01em; }
.brand-sub { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav-drop > button {
  position: relative; padding: 10px 14px; font-size: 15px; color: var(--text);
  border-radius: 8px; background: none; border: 0; cursor: pointer; transition: color .2s;
}
.nav > a::after, .nav-drop > button::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav > a:hover::after, .nav > a[aria-current="page"]::after,
.nav-drop:hover > button::after, .nav-drop > button[aria-current="page"]::after { transform: scaleX(1); }
.nav-drop { position: relative; }
.nav-drop > button svg { width: 10px; height: 10px; margin-left: 6px; transition: transform .3s; vertical-align: 1px; }
.nav-drop:hover > button svg, .nav-drop:focus-within > button svg { transform: rotate(180deg); }
.nav-menu {
  position: absolute; top: calc(100% + 8px); left: -12px; min-width: 300px;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 10px;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .25s, transform .3s var(--ease), visibility .25s;
}
.nav-drop:hover .nav-menu, .nav-drop:focus-within .nav-menu { opacity: 1; visibility: visible; transform: none; }
.nav-menu a { display: block; padding: 12px 14px; border-radius: 10px; transition: background .2s; }
.nav-menu a:hover { background: var(--paper); }
.nav-menu strong { display: block; font-weight: 500; font-size: 15px; color: var(--ink); }
.nav-menu span { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.nav-menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }

.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease), opacity .2s; }
.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 26px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 70px 0 0 0; z-index: 49; background: var(--paper);
  padding: 28px var(--gutter) 40px; display: flex; flex-direction: column; gap: 4px; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .35s var(--ease), visibility .3s;
}
.menu-open .mobile-nav { opacity: 1; visibility: visible; transform: none; }
.mobile-nav > a { font-family: var(--serif); font-size: 30px; color: var(--ink); padding: 10px 0; border-bottom: 1px solid var(--line); }
.mobile-nav > a.sub { font-family: var(--sans); font-size: 17px; padding: 10px 0 10px 18px; color: var(--muted); }
.mobile-nav .cta-buttons { margin-top: 28px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: 0.01em; white-space: nowrap;
  border: 1px solid var(--navy); color: var(--navy); background: transparent; cursor: pointer;
  transition: background .3s var(--ease), color .3s, border-color .3s, transform .3s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:hover { background: var(--navy); color: var(--paper); }
.btn:active { transform: scale(.98); }
.btn-solid { background: var(--navy); color: var(--paper); }
.btn-solid:hover { background: var(--ink); border-color: var(--ink); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.on-dark .btn { border-color: var(--line-light); color: var(--paper); }
.on-dark .btn:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.cta-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-buttons .btn { flex: 1 1 0; min-width: 0; }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--navy); border-bottom: 1px solid var(--line-strong); padding-bottom: 4px; transition: gap .3s var(--ease), border-color .3s; }
.link-arrow:hover { gap: 16px; border-color: var(--gold); }
.link-arrow svg { width: 16px; height: 16px; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section-tight { padding: clamp(60px, 8vw, 100px) 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head .lead { justify-self: end; }
.bg-paper-2 { background: var(--paper-2); }
.bg-white { background: var(--white); }
.on-dark { background: var(--ink); color: rgba(246, 242, 235, 0.78); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--paper); }
.on-dark .lead, .on-dark .muted { color: rgba(246, 242, 235, 0.66); }
.on-dark .eyebrow { color: var(--gold-2); }

/* ---------- Photo frame (guided-by-image motif) ---------- */
.frame { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--paper-3); isolation: isolate; }
.frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.88) contrast(1.04); transition: transform 1.2s var(--ease); }
.frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(13, 26, 43, 0.28)); pointer-events: none; }
.ticks { position: relative; }
.ticks::before, .ticks::after, .ticks > .t1, .ticks > .t2 {
  content: ""; position: absolute; width: 22px; height: 22px; border-color: var(--gold); border-style: solid; z-index: 2; pointer-events: none;
}
.ticks::before { top: -10px; left: -10px; border-width: 1px 0 0 1px; }
.ticks::after { top: -10px; right: -10px; border-width: 1px 1px 0 0; }
.ticks > .t1 { bottom: -10px; left: -10px; border-width: 0 0 1px 1px; }
.ticks > .t2 { bottom: -10px; right: -10px; border-width: 0 1px 1px 0; }
.caption { font-size: 12.5px; letter-spacing: 0.06em; color: var(--muted); margin-top: 14px; display: flex; gap: 10px; align-items: center; }
.caption::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(70px, 9vw, 120px); position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.hero h1 { margin-bottom: 28px; }
.hero .lead { margin-bottom: 40px; max-width: 46ch; }
.hero-meta { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-meta div { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.hero-meta strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 26px; color: var(--ink); letter-spacing: -0.01em; }
.hero-visual { position: relative; }
.hero-visual .frame { aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.hero-seal {
  position: absolute; left: -54px; bottom: 54px; width: 128px; height: 128px; z-index: 3;
  background: var(--paper); border-radius: 50%; padding: 8px; color: var(--navy);
  box-shadow: 0 20px 40px -20px rgba(13, 26, 43, .4);
}
.hero-seal .ring { animation: spin 38s linear infinite; transform-origin: 50% 50%; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-card {
  position: absolute; right: -28px; top: 44px; z-index: 3; background: var(--white); border-radius: 14px;
  padding: 16px 20px; box-shadow: var(--shadow); border: 1px solid var(--line); font-size: 13px; line-height: 1.45; max-width: 280px;
}
.hero-card b { display: block; font-weight: 600; color: var(--ink); font-size: 13.5px; }
.hero-card .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3a9b6a; margin-right: 6px; box-shadow: 0 0 0 4px rgba(58, 155, 106, .15); }

.page-hero { padding: clamp(50px, 7vw, 100px) 0 clamp(60px, 8vw, 110px); }
.page-hero .hero-grid { grid-template-columns: 1.1fr .9fr; }
.page-hero .frame { aspect-ratio: 5 / 6; }
.page-hero h1 { margin-bottom: 28px; }
.page-hero .lead { margin-bottom: 40px; max-width: 48ch; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 26px; display: flex; gap: 10px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--navy); }
.crumbs span[aria-hidden] { color: var(--gold); }

/* ---------- Marquee ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--paper); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 48s linear infinite; }
.marquee-item { display: flex; align-items: center; gap: 56px; font-family: var(--serif); font-size: clamp(18px, 2vw, 24px); color: var(--ink); white-space: nowrap; }
.marquee-item small { font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-left: 10px; }
.marquee-item::after { content: "✦"; color: var(--gold); font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Statement (dark) ---------- */
.statement { text-align: left; }
.statement h2 { font-size: clamp(2.6rem, 6.5vw, 6rem); line-height: 1.02; max-width: 15ch; }
.statement-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 64px; align-items: end; }
.statement-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-light); }
.statement-list li { padding: 18px 0; border-bottom: 1px solid var(--line-light); display: flex; justify-content: space-between; gap: 20px; font-size: 15.5px; }
.statement-list li span:last-child { color: var(--gold-2); font-family: var(--serif); font-size: 18px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-strong); }
.step { padding: 36px 36px 8px 0; border-right: 1px solid var(--line); }
.step + .step { padding-left: 36px; }
.step:last-child { border-right: 0; }
.step-num { font-family: var(--serif); font-size: 15px; color: var(--gold); margin-bottom: 52px; display: flex; align-items: center; gap: 12px; }
.step-num::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.step h3 { margin-bottom: 14px; }
.step p { color: var(--muted); font-size: 16px; }

/* ---------- Area cards ---------- */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.area {
  position: relative; display: flex; flex-direction: column; min-height: 560px; border-radius: var(--radius); overflow: hidden;
  color: var(--paper); isolation: isolate; background: var(--navy);
}
.area img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(.75) contrast(1.05); transition: transform 1.2s var(--ease); }
.area::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 26, 43, .1) 0%, rgba(13, 26, 43, .55) 45%, rgba(13, 26, 43, .94) 100%); }
.area:hover img { transform: scale(1.05); }
.area-top { padding: 26px 28px; display: flex; justify-content: space-between; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(246, 242, 235, .8); }
.area-body { margin-top: auto; padding: 0 28px 30px; }
.area h3 { color: var(--paper); font-size: clamp(1.7rem, 2.4vw, 2.2rem); margin-bottom: 12px; }
.area p { font-size: 15.5px; color: rgba(246, 242, 235, .78); margin-bottom: 22px; }
.area .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.area .tags span { font-size: 12px; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-light); color: rgba(246, 242, 235, .85); }
.area .go { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; color: var(--gold-soft); transition: gap .3s var(--ease); }
.area:hover .go { gap: 16px; }
.area .go svg { width: 16px; height: 16px; }

.areas.four { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.areas.four .area { min-height: 540px; }
.areas.four .area-top { padding: 22px 22px; }
.areas.four .area-body { padding: 0 22px 26px; }
.areas.four .area h3 { font-size: clamp(1.5rem, 2vw, 1.85rem); }
.areas.four .area p { font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; position: relative; z-index: 1; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-light); font-size: 14px; cursor: pointer; color: rgba(246, 242, 235, .8); transition: background .25s, border-color .25s, color .25s; }
.chips input:checked + label { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.chips input:focus-visible + label { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.also { margin-top: 20px; display: grid; grid-template-columns: 240px 1fr; gap: 40px; padding: 34px 36px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); align-items: center; }
.also h3 { font-size: 1.35rem; }
.also ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.also li { padding: 9px 16px; border-radius: 999px; background: var(--paper); font-size: 14.5px; border: 1px solid var(--line); }

/* ---------- Pain scale ---------- */
.scale-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.scale-card { background: var(--navy); color: var(--paper); border-radius: 24px; padding: clamp(28px, 4vw, 48px); position: relative; overflow: hidden; }
.scale-card::before { content: ""; position: absolute; width: 420px; height: 420px; right: -160px; top: -160px; border-radius: 50%; border: 1px solid var(--line-light); }
.scale-card::after { content: ""; position: absolute; width: 260px; height: 260px; right: -80px; top: -80px; border-radius: 50%; border: 1px solid var(--line-light); }
.scale-label { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 8px; display: block; }
.scale-value { display: flex; align-items: baseline; gap: 14px; margin-bottom: 6px; position: relative; z-index: 1; }
.scale-value output { font-family: var(--serif); font-size: clamp(5rem, 10vw, 7.5rem); line-height: 1; color: var(--paper); font-variant-numeric: tabular-nums; }
.scale-value span { font-size: 15px; color: rgba(246, 242, 235, .6); }
.scale-desc { font-family: var(--serif); font-size: 22px; color: var(--gold-soft); min-height: 1.4em; margin-bottom: 26px; position: relative; z-index: 1; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--gold-2) var(--p, 50%), rgba(246, 242, 235, .18) var(--p, 50%)); outline: none; position: relative; z-index: 1; cursor: pointer; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: var(--paper); border: 6px solid var(--gold-2); box-shadow: 0 6px 16px rgba(0, 0, 0, .35); }
.range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--paper); border: 6px solid var(--gold-2); }
.range-ticks { display: flex; justify-content: space-between; font-size: 12px; color: rgba(246, 242, 235, .5); margin: 12px 2px 30px; font-variant-numeric: tabular-nums; position: relative; z-index: 1; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 26px; position: relative; z-index: 1; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { text-align: center; padding: 12px 8px; border-radius: 12px; border: 1px solid var(--line-light); font-size: 14px; cursor: pointer; transition: background .25s, border-color .25s, color .25s; color: rgba(246, 242, 235, .8); }
.seg input:checked + label { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.seg input:focus-visible + label { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.scale-result { border-top: 1px solid var(--line-light); padding-top: 22px; position: relative; z-index: 1; }
.scale-result p { font-size: 15.5px; color: rgba(246, 242, 235, .85); margin-bottom: 18px; }
.scale-result .btn { width: 100%; white-space: normal; text-align: center; height: auto; padding: 14px 22px; line-height: 1.35; background: var(--paper); color: var(--ink); border-color: var(--paper); }
.scale-result .btn:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.scale-note { font-size: 12.5px; color: rgba(246, 242, 235, .5); margin-top: 14px; }

/* ---------- Credentials timeline ---------- */
.creds { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.creds-visual { position: sticky; top: 110px; }
.creds-visual .frame { aspect-ratio: 8 / 7; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.timeline li:first-child { border-top: 1px solid var(--line-strong); }
.timeline .when { font-family: var(--serif); font-size: 18px; color: var(--gold); }
.timeline h3 { font-size: 1.45rem; margin-bottom: 6px; }
.timeline p { margin: 0; color: var(--muted); font-size: 15.5px; }
.timeline .inst { display: inline-block; margin-top: 10px; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-3); font-weight: 600; }

/* ---------- Quote / testimonials ---------- */
.quote { font-family: var(--serif); font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: 1.18; color: var(--ink); letter-spacing: -0.015em; max-width: 24ch; font-variation-settings: "opsz" 144, "SOFT" 50; }
.quote-mark { font-family: var(--serif); font-size: 120px; line-height: .6; color: var(--gold); display: block; height: 50px; }
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tcard { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 32px 30px; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.tcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tcard blockquote { margin: 0 0 28px; font-family: var(--serif); font-size: 20px; line-height: 1.45; color: var(--ink); letter-spacing: -0.005em; }
.tcard blockquote::before { content: "“"; display: block; font-size: 64px; line-height: .7; color: var(--gold); margin-bottom: 14px; }
.tcard footer { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tcard .who { font-weight: 600; font-size: 14.5px; color: var(--ink); }
.tcard .what { font-size: 13px; color: var(--muted); }
.tcard .tag { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.tcard.featured { grid-column: span 2; background: var(--navy); color: var(--paper); border-color: var(--navy); }
.tcard.featured blockquote { color: var(--paper); font-size: clamp(22px, 2.4vw, 28px); }
.tcard.featured footer { border-color: var(--line-light); }
.tcard.featured .who { color: var(--paper); }
.tcard.featured .what { color: rgba(246, 242, 235, .65); }

/* ---------- Split / media text ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split .frame { aspect-ratio: 4 / 5; }
.split .frame.wide { aspect-ratio: 16 / 11; }
.prose p { color: var(--muted); }
.prose p strong { color: var(--ink); font-weight: 600; }
.prose h2 { margin-bottom: 28px; }
.prose h3 { margin: 36px 0 12px; }

.checklist { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--text); }
.checklist li::before { content: ""; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; border: 1px solid var(--gold); background: radial-gradient(circle, var(--gold) 0 3px, transparent 4px); }

/* ---------- Technique cards ---------- */
.tech { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tech > div { background: var(--paper); padding: 36px 32px; transition: background .4s; }
.tech > div:hover { background: var(--white); }
.tech .ico { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--navy); margin-bottom: 30px; }
.tech .ico svg { width: 22px; height: 22px; }
.tech h3 { font-size: 1.4rem; margin-bottom: 10px; }
.tech p { font-size: 15.5px; color: var(--muted); margin: 0; }
.tech.two { grid-template-columns: repeat(2, 1fr); }

/* ---------- Conditions list (hub) ---------- */
.conds { border-top: 1px solid var(--line-strong); }
.cond { display: grid; grid-template-columns: 80px 1fr 1.3fr; gap: 32px; padding: 34px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cond .n { font-family: var(--serif); color: var(--gold); font-size: 17px; }
.cond h3 { font-size: 1.6rem; }
.cond p { margin: 0 0 8px; color: var(--muted); font-size: 16px; }
.cond .how { font-size: 13.5px; color: var(--navy-3); font-weight: 500; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 28px 56px 28px 0; position: relative; font-family: var(--serif); font-size: clamp(1.2rem, 1.8vw, 1.5rem); color: var(--ink); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: linear-gradient(var(--ink), var(--ink)) center / 11px 1px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1px 11px no-repeat; transition: transform .35s var(--ease), background-color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--paper-2); }
.faq .answer { padding: 0 56px 30px 0; color: var(--muted); max-width: 70ch; }
.faq .answer p:last-child { margin: 0; }

/* ---------- Locations ---------- */
.places { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; }
.place { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; }
.place .label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.place h3 { margin-bottom: 12px; }
.place address { font-style: normal; color: var(--muted); margin-bottom: 26px; }
.place .link-arrow { margin-top: auto; align-self: flex-start; }
.map { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 340px; isolation: isolate;
  background:
    radial-gradient(circle at 50% 46%, rgba(169, 131, 74, .18) 0 60px, transparent 61px),
    repeating-linear-gradient(0deg, transparent 0 47px, rgba(13, 26, 43, .06) 47px 48px),
    repeating-linear-gradient(90deg, transparent 0 47px, rgba(13, 26, 43, .06) 47px 48px),
    var(--paper); }
.map-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; z-index: -1; color: var(--muted); font-size: 14px; }
.map-fallback svg { width: 34px; height: 34px; color: var(--gold); }
.map-fallback strong { font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--ink); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.6) contrast(1.05); }

.convs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.conv { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--paper); font-size: 13.5px; font-weight: 600; color: var(--navy); letter-spacing: .01em; }
.conv::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.conv-logo { display: inline-flex; align-items: center; gap: 7px; height: 52px; padding: 0 20px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.conv-logo img { height: 20px; width: auto; }
.conv-logo img.tall { height: 66px; }
.conv-logo { min-height: 72px; height: auto; padding: 9px 20px; }
.conv-logo small { font-size: 15px; font-weight: 500; color: #cc092f; letter-spacing: -.01em; }
.place .conv-logo { min-height: 64px; padding: 8px 16px; }
.place .conv-logo img { height: 18px; }
.place .conv-logo img.tall { height: 58px; }
.conv-strip { margin-top: 20px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; padding: 28px 32px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.conv-strip .label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 8px; }
.conv-strip p { margin: 0; color: var(--muted); font-size: 15.5px; }
.conv-strip .convs { margin: 0; justify-content: flex-end; }
.conv-strip .conv { font-size: 15px; padding: 12px 20px; }
.legal h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 48px 0 14px; }
.legal p, .legal li { color: var(--muted); max-width: 72ch; }
.legal ul { padding-left: 20px; }

/* ---------- CTA panel ---------- */
.cta-panel { border-radius: 28px; background: var(--ink); color: var(--paper); padding: clamp(40px, 6vw, 80px); position: relative; overflow: hidden; isolation: isolate; }
.cta-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(800px 400px at 90% 0%, rgba(201, 164, 106, .22), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgba(44, 82, 135, .5), transparent 60%); }
.cta-panel h2 { color: var(--paper); max-width: 16ch; margin-bottom: 18px; }
.cta-panel .lead { color: rgba(246, 242, 235, .7); max-width: 52ch; margin-bottom: 48px; }
.cta-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cta-card { display: flex; flex-direction: column; gap: 18px; padding: 26px 26px 24px; border-radius: 18px; border: 1px solid var(--line-light); background: rgba(246, 242, 235, .03); transition: background .35s var(--ease), border-color .35s, transform .35s var(--ease); min-height: 210px; }
.cta-card:hover { background: rgba(246, 242, 235, .08); border-color: rgba(201, 164, 106, .55); transform: translateY(-3px); }
.cta-card .ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--ink); }
.cta-card .ico svg { width: 22px; height: 22px; }
.cta-card strong { font-family: var(--serif); font-weight: 400; font-size: 24px; color: var(--paper); display: block; letter-spacing: -0.01em; }
.cta-card span { font-size: 14.5px; color: rgba(246, 242, 235, .62); line-height: 1.5; }
.cta-card .arrow { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--gold-soft); }
.cta-card .arrow svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.cta-card:hover .arrow svg { transform: translateX(4px); }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: clamp(28px, 4vw, 48px); }
.form h3 { margin-bottom: 8px; }
.form .muted { margin-bottom: 30px; font-size: 15px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: .02em; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: 15px 16px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--paper); transition: border-color .2s, background .2s, box-shadow .2s; font-size: 16px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: var(--white); box-shadow: 0 0 0 4px rgba(19, 42, 74, .08); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--muted); margin: 22px 0 26px; line-height: 1.5; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--navy); flex-shrink: 0; }
.form-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-actions .btn { width: 100%; }
.form-actions .btn[disabled] { opacity: .6; cursor: wait; }
.form-ok { display: none; margin-top: 16px; font-size: 14px; color: #2f7d55; }
.form-err { color: #a33a2b; }
.form-err a { text-decoration: underline; }
.form.sent-wa [data-ok-wa], .form.sent-email [data-ok-email], .form.err-email [data-err-email] { display: block; }
@media (max-width: 720px) { .form-actions { grid-template-columns: 1fr; } }

.channel { display: grid; grid-template-columns: 56px 1fr auto; gap: 18px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); transition: padding .35s var(--ease); }
.channel:first-of-type { border-top: 1px solid var(--line-strong); }
.channel:hover { padding-left: 8px; }
.channel .ico { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--paper); display: grid; place-items: center; }
.channel .ico svg { width: 24px; height: 24px; }
.channel strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 24px; color: var(--ink); letter-spacing: -0.01em; }
.channel span { font-size: 14.5px; color: var(--muted); }
.channel > svg { width: 20px; height: 20px; color: var(--gold); }

/* ---------- Disclaimer ---------- */
.disclaimer { font-size: 13.5px; color: var(--muted); border-left: 2px solid var(--gold); padding: 4px 0 4px 18px; max-width: 80ch; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(246, 242, 235, .66); padding: clamp(70px, 9vw, 110px) 0 36px; font-size: 15px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 60px; border-bottom: 1px solid var(--line-light); }
.footer .brand-name { color: var(--paper); font-size: 26px; }
.footer .brand-sub { color: rgba(246, 242, 235, .5); }
.footer .brand-seal { color: var(--gold-2); width: 52px; height: 52px; }
.footer-tag { font-family: var(--serif); font-size: 26px; color: var(--paper); line-height: 1.25; margin: 30px 0 0; max-width: 16ch; }
.footer-tag em { color: var(--gold-2); }
.footer h4 { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 20px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--paper); }
.footer address { font-style: normal; line-height: 1.6; }
.footer-bottom { padding-top: 30px; display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; font-size: 13px; color: rgba(246, 242, 235, .5); }
.footer-bottom .crm { color: rgba(246, 242, 235, .8); }
.footer-legal { max-width: 70ch; }

/* ---------- Floating WhatsApp ---------- */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; background: var(--navy); color: var(--paper); display: grid; place-items: center; box-shadow: 0 18px 40px -12px rgba(13, 26, 43, .55), inset 0 0 0 1px rgba(230, 211, 176, .35); transition: transform .35s var(--ease), background .3s; }
.fab:hover { transform: scale(1.06); background: var(--ink); }
.fab svg { width: 27px; height: 27px; }
.fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--navy); animation: pulse 2.6s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.5); opacity: 0; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }
.hero .reveal, .page-hero .reveal { opacity: 1; transform: none; transition: none; animation: rise 1.1s var(--ease) both; }
.hero .reveal.d1, .page-hero .reveal.d1 { animation-delay: .1s; }
.hero .reveal.d2, .page-hero .reveal.d2 { animation-delay: .2s; }
.hero .reveal.d3, .page-hero .reveal.d3 { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav, .header-cta .btn { display: none; }
  .menu-toggle { display: inline-block; }
  .hero-grid, .page-hero .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .hero-seal { left: -14px; bottom: -30px; width: 108px; height: 108px; }
  .hero-card { right: -8px; }
  .areas { grid-template-columns: 1fr; }
  .areas.four { grid-template-columns: 1fr 1fr; }
  .areas.four .area { min-height: 460px; }
  .area { min-height: 460px; }
  .also { grid-template-columns: 1fr; gap: 18px; }
  .scale-wrap, .creds, .split, .contact-grid, .statement-grid { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .creds-visual { position: relative; top: 0; max-width: 520px; }
  .tgrid { grid-template-columns: 1fr 1fr; }
  .tech { grid-template-columns: 1fr 1fr; }
  .cta-cards { grid-template-columns: 1fr; }
  .cta-card { min-height: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .places { grid-template-columns: 1fr; }
  .conv-strip { grid-template-columns: 1fr; }
  .conv-strip .convs { justify-content: flex-start; }
  .section-head { grid-template-columns: 1fr; }
  .section-head .lead { justify-self: start; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .header .container { height: 70px; }
  .brand-seal { width: 38px; height: 38px; }
  .brand-name { font-size: 19px; }
  .header .brand { min-width: 0; flex-shrink: 1; }
  .header .brand-sub { font-size: 9px; letter-spacing: .1em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .menu-toggle { flex-shrink: 0; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 30px 0 4px; border-right: 0; border-bottom: 1px solid var(--line); }
  .step-num { margin-bottom: 26px; }
  .tgrid, .tech, .tech.two, .areas.four { grid-template-columns: 1fr; }
  .tcard.featured { grid-column: auto; }
  .cond { grid-template-columns: 1fr; gap: 10px; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; }
  .fields { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .hero-card { display: none; }
  .cta-buttons .btn { flex: 1 1 100%; }
  .channel { grid-template-columns: 48px 1fr auto; gap: 14px; }
  .channel .ico { width: 48px; height: 48px; }
  .faq summary { padding-right: 48px; }
  .faq .answer { padding-right: 0; }
  .fab { right: 16px; bottom: 16px; width: 56px; height: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
