/* ============================================================
   Centro Cardiovascular Dr. Norberto Casso — Editorial premium
   Navy + bronce + marfil · Fraunces / Hanken Grotesk · hairlines · duotono
   ============================================================ */

:root {
  /* Grounds */
  --ink: #0E2A45;          /* navy */
  --ink-2: #16344F;
  --ink-3: #0A2038;
  --paper: #FBFAF7;        /* warm near-white */
  --ivory: #F1EADD;        /* warm editorial ground */
  --ivory-2: #ECE3D3;
  --white: #FFFFFF;

  /* Accent */
  --bronze: #B0895A;       /* metallic accent */
  --bronze-deep: #8A6636;  /* for text on light */
  --bronze-soft: #C9AC84;

  /* Ink text tones */
  --text: #17293B;
  --muted: #6C6A63;        /* warm gray for light grounds */
  --muted-ink: #94A9BC;    /* for navy grounds */
  --line: #E4DCCD;         /* hairline on light */
  --line-ink: rgba(255,255,255,.16);

  /* WhatsApp */
  --wa: #25D366;
  --wa-deep: #1DAF57;

  /* Type */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Rhythm */
  --maxw: 1240px;
  --gutter: clamp(1.25rem, 4.5vw, 3.25rem);
  --radius: 3px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--display); font-weight: 480; line-height: 1.04;
  letter-spacing: -.015em; margin: 0; color: var(--ink);
  font-optical-sizing: auto;
}
p { margin: 0; }

::selection { background: var(--bronze); color: #fff; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: clamp(4rem, 9vw, 8rem); }
.sec--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.g--paper { background: var(--paper); }
.g--ivory { background: var(--ivory); }
.g--ink { background: var(--ink); color: #DCE6EF; }
.g--ink h1, .g--ink h2, .g--ink h3 { color: #fff; }
.skip { position: absolute; left: -999px; background: var(--ink); color: #fff; padding: .7rem 1rem; z-index: 300; }
.skip:focus { left: .5rem; top: .5rem; }

/* ---------- Editorial eyebrow / section head ---------- */
.eyebrow {
  font-family: var(--sans); font-weight: 600; font-size: .72rem;
  letter-spacing: .28em; text-transform: uppercase; color: var(--bronze-deep);
  display: inline-flex; align-items: center; gap: .8rem; margin: 0;
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--bronze); }
.g--ink .eyebrow { color: var(--bronze-soft); }
.g--ink .eyebrow::before { background: var(--bronze); }

.sec-head { display: grid; gap: 1.1rem; max-width: 60ch; }
.sec-head h2 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 440; }
.sec-head .kicker { color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.2rem); line-height: 1.55; max-width: 52ch; }
.g--ink .sec-head .kicker { color: var(--muted-ink); }

/* Top hairline rule for sections with an index */
.rule { border: 0; border-top: 1px solid var(--line); margin: 0 0 2.6rem; }
.g--ink .rule { border-color: var(--line-ink); }
.rule-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); margin-bottom: 2.6rem; }
.g--ink .rule-row { border-color: var(--line-ink); }
.rule-row .idx { font-family: var(--display); font-size: 1rem; color: var(--bronze-deep); font-feature-settings: "tnum"; }
.g--ink .rule-row .idx { color: var(--bronze-soft); }

/* ---------- ECG signature ---------- */
.ecg { display: block; width: 100%; height: auto; }
.ecg path { fill: none; stroke: var(--bronze); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ecg-draw path { stroke-dasharray: var(--len, 1600); stroke-dashoffset: var(--len, 1600); animation: draw 2.8s var(--ease-out) .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce){ .ecg-draw path { animation: none; stroke-dashoffset: 0; } }
.hairline-ecg { height: 26px; opacity: .9; }
.hairline-ecg path { stroke-width: 1.4; }

/* ---------- Buttons ---------- */
.btn { --bg: var(--ink); --fg: #fff; --bd: var(--ink);
  display: inline-flex; align-items: center; gap: .6rem; font-family: var(--sans);
  font-weight: 600; font-size: .98rem; letter-spacing: .01em; line-height: 1;
  padding: 1.05rem 1.7rem; border-radius: var(--radius); background: var(--bg); color: var(--fg);
  border: 1px solid var(--bd); cursor: pointer; position: relative; overflow: hidden;
  transition: transform .35s var(--ease-out), background .3s, color .3s, border-color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 1.15em; height: 1.15em; }
.btn--wa { --bg: var(--wa); --bd: var(--wa); --fg: #fff; font-weight: 700; }
.btn--wa:hover { --bg: var(--wa-deep); --fg: #fff; }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: rgba(14,42,69,.28); }
.btn--ghost:hover { --bd: var(--ink); background: transparent; color: var(--ink); }
.g--ink .btn--ghost, .hero .btn--ghost { --fg: #fff; --bd: rgba(255,255,255,.32); }
.g--ink .btn--ghost:hover, .hero .btn--ghost:hover { --bd: #fff; background: rgba(255,255,255,.05); }
.btn--lg { padding: 1.2rem 2rem; font-size: 1.02rem; }
.btns { display: flex; flex-wrap: wrap; gap: .9rem; }

/* Editorial text link with bronze underline slide */
.tlink { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--ink);
  padding-bottom: 3px; background-image: linear-gradient(var(--bronze), var(--bronze));
  background-size: 0% 1.5px; background-repeat: no-repeat; background-position: left 100%;
  transition: background-size .4s var(--ease-out), color .3s; }
.tlink:hover { background-size: 100% 1.5px; color: var(--bronze-deep); }
.tlink svg { width: 1em; height: 1em; transition: transform .35s var(--ease-out); }
.tlink:hover svg { transform: translateX(4px); }
.g--ink .tlink { color: #fff; } .g--ink .tlink:hover { color: var(--bronze-soft); }

/* ---------- Duotone imagery ---------- */
.duo { position: relative; overflow: hidden; background: var(--ink); }
.duo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.02) brightness(1.03); }
.duo::before { content: ""; position: absolute; inset: 0; background: var(--ink); mix-blend-mode: color; opacity: .82; pointer-events: none; }
.duo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,32,56,.15), rgba(10,32,56,.45)); pointer-events: none; }
.duo--soft::before { opacity: .5; }
.duo--soft img { filter: grayscale(.5) contrast(1.02); }

/* ---------- Header ---------- */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .4s, border-color .4s, box-shadow .4s; border-bottom: 1px solid transparent; }
.hdr[data-solid="true"] { background: rgba(251,250,247,.9); backdrop-filter: saturate(140%) blur(12px); border-bottom-color: var(--line); }
.hdr__in { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .8rem; }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__tx { display: flex; flex-direction: column; line-height: 1.02; }
.brand__nm { font-family: var(--display); font-weight: 500; font-size: 1.16rem; color: #fff; letter-spacing: -.01em; }
.brand__rl { font-family: var(--sans); font-size: .58rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--bronze-soft); }
.hdr[data-solid="true"] .brand__nm { color: var(--ink); }
.hdr[data-solid="true"] .brand__rl { color: var(--bronze-deep); }

.nav { display: none; align-items: center; gap: 2rem; }
.nav a { font-weight: 500; font-size: .98rem; color: rgba(255,255,255,.86); position: relative; padding: .3rem 0; }
.nav a:hover { color: #fff; }
.nav a[aria-current="page"] { color: #fff; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0; background: var(--bronze); transition: width .35s var(--ease-out); }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.hdr[data-solid="true"] .nav a { color: var(--ink-2); }
.hdr[data-solid="true"] .nav a:hover, .hdr[data-solid="true"] .nav a[aria-current="page"] { color: var(--ink); }
.hdr__cta { display: none; }

.burger { display: inline-flex; flex-direction: column; gap: 5px; width: 46px; height: 42px; padding: 0 11px; justify-content: center; background: transparent; border: 1px solid rgba(255,255,255,.3); border-radius: var(--radius); cursor: pointer; }
.hdr[data-solid="true"] .burger { border-color: var(--line); }
.burger span { height: 1.5px; background: #fff; transition: transform .3s var(--ease), opacity .2s; }
.hdr[data-solid="true"] .burger span { background: var(--ink); }
[data-open="true"] .burger span:nth-child(1){ transform: translateY(6.5px) rotate(45deg); }
[data-open="true"] .burger span:nth-child(2){ opacity: 0; }
[data-open="true"] .burger span:nth-child(3){ transform: translateY(-6.5px) rotate(-45deg); }

.sheet { position: fixed; inset: 0; z-index: 90; background: var(--ink); padding: 6rem var(--gutter) 2rem; display: none; flex-direction: column; }
[data-open="true"] .sheet { display: flex; }
.sheet a { font-family: var(--display); font-size: 2rem; color: #fff; padding: .7rem 0; border-bottom: 1px solid var(--line-ink); }
.sheet a[aria-current="page"] { color: var(--bronze-soft); }
.sheet .btn { margin-top: 1.6rem; }
@media (min-width: 1000px) { .nav { display: flex; } .hdr__cta { display: inline-flex; } .burger { display: none; } }

/* ---------- HERO ---------- */
.hero { position: relative; background: var(--ink); color: #E7EFF6; overflow: clip; }
.hero__bg { position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(80% 70% at 88% -5%, rgba(176,137,90,.22), transparent 55%),
    radial-gradient(70% 80% at -5% 108%, rgba(74,124,170,.22), transparent 55%),
    var(--ink); }
.hero__grain { position: absolute; inset: 0; z-index: 0; opacity: .5;
  -webkit-mask-image: linear-gradient(#000, transparent 80%); mask-image: linear-gradient(#000, transparent 80%); }
.hero__in { position: relative; z-index: 1; padding-block: clamp(8rem, 15vh, 11rem) clamp(3.5rem, 8vw, 6rem); }
.hero__grid { display: grid; gap: 3rem; }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 4rem; } }

.hero .eyebrow { color: var(--bronze-soft); }
.hero h1 { color: #fff; font-weight: 400; font-size: clamp(2.15rem, 4.6vw, 3.7rem); line-height: 1.04; letter-spacing: -.02em; margin: 1.3rem 0 0; }
.hero h1 em { font-style: italic; font-weight: 400; color: var(--bronze-soft); }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: block; transform: translateY(110%); }
.reveal-hero .hero h1 .line > span { animation: rise .95s var(--ease-out) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .09s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .18s; }
@keyframes rise { to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce){ .hero h1 .line > span { transform: none; animation: none; } }

.hero__lead { font-size: clamp(1.12rem, 1.7vw, 1.32rem); line-height: 1.55; color: #B7CCDD; max-width: 44ch; margin: 1.8rem 0 2.2rem; }
.hero__meta { margin-top: 2.4rem; display: grid; gap: 0; border-top: 1px solid var(--line-ink); }
.hero__stat { display: flex; align-items: baseline; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line-ink); }
.hero__stat b { font-family: var(--display); font-weight: 460; font-size: 1.5rem; color: #fff; min-width: 4.5ch; }
.hero__stat span { color: var(--muted-ink); font-size: .96rem; }

/* Hero portrait */
.hero__fig { position: relative; }
.hero__fig .frame { position: relative; border: 1px solid var(--line-ink); padding: 12px; }
.hero__fig .frame::before { content: ""; position: absolute; left: 12px; right: 12px; top: 12px; height: 1px; background: var(--bronze); opacity: .55; }
.hero__fig img { width: 100%; aspect-ratio: 4/4.4; object-fit: cover; object-position: 50% 22%; filter: grayscale(.35) contrast(1.03); }
.hero__badge { position: absolute; left: -14px; bottom: 26px; background: var(--paper); color: var(--ink); padding: .95rem 1.15rem; max-width: 60%; box-shadow: 0 20px 50px -24px rgba(0,0,0,.55); }
.hero__badge b { font-family: var(--display); font-weight: 500; font-size: 1.02rem; display: block; }
.hero__badge span { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bronze-deep); font-weight: 600; }
.hero__ecg { margin-top: 1.6rem; max-width: 520px; }

/* ---------- Marquee / trust band ---------- */
.trustband { border-block: 1px solid var(--line); }
.trustband .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem 2.6rem; padding-block: 1.8rem; }
.trustband .lab { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.trustband .inst { font-family: var(--display); font-size: clamp(1.1rem, 2vw, 1.5rem); color: var(--ink); font-weight: 460; }
.trustband .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--bronze); }
.trustband--stack .wrap { flex-direction: column; align-items: center; text-align: center; gap: 1.15rem; padding-block: 2.3rem; }
.trustband--stack .insts { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .7rem 1.45rem; }

/* ---------- Statement (big editorial type) ---------- */
.statement p { font-family: var(--display); font-weight: 400; font-size: clamp(1.7rem, 4.3vw, 3.2rem); line-height: 1.12; letter-spacing: -.02em; max-width: 24ch; color: var(--ink); }
.statement em { font-style: italic; color: var(--bronze-deep); }
.g--ink .statement em { color: var(--bronze-soft); }
.statement .by { margin-top: 2rem; display: flex; align-items: center; gap: 1rem; }
.statement .by span { color: var(--muted); font-size: .96rem; }
.g--ink .statement .by span { color: var(--muted-ink); }

/* ---------- Split editorial ---------- */
.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 940px){ .split { grid-template-columns: 1fr 1fr; gap: 4.5rem; } .split--rev .split__media { order: 2; } }
.split__media { position: relative; }
.split__media .duo { aspect-ratio: 4/5; }
.split__media .cap { margin-top: .9rem; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.split__body h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin: 1rem 0 1.2rem; font-weight: 440; }
.split__body p { color: var(--muted); margin-bottom: 1rem; max-width: 46ch; }
.g--ink .split__body p { color: var(--muted-ink); }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.6rem 0; }
.chip { font-size: .78rem; letter-spacing: .04em; padding: .5rem .95rem; border: 1px solid var(--line); border-radius: 100px; color: var(--ink-2); }
.g--ink .chip { color: #CFDEEA; border-color: var(--line-ink); }

/* ---------- Process (numbered) ---------- */
.steps { display: grid; gap: 0; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1.6rem; padding: 2rem 0; border-top: 1px solid var(--line); align-items: start; }
.step:last-child { border-bottom: 1px solid var(--line); }
.g--ink .step { border-color: var(--line-ink); }
.step__n { font-family: var(--display); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 380; color: var(--bronze); line-height: 1; font-feature-settings: "tnum"; }
.step__b h3 { font-size: 1.5rem; font-weight: 480; margin-bottom: .5rem; }
.step__b p { color: var(--muted); max-width: 54ch; }
.g--ink .step__b p { color: var(--muted-ink); }
@media (min-width: 720px){ .step { grid-template-columns: 5rem 1fr 1.4fr; gap: 2.4rem; align-items: baseline; } .step__b { display: contents; } }

/* ---------- Services editorial list ---------- */
.svc { display: grid; gap: 0; }
.svc__item { display: grid; grid-template-columns: 1fr auto; gap: .5rem 1.5rem; align-items: baseline; padding: 1.5rem 0; border-top: 1px solid var(--line); transition: padding-left .35s var(--ease-out); }
.svc__item:last-child { border-bottom: 1px solid var(--line); }
.svc__item:hover { padding-left: .8rem; }
.svc__t { font-family: var(--display); font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 460; color: var(--ink); }
.svc__d { grid-column: 1 / -1; color: var(--muted); max-width: 60ch; font-size: 1rem; }
.svc__tag { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze-deep); white-space: nowrap; align-self: center; }

/* Featured study card */
.feature { display: grid; gap: 0; border: 1px solid var(--line); background: var(--white); }
@media (min-width: 860px){ .feature { grid-template-columns: 1.1fr 1fr; } }
.feature .duo { min-height: 320px; }
.feature__b { padding: clamp(1.8rem, 4vw, 3rem); display: flex; flex-direction: column; justify-content: center; gap: 1rem; }
.feature__b h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 460; }
.feature__b p { color: var(--muted); max-width: 44ch; }

/* ---------- Sedes ---------- */
.sedes { display: grid; gap: 1.6rem; }
@media (min-width: 900px){ .sedes { grid-template-columns: 1fr 1fr; } }
.sede { background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; }
.sede__map { aspect-ratio: 16/9; border-bottom: 1px solid var(--line); }
.sede__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
.sede__b { padding: clamp(1.6rem, 3vw, 2.2rem); display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.sede__loc { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--bronze-deep); font-weight: 600; }
.sede__nm { font-size: 1.7rem; font-weight: 480; }
.sede__rows { display: grid; gap: .7rem; margin: .3rem 0; }
.sede__row { display: grid; grid-template-columns: 1.4rem 1fr; gap: .8rem; color: var(--ink-2); font-size: 1rem; }
.sede__row svg { width: 18px; height: 18px; color: var(--bronze-deep); margin-top: .2rem; }
.sede__acts { margin-top: auto; display: flex; flex-wrap: wrap; gap: .7rem; padding-top: .6rem; }
.sede__acts .btn { flex: 1 1 auto; }

/* ---------- Big prevention stat ---------- */
.figbig { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px){ .figbig { grid-template-columns: .9fr 1.1fr; gap: 4rem; } }
.figbig__n { font-family: var(--display); font-weight: 340; font-size: clamp(4rem, 13vw, 9rem); line-height: .9; letter-spacing: -.03em; color: #fff; }
.figbig__n em { font-style: italic; color: var(--bronze-soft); }
.figbig__tx h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); font-weight: 440; margin-bottom: 1.1rem; }
.figbig__tx p { color: var(--muted-ink); max-width: 46ch; margin-bottom: 1rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.5rem 0; font-family: var(--display); font-size: clamp(1.2rem, 2.2vw, 1.55rem); font-weight: 470; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { position: relative; width: 20px; height: 20px; flex: none; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; background: var(--bronze-deep); transition: transform .3s var(--ease); }
.faq summary .pm::before { left: 0; right: 0; top: 9.5px; height: 1.5px; }
.faq summary .pm::after { top: 0; bottom: 0; left: 9.5px; width: 1.5px; }
.faq details[open] summary .pm::after { transform: scaleY(0); }
.faq p { color: var(--muted); padding-bottom: 1.5rem; max-width: 64ch; }

/* ---------- CTA band ---------- */
.cta { text-align: center; position: relative; overflow: clip; }
.cta__bg { position: absolute; inset: 0; z-index: 0; opacity: .16; }
.cta__in { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 420; max-width: 18ch; margin: 1rem auto 1.2rem; }
.cta p { color: var(--muted-ink); max-width: 46ch; margin: 0 auto 2rem; }
.cta .btns { justify-content: center; }

/* ---------- Footer ---------- */
.foot { background: var(--ink-3); color: #9FB6C8; padding-block: clamp(3rem, 6vw, 5rem) 2rem; }
.foot a:hover { color: #fff; }
.foot__grid { display: grid; gap: 2.6rem; }
@media (min-width: 820px){ .foot__grid { grid-template-columns: 1.5fr 1fr 1fr; } }
.foot__brand .brand__nm { color: #fff; }
.foot__brand p { margin-top: 1.1rem; max-width: 34ch; color: #86A0B4; font-size: .98rem; }
.foot h4 { color: #fff; font-family: var(--sans); font-weight: 600; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1.1rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; font-size: .98rem; }
.foot__meta { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line-ink); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.5rem; font-size: .82rem; color: #7C97AC; }

/* ---------- Floating WA ---------- */
.waf { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 80; display: inline-flex; align-items: center; gap: .55rem;
  background: var(--wa); color: #fff; font-weight: 700; padding: .9rem 1.2rem; border-radius: 100px;
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.5); transition: transform .3s var(--ease-out), background .3s; }
.waf:hover { transform: translateY(-2px); background: var(--wa-deep); color: #fff; }
.waf svg { width: 1.4em; height: 1.4em; }
.waf span { display: none; }
@media (min-width: 620px){ .waf span { display: inline; } }

/* ---------- Page header (interior) ---------- */
.phead { position: relative; background: var(--ink); color: #DCE6EF; overflow: clip; }
.phead__media { position: absolute; inset: 0; z-index: 0; }
.phead__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.03); }
.phead__media::after { content: ""; position: absolute; inset: 0; background: var(--ink); mix-blend-mode: color; opacity: .85; }
.phead__bg { position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(14,42,69,.5), rgba(10,32,56,.9)), radial-gradient(80% 120% at 92% -10%, rgba(176,137,90,.22), transparent 55%); }
.phead__in { position: relative; z-index: 1; padding-block: clamp(8.5rem, 15vh, 11rem) clamp(3rem, 7vw, 5rem); }
.crumbs { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--bronze-soft); margin: 0 0 1.1rem; }
.crumbs a { color: var(--bronze-soft); } .crumbs a:hover { color: #fff; }
.phead h1 { color: #fff; font-weight: 420; font-size: clamp(2.1rem, 4.6vw, 3.5rem); letter-spacing: -.02em; max-width: 20ch; }
.phead .sub { color: var(--muted-ink); font-size: clamp(1.05rem, 1.8vw, 1.22rem); line-height: 1.55; max-width: 56ch; margin: 1.1rem 0 0; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 1.4rem; }
@media (min-width: 680px){ .cards--2 { grid-template-columns: 1fr 1fr; } .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--white); border: 1px solid var(--line); padding: clamp(1.5rem, 3vw, 2.1rem); }
.card .ic { width: 40px; height: 40px; color: var(--bronze-deep); margin-bottom: 1.1rem; }
.card h3 { font-size: 1.4rem; font-weight: 480; margin-bottom: .7rem; }
.card p { color: var(--muted); margin: 0 0 .3rem; }
.card ul { margin: .3rem 0 0; padding-left: 1.15rem; color: var(--muted); display: grid; gap: .38rem; }
.card a { color: var(--ink); }

/* ---------- Prose ---------- */
.prose { max-width: 760px; }
.prose .lead { font-family: var(--display); font-weight: 420; font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.32; color: var(--ink); letter-spacing: -.01em; margin-bottom: 1.4rem; }
.prose p { color: var(--muted); margin-bottom: 1.1rem; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 2.2rem 0 1rem; font-weight: 460; }
.prose ul { color: var(--muted); padding-left: 1.2rem; display: grid; gap: .45rem; margin-bottom: 1.2rem; }

/* Map figure (landing) */
.mapfig { border: 1px solid var(--line); aspect-ratio: 1/1; }
.mapfig iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); display: block; }

/* ---------- Reveal on scroll ---------- */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.rv.in { opacity: 1; transform: none; }
.rv-2 { transition-delay: .1s; } .rv-3 { transition-delay: .2s; } .rv-4 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce){ .rv { opacity: 1; transform: none; } }
