/* Aldo David López Hernández | Rehabilitación Física */
:root {
  --ink: #153443;
  --ink-deep: #0d2835;
  --ink-soft: #35515c;
  --accent: #f4d442;
  --accent-light: #fff4b6;
  --sea: #e0edf0;
  --cream: #f8f8f4;
  --white: #fff;
  --line: #dce2df;
  --text: #24404d;
  --muted: #657780;
  --radius: 23px;
  --shadow: 0 22px 65px rgba(20, 49, 59, .07);
  --font: "Aptos", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --display: Georgia, "Times New Roman", serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--text); background: var(--cream); font-family: var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.menu-is-open { overflow: hidden; }
::selection { background: #f4d442; color: #122b37; }
a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #f6cf32; outline-offset: 4px; }
img, svg { display: block; }
img { max-width: 100%; }
.icon-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.container { width: min(1180px, calc(100% - 92px)); margin-inline: auto; }
.section-pad { padding-block: 124px; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 2000; background: var(--accent); color: var(--ink); padding: 12px 20px; border-radius: 12px; }
.skip-link:focus { top: 14px; }

/* Navegación */
.site-header { height: 86px; background: #fbfbf8; position: sticky; top: 0; z-index: 100; transition: box-shadow .25s ease, height .25s ease, background .25s ease; }
.site-header.has-scrolled { box-shadow: 0 6px 26px rgba(18,47,58,.09); background: rgba(251,251,248,.96); backdrop-filter: blur(18px); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 236px; }
.brand-symbol { position: relative; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--accent); background: var(--ink); flex-shrink: 0; overflow: hidden; }
.brand-initials { font-size: 20px; font-weight: 850; letter-spacing: -3px; padding-right: 3px; }
.brand-symbol-dot { position: absolute; width: 8px; height: 8px; right: 6px; bottom: 6px; border-radius: 50%; background: var(--accent); opacity: .75; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.22; }
.brand-copy strong { font-size: 15px; font-weight: 800; letter-spacing: -.25px; color: var(--ink); }
.brand-copy small { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .015em; padding-top: 2px; }
.desktop-nav { display: flex; align-items: center; gap: 23px; }
.nav-link { position: relative; font-size: 12.5px; font-weight: 650; color: #49606a; transition: color .2s ease; padding-block: 34px; white-space: nowrap; }
.nav-link::after { content: ""; position: absolute; bottom: 24px; left: 0; width: 0; height: 2px; background: #dab630; transition: width .25s ease; }
.nav-link:hover, .nav-link.is-current { color: var(--ink); }
.nav-link:hover::after, .nav-link.is-current::after { width: 100%; }
.header-contact { background: var(--ink); color: white; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 100px; padding: 13px 17px; font-size: 12px; font-weight: 750; transition: background .2s, transform .2s; white-space: nowrap; }
.header-contact .icon { width: 15px; height: 15px; color: var(--accent); }
.header-contact:hover { background: #275567; transform: translateY(-2px); }
.menu-toggle { display: none; width: 45px; height: 45px; border-radius: 12px; border: 1px solid #d5dfde; background: white; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; }
.mobile-nav { display: none; }

/* Portada */
.hero { background: var(--ink); position: relative; isolation: isolate; min-height: 682px; color: #fff; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .2; background-image: radial-gradient(#89b4be .65px, transparent .65px); background-size: 21px 21px; mask-image: linear-gradient(to right, transparent 40%, #000 100%); }
.hero-ambient { pointer-events: none; position: absolute; border-radius: 50%; filter: blur(2px); }
.hero-ambient-one { width: 550px; height: 550px; right: -230px; top: -330px; border: 1px solid rgba(255,255,255,.12); }
.hero-ambient-two { width: 380px; height: 380px; left: -220px; bottom: -270px; border: 70px solid rgba(124,166,183,.06); }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.09fr) minmax(0,.91fr); align-items: center; gap: 42px; min-height: 682px; padding-block: 55px 60px; }
.hero-copy { position: relative; z-index: 2; padding-bottom: 20px; }
.eyebrow { font-size: 10px; font-weight: 800; letter-spacing: .23em; }
.hero-eyebrow { display: flex; align-items: center; gap: 13px; color: #cfdee1; margin-bottom: 27px; }
.eyebrow-rule { display: block; width: 28px; height: 2px; background: var(--accent); }
.hero h1 { margin: 0; font-size: clamp(53px, 6.2vw, 91px); letter-spacing: -.068em; line-height: 1.03; font-weight: 810; max-width: 790px; }
.hero h1 > span { display: block; color: #faf9ec; font-family: var(--display); font-style: italic; font-weight: 400; letter-spacing: -.065em; font-size: 1.04em; }
.period { color: var(--accent); }
.hero-name-block { display: flex; gap: 17px; align-items: center; margin-top: 34px; }
.hero-name-rule { width: 3px; height: 43px; background: var(--accent); flex-shrink: 0; border-radius: 2px; }
.hero-name-block p { margin: 0; line-height: 1.55; }
.hero-name-block strong { font-size: 17px; font-weight: 750; letter-spacing: -.25px; }
.hero-name-block p span { font-size: 13px; color: #c8d6d9; }
.hero-description { color: #c8d7db; font-size: 15px; line-height: 1.85; margin: 28px 0 29px; max-width: 445px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.btn { min-height: 53px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 14px 21px; border-radius: 10px; font-size: 13px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn .icon { height: 18px; width: 18px; }
.btn:hover { transform: translateY(-3px); }
.btn-yellow { background: var(--accent); color: #173443; box-shadow: 0 10px 22px rgba(244,212,66,.12); }
.btn-yellow:hover { background: #ffe365; box-shadow: 0 16px 32px rgba(244,212,66,.21); }
.btn-outline-light { border: 1px solid rgba(228,241,243,.33); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.085); }
.hero-footnote { display: flex; gap: 11px; align-items: center; color: #b4cad0; margin-top: 50px; font-size: 11px; font-weight: 650; letter-spacing: .055em; }
.footnote-shape { border: 1px solid #9db5bc; width: 12px; height: 12px; border-radius: 50%; position: relative; }
.footnote-shape::after { content: ""; position: absolute; inset: 3px; background: var(--accent); border-radius: 50%; }
.hero-visual { height: 548px; display: flex; align-items: center; justify-content: center; position: relative; min-width: 0; }
.hero-photo-frame { width: min(87%, 427px); height: 505px; margin: 0; position: relative; z-index: 1; border: 1px solid rgba(246,247,244,.48); border-radius: 180px 180px 30px 30px; padding: 8px; background: rgba(255,255,255,.07); box-shadow: 0 22px 80px rgba(0,0,0,.25); transform: rotate(2deg); }
.hero-photo-frame::after { content: ""; position: absolute; inset: 8px; z-index: 2; pointer-events: none; border-radius: 175px 175px 23px 23px; box-shadow: inset 0 0 30px 11px rgba(21,52,67,.16); }
.hero-photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; border-radius: 175px 175px 23px 23px; filter: saturate(.92) contrast(1.02); }
.hero-circle { position: absolute; width: 510px; height: 510px; border-radius: 50%; border: 1px solid rgba(181,217,220,.2); z-index: 0; }
.hero-circle-a { transform: translate(-3%, 4%); }
.hero-circle-b { width: 570px; height: 570px; transform: translate(-3%, 4%); border-color: rgba(181,217,220,.1); }
.hero-stamp { position: absolute; left: -5px; bottom: 48px; z-index: 3; background: var(--accent); color: var(--ink); width: 126px; height: 126px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 12px 35px rgba(0,0,0,.17); transform: rotate(-10deg); }
.hero-stamp span { font-size: 45px; font-weight: 850; line-height: 1; letter-spacing: -.09em; }
.hero-stamp small { font-size: 9px; font-weight: 850; text-align: center; letter-spacing: .075em; line-height: 1.3; margin-top: 3px; }
.hero-vertical { position: absolute; right: -32px; bottom: 67px; transform: rotate(-90deg) translateX(100%); transform-origin: right bottom; font-size: 9px; letter-spacing: .24em; color: #acc4c9; font-weight: 700; }
.hero-bottom-line { position: absolute; inset: auto 0 0; height: 5px; background: linear-gradient(90deg,var(--accent) 0 29%,#73a6b5 29% 57%,#173443 57%); }
.specialties-band { background: #e8efed; border-bottom: 1px solid var(--line); }
.specialties-list { min-height: 79px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.specialties-list span { font-size: 11px; font-weight: 800; letter-spacing: .05em; color: #35545c; white-space: nowrap; }
.specialties-list i { background: #d5bd46; width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }

/* Secciones / servicios */
.section-header { display: flex; align-items: end; justify-content: space-between; gap: 38px; margin-bottom: 46px; }
.section-label { display: flex; gap: 11px; align-items: center; margin: 0 0 22px; font-size: 11px; font-weight: 850; letter-spacing: .19em; color: #63818b; }
.label-dash { background: #d6b127; width: 21px; height: 2px; display: inline-block; }
h2 { font-size: clamp(39px,5vw,67px); letter-spacing: -.066em; line-height: 1.1; font-weight: 780; color: var(--ink); margin: 0; }
h2 em { font-family: var(--display); font-weight: 400; letter-spacing: -.055em; }
.section-sidecopy { max-width: 300px; font-size: 14px; line-height: 1.8; color: var(--muted); margin: 0 0 8px; }
.services { background: var(--cream); }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 19px; }
.service-card { position: relative; min-height: 365px; padding: 32px 35px 27px; display: flex; flex-direction: column; border: 1px solid #dfe6e3; border-radius: 20px; background: #fff; box-shadow: 0 7px 25px rgba(25,53,66,.025); overflow: hidden; isolation: isolate; transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.service-card:not(.service-card-featured)::before { content: ""; background: #d3e4e9; opacity: .17; position: absolute; width: 190px; height: 190px; right: -95px; top: -94px; border-radius: 50%; pointer-events: none; z-index: -1; }
.service-card:not(.service-card-featured):hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #a6bfc7; }
.service-card-top, .info-top { display: flex; align-items: center; justify-content: space-between; }
.service-index { font-size: 11px; letter-spacing: .11em; color: #72919a; font-weight: 850; }
.service-icon { background: #e8f1f2; color: var(--ink); width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; }
.service-icon .icon { width: 30px; height: 30px; stroke-width: 1.45; }
.service-card h3 { font-size: clamp(24px,2.5vw,33px); letter-spacing: -.048em; line-height: 1.2; margin: 26px 0 9px; color: var(--ink); font-weight: 790; overflow-wrap: anywhere; }
.service-intro { font-size: 12.5px; margin: 0 0 19px; color: #70858b; font-weight: 550; }
.service-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 9px; align-items: flex-start; }
.service-list li { font-size: 12px; font-weight: 650; line-height: 1.4; color: #395561; padding: 9px 12px; border: 1px solid #e1e8e9; border-radius: 8px; background: #f7faf9; }
.service-list-compact { gap: 7px; }
.service-list-compact li { padding: 7px 10px; }
.service-card-bottom { margin-top: auto; padding-top: 32px; display: flex; align-items: center; gap: 14px; }
.service-card-bottom .line { width: 34px; height: 1px; background: #b9c8cc; }
.service-ornament { font-weight: 700; letter-spacing: .12em; font-size: 10px; color: #b7c5c9; }
.service-card-02 { background: #f3f7f7; }
.service-card-03 .service-icon { background: #fff1ca; }
.service-card-04 .service-icon { background: #e7ebf3; }
.service-card-featured { grid-column: 1/-1; background: var(--ink); border: 1px solid var(--ink); display: grid; grid-template-columns: 240px 1fr auto; align-items: center; min-height: 293px; gap: 24px; padding: 0 51px 0 26px; color: #fff; }
.service-card-featured:hover { box-shadow: 0 20px 46px rgba(20,46,59,.18); }
.feature-visual { position: relative; height: 250px; width: 230px; display: grid; place-items: center; }
.feature-visual::after { content: ""; position: absolute; height: 166px; width: 166px; border-radius: 50%; background: #f4d442; opacity: .96; }
.feature-ring { width: 217px; height: 217px; border-radius: 50%; border: 1px solid rgba(194,223,225,.4); position: absolute; }
.ring-two { width: 183px; height: 183px; }
.ring-three { width: 265px; height: 265px; border-color: rgba(194,223,225,.13); }
.feature-icon { z-index: 2; color: #153443; width: 94px; height: 94px; stroke-width: 1.1; }
.feature-content { min-width: 0; position: relative; z-index: 2; }
.feature-content .service-index { color: #c3d3d6; }
.feature-content h3 { color: white; font-size: clamp(30px,4vw,49px); margin: 14px 0 9px; }
.feature-content h3 em { font-family: var(--display); font-weight: 400; }
.feature-content p { color: #c1d3d8; font-size: 15px; margin: 0; }
.feature-link { display: inline-flex; gap: 12px; align-items: center; font-size: 12px; font-weight: 760; color: var(--accent); border-bottom: 1px solid rgba(244,212,66,.6); padding-bottom: 8px; margin-top: 27px; transition: gap .2s; }
.feature-link:hover { gap: 20px; }
.feature-link .icon { width: 16px; height: 16px; }
.feature-age { display: flex; flex-direction: column; align-items: center; min-width: 102px; padding-left: 16px; border-left: 1px solid rgba(255,255,255,.2); }
.feature-age strong { font-size: 37px; line-height: 1.15; font-weight: 800; letter-spacing: -.06em; color: var(--accent); }
.feature-age strong span { font-size: 12px; font-weight: 700; letter-spacing: 0; }
.age-divider { height: 1px; width: 75px; margin: 14px 0; background: rgba(255,255,255,.22); }

/* Galería */
.gallery { background: #ebf0ee; overflow: hidden; }
.gallery-grid { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); gap: clamp(40px,9vw,145px); align-items: center; }
.gallery-text h2 { max-width: 470px; font-size: clamp(45px,5vw,69px); }
.gallery-line { margin: 34px 0; width: 73px; height: 3px; border-radius: 3px; background: var(--accent); }
.gallery-professional { display: flex; align-items: center; gap: 16px; }
.gallery-monogram { width: 59px; height: 59px; border-radius: 15px; border: 1px solid #b5c9c8; display: grid; place-items: center; color: #547986; font-size: 22px; font-weight: 820; letter-spacing: -.09em; flex-shrink: 0; }
.gallery-professional p { display: flex; flex-direction: column; gap: 5px; margin: 0; line-height: 1.4; }
.gallery-professional strong { color: var(--ink); font-size: 16px; font-weight: 820; }
.gallery-professional span:not(.gallery-monogram) { color: #617780; font-size: 13px; }
.text-link { display: inline-flex; gap: 18px; align-items: center; padding-bottom: 9px; margin-top: 53px; font-size: 13px; font-weight: 800; color: var(--ink); border-bottom: 1px solid #79949b; transition: gap .2s ease; }
.text-link:hover { gap: 27px; }
.text-link .icon { width: 17px; height: 17px; }
.gallery-photo { margin: 0; position: relative; }
.gallery-photo::before { position: absolute; content: ""; width: 110%; height: 90%; top: 4%; left: -8%; border: 1px solid #c7d3d1; transform: rotate(-5deg); border-radius: 29px; pointer-events: none; }
.gallery-image-wrap { border: 1px solid #d9e6e4; background: #f6f7f2; padding: 9px; border-radius: 24px; box-shadow: 0 30px 85px rgba(22,53,65,.15); position: relative; max-width: 480px; margin: 0 auto; }
.gallery-image-wrap::after { content: ""; position: absolute; inset: 9px; pointer-events: none; border-radius: 15px; box-shadow: inset 0 0 26px 7px rgba(247,248,243,.35); }
.gallery-image-wrap img { width: 100%; height: auto; display: block; aspect-ratio: 1122 / 1262; object-fit: contain; border-radius: 15px; mask-image: radial-gradient(ellipse 95% 95% at 50% 50%, #000 75%, rgba(0,0,0,.9) 94%, rgba(0,0,0,.82) 100%); }
.gallery-photo figcaption { color: #637b83; padding-top: 22px; display: flex; align-items: center; gap: 13px; font-size: 10px; font-weight: 720; letter-spacing: .07em; text-transform: uppercase; justify-content: center; flex-wrap: wrap; }
.caption-line { display: inline-block; width: 25px; height: 1px; background: #a0b5b9; }

/* Dirección y horarios */
.information { background: #fcfcf9; }
.info-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; }
.info-address, .info-hours { border: 1px solid #d9e2e0; padding: 35px 37px 32px; min-height: 410px; border-radius: 20px; position: relative; display: flex; flex-direction: column; overflow: hidden; }
.info-address { background: #dcebed; }
.info-address::before { content: ""; position: absolute; right: -95px; bottom: -155px; width: 365px; height: 365px; border: 1px solid rgba(67,112,125,.25); border-radius: 50%; box-shadow: 0 0 0 53px rgba(255,255,255,.09), 0 0 0 106px rgba(255,255,255,.055); pointer-events: none; }
.info-hours { background: #f7f7f2; }
.info-top { color: #496773; font-size: 11px; letter-spacing: .12em; font-weight: 800; position: relative; z-index: 1; }
.info-top .icon { width: 24px; height: 24px; stroke-width: 1.6; }
.address-content, .hours-content { margin-top: 43px; z-index: 1; position: relative; }
.address-overline { color: #5e828d; font-size: 10px; letter-spacing: .17em; font-weight: 850; }
.info-grid h3 { font-size: clamp(28px,3.5vw,42px); line-height: 1.12; letter-spacing: -.055em; margin: 12px 0 19px; color: var(--ink); }
.info-grid address { font-style: normal; font-size: 16px; font-weight: 600; line-height: 1.75; color: #355560; }
.address-actions { margin-top: auto; padding-top: 31px; display: flex; align-items: center; gap: 19px; flex-wrap: wrap; position: relative; z-index: 1; }
.info-address .btn { min-height: 49px; }
.copy-address { border: 0; background: transparent; display: inline-flex; gap: 8px; color: #436571; font-size: 12px; font-weight: 750; align-items: center; cursor: pointer; padding: 8px 0; transition: color .2s; }
.copy-address .icon { width: 17px; height: 17px; }
.copy-address:hover { color: #0f2c39; }
.hours-content { margin-top: 43px; }
.info-hours h3 { margin-bottom: 17px; }
.hours-entry { border-top: 1px solid #dce5e2; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 18px 0; }
.hours-entry:last-child { border-bottom: 1px solid #dce5e2; }
.hours-entry div { display: flex; flex-direction: column; gap: 5px; }
.hours-entry strong { font-size: 13.5px; color: #274451; }
.hours-entry div span { font-size: 11px; color: #8a9ba0; }
.hours-entry time { font-size: 12px; font-weight: 760; color: #335562; text-align: right; white-space: nowrap; }
.hours-contact { display: inline-flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 23px; color: var(--ink); font-size: 13px; font-weight: 790; transition: gap .2s; }
.hours-contact:hover { gap: 19px; }
.hours-contact .icon { width: 17px; height: 17px; }

/* Contacto */
.contact { background: var(--ink-deep); color: white; position: relative; overflow: hidden; isolation: isolate; padding-block: 102px; }
.contact-pattern { position: absolute; pointer-events: none; z-index: -1; right: -270px; top: -245px; width: 770px; height: 770px; border-radius: 50%; border: 1px solid rgba(181,213,217,.13); box-shadow: 0 0 0 82px rgba(180,213,217,.025), 0 0 0 165px rgba(180,213,217,.023); }
.contact-inner { display: grid; grid-template-columns: minmax(0,.97fr) minmax(0,1.03fr); gap: 86px; align-items: center; }
.contact-label { color: #a0bac1; }
.contact-lead h2 { color: white; font-size: clamp(42px,4.6vw,64px); }
.contact-lead h2 em { color: var(--accent); }
.contact-lead > p:last-child { font-size: 14px; line-height: 1.8; color: #bed0d4; max-width: 340px; margin-top: 25px; }
.contact-actions { display: flex; flex-direction: column; gap: 13px; }
.contact-action { display: flex; gap: 17px; align-items: center; background: rgba(255,255,255,.07); border: 1px solid rgba(205,229,231,.17); border-radius: 15px; padding: 19px 19px; transition: background .23s, transform .23s, border-color .23s; }
.contact-action:hover { background: rgba(255,255,255,.11); border-color: rgba(244,212,66,.5); transform: translateX(5px); }
.contact-action-icon { display: grid; place-items: center; width: 49px; height: 49px; background: var(--accent); border-radius: 12px; color: var(--ink); flex-shrink: 0; }
.contact-action-icon .icon { width: 22px; height: 22px; }
.contact-action-text { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.contact-action-text small { color: #b7cbd0; font-weight: 770; font-size: 10px; letter-spacing: .14em; }
.contact-action-text strong { color: white; font-size: 18px; font-weight: 750; overflow-wrap: anywhere; line-height: 1.3; }
.contact-action-text strong.email-text { font-size: 14px; }
.action-arrow { color: var(--accent); width: 17px; height: 17px; margin-left: auto; }

/* Pie */
.site-footer { background: #0b222d; color: #dce5e6; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 38px 30px; border-bottom: 1px solid rgba(230,244,244,.14); }
.footer-brand { display: flex; gap: 16px; align-items: center; }
.footer-monogram { color: var(--accent); font-size: 39px; line-height: 1; font-weight: 830; letter-spacing: -.1em; }
.footer-monogram span { color: #fff; }
.footer-brand div { display: flex; flex-direction: column; gap: 5px; }
.footer-brand strong { font-size: 13px; font-weight: 800; }
.footer-brand div > span { color: #a7bdc1; font-size: 12px; }
.back-top-footer { display: inline-flex; gap: 10px; align-items: center; font-size: 12px; font-weight: 770; }
.back-top-footer .icon { color: var(--accent); height: 16px; width: 16px; transform: rotate(-45deg); }
.back-top-footer:hover { color: var(--accent); }
.footer-bottom { padding-block: 22px 28px; display: flex; justify-content: space-between; gap: 20px; color: #95acb1; font-size: 11px; font-weight: 570; }
.footer-bottom a:hover { color: var(--accent); }
.scroll-to-top { position: fixed; bottom: 25px; right: 25px; z-index: 90; width: 45px; height: 45px; display: grid; place-items: center; color: var(--ink); background: var(--accent); border: none; border-radius: 13px; box-shadow: 0 12px 28px rgba(0,0,0,.22); opacity: 0; pointer-events: none; transform: translateY(15px); transition: opacity .25s, transform .25s; cursor: pointer; }
.scroll-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.scroll-to-top .icon { transform: rotate(-90deg); }
.toast { position: fixed; z-index: 120; bottom: 30px; left: 50%; background: #163b49; color: white; box-shadow: 0 12px 38px rgba(0,0,0,.22); border-radius: 10px; padding: 14px 24px; font-size: 13px; font-weight: 650; text-align: center; opacity: 0; transform: translate(-50%, 14px); pointer-events: none; transition: opacity .25s, transform .25s; max-width: calc(100% - 32px); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Aparición discreta de secciones */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .64s ease, transform .64s cubic-bezier(.2,.72,.3,1); }
.js [data-reveal].is-revealed { opacity: 1; transform: translateY(0); }
.js .service-card:nth-child(2), .js .service-card:nth-child(4) { transition-delay: .06s; }

@media (max-width: 1180px) {
  .container { width: min(1100px, calc(100% - 68px)); }
  .brand { min-width: 190px; }
  .desktop-nav { gap: 14px; }
  .nav-link { font-size: 11.5px; }
  .header-contact { padding-inline: 14px; }
  .hero-grid { gap: 22px; }
  .hero-visual { height: 500px; }
  .hero-photo-frame { height: 465px; }
  .hero-stamp { left: -6px; }
  .specialties-list span { font-size: 10px; }
}
@media (max-width: 940px) {
  .site-header { height: 74px; }
  .desktop-nav { display: none; }
  .header-contact { margin-left: auto; }
  .menu-toggle { display: flex; }
  .mobile-nav { display: flex; flex-direction: column; gap: 2px; background: #fbfbf8; position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100dvh - 74px); overflow-y: auto; padding: 6px max(24px, calc((100vw - 740px)/2)) 23px; border-top: 1px solid #e6eae6; box-shadow: 0 23px 32px rgba(11,42,53,.12); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: transform .2s, opacity .2s, visibility .2s; }
  .mobile-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .mobile-nav a { padding: 15px 5px; border-bottom: 1px solid #e7eeeb; font-size: 15px; font-weight: 720; color: var(--ink); }
  .mobile-nav a.mobile-call { display: inline-flex; align-items: center; align-self: start; gap: 10px; padding: 14px 22px; background: var(--ink); color: white; border-radius: 9px; margin-top: 12px; }
  .mobile-nav a.mobile-call .icon { width: 17px; height: 17px; color: var(--accent); }
  .hero { min-height: 590px; }
  .hero-grid { min-height: 590px; }
  .hero h1 { font-size: clamp(50px,7vw,73px); }
  .hero-visual { height: 465px; }
  .hero-photo-frame { height: 435px; width: 90%; }
  .hero-stamp { width: 101px; height: 101px; left: -18px; bottom: 31px; }
  .hero-stamp span { font-size: 36px; }
  .hero-stamp small { font-size: 7.5px; }
  .hero-vertical { display: none; }
  .specialties-list { justify-content: start; overflow-x: auto; scrollbar-width: none; gap: 18px; }
  .specialties-list::-webkit-scrollbar { display: none; }
  .gallery-grid { gap: 35px; }
  .service-card-featured { grid-template-columns: 170px 1fr auto; padding: 0 28px 0 15px; }
  .feature-visual { width: 165px; }
  .feature-ring { width: 145px; height: 145px; }
  .feature-visual::after { width: 120px; height: 120px; }
  .ring-two { width: 125px; height: 125px; }
  .ring-three { width: 180px; height: 180px; }
  .feature-icon { width: 68px; height: 68px; }
  .contact-inner { gap: 35px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 74px; }
  .container { width: calc(100% - 40px); }
  .section-pad { padding-block: 84px; }
  .header-contact { display: none; }
  .brand { min-width: 0; }
  .brand-copy strong { font-size: 14px; }
  .brand-copy small { font-size: 11px; }
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; min-height: 0; padding-block: 63px 63px; }
  .hero-copy { padding-bottom: 0; }
  .hero-eyebrow { font-size: 9px; letter-spacing: .14em; margin-bottom: 22px; }
  .hero h1 { max-width: 600px; font-size: clamp(51px, 10.9vw, 77px); line-height: 1.04; }
  .hero-name-block { margin-top: 30px; }
  .hero-description { margin: 23px 0 24px; max-width: 460px; font-size: 14px; }
  .hero-actions { gap: 10px; }
  .btn { padding: 13px 16px; gap: 13px; font-size: 12px; min-height: 51px; }
  .hero-footnote { margin-top: 30px; }
  .hero-visual { width: min(90%, 440px); height: 400px; margin-inline: auto; }
  .hero-photo-frame { height: 380px; width: 82%; border-radius: 160px 160px 25px 25px; }
  .hero-photo-frame img, .hero-photo-frame::after { border-radius: 153px 153px 18px 18px; }
  .hero-stamp { left: -8px; bottom: 12px; }
  .hero-circle-a { width: 395px; height: 395px; }
  .hero-circle-b { width: 445px; height: 445px; }
  .specialties-list { min-height: 65px; }
  .section-header { display: block; margin-bottom: 35px; }
  .section-sidecopy { margin: 18px 0 0; max-width: 410px; }
  .section-label { margin-bottom: 16px; }
  .service-grid { grid-template-columns: 1fr; gap: 14px; }
  .service-card { min-height: 305px; padding: 25px 25px 22px; }
  .service-card h3 { font-size: 29px; margin-top: 19px; }
  .service-card-bottom { padding-top: 28px; }
  .service-card-featured { grid-column: auto; min-height: 0; grid-template-columns: 1fr auto; gap: 8px; padding: 31px 25px; }
  .feature-visual { display: none; }
  .feature-content { min-width: 0; }
  .feature-content h3 { font-size: clamp(31px,6vw,44px); }
  .feature-content p { font-size: 13px; }
  .feature-age { padding-left: 12px; min-width: 70px; }
  .feature-age strong { font-size: 29px; }
  .feature-age strong span { display: block; font-size: 10px; }
  .age-divider { width: 40px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 45px; }
  .gallery-text h2 { max-width: 430px; }
  .gallery-line { margin: 25px 0; }
  .text-link { margin-top: 30px; }
  .gallery-image-wrap { max-width: 480px; }
  .info-grid { grid-template-columns: 1fr; gap: 14px; }
  .info-address, .info-hours { min-height: 385px; padding: 29px; }
  .contact { padding-block: 83px; }
  .contact-inner { grid-template-columns: 1fr; gap: 35px; }
  .contact-lead > p:last-child { margin-top: 17px; }
  .contact-actions { gap: 11px; }
  .contact-action-text strong.email-text { font-size: 13px; }
  .footer-top { align-items: start; }
}
@media (max-width: 410px) {
  .container { width: calc(100% - 32px); }
  .hero-grid { padding-top: 49px; }
  .hero h1 { font-size: clamp(42px,10.7vw,55px); }
  .hero-eyebrow { font-size: 8px; }
  .hero-name-block strong { font-size: 15px; }
  .hero-name-block p span { font-size: 12px; }
  .hero-actions .btn { width: 100%; justify-content: space-between; }
  .hero-visual { height: 340px; }
  .hero-photo-frame { height: 320px; }
  .hero-stamp { width: 87px; height: 87px; left: -6px; bottom: 5px; }
  .hero-stamp span { font-size: 31px; }
  .hero-stamp small { font-size: 7px; }
  .service-card h3 { font-size: 27px; }
  .service-list li { font-size: 11px; }
  .info-address, .info-hours { padding: 25px 21px; }
  .address-actions { gap: 14px; }
  .hours-entry time { white-space: normal; }
  .contact-action { padding: 16px 12px; gap: 10px; }
  .contact-action-icon { width: 41px; height: 41px; }
  .contact-action-text strong { font-size: 16px; }
  .contact-action-text strong.email-text { font-size: 11px; }
  .footer-top { flex-direction: column; gap: 22px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}
