/* HEIRA · Editorial web 2026. Original brand assets, Georama and Marfil tokens. */
:root { --max: 1400px; --gutter: clamp(24px, 5.4vw, 88px); --accent-ink: #484F36; }
body { font-size: 16px; -webkit-font-smoothing: antialiased; }
section { padding-block: clamp(64px, 8vw, 112px); scroll-margin-top: 110px; }
[id] { scroll-margin-top: 110px; }
h2 { font-size: clamp(2rem, 3.5vw, 3.1rem); letter-spacing: -.035em; line-height: 1.12; }
h3 { letter-spacing: -.015em; }
.eyebrow { font-size: .7rem; letter-spacing: .16em; margin-bottom: 18px; }
.lead { font-size: 1.1rem; line-height: 1.75; }
header.site { background: rgba(248,245,237,.97); backdrop-filter: blur(16px); }
.nav { min-height: 94px; gap: 28px; position: relative; }
.wordmark { gap: 8px; flex-shrink: 0; }
.wordmark b { font-size: 1.25rem; letter-spacing: -.025em; }
.wordmark span { font-size: .59rem; letter-spacing: .13em; }
.nav ul { gap: 24px; font-size: .82rem; }
.nav ul a { padding-block: 12px; }
.nav ul a[aria-current] { border-bottom: 2px solid var(--brand-olive); }
.btn { min-height: 48px; border-width: 1px; padding: 1rem 1.35rem; font-size: .88rem; border-radius: 2px; transition: background .2s, transform .2s; }
.btn-primary:hover { background: #e8c01b; }
.btn-ghost { border-color: #bcb7ad; }
.btn-ghost:hover { background: var(--surface-stone); color: var(--ink); }
.nav .btn { font-size: .8rem; padding-inline: 22px; }
.skip-link { position: fixed; top: -100px; left: 20px; padding: 12px; background: white; z-index: 100; }
.skip-link:focus { top: 10px; }
.menu-toggle { display: none; font: 500 .8rem var(--font-brand); color: var(--ink); background: transparent; border: 1px solid #bcb7ad; border-radius: 2px; min-height: 44px; padding: 10px 13px; align-items: center; gap: 12px; }
.hero { padding: 44px 0 60px; }
.hero-grid { grid-template-columns: 1.05fr 1fr; gap: 6%; align-items: center; }
.hero-text { padding-block: 24px; gap: 24px; }
.hero-text .eyebrow { margin: 0; display: flex; gap: 12px; align-items: center; font-size: .66rem; }
.hero-text .eyebrow:before { content: ''; width: 24px; height: 2px; background: var(--brand-olive); flex-shrink: 0; }
.hero h1 { font-size: clamp(3.25rem, 5.55vw, 5.15rem); font-weight: 300; line-height: 1.06; letter-spacing: -.052em; }
.hero h1 em { font-weight: 300; color: var(--accent-ink); }
.hero .lead { max-width: 42ch; font-size: 1rem; color: var(--ink-muted); }
.hero-meta { font-size: .72rem; gap: 8px 18px; max-width: 420px; padding-top: 16px; border-top: 1px solid var(--surface-stone); }
.hero-art { min-height: 0; align-self: stretch; position: relative; margin-block: 0; background: var(--surface-stone); }
.portrait { position: static; width: 100%; height: 100%; min-height: 550px; max-height: 650px; aspect-ratio: 4/5; object-fit: cover; object-position: center 30%; box-shadow: none; }
.hero-brand { position: absolute; top: 24px; right: -16px; width: 146px; height: 82px; display: grid; place-items: center; background: var(--brand-yellow); }
.hero-brand img, .heira-mark img { width: 98px; height: auto; }
.portrait-caption { position: absolute; bottom: 20px; left: 20px; right: 20px; padding: 16px 20px; background: rgba(248,245,237,.96); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; font-size: .84rem; }
.portrait-caption span:last-child { color: var(--ink-muted); font-size: .68rem; align-self: center; }
.band { padding-block: 34px; }
.creds { grid-template-columns: 1fr 1.15fr 1fr 1fr; gap: 30px; }
.creds > div { border-top: 0; border-left: 1px solid var(--surface-stone); padding: 0 0 0 22px; gap: 10px; }
.creds > div:first-child { border-left: 0; padding-left: 0; }
.creds h3 { font-size: .66rem; letter-spacing: .12em; }
.creds p, .creds li { font-size: .78rem; }
.creds .sub { font-size: .72rem; }
.credential-detail { padding: 0; border: 0 !important; }
.credential-detail summary { font-size: .73rem; color: var(--accent-ink); gap: 10px; justify-content: flex-start; }
.credential-detail summary:after { font-size: 1rem; }
.credential-detail ul { margin-top: 12px; }
.approach-grid { grid-template-columns: 1fr 1.05fr; gap: 10%; }
.approach-head { gap: 20px; }
.approach-head .eyebrow { margin: 0; }
.approach-head h2 { max-width: 17ch; }
.pillar { grid-template-columns: 40px 1fr; gap: 20px; padding-block: 25px; }
.pillar .step { color: var(--accent-ink); font-size: 1.5rem; }
.pillar h3 { font-size: 1.02rem; }
.pillar p { font-size: .9rem; }
.treat-head { margin-bottom: 32px; }
.treat-head > p { font-size: .9rem; }
.treat-grid { grid-template-columns: repeat(3,1fr); gap: 16px; background: none; border: 0; }
.treat { border: 1px solid var(--surface-stone); background: #fffefa; padding: 32px; min-height: 240px; position: relative; }
.treat.main { grid-column: span 1; grid-row: span 2; padding: 36px; background: var(--surface-olive-pale); border-color: transparent; }
.treat.main h3 { font-size: 2rem; letter-spacing: -.04em; }
.treat p, .treat.main p { font-size: .9rem; }
.treat .more { margin-top: auto; padding-top: 20px; font-size: .8rem; }
.treat:hover { background: white; border-color: var(--brand-olive); }
.treat.main:hover { background: #DDE1CF; }
.sub-procs { grid-template-columns: 1fr; gap: 14px; }
.sub-procs div { border-top-width: 1px; font-size: .78rem; }
.tag { border-color: var(--surface-stone); white-space: normal; }
.tech-grid { gap: 36px 48px; }
.tech-grid h3 { border-bottom: 1px solid var(--brand-olive); font-size: .72rem; }
.tech-grid li { font-size: .86rem; }
.tech-grid li span { font-size: .73rem; }
.about-photo::before { z-index: 0; }
.about-photo img { position: relative; }
.about-body { gap: 22px; }
.about-body .eyebrow { margin-bottom: 0; }
.consult { background: #eeebe3; }
.consult-grid { background: none; border: 0; gap: 18px; }
.price { padding: 36px; background: #fffefa; border-top: 3px solid var(--brand-yellow); }
.price.note { border-color: var(--brand-olive); }
.price .amount { font-size: 3rem; margin-block: 8px; }
.revs { gap: 30px; }
.rev blockquote { font-size: 1.2rem; }
.faq-grid { grid-template-columns: .8fr 1.2fr; }
summary { align-items: baseline; font-size: 1rem; }
summary:after { flex-shrink: 0; color: var(--accent-ink); }
details p { font-size: .95rem; }
.book-grid { gap: 8%; }
form { border-top-width: 3px; }
input, select, textarea { border-color: #bcb7ad; border-radius: 2px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.check { display: block; line-height: 1.7; }
.check input { margin-right: 6px; }
.form-msg { overflow-wrap: anywhere; }
footer { background: var(--surface-ivory); padding-block: 64px 40px; border-top: 1px solid var(--surface-stone); }
.foot-grid { gap: 40px; }
.foot-grid li { font-size: .8rem; padding-block: 5px; }
.brand-signature { display: flex; align-items: center; gap: 24px; margin-top: 48px; }
.heira-mark { width: 146px; height: 80px; background: var(--brand-yellow); display: grid; place-items: center; flex-shrink: 0; }
.brand-signature p { font-size: 1.05rem; font-weight: 300; }
.brand-signature p span { display: block; font-size: .7rem; color: var(--ink-muted); margin-top: 5px; }
.legal-line { font-size: .7rem; margin-top: 32px; }
.page-hero { padding-block: 48px 80px; }
.page-hero h1 { font-size: clamp(2.7rem,5vw,4.5rem); letter-spacing: -.045em; }
.summary { border-top-width: 3px; padding: 32px; }
.crumbs { font-size: .75rem; padding-top: 30px; }
.honest { background: var(--surface-olive-pale); }
.cta-band { background: var(--surface-olive-pale); border-bottom: 5px solid var(--brand-yellow); }
.cta-band .btn-primary { background: var(--brand-yellow); border-color: var(--brand-yellow); color: var(--ink); }
@media(min-width:1041px) { .nav ul { display:flex; } }
@media(max-width:1040px) {
 .nav { min-height: 80px; }
 .menu-toggle:not([hidden]) { display: inline-flex; }
 .nav ul { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface-ivory); padding: 20px var(--gutter) 28px; border-bottom: 1px solid var(--surface-stone); box-shadow: 0 20px 24px #302f2b0a; }
 .nav ul.is-open { display: flex; flex-direction: column; gap: 4px; }
 .nav ul a { display: block; font-size: 1rem; }
 .hero-grid { gap: 5%; }
 .hero h1 { font-size: 3.5rem; }
 .portrait { min-height: 530px; }
 .hero-cta { gap: 10px; }
 .hero-cta .btn { font-size: .8rem; padding-inline: 16px; }
 .creds { grid-template-columns: 1fr 1fr; gap: 26px; }
 .creds > div:nth-child(3) { border-left: 0; padding-left: 0; }
 .treat-grid { grid-template-columns: 1fr 1fr; }
 .treat.main { grid-column: span 2; grid-row: auto; }
 .sub-procs { grid-template-columns: repeat(3,1fr); }
}
@media(max-width:820px) {
 .hero { padding: 26px 0 40px; }
 .hero-grid { grid-template-columns: 1fr; gap: 32px; }
 .hero-text { padding-block: 12px 0; gap: 22px; }
 .hero h1 { font-size: clamp(3.35rem,10vw,5rem); }
 .hero .lead { max-width: 50ch; }
 .hero-art { margin: 0; width: 100%; }
 .portrait { min-height: 0; height: auto; max-height: 620px; aspect-ratio: 1/1; object-position: center 25%; }
 .hero-brand { right: -10px; top: 20px; }
 .approach-grid, .faq-grid, .page-hero-grid { grid-template-columns: 1fr; gap: 36px; }
 .approach-head h2 { max-width: 24ch; }
 .about-photo { max-width: 100%; }
 .about-photo img { max-height: 600px; object-position: center 25%; }
 .consult-grid, .book-grid { grid-template-columns: 1fr; }
 .page-hero { padding-block: 32px 56px; }
 .revs { gap: 0; }
 footer { padding-bottom: 110px; }
}
@media(max-width:560px) {
 .nav { gap: 12px; }
 .wordmark b { font-size: 1.1rem; }
 .wordmark span { font-size: .52rem; }
 .nav-right { gap: 8px; }
 .nav .btn { display: none; }
 .hero-text .eyebrow { font-size: .57rem; letter-spacing: .09em; }
 .hero-meta { font-size: .68rem; }
 .portrait-caption { left: 12px; right: 12px; bottom: 12px; padding: 12px; }
 .hero-brand { width: 120px; height: 70px; }
 .hero-brand img { width: 82px; }
 .creds { gap: 24px 18px; }
 .creds > div { padding-left: 16px; }
 .creds h3 { line-height: 1.5; font-size: .59rem; }
 .creds p { font-size: .74rem; }
 .creds .sub { display: none; }
 .treat-grid { grid-template-columns: 1fr; }
 .treat.main { grid-column: auto; padding: 28px; }
 .treat { padding: 28px; min-height: 220px; }
 .sub-procs { grid-template-columns: 1fr; }
 .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
 .foot-grid > div:first-child { grid-column: 1/-1; }
 .brand-signature { gap: 18px; }
 .brand-signature p { font-size: .9rem; }
 .heira-mark { width: 120px; height: 72px; }
 .mbar { box-shadow: 0 -4px 24px #302f2b08; }
 .mbar .btn { font-size: .84rem; }
 .price { padding: 28px; }
}
@media(prefers-reduced-motion:reduce) { *, *:before, *:after { transition:none !important; scroll-behavior:auto !important; } }
@media print { header.site, .mbar, .menu-toggle, .skip-link { display:none !important; } section { padding-block:24px; } .hero-art { max-width:300px; } footer { padding-bottom:20px; } }
@media(max-width:360px) {
 .hero h1 { font-size: 2.85rem; }
 .hero-cta .btn { padding-inline: 12px; font-size: .75rem; }
 .portrait-caption { flex-direction: column; }
 .portrait-caption span:last-child { align-self: flex-start; }
 .hero-text .eyebrow { font-size: .53rem; }
}
/* Bilingual navigation and the approved olive palette. */
.language-switch { display: flex; align-items: center; gap: 7px; font-size: .68rem; letter-spacing: .04em; flex-shrink: 0; }
.language-switch a { text-decoration: none; color: var(--ink-muted); padding-block: 14px; }
.language-switch a[aria-current] { color: var(--brand-olive); font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }
.language-switch span { color: #aaa598; }
html[lang="en"] .hero h1 { font-size: clamp(2.8rem, 4.6vw, 4.2rem); }
html[lang="en"] .nav { gap: 20px; }
html[lang="en"] .nav ul { gap: 18px; }
html[lang="en"] .nav .btn { padding-inline: 16px; }
@media(max-width:1040px) { html[lang="en"] .hero h1 { font-size: clamp(2.65rem, 5.3vw, 4rem); } }
@media(max-width:820px) { html[lang="en"] .hero h1 { font-size: clamp(2.4rem, 7.3vw, 4.5rem); } }
@media(max-width:560px) {
 .nav-right { gap: 12px; }
 .menu-toggle { padding-inline: 10px; }
 html[lang="en"] .hero-cta .btn { font-size: .75rem; padding-inline: 12px; }
}
@media(max-width:360px) {
 .nav { gap: 8px; }
 .wordmark b { font-size: .98rem; }
 .wordmark span { font-size: .46rem; }
 .nav-right { gap: 8px; }
 .menu-toggle { font-size: .7rem; padding-inline: 8px; gap: 6px; }
 .language-switch { gap: 4px; font-size: .62rem; }
 html[lang="en"] .hero h1 { font-size: 2.25rem; }
 html[lang="en"] .hero-cta { flex-direction: column; align-items: flex-start; }
}
/* Compact location inset; external map loads on request. */
.location-map { margin-top: 24px; border: 1px solid var(--surface-stone); padding: 20px; background: var(--surface-ivory); }
.map-intro { display: flex; align-items: center; gap: 14px; color: var(--brand-olive); }
.map-intro strong { display: block; font-weight: 500; font-size: .88rem; }
.map-intro span { display: block; font-size: .78rem; color: var(--ink-muted); }
.map-load { margin-top: 16px; font-size: .8rem; min-height: 44px; }
.map-load[hidden], .map-frame[hidden] { display: none; }
.map-frame { margin-top: 16px; }
.map-frame iframe { display: block; border: 0; width: 100%; height: 250px; }
.map-note { font-size: .7rem; color: var(--ink-muted); margin-top: 12px; }
@media (max-width:560px) { .location-map { padding: 16px; } .map-frame iframe { height: 240px; } }
/* Detailed procedure pages and discreet homepage directory. */
.procedure-index { display: flex; gap: 28px; flex-wrap: wrap; padding-block: 20px; border-block: 1px solid var(--surface-stone); font-size: .8rem; }
.procedure-index a { text-decoration: none; color: var(--brand-olive); }
.procedure-index a:hover { text-decoration: underline; text-underline-offset: 5px; }
.procedure-intro { max-width: 68ch; color: var(--ink-muted); margin-top: 24px; }
.procedure-blocks { display: grid; grid-template-columns: repeat(auto-fit,minmax(230px,1fr)); gap: 36px; margin-top: 48px; }
.procedure-blocks article { border-top: 1px solid var(--brand-olive); padding-top: 20px; }
.procedure-number { display: block; color: var(--brand-olive); font-size: .78rem; margin-bottom: 22px; }
.procedure-blocks h3 { font-size: 1.25rem; font-weight: 400; margin-bottom: 16px; }
.procedure-blocks p { font-size: .94rem; color: var(--ink-muted); }
.recovery-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 9%; }
.recovery-grid h3 { font-size: 1.5rem; font-weight: 400; line-height: 1.25; }
.recovery-grid p:not(.eyebrow) { margin-top: 24px; font-size: .95rem; }
.related-section { background: #fffefa; padding-block: 48px; }
.related-section h2 { font-size: 1.8rem; }
.related-links { display: flex; flex-wrap: wrap; gap: 14px 36px; margin-top: 28px; }
.related-links a { font-size: .9rem; text-underline-offset: 5px; }
.related-links span { margin-left: 16px; }
.procedure-notes { padding-block: 28px; font-size: .76rem; color: var(--ink-muted); }
.procedure-notes details { margin-top: 16px; padding-block: 12px; }
.procedure-notes summary { font-size: .76rem; }
.procedure-notes ul { padding-left: 18px; }
.procedure-directory { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; border-top: 1px solid var(--surface-stone); margin-top: 40px; padding-top: 32px; }
.procedure-directory h3 { font-weight: 300; font-size: 1.6rem; max-width: 20ch; }
.procedure-directory-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.procedure-directory-links a { display: flex; justify-content: space-between; gap: 16px; text-decoration: none; border-bottom: 1px solid var(--surface-stone); padding-block: 15px; font-size: .9rem; }
.procedure-directory-links a:hover { color: var(--brand-olive); background: #eeeee3; }
.procedure-detail-links { grid-column: 1/-1; font-size: .84rem; margin-top: -12px; }
.procedure-detail-links a { text-underline-offset: 4px; }
@media(max-width:820px) { .recovery-grid, .procedure-directory { grid-template-columns: 1fr; gap: 36px; } }
@media(max-width:560px) { .procedure-index { gap: 14px 22px; font-size: .76rem; } .procedure-blocks { grid-template-columns: 1fr; gap: 30px; } .procedure-directory-links { grid-template-columns: 1fr; } }

/* Keep the appointment form compact when the location inset expands. */
.book-grid { align-items: start; }

/* Clinical immersion: compact, readable modules in the HEIRA palette. */
.training-section { background: var(--surface-olive-pale); margin-bottom: 80px; }
.training-lead { max-width: 78ch; margin-top: 24px; color: var(--ink-muted); }
.training-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 36px 64px; margin-top: 40px; }
.training-grid article { border-top: 1px solid var(--brand-olive); padding-top: 20px; }
.training-grid h3 { font-size: 1.35rem; font-weight: 400; line-height: 1.3; margin-bottom: 12px; }
.training-grid p { font-size: .94rem; color: var(--ink-muted); }
.training-grid .procedure-number { margin-bottom: 14px; }
.training-contact { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 32px; border-top: 1px solid var(--surface-stone); margin-top: 36px; padding-top: 28px; }
.training-contact p { font-size: .9rem; }
@media(max-width:640px) { .training-grid { grid-template-columns: 1fr; gap: 28px; } .training-section { margin-bottom: 56px; } }
