/* Sol Galiana — "un sol que sale"
   Crema cálido, verde bosque (su jersey), terracota y rubor. Fraunces suave + Figtree. */
:root {
  --cream: #f6efe4;
  --cream-2: #efe5d5;
  --sand: #e5d4bc;
  --green: #2f4a3b;
  --green-deep: #1f3328;
  --green-soft: #c9d5c4;
  --terra: #b4593c;
  --terra-deep: #8c3f28;
  --blush: #efcdb9;
  --sun: #e8a46f;
  --ink: #2b2622;
  --ink-2: #4a423b;
  --muted: #776d63;
  --line: rgba(43, 38, 34, .14);
  --line-strong: rgba(43, 38, 34, .3);
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Figtree', 'Helvetica Neue', Arial, sans-serif;
  --max: 1260px;
  --gutter: clamp(20px, 5vw, 72px);
  --header: 76px;
  --radius: 28px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: var(--cream); font: 400 17px/1.68 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; margin: 0; font-family: var(--serif); font-weight: 400; font-variation-settings: 'SOFT' 50, 'WONK' 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { color: var(--cream); background: var(--terra); }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 10px; left: 12px; padding: 10px 14px; color: var(--cream); background: var(--green); transform: translateY(-160%); transition: transform .2s; }
.skip-link:focus { transform: none; }
.shell { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--gutter); transition: background .35s, box-shadow .35s; }
.site-header.is-scrolled { background: rgba(246, 239, 228, .9); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-sun { width: 38px; height: 38px; flex: none; }
.brand-sun circle { fill: var(--terra); }
.brand-sun path { stroke: var(--cream); stroke-width: 2.2; stroke-linecap: round; }
.brand-text { display: grid; line-height: 1.1; }
.brand-text strong { font: 500 21px/1 var(--serif); font-variation-settings: 'SOFT' 50; }
.brand-text small { margin-top: 4px; color: var(--muted); font-size: 11.5px; }
.site-nav { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 26px); font-size: 14.5px; font-weight: 500; }
.site-nav > a:not(.nav-cta) { text-decoration: none; padding: 6px 2px; background: linear-gradient(var(--terra), var(--terra)) 0 100% / 0 1.5px no-repeat; transition: background-size .35s var(--ease); }
.site-nav > a:not(.nav-cta):hover { background-size: 100% 1.5px; }
.lang-switch { display: flex; gap: 2px; padding: 3px; background: var(--cream-2); border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.lang-switch a, .lang-switch span { padding: 5px 9px; border-radius: 999px; text-decoration: none; }
.lang-switch span[aria-current] { color: var(--cream); background: var(--green); }
.nav-cta { padding: 11px 20px; color: var(--cream); background: var(--green); border-radius: 999px; text-decoration: none; transition: background .25s, transform .25s var(--ease); }
.nav-cta:hover { background: var(--terra); transform: translateY(-1px); }
.nav-toggle { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 999px; font: 600 15.5px/1 var(--sans); text-decoration: none; transition: background .25s, color .25s, transform .3s var(--ease), box-shadow .3s; }
.btn-solid { color: var(--cream); background: var(--terra); box-shadow: 0 14px 30px -16px rgba(140, 63, 40, .8); }
.btn-solid:hover { background: var(--terra-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-light { color: var(--green-deep); background: var(--cream); }
.btn-light:hover { background: var(--blush); transform: translateY(-2px); }
.btn-outline-light { color: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(246, 239, 228, .45); overflow-wrap: anywhere; }
.btn-outline-light:hover { box-shadow: inset 0 0 0 1.5px var(--cream); }

.kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; color: var(--terra); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.kicker::before { content: ''; width: 14px; height: 14px; border-radius: 50%; background: currentColor; box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .12); }
h2 { font-size: clamp(38px, 4.8vw, 64px); line-height: 1.04; letter-spacing: -.02em; }
h2 em { color: var(--terra); font-style: italic; }

/* Hero */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(36px, 5vw, 80px); min-height: 100svh; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: calc(var(--header) + 40px) var(--gutter) 70px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px; padding: 8px 16px 8px 12px; background: var(--cream-2); border-radius: 999px; font-size: 14px; font-weight: 500; }
.eyebrow .dot { width: 9px; height: 9px; border-radius: 50%; background: #5a9a6e; box-shadow: 0 0 0 4px rgba(90, 154, 110, .18); }
.hero h1 { font-size: clamp(50px, 6.6vw, 98px); line-height: .98; letter-spacing: -.035em; font-weight: 400; }
.hero h1 em { display: block; color: var(--terra); font-style: italic; font-weight: 300; }
.hero-rotate { display: flex; flex-wrap: wrap; gap: .3em; margin: 30px 0 18px; font: 400 clamp(20px, 2vw, 26px)/1.25 var(--serif); }
.rotate-intro { color: var(--green); font-weight: 500; }
.rotate-track { position: relative; display: inline-grid; flex: 1 1 14ch; min-width: 0; color: var(--ink-2); font-style: italic; }
.rotate-track > span { grid-area: 1 / 1; opacity: 0; transform: translateY(.5em); filter: blur(4px); transition: opacity .6s var(--ease), transform .6s var(--ease), filter .6s; }
.rotate-track > span.is-active { opacity: 1; transform: none; filter: none; }
.rotate-track > span.is-leaving { opacity: 0; transform: translateY(-.5em); }
.hero-lead { max-width: 52ch; color: var(--ink-2); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; color: var(--muted); font-size: 14.5px; }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--sun); }

.hero-visual { position: relative; margin: 0; justify-self: center; width: min(100%, 470px); }
.sun { position: absolute; z-index: 0; left: 50%; bottom: 8%; width: 118%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 40%, var(--sun) 0, var(--blush) 52%, rgba(239, 205, 185, 0) 71%); transform: translateX(-50%); animation: sunrise 2.2s var(--ease) both; }
@keyframes sunrise { from { opacity: 0; transform: translate(-50%, 18%) scale(.9); } to { opacity: 1; transform: translate(-50%, 0) scale(1); } }
.portrait { position: relative; z-index: 1; overflow: hidden; border-radius: 240px 240px var(--radius) var(--radius); box-shadow: 0 40px 80px -40px rgba(43, 38, 34, .55); transform: translate3d(0, var(--float, 0), 0); animation: rise 1.2s .15s var(--ease) both; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.badge { position: absolute; z-index: 2; left: -30px; top: 16%; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; background: var(--cream); border-radius: 999px; box-shadow: 0 18px 40px -22px rgba(43, 38, 34, .6); font-size: 13.5px; font-weight: 500; line-height: 1.25; max-width: 210px; animation: rise 1s .7s var(--ease) both; }
.badge strong { display: grid; place-items: center; flex: none; width: 48px; height: 48px; color: var(--cream); background: var(--green); border-radius: 50%; font: 500 26px/1 var(--serif); }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(40px, 7vw, 110px); padding: clamp(90px, 11vw, 150px) 0; }
.about-photo { position: relative; margin: 0; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.about-photo figcaption { position: absolute; right: -24px; bottom: 30px; max-width: 240px; padding: 18px 22px; color: var(--cream); background: var(--green); border-radius: 22px 22px 4px 22px; font: italic 400 22px/1.2 var(--serif); }
.about-copy h2 { margin-bottom: 28px; }
.about-copy > p { max-width: 60ch; color: var(--ink-2); }
.signature { margin-top: 20px; color: var(--terra); font: italic 300 54px/1 var(--serif); font-variation-settings: 'SOFT' 100, 'WONK' 1; }

/* Topics */
.topics { padding: clamp(80px, 10vw, 130px) 0; background: var(--cream-2); }
.topics-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 10px 60px; align-items: end; margin-bottom: 50px; }
.topics-head .kicker { grid-column: 1 / -1; justify-self: start; margin-bottom: 0; }
.topics-head p { color: var(--muted); }
.pills { display: flex; flex-wrap: wrap; gap: 12px; }
.pills li { padding: 14px 24px; background: var(--cream); border: 1px solid var(--line); border-radius: 999px; font: 400 clamp(19px, 1.8vw, 24px)/1.15 var(--serif); transition: background .3s, color .3s, transform .35s var(--ease); }
.pills li:nth-child(4n + 1) { background: var(--green); color: var(--cream); border-color: transparent; }
.pills li:nth-child(5n + 3) { background: var(--blush); border-color: transparent; }
.pills li:nth-child(7n + 5) { background: var(--terra); color: var(--cream); border-color: transparent; }
.pills li:hover { transform: translateY(-3px) rotate(-1deg); }

/* Approach */
.approach { display: grid; grid-template-columns: 1fr 1fr; color: var(--cream); background: var(--green-deep); }
.approach-copy { align-self: center; padding: clamp(80px, 10vw, 140px) clamp(24px, 6vw, 96px); max-width: 720px; justify-self: end; }
.approach .kicker { color: var(--blush); }
.approach h2 em { color: var(--blush); }
.approach h2 { margin-bottom: 28px; }
.approach-copy > p { color: rgba(246, 239, 228, .8); }
.checks { display: grid; gap: 10px; margin-top: 28px; }
.checks li { display: flex; align-items: center; gap: 12px; font: 400 21px/1.2 var(--serif); }
.checks li::before { content: ''; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--sun); box-shadow: inset 0 -6px 0 rgba(140, 63, 40, .35); }
.approach-photo { margin: 0; min-height: 520px; }
.approach-photo picture, .approach-photo img { width: 100%; height: 100%; }
.approach-photo img { object-fit: cover; }

/* Safe space */
.safe { padding: clamp(90px, 11vw, 150px) 0 0; }
.safe-card { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: center; gap: clamp(30px, 6vw, 90px); padding: clamp(36px, 6vw, 80px); background: var(--cream-2); border-radius: var(--radius); }
.safe-art { position: relative; aspect-ratio: 1; max-width: 300px; width: 100%; justify-self: center; }
.safe-art span { position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%; mix-blend-mode: multiply; animation: drift 9s ease-in-out infinite alternate; }
.safe-art span:nth-child(1) { left: 0; top: 0; background: var(--terra); opacity: .8; }
.safe-art span:nth-child(2) { right: 0; top: 14%; background: var(--sun); opacity: .85; animation-delay: -3s; }
.safe-art span:nth-child(3) { left: 18%; bottom: 0; background: #6f9479; opacity: .8; animation-delay: -6s; }
@keyframes drift { to { transform: translate(6%, -5%) scale(1.04); } }
.safe-card h2 { margin-bottom: 24px; }
.safe-card p { max-width: 58ch; color: var(--ink-2); }
.lang-badges { display: flex; gap: 12px; margin-top: 24px; }
.lang-badges li { display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; background: var(--cream); border-radius: 999px; font-size: 14px; }
.lang-badges strong { display: grid; place-items: center; width: 38px; height: 38px; color: var(--cream); background: var(--green); border-radius: 50%; font-size: 13px; letter-spacing: .06em; }

/* Services */
.services { padding: clamp(90px, 11vw, 150px) 0; }
.services-head { margin-bottom: 46px; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service { display: flex; flex-direction: column; min-height: 320px; padding: 28px; background: var(--cream-2); border-radius: var(--radius); transition: transform .45s var(--ease), box-shadow .45s; }
.service:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -40px rgba(43, 38, 34, .6); }
.service.is-featured { color: var(--cream); background: var(--green); }
.service-num { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: auto; border: 1px solid currentColor; border-radius: 50%; font-size: 13px; font-weight: 600; opacity: .7; }
.service h3 { margin: 40px 0 10px; font-size: 27px; line-height: 1.1; }
.service p { color: var(--muted); font-size: 15.5px; }
.service.is-featured p { color: rgba(246, 239, 228, .78); }
.service ul { display: flex; flex-wrap: wrap; gap: 6px; }
.service li { padding: 4px 11px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13px; font-weight: 500; }
.service.is-featured li { border-color: rgba(246, 239, 228, .35); }
.services-cta { margin-top: 34px; }

/* Career */
.career { padding: clamp(90px, 11vw, 150px) 0; background: var(--cream-2); }
.career-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 10px 60px; align-items: end; margin-bottom: 60px; }
.career-head .kicker { grid-column: 1 / -1; justify-self: start; margin-bottom: 0; }
.career-head p { color: var(--ink-2); }
.career-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); }
.timeline h3 { margin-bottom: 14px; font-size: 30px; color: var(--green); }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 2px 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.timeline .when { grid-row: span 2; color: var(--terra); font-size: 13.5px; font-weight: 600; }
.timeline strong { font: 500 20px/1.25 var(--serif); }
.timeline .where { color: var(--muted); font-size: 15px; }
.research { position: relative; margin-top: 60px; padding: clamp(32px, 5vw, 64px); overflow: hidden; color: var(--cream); background: var(--terra-deep); border-radius: var(--radius); }
.research::after { content: ''; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, var(--sun), transparent 70%); opacity: .55; }
.research .kicker { color: var(--blush); }
.research-q { position: relative; z-index: 1; max-width: 26ch; margin-bottom: 22px; font: italic 300 clamp(30px, 3.6vw, 48px)/1.12 var(--serif); }
.research p:last-child { position: relative; z-index: 1; max-width: 66ch; color: rgba(246, 239, 228, .82); margin: 0; }

/* Places */
.places { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 90px); align-items: center; padding: clamp(90px, 11vw, 150px) 0; }
.places-copy h2 { margin-bottom: 34px; }
.places-list article { padding: 18px 0; border-top: 1px solid var(--line); }
.places-list .zone { color: var(--terra); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.places-list h3 { margin: 4px 0 2px; font-size: 26px; }
.places-list p { margin: 0 0 6px; color: var(--muted); font-size: 15px; }
.places-list a { font-size: 14.5px; font-weight: 600; text-underline-offset: 4px; }
.places-photos { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; gap: 16px; align-items: end; }
.places-photos img { width: 100%; object-fit: cover; border-radius: var(--radius); }
.pp-a img { aspect-ratio: 5 / 4; }
.pp-b img { aspect-ratio: 4 / 5; transform: translateY(40px); }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(30px, 6vw, 100px); padding: 30px 0 clamp(90px, 11vw, 150px); }
.faq-head { position: sticky; top: calc(var(--header) + 30px); align-self: start; }
.faq-photo { margin: 34px 0 0; max-width: 300px; }
.faq-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 160px 160px var(--radius) var(--radius); }
details { border-bottom: 1px solid var(--line); }
details:first-child { border-top: 1px solid var(--line); }
summary { position: relative; display: block; padding: 22px 56px 22px 0; cursor: pointer; font: 400 23px/1.25 var(--serif); list-style: none; transition: color .25s; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 0; top: 50%; display: grid; place-items: center; width: 36px; height: 36px; margin-top: -18px; color: var(--cream); background: var(--terra); border-radius: 50%; font: 400 22px/1 var(--sans); transition: transform .35s var(--ease), background .25s; }
details[open] summary::after { transform: rotate(45deg); background: var(--green); }
summary:hover { color: var(--terra); }
details p { max-width: 62ch; padding-bottom: 22px; margin: 0; color: var(--ink-2); }

/* Contact */
.contact { position: relative; overflow: hidden; color: var(--cream); background: var(--green-deep); text-align: center; }
.contact-sun { position: absolute; left: 50%; bottom: -55%; width: min(1100px, 140vw); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(232, 164, 111, .55) 0, rgba(180, 89, 60, .35) 38%, transparent 68%); transform: translateX(-50%); }
.contact-inner { position: relative; padding: clamp(100px, 13vw, 180px) 0; }
.contact .kicker { color: var(--blush); }
.contact h2 { max-width: 14ch; margin: 0 auto; font-size: clamp(44px, 6.4vw, 92px); }
.contact-lead { max-width: 48ch; margin: 24px auto 0; color: rgba(246, 239, 228, .8); }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 38px; }
.contact-ig { display: inline-block; margin-top: 26px; color: rgba(246, 239, 228, .8); font-size: 15px; text-underline-offset: 4px; }

/* Footer */
.site-footer { color: rgba(246, 239, 228, .72); background: #17261e; font-size: 14.5px; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 30px; padding: 46px 0; }
.footer-name { margin: 0 0 4px; color: var(--cream); font: 500 24px/1 var(--serif); }
.footer-links { display: grid; gap: 5px; }
.footer-links a, .footer-team a { text-decoration: none; overflow-wrap: anywhere; }
.footer-links a:hover, .footer-team a:hover { color: var(--cream); }
.footer-team a { color: var(--cream); font-weight: 600; }
.footer-team span { display: inline-block; margin-top: 8px; }

/* Dock + consent */
.dock { position: fixed; z-index: 90; left: 16px; right: 16px; bottom: 16px; display: flex; transform: translateY(150%); transition: transform .5s var(--ease); }
.dock.is-visible { transform: none; }
.dock a { flex: 1; padding: 16px 20px; color: var(--cream); background: var(--terra); border-radius: 999px; box-shadow: 0 18px 36px -16px rgba(43, 38, 34, .6); font-weight: 600; text-align: center; text-decoration: none; }
.consent { position: fixed; z-index: 120; left: 16px; right: 16px; bottom: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; max-width: 640px; margin-inline: auto; padding: 18px 20px; color: var(--cream); background: var(--green-deep); border-radius: 18px; font-size: 14.5px; }
.consent[hidden] { display: none; }
.consent p { flex: 1 1 280px; margin: 0; }
.consent div { display: flex; gap: 8px; }
.consent button { padding: 10px 16px; border: 1px solid rgba(246, 239, 228, .3); border-radius: 999px; background: transparent; color: inherit; font: 600 14px var(--sans); cursor: pointer; }
.consent [data-consent-accept] { background: var(--terra); border-color: var(--terra); }

/* Simple pages */
.simple-page { padding: calc(var(--header) + 70px) 0 120px; }
.crumbs { color: var(--muted); font-size: 14px; }
.prose { max-width: 68ch; font-size: 17.5px; }
.prose h2 { margin: 1.8em 0 .5em; font-size: 30px; }
.prose a { color: var(--terra); }
.simple-title { margin: 20px 0 .6em; font: 400 clamp(42px, 6vw, 72px)/1 var(--serif); letter-spacing: -.03em; }

/* Reveal */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service { min-height: 260px; }
}
@media (max-width: 960px) {
  :root { --header: 66px; }
  .nav-toggle { position: relative; z-index: 2; display: grid; place-content: center; gap: 6px; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: var(--cream-2); cursor: pointer; }
  .nav-toggle span:not(.sr-only) { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
  .nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
  .nav-toggle[aria-expanded='true'] span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 0; flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; padding: 90px var(--gutter) 40px; background: var(--cream); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
  .site-nav[data-open='true'] { opacity: 1; visibility: visible; }
  .site-nav > a:not(.nav-cta) { font: 400 38px/1.2 var(--serif); }
  .lang-switch { order: 10; margin-top: 16px; font-size: 15px; }
  .nav-cta { margin-top: 14px; padding: 15px 26px; font-size: 16px; }
  .hero { grid-template-columns: 1fr; min-height: 0; gap: 50px; padding-bottom: 50px; }
  .hero-visual { width: min(84%, 420px); }
  .about, .places, .faq, .topics-head, .career-head, .career-grid, .safe-card { grid-template-columns: 1fr; }
  .about-photo { max-width: 440px; }
  .approach { grid-template-columns: 1fr; }
  .approach-copy { justify-self: start; }
  .approach-photo { min-height: 0; }
  .approach-photo img { aspect-ratio: 4 / 3; }
  .faq-head { position: static; }
  .faq-photo { display: none; }
  .safe-art { max-width: 200px; }
  .pp-b img { transform: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .brand-text small { display: none; }
  .hero { padding-top: calc(var(--header) + 24px); }
  .hero h1 { font-size: clamp(44px, 13vw, 60px); }
  .rotate-track { flex-basis: 100%; min-height: 2.5em; }
  .btn { width: 100%; }
  .badge { left: -12px; top: auto; bottom: 10%; max-width: 190px; font-size: 12.5px; }
  .about-photo figcaption { right: -6px; bottom: -20px; font-size: 19px; }
  .services-grid { grid-template-columns: 1fr; }
  .service { min-height: 0; }
  .timeline li { grid-template-columns: 1fr; }
  .timeline .when { grid-row: auto; }
  .places-photos { grid-template-columns: 1fr; }
  .pp-b { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .contact-actions .btn { width: 100%; }
  summary { font-size: 20px; }
}
@media (min-width: 961px) { .dock { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* =========================================================
   Scroll coreografiado — el sol sale y revela el consultorio
   ========================================================= */
.scene { position: relative; height: 360vh; background: var(--cream); --a: clamp(0, calc(var(--p, 1) * 1.6), 1); --b: clamp(0, calc((var(--p, 1) - .35) * 1.7), 1); }
.scene-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.scene-sun { position: absolute; left: 50%; top: 50%; width: 70vmax; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 42%, var(--sun) 0, var(--blush) 50%, rgba(239, 205, 185, 0) 70%); transform: translate(-50%, calc(-50% + (1 - var(--a)) * 62vh)) scale(calc(.45 + var(--a) * .9)); }
.scene-photo { position: absolute; inset: 0; margin: 0; clip-path: circle(calc(var(--b) * 75%) at 50% calc(60% - var(--b) * 10%)); }
.scene-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.35 - var(--b) * .35)); filter: brightness(.7) saturate(.95); }
.scene-text { position: relative; z-index: 2; display: grid; justify-items: center; gap: 18px; width: min(92vw, 1000px); text-align: center; }
.scene-kicker { margin: 0; color: var(--terra); font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; transition: color .5s; }
.scene-words { display: grid; }
.scene-words h2 { grid-area: 1 / 1; font-size: clamp(56px, 11vw, 170px); line-height: .95; font-style: italic; font-weight: 300; letter-spacing: -.04em; opacity: 0; transform: translateY(.3em) scale(.96); filter: blur(10px); transition: opacity .7s var(--ease), transform .8s var(--ease), filter .7s, color .5s; }
.scene[data-step='0'] .t0, .scene[data-step='1'] .t1, .scene[data-step='2'] .t2, .scene[data-step='3'] .t3 { opacity: 1; transform: none; filter: none; }
.scene-sub { max-width: 44ch; margin: 0; color: var(--ink-2); font-size: 17px; transition: color .5s; }
.scene[data-step='2'] .scene-words h2, .scene[data-step='3'] .scene-words h2, .scene[data-step='2'] .scene-sub, .scene[data-step='3'] .scene-sub { color: var(--cream); }
.scene[data-step='2'] .scene-kicker, .scene[data-step='3'] .scene-kicker { color: var(--blush); }
.scene-dots { position: absolute; z-index: 3; bottom: 34px; left: 50%; display: flex; gap: 10px; transform: translateX(-50%); }
.scene-dots li { width: 9px; height: 9px; border-radius: 50%; background: rgba(43, 38, 34, .2); transition: background .4s, transform .4s var(--ease); }
.scene[data-step='0'] li:nth-child(1), .scene[data-step='1'] li:nth-child(-n + 2), .scene[data-step='2'] li:nth-child(-n + 3), .scene[data-step='3'] li { background: var(--terra); transform: scale(1.2); }
.scroll-static .scene { height: auto; }
.scroll-static .scene-sticky { position: relative; height: 80vh; }

/* Banda de temas en movimiento */
.marquee { overflow: hidden; margin: 0 calc(50% - 50vw) 40px; padding: 8px 0; }
.marquee p { display: flex; width: max-content; margin: 0; font: italic 300 clamp(40px, 6vw, 88px)/1.1 var(--serif); white-space: nowrap; transform: translateX(calc(var(--p, 0) * -30%)); }
.marquee span { display: inline-flex; align-items: center; gap: .45em; padding-right: .45em; }
.marquee span::after { content: ''; width: .32em; height: .32em; border-radius: 50%; background: var(--sun); }
.marquee span:nth-child(odd) { color: var(--terra); }

/* Palabras que se encienden */
[data-words] .w { opacity: clamp(.22, calc(var(--p, 1) * (var(--n) + 5) - var(--i)), 1); }

/* Máscaras orgánicas */
.about-photo img { clip-path: circle(calc(30% + var(--p, 1) * 60%) at 50% 60%); transform: scale(calc(1.15 - var(--p, 1) * .15)); }
.about-photo figcaption { opacity: clamp(0, calc(var(--p, 1) * 2 - 1), 1); transform: translateY(calc((1 - var(--p, 1)) * 30px)); }
.approach-photo { overflow: hidden; }
.approach-photo img { clip-path: ellipse(calc(30% + var(--p, 1) * 60%) calc(25% + var(--p, 1) * 65%) at 50% 100%); transform: scale(calc(1.2 - var(--p, 1) * .2)); }
.places-photos .pp-a img { clip-path: inset(calc((1 - var(--p, 1)) * 40%) 0 0 0 round var(--radius)); }
.places-photos .pp-b img { clip-path: circle(calc(20% + var(--p, 1) * 70%) at 50% 0%); }
.contact-sun { transform: translate(-50%, calc((1 - var(--p, 1)) * 30%)) scale(calc(.7 + var(--p, 1) * .3)); }

@media (max-width: 760px) {
  .scene { height: 300vh; }
  .scene-sun { width: 120vmax; }
}
