:root { --ink: #142a3a; --blue: #184d67; --light-blue: #d9edf0; --paper: #f7f4ed; --terracotta: #bd6b53; --line: rgba(20,42,58,.18); --sans: "DM Sans", Arial, sans-serif; --serif: "Fraunces", Georgia, serif; --mono: "DM Mono", monospace; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
.topline { display: flex; justify-content: space-between; padding: 11px max(5vw,24px); color: var(--paper); background: var(--ink); font: 10px/1 var(--mono); letter-spacing: .09em; }
.site-header { height: 91px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 max(5vw,24px); border-bottom: 1px solid var(--line); }
.brand { font: 600 35px/1 var(--serif); letter-spacing: -.08em; }.brand span { color: var(--terracotta); }
nav { display: flex; gap: 31px; font-size: 13px; } nav a { transition: color .2s; } nav a:hover { color: var(--terracotta); }
.header-cta { justify-self: end; font-size: 13px; font-weight: 600; }.header-cta span, .button span, .email-placeholder span { color: var(--terracotta); font-size: 18px; margin-left: 8px; }
.hero { position: relative; min-height: 720px; overflow: hidden; background: var(--light-blue); }.hero-name-layer { position: absolute; z-index: 0; inset: 0; pointer-events: none; }.hero-name-layer p { position: absolute; top: 7%; left: max(5vw, 38px); margin: 0; font: 500 14px/1 var(--sans); letter-spacing: .01em; }.hero-name-layer h1 { position: absolute; top: 14%; left: 2.5vw; margin: 0; color: rgba(255,255,255,.9); font: 600 clamp(150px,25vw,390px)/.78 var(--sans); letter-spacing: -.09em; white-space: nowrap; }.hero-copy { position: absolute; z-index: 3; left: max(5vw,38px); bottom: 48px; width: min(38vw,520px); }.hero-copy h2 { margin: 0 0 18px; font-size: clamp(34px,3.3vw,50px); line-height: 1.01; }.eyebrow { margin: 0 0 22px; font: 10px/1.3 var(--mono); letter-spacing: .12em; color: var(--terracotta); }
h1, h2, h3, p { margin-top: 0; } h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.055em; } h1 em, h2 em { color: var(--terracotta); font-style: italic; }.intro { max-width: 415px; font-size: 15px; line-height: 1.6; color: rgba(20,42,58,.76); }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 28px; }.button { display: inline-flex; align-items: center; padding: 15px 20px; font-size: 13px; font-weight: 600; }.button-primary { color: var(--paper); background: var(--ink); transition: background .2s; }.button-primary:hover { background: var(--blue); }.text-link { border-bottom: 1px solid var(--ink); padding: 6px 0; font-size: 13px; font-weight: 600; }.text-link span { color: var(--terracotta); margin-left: 8px; }
.hero-visual { position: absolute; z-index: 1; inset: 0; pointer-events: none; }.portrait-frame { position: absolute; z-index: 2; right: 23%; bottom: 0; width: min(29vw,430px); height: 70%; border-radius: 230px 230px 0 0; overflow: hidden; background: #7da2aa; box-shadow: 0 0 0 1px rgba(255,255,255,.2); }.portrait-placeholder { position: relative; height: 100%; overflow: hidden; color: rgba(247,244,237,.82); background: #153647; text-align: center; }.portrait-placeholder::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,32,40,.02), rgba(8,25,33,.38)); }.portrait-placeholder img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; filter: saturate(.72) contrast(1.05); }.image-caption { position: absolute; z-index: 1; right: 14px; bottom: 14px; width: 125px; margin: 0; color: rgba(247,244,237,.86); font: 8px/1.45 var(--mono); letter-spacing: .04em; overflow-wrap: anywhere; text-align: right; }.grid-mark { position: absolute; z-index: 1; right: -5%; top: 24%; width: min(32vw,480px); height: min(32vw,480px); border: 1px solid rgba(20,42,58,.18); border-radius: 50%; background: repeating-linear-gradient(90deg, transparent 0 45px, rgba(20,42,58,.11) 46px 47px), repeating-linear-gradient(0deg, transparent 0 45px, rgba(20,42,58,.11) 46px 47px); }.grid-mark::after { content: ""; position: absolute; inset: 17%; border: 1px solid rgba(189,107,83,.5); border-radius: 50%; }.hero-stamp { position: absolute; z-index: 3; right: max(5vw,38px); bottom: 45px; display: grid; gap: 3px; padding: 14px 16px; background: var(--paper); font: 10px/1.4 var(--mono); letter-spacing: .05em; }.hero-place { position: absolute; z-index: 3; top: 50%; right: max(5vw,38px); padding-left: 30px; color: rgba(20,42,58,.62); font: 10px/1.6 var(--mono); letter-spacing: .08em; transform: rotate(90deg) translateX(50%); transform-origin: right top; }
.statement { position: relative; display: flex; justify-content: space-between; align-items: flex-end; min-height: 250px; padding: 50px max(8vw,70px); color: var(--paper); background: var(--ink); }.statement p { max-width: 800px; margin: 0; font: 500 clamp(29px,3.5vw,49px)/1.15 var(--serif); letter-spacing: -.045em; }.statement-mark { font: 11px var(--mono); color: #8bb2b9; }
.section-shell { padding: 128px max(8vw,70px); }.specialties { display: grid; grid-template-columns: .9fr 1.1fr; gap: 9vw; }.section-heading h2, .coverage h2 { margin: 0; font-size: clamp(42px,4.5vw,65px); line-height: 1.04; }.specialty-list { border-top: 1px solid var(--line); }.specialty-list article { display: grid; grid-template-columns: 50px 1fr 1fr; gap: 19px; padding: 28px 0; border-bottom: 1px solid var(--line); }.specialty-list span, .location-number { color: var(--terracotta); font: 10px var(--mono); }.specialty-list h3 { margin: 0; font: 500 20px/1.2 var(--serif); letter-spacing: -.025em; }.specialty-list p { margin: 0; color: rgba(20,42,58,.7); font-size: 13px; line-height: 1.55; }
.care-path { background: #d8e8e5; }.care-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 9vw; }.care-grid h2 { margin: 0; font: 500 clamp(42px,4.5vw,64px)/1.03 var(--serif); letter-spacing: -.055em; }.care-grid ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }.care-grid li { display: grid; grid-template-columns: 54px 1fr; padding: 25px 0; border-bottom: 1px solid var(--line); }.care-grid li > span { color: var(--terracotta); font: 10px var(--mono); }.care-grid h3 { margin: 0 0 8px; font: 500 22px var(--serif); }.care-grid p { max-width: 405px; margin: 0; color: rgba(20,42,58,.7); font-size: 14px; line-height: 1.55; }
.locations { padding-bottom: 146px; }.locations-title { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: end; margin-bottom: 64px; }.locations-title .eyebrow { grid-column: 1/-1; }.location-note { max-width: 270px; margin: 0; color: rgba(20,42,58,.72); font-size: 14px; line-height: 1.55; }.location-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }.location-card { min-height: 340px; display: flex; flex-direction: column; padding: 29px; border: 1px solid var(--line); }.location-card.featured { color: var(--paper); background: var(--blue); border-color: var(--blue); }.location-card.featured .location-number { color: #b5d5d7; }.location-card h3 { margin: auto 0 14px; font: 500 30px/1.05 var(--serif); letter-spacing: -.045em; }.location-card p { margin: 0; font-size: 13px; line-height: 1.55; opacity: .78; }.schedule { display: flex; justify-content: space-between; margin-top: 28px; padding-top: 18px; border-top: 1px solid currentColor; font-size: 12px; }.schedule span { font-family: var(--mono); font-size: 10px; }
.coverage { display: grid; grid-template-columns: 1fr 1fr; gap: 9vw; background: var(--paper); border-top: 1px solid var(--line); }.coverage-content > p { max-width: 430px; margin: 4px 0 35px; color: rgba(20,42,58,.72); font-size: 15px; line-height: 1.6; }.coverage ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }.coverage li { padding: 18px 0; border-bottom: 1px solid var(--line); font: 500 20px var(--serif); }.coverage li:nth-child(odd) { padding-right: 20px; border-right: 1px solid var(--line); }.coverage li:nth-child(even) { padding-left: 20px; }
.contact { color: var(--paper); background: var(--ink); }.contact-inner { max-width: 1400px; margin: 0 auto; padding: 132px max(8vw,70px); }.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(50px,10vw,150px); align-items: start; }.contact h2 { margin: 0 0 24px; font-size: clamp(53px,6vw,83px); line-height: .99; }.contact-copy > p:not(.contact-caption) { max-width: 420px; font-size: 16px; line-height: 1.6; color: rgba(247,244,237,.76); }.whatsapp-button { display: grid; gap: 5px; width: 100%; max-width: 405px; margin-top: 42px; padding: 18px 20px; border: 1px solid rgba(185,217,217,.6); color: #b9d9d9; background: transparent; text-align: left; font-family: var(--sans); }.whatsapp-button span { font: 10px var(--mono); letter-spacing: .09em; text-transform: uppercase; }.whatsapp-button strong { display: flex; justify-content: space-between; align-items: center; font-size: 15px; }.whatsapp-button i { color: var(--terracotta); font-size: 20px; font-style: normal; }.whatsapp-button:disabled, .form-submit:disabled { cursor: not-allowed; opacity: .7; }.contact-caption { margin: 14px 0 0; font-size: 11px; color: rgba(247,244,237,.5); }.contact-form { display: grid; gap: 26px; padding-top: 4px; }.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }.contact-form label { display: grid; gap: 10px; color: #b9d9d9; font: 10px var(--mono); letter-spacing: .07em; text-transform: uppercase; }.contact-form input, .contact-form textarea { width: 100%; padding: 13px 0; border: 0; border-bottom: 1px solid rgba(185,217,217,.48); border-radius: 0; outline: none; color: var(--paper); background: transparent; font: 15px/1.5 var(--sans); letter-spacing: normal; text-transform: none; resize: vertical; }.contact-form input:focus, .contact-form textarea:focus { border-bottom-color: var(--terracotta); }.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(247,244,237,.42); }.form-submit { justify-self: start; padding: 15px 20px; border: 0; color: var(--ink); background: #b9d9d9; font: 600 13px var(--sans); }.form-submit span { margin-left: 8px; color: var(--terracotta); font-size: 18px; }.form-note { max-width: 440px; margin: -8px 0 0; color: rgba(247,244,237,.5); font-size: 11px; line-height: 1.55; }
footer { display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: center; gap: 20px; padding: 33px max(5vw,24px); color: rgba(247,244,237,.72); background: #0d202c; } footer .brand { color: var(--paper); } footer p { margin: 0; font-size: 11px; } footer p:last-child { text-align: right; font-family: var(--mono); font-size: 10px; }
@media (max-width: 780px) { .topline { font-size: 8px; }.site-header { height: 75px; grid-template-columns: 1fr auto; }.site-header nav { display: none; }.header-cta { font-size: 12px; }.hero { min-height: 900px; }.hero-name-layer p { top: 5%; left: 7vw; font-size: 11px; }.hero-name-layer h1 { top: 10%; left: 1vw; font-size: 29vw; }.hero-copy { top: 235px; bottom: auto; left: 7vw; width: 86vw; }.hero-copy h2 { max-width: 470px; font-size: 38px; }.hero-copy .intro { max-width: 82%; font-size: 14px; }.portrait-frame { right: -4%; width: 65%; height: 33%; }.grid-mark { right: -26%; top: 65%; width: 74vw; height: 74vw; }.hero-stamp { right: auto; left: 7vw; bottom: 24px; }.hero-place { display: none; }.statement, .section-shell, .contact-inner { padding: 78px 7vw; }.statement { min-height: 210px; }.specialties, .care-grid, .coverage, .contact-layout { grid-template-columns: 1fr; gap: 54px; }.specialty-list article { grid-template-columns: 32px 1fr; }.specialty-list article p { grid-column: 2; }.locations-title { grid-template-columns: 1fr; margin-bottom: 42px; }.location-cards { grid-template-columns: 1fr; }.location-card { min-height: 275px; }.coverage ul { grid-template-columns: 1fr; }.coverage li:nth-child(odd), .coverage li:nth-child(even) { padding-left: 0; padding-right: 0; border-right: 0; }.hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; margin-top: 23px; }.form-row { grid-template-columns: 1fr; gap: 26px; }.whatsapp-button { margin-top: 32px; } footer { grid-template-columns: 1fr; } footer p:last-child { text-align: left; } }
@page { size: A4; margin: 0; }
@media print { html, body { print-color-adjust: exact; -webkit-print-color-adjust: exact; } .topline { padding-top: 9px; padding-bottom: 9px; } .site-header { height: 74px; } .hero { min-height: 720px; } .statement, .specialties, .care-path, .locations, .coverage, .contact { break-inside: avoid; page-break-inside: avoid; } .specialty-list article, .care-grid li, .location-card, .contact-form { break-inside: avoid; page-break-inside: avoid; } .contact-inner { padding-top: 90px; padding-bottom: 90px; } footer { display: none; } }

/* Dirección revisada: identidad completa, atención virtual y evaluación particular. */
.hero-revised .hero-copy { bottom: 58px; }.hero-revised .hero-copy h1 { max-width: 590px; margin: 0 0 20px; font: 500 clamp(48px,5.2vw,77px)/.96 var(--serif); letter-spacing: -.065em; }.hero-specialty { margin: 0 0 18px; color: var(--ink); font: 500 clamp(23px,2.2vw,32px)/1.12 var(--serif); letter-spacing: -.045em; }.hero-specialty em { color: var(--terracotta); font-style: italic; }.hero-revised .intro { max-width: 400px; }.hero-revised .hero-visual::before { content: ""; position: absolute; z-index: 0; left: 10%; top: 13%; width: min(38vw,500px); height: min(38vw,500px); border: 1px solid rgba(255,255,255,.62); border-radius: 50%; }.specialty-list h3 a { transition: color .2s; }.specialty-list h3 a:hover { color: var(--terracotta); }
.virtual-care { position: relative; min-height: 580px; display: flex; align-items: center; overflow: hidden; color: var(--paper); background: var(--blue); }.virtual-content { position: relative; z-index: 1; width: min(900px,84vw); margin: 0 auto; padding: 105px 0; }.virtual-care h2 { max-width: 700px; margin: 0 0 24px; font-size: clamp(55px,6.5vw,94px); line-height: .95; }.virtual-content > p:not(.eyebrow):not(.virtual-hours) { max-width: 470px; margin: 0 0 32px; color: rgba(247,244,237,.78); font-size: 17px; line-height: 1.6; }.virtual-hours { position: absolute; top: 106px; right: 0; margin: 0; color: #b9d9d9; font: 10px/1.5 var(--mono); letter-spacing: .11em; text-align: right; }.virtual-hours strong { display: block; margin-top: 5px; color: var(--paper); font: 500 clamp(28px,3.7vw,52px)/1 var(--serif); letter-spacing: -.05em; }.virtual-orbit { position: absolute; right: -120px; bottom: -180px; width: 670px; height: 670px; border: 1px solid rgba(185,217,217,.45); border-radius: 50%; }.virtual-orbit::before, .virtual-orbit::after { content: ""; position: absolute; border: 1px solid rgba(185,217,217,.24); border-radius: 50%; }.virtual-orbit::before { inset: 15%; }.virtual-orbit::after { inset: 33%; }.button-light { color: var(--ink); background: #b9d9d9; }.button-light span { color: var(--terracotta); }
.private-evaluation { border-top: 1px solid var(--line); background: #e8ddcf; }.evaluation-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 9vw; }.evaluation-grid h2 { margin: 0; font-size: clamp(42px,4.5vw,65px); line-height: 1.04; }.evaluation-copy { padding-top: 8px; }.evaluation-copy p { max-width: 520px; margin: 0 0 20px; color: rgba(20,42,58,.78); font-size: 16px; line-height: 1.65; }.evaluation-copy .text-link { display: inline-block; margin-top: 18px; }
.whatsapp-button { text-decoration: none; }.whatsapp-button:hover { border-color: var(--terracotta); color: var(--paper); }.whatsapp-button:disabled, .form-submit:disabled { cursor: not-allowed; opacity: .7; }
@media (max-width: 780px) { .hero-revised .hero-copy { top: 135px; bottom: auto; }.hero-revised .hero-copy h1 { max-width: 340px; font-size: 49px; }.hero-revised .hero-specialty { max-width: 295px; font-size: 25px; }.hero-revised .hero-copy .intro { max-width: 72%; }.hero-revised .portrait-frame { height: 33%; }.hero-revised .grid-mark { top: 65%; }.hero-revised .hero-visual::before { left: -20%; top: 62%; width: 75vw; height: 75vw; }.virtual-care { min-height: 660px; }.virtual-content { width: 86vw; padding: 88px 0 180px; }.virtual-care h2 { font-size: 58px; }.virtual-hours { position: static; margin: 0 0 38px; text-align: left; }.virtual-orbit { right: -165px; bottom: -50px; width: 520px; height: 520px; }.evaluation-grid { grid-template-columns: 1fr; gap: 42px; }.evaluation-copy { padding-top: 0; }.evaluation-copy p { font-size: 15px; } }

/* Páginas temáticas para búsquedas específicas. */
.service-page .site-header { grid-template-columns: 1fr auto; }.service-page .service-header-link { justify-self: end; font-size: 13px; font-weight: 600; }.service-page .service-header-link span { margin-left: 7px; color: var(--terracotta); }.service-hero { position: relative; overflow: hidden; padding: 112px max(8vw,70px) 104px; background: var(--light-blue); }.service-hero::after { content: ""; position: absolute; right: -100px; top: -120px; width: 510px; height: 510px; border: 1px solid rgba(20,42,58,.17); border-radius: 50%; box-shadow: inset 0 0 0 75px rgba(247,244,237,.24), inset 0 0 0 150px rgba(20,42,58,.05); }.service-hero-inner { position: relative; z-index: 1; max-width: 860px; }.breadcrumbs { margin: 0 0 35px; color: rgba(20,42,58,.7); font: 10px var(--mono); letter-spacing: .08em; }.breadcrumbs a { text-decoration: underline; text-underline-offset: 3px; }.service-hero h1 { max-width: 820px; margin: 0 0 25px; font: 500 clamp(52px,6vw,88px)/.98 var(--serif); letter-spacing: -.06em; }.service-lead { max-width: 635px; margin: 0; color: rgba(20,42,58,.78); font-size: 18px; line-height: 1.6; }.service-content { display: grid; grid-template-columns: .73fr 1.27fr; gap: 9vw; padding: 110px max(8vw,70px); }.service-aside { align-self: start; padding: 25px; border: 1px solid var(--line); background: #f0eee7; }.service-aside p { margin: 0 0 18px; font-size: 14px; line-height: 1.55; }.service-aside p:last-child { margin-bottom: 0; }.service-main { max-width: 720px; }.service-main section { margin-bottom: 68px; }.service-main h2 { margin: 0 0 16px; font: 500 clamp(32px,3.4vw,48px)/1.05 var(--serif); letter-spacing: -.05em; }.service-main h3 { margin: 26px 0 8px; font: 500 24px var(--serif); letter-spacing: -.03em; }.service-main p, .service-main li { color: rgba(20,42,58,.8); font-size: 16px; line-height: 1.7; }.service-main ul { margin: 0; padding-left: 21px; }.service-main li { margin: 6px 0; }.service-faq { border-top: 1px solid var(--line); }.service-faq details { padding: 19px 0; border-bottom: 1px solid var(--line); }.service-faq summary { cursor: pointer; font: 500 20px/1.35 var(--serif); }.service-faq p { max-width: 600px; margin: 13px 0 0; }.service-cta { padding: 75px max(8vw,70px); color: var(--paper); background: var(--ink); }.service-cta-inner { display: flex; align-items: end; justify-content: space-between; gap: 45px; max-width: 1160px; }.service-cta h2 { margin: 0; font: 500 clamp(39px,4.5vw,63px)/1 var(--serif); letter-spacing: -.055em; }.service-cta p { max-width: 430px; margin: 16px 0 0; color: rgba(247,244,237,.72); line-height: 1.6; }.service-disclaimer { padding: 24px max(8vw,70px); color: rgba(247,244,237,.62); background: #0d202c; font-size: 11px; line-height: 1.55; }.service-disclaimer p { max-width: 920px; margin: 0; }.service-page footer { display: none; }
@media (max-width: 780px) { .service-page .site-header { height: 75px; }.service-hero { padding: 74px 7vw 82px; }.service-hero h1 { font-size: 51px; }.service-lead { font-size: 16px; }.service-content { grid-template-columns: 1fr; gap: 48px; padding: 76px 7vw; }.service-aside { order: 2; }.service-main section { margin-bottom: 55px; }.service-main p, .service-main li { font-size: 15px; }.service-cta { padding: 68px 7vw; }.service-cta-inner { display: block; }.service-cta .button { margin-top: 30px; }.service-disclaimer { padding: 20px 7vw; } }

/* Fotografías reales del Dr. Mayo: recortes editoriales y textura natural. */
.portrait-placeholder img { filter: none; object-position: 50% 18%; }
.care-photo { width: min(100%, 370px); margin: 52px 0 0; }
.care-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 52% 14%; border-radius: 220px 220px 0 0; }
.care-photo figcaption { margin-top: 12px; color: rgba(20,42,58,.63); font: 10px/1.5 var(--mono); letter-spacing: .04em; }
.contact-email { display: inline-block; margin-top: 18px; color: #b9d9d9; border-bottom: 1px solid rgba(185,217,217,.6); font-size: 13px; }
.contact-email:hover { color: var(--paper); border-color: var(--terracotta); }
@media (max-width: 780px) { .care-photo { margin-top: 36px; } }
.contact-form .form-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.contact-form .form-honeypot input { width: auto; }
.form-status { min-height: 1.5em; margin: -16px 0 0; color: #b9d9d9; font-size: 13px; line-height: 1.5; }
.form-status[data-state="error"] { color: #ffc4ad; }
.form-status[data-state="success"] { color: #c9e7d9; }

/* Trayectoria profesional, sintetizada a partir del CV provisto por el Dr. Mayo. */
.trajectory { display: grid; grid-template-columns: .9fr 1.1fr; gap: 9vw; background: #e8ddcf; }
.trajectory-intro h2 { margin: 0 0 29px; font-size: clamp(43px,4.6vw,69px); line-height: 1.02; }
.trajectory-intro > p:not(.eyebrow) { max-width: 455px; margin: 0 0 32px; color: rgba(20,42,58,.78); font-size: 15px; line-height: 1.7; }
.trajectory-list { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.trajectory-list li { display: grid; grid-template-columns: 110px 1fr; gap: 28px; padding: 28px 0 32px; border-bottom: 1px solid var(--line); }
.trajectory-list li > span { padding-top: 5px; color: var(--terracotta); font: 10px/1.5 var(--mono); }
.trajectory-list h3 { margin: 0 0 10px; font: 500 25px/1.15 var(--serif); letter-spacing: -.035em; }
.trajectory-list p { max-width: 540px; margin: 0; color: rgba(20,42,58,.76); font-size: 14px; line-height: 1.65; }
@media (max-width: 1120px) { .site-header nav { gap: 16px; font-size: 12px; } }
@media (max-width: 1060px) { .site-header { grid-template-columns: 1fr auto; } .site-header nav { display: none; } }
@media (max-width: 780px) {
  .trajectory { grid-template-columns: 1fr; gap: 46px; }
  .trajectory-list li { grid-template-columns: 1fr; gap: 8px; }
  .trajectory-list h3 { font-size: 23px; }
}

/* Página de contacto y ubicaciones. */
.location-map-link { display: inline-block; align-self: flex-start; margin-top: 22px; border-bottom: 1px solid currentColor; padding-bottom: 4px; font-size: 12px; font-weight: 600; }
.location-map-link span { margin-left: 5px; color: var(--terracotta); }
.location-card.featured .location-map-link span { color: #b9d9d9; }
.contact-preview { align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding: 32px 38px; border: 1px solid rgba(185,217,217,.35); }
.contact-preview > span { color: #b9d9d9; font: 10px var(--mono); letter-spacing: .09em; }
.contact-preview p { max-width: 480px; margin: 28px 0; font: 500 clamp(24px,2.5vw,36px)/1.2 var(--serif); letter-spacing: -.04em; }
.contact-preview .button { align-self: flex-start; }
.contact-page .site-header nav { gap: 22px; }
.contact-page-hero { position: relative; overflow: hidden; padding: 88px max(8vw,70px) 112px; background: var(--light-blue); }
.contact-page-hero::after { content: ""; position: absolute; top: -160px; right: -120px; width: 660px; height: 660px; border: 1px solid rgba(20,42,58,.16); border-radius: 50%; box-shadow: inset 0 0 0 95px rgba(247,244,237,.2), inset 0 0 0 205px rgba(20,42,58,.04); pointer-events: none; }
.contact-page-hero-inner { position: relative; z-index: 1; max-width: 790px; }
.contact-page-hero h1 { margin: 0 0 30px; font-size: clamp(57px,7vw,100px); line-height: .98; }
.contact-page-hero-inner > p:not(.breadcrumbs):not(.eyebrow) { max-width: 565px; color: rgba(20,42,58,.78); font-size: 17px; line-height: 1.65; }
.contact-page-hero-actions { display: flex; align-items: center; gap: 34px; margin-top: 37px; }
.contact-page-index { position: absolute; right: max(8vw,70px); bottom: 44px; color: rgba(20,42,58,.6); font: 11px var(--mono); letter-spacing: .1em; }
.contact-locations { max-width: 1500px; margin: 0 auto; }
.contact-locations-heading { display: flex; justify-content: space-between; align-items: end; gap: 60px; margin-bottom: 55px; }
.contact-locations-heading h2 { margin: 0; font-size: clamp(48px,5vw,72px); line-height: 1.02; }
.contact-locations-heading > p { max-width: 340px; margin: 0; color: rgba(20,42,58,.72); font-size: 15px; line-height: 1.6; }
.contact-location { display: grid; grid-template-columns: .78fr 1.22fr; min-height: 370px; margin-bottom: 24px; border: 1px solid var(--line); background: #f1eee6; scroll-margin-top: 22px; }
.contact-location-info { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(28px,3.5vw,50px); }
.contact-location h3 { margin: 27px 0 16px; font: 500 clamp(32px,3.2vw,48px)/1.05 var(--serif); letter-spacing: -.05em; }
.contact-location address { color: rgba(20,42,58,.75); font-size: 14px; font-style: normal; line-height: 1.6; }
.contact-location-hours { display: grid; gap: 7px; width: 100%; margin: auto 0 20px; padding-top: 24px; border-top: 1px solid var(--line); }
.contact-location-hours span { color: var(--terracotta); font: 10px var(--mono); letter-spacing: .06em; }
.contact-location-hours strong { font-size: 14px; font-weight: 600; }
.contact-location iframe { width: 100%; height: 100%; min-height: 370px; border: 0; background: #d8e8e5; }
.contact-virtual { display: flex; align-items: end; justify-content: space-between; gap: 45px; padding: 86px max(8vw,70px); background: #d8e8e5; }
.contact-virtual h2 { margin: 0 0 17px; font-size: clamp(45px,5.2vw,70px); }
.contact-virtual p:last-child { max-width: 540px; margin: 0; color: rgba(20,42,58,.75); font-size: 15px; line-height: 1.65; }
.contact-virtual .button { flex: 0 0 auto; }
@media (max-width: 1050px) { .contact-page .site-header nav { gap: 12px; font-size: 11px; } }
@media (max-width: 780px) {
  .contact-page-hero { padding: 66px 7vw 88px; }
  .contact-page-hero h1 { font-size: clamp(50px,12vw,70px); }
  .contact-page-hero-inner > p:not(.breadcrumbs):not(.eyebrow) { font-size: 15px; }
  .contact-page-hero-actions { align-items: flex-start; flex-direction: column; gap: 19px; }
  .contact-page-index { right: 7vw; bottom: 25px; }
  .contact-preview { padding: 27px; }
  .contact-locations-heading { display: block; margin-bottom: 39px; }
  .contact-locations-heading > p { margin-top: 23px; }
  .contact-location { grid-template-columns: 1fr; }
  .contact-location-info { min-height: 330px; }
  .contact-location iframe { height: 300px; min-height: 300px; }
  .contact-virtual { display: block; padding: 72px 7vw; }
  .contact-virtual .button { margin-top: 29px; }
}

/* Navegación compacta para tablet y móvil. */
.menu-toggle { display: none; }
.service-page .site-header { grid-template-columns: 1fr auto 1fr; }
.service-page .site-footer { display: grid; }
.site-footer > a:last-child { justify-self: end; font-size: 12px; }
.related-services { padding-top: 70px; padding-bottom: 70px; border-top: 1px solid var(--line); }
.related-services h2, .service-locations h2 { font-size: clamp(34px,4vw,54px); }
.related-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.related-links a { display: flex; justify-content: space-between; gap: 15px; padding: 25px 20px; border: 1px solid var(--line); font: 500 22px/1.3 var(--serif); }
.related-links a:hover { background: var(--light-blue); }
.related-links span { color: var(--terracotta); }
.service-locations { padding-top: 70px; padding-bottom: 70px; background: #d8e8e5; }
.service-locations ul { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px; margin: 32px 0; padding: 0; list-style: none; }
.service-locations li { display: grid; align-content: start; gap: 12px; font-size: 14px; line-height: 1.6; }
.service-locations strong { font: 500 23px/1.2 var(--serif); }
.service-locations > p:not(.eyebrow) { font-size: 14px; line-height: 1.7; }
.not-found { min-height: 75vh; }
.not-found h1 { font-size: clamp(45px,7vw,85px); line-height: 1.05; }
.not-found > p:not(.eyebrow) { line-height: 1.7; }
.not-found .button { margin: 20px 24px 20px 0; }
.form-note a { color: #b9d9d9; text-decoration: underline; text-underline-offset: 3px; }
.footer-links { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 12px 18px; font-size: 12px; line-height: 1.6; }
.profile-photo { margin: 0 0 40px; max-width: 360px; }
.profile-photo img { display: block; width: 100%; height: auto; }
.profile-photo figcaption, .editorial-note { font-size: 12px; line-height: 1.6; opacity: .8; }
.professional-timeline { padding-left: 22px; }
.professional-timeline li { margin-bottom: 20px; }
.service-main a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 780px) { .footer-links { justify-content: flex-start; } }
.site-header nav .nav-whatsapp { display: none; }
@media (max-width: 1060px) {
  .site-header { position: relative; z-index: 10; grid-template-columns: 1fr auto auto; column-gap: 22px; }
  .service-page .site-header { grid-template-columns: 1fr auto auto; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 8px 0 8px 10px; border: 0; color: var(--ink); background: transparent; font: 600 13px var(--sans); cursor: pointer; }
  .menu-toggle:focus-visible, .site-header nav a:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 4px; }
  .menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 20px; height: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
  .menu-icon { position: relative; }
  .menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
  .menu-icon::before { transform: translateY(-6px); }
  .menu-icon::after { transform: translateY(6px); }
  .menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-icon::before { transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon::after { transform: rotate(-45deg); }
  .site-header > nav, .contact-page .site-header > nav { display: none; position: absolute; top: 100%; left: 0; right: 0; gap: 0; padding: 15px max(5vw,24px) 22px; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: 0 18px 28px rgba(20,42,58,.12); font-size: 15px; }
  .contact-page .site-header > nav { gap: 0; font-size: 15px; }
  .site-header > nav.is-open, .contact-page .site-header > nav.is-open { display: grid; }
  .site-header nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 780px) {
  .site-header { grid-template-columns: 1fr auto; }
  .service-page .site-header { grid-template-columns: 1fr auto; }
  .service-page .site-footer, .related-links, .service-locations ul { grid-template-columns: 1fr; }
  .site-footer > a:last-child { justify-self: start; }
  .site-header .header-cta { display: none; }
  .site-header nav .nav-whatsapp { display: block; color: var(--blue); font-weight: 600; }
}
@media print { .menu-toggle { display: none; } }

/* Hero: nombre centrado y retrato encuadrado por encima de las manos. */
.hero-revised .hero-title-block { position: absolute; z-index: 4; top: 58px; left: 50%; width: min(90vw,980px); text-align: center; transform: translateX(-50%); }
.hero-revised .hero-title-block .eyebrow { margin-bottom: 16px; }
.hero-revised .hero-title-block h1 { margin: 0; font: 500 clamp(56px,6.5vw,94px)/.92 var(--serif); letter-spacing: -.065em; }
.hero-revised .portrait-frame { right: 22%; height: 65%; }
.hero-revised .portrait-placeholder img { object-position: 50% 0; transform: scale(1.35); transform-origin: 50% 0; }
.contact-form[data-enabled="false"] .form-row, .contact-form[data-enabled="false"] > label:not(.form-honeypot), .contact-form[data-enabled="false"] .form-submit, .contact-form[data-enabled="false"] .form-note { display: none; }
.contact-form[data-enabled="false"] .form-status { margin: 0; padding: 28px; border: 1px solid rgba(185,217,217,.45); font-size: 15px; }
@media (max-width: 780px) {
  .hero-revised .hero-title-block { top: 46px; width: 94vw; }
  .hero-revised .hero-title-block .eyebrow { margin-bottom: 14px; }
  .hero-revised .hero-title-block h1 { font-size: clamp(43px,11.5vw,59px); }
  .hero-revised .hero-copy { top: 255px; }
  .hero-revised .portrait-frame { left: 50%; right: auto; width: min(76vw,330px); height: 34%; transform: translateX(-50%); }
  .hero-revised .portrait-placeholder img { transform: translateX(15%) scale(1.6); transform-origin: 35% 0; }
  /* Marco compacto: la altura HTML de la imagen no debe extenderlo a 1000px. */
  .care-photo { width: min(100%,300px); margin: 30px auto 0; }
  .care-photo img { height: auto; aspect-ratio: 1; object-position: 50% 25%; border-radius: 150px 150px 0 0; }
}
