:root {
  color-scheme: light;
  --navy: #071e37;
  --navy-deep: #061629;
  --navy-mid: #0b3057;
  --cobalt: #215ba4;
  --blue: #1c62ad;
  --blue-dark: #134f96;
  --sky: #8dd4ff;
  --text: #132942;
  --muted: #5f7288;
  --pale: #f2f7fb;
  --line: #dfeaf2;
  --white: #ffffff;
  --radius: 22px;
  --shadow: 0 18px 55px rgba(17, 58, 104, .08);
  --font-heading: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; min-width: 320px; font-family: var(--font-body); color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
img, svg { max-width: 100%; }
img { display: block; }
::selection { background: #a6daf6; color: #082f55; }
:focus-visible { outline: 3px solid #50bbff; outline-offset: 4px; }
.container { width: min(1172px, calc(100% - 76px)); margin-inline: auto; }
.icon { width: 21px; height: 21px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.svg-sprite { width: 0; height: 0; position: absolute; overflow: hidden; pointer-events: none; }
.skip-link { position: fixed; z-index: 999; top: -100px; left: 20px; background: #fff; padding: 12px 16px; border-radius: 8px; color: var(--navy); }
.skip-link:focus { top: 15px; }

/* Encabezado */
.topbar { background: #061629; color: #adc6dc; border-bottom: 1px solid rgba(255,255,255,.085); font-size: 12px; font-weight: 600; letter-spacing: .03em; }
.topbar__inner { min-height: 34px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.topbar__location, .topbar__contact { display: inline-flex; align-items: center; gap: 9px; }
.topbar__location .icon { width: 13px; height: 13px; color: #8fd6fc; }
.topbar__contact { transition: color .2s; }
.topbar__contact:hover { color: white; }
.topbar__contact .icon { height: 13px; width: 13px; }
.topbar__dot { height: 6px; width: 6px; border-radius: 50%; background: #89d5ff; box-shadow: 0 0 0 4px rgba(136,215,255,.12); }
.header { position: sticky; z-index: 30; top: 0; color: #fff; background: #0b2d55; border-bottom: 1px solid rgba(255,255,255,.1); transition: box-shadow .3s ease, background .3s ease; }
.header.is-scrolled { background: rgba(7, 29, 53, .97); box-shadow: 0 10px 30px rgba(6, 22, 41, .18); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.header__inner { min-height: 92px; display: flex; justify-content: space-between; align-items: center; gap: 36px; }
.brand { display: block; flex: 0 0 auto; width: 255px; border-radius: 4px; }
.brand img { width: 100%; height: auto; object-fit: contain; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.1vw, 30px); }
.nav__link { white-space: nowrap; font-size: 13px; color: #c6d8e9; font-weight: 700; transition: color .2s ease; position: relative; padding: 13px 0; }
.nav__link::after { content: ''; position: absolute; bottom: 4px; left: 0; width: 0; height: 2px; background: #91d6ff; transition: width .25s; }
.nav__link:hover, .nav__link.is-active { color: #fff; }
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }
.nav__cta { display: inline-flex; align-items: center; justify-content: center; gap: 13px; padding: 13px 18px; background: #fff; color: #123c6b; border-radius: 8px; font-weight: 800; font-size: 13px; transition: transform .2s, background .2s; white-space: nowrap; }
.nav__cta .icon { width: 15px; height: 15px; }
.nav__cta:hover { transform: translateY(-2px); background: #d7f0ff; }
.menu-toggle { display: none; width: 43px; height: 43px; border-radius: 10px; align-items: center; justify-content: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: white; }
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: block; }

/* Portada */
.hero { position: relative; isolation: isolate; min-height: 650px; overflow: hidden; background: radial-gradient(ellipse at 75% 35%, #1b5a94 0%, #0d3a69 24%, #092b50 48%, #071e37 80%); color: #fff; }
.hero__grid-overlay { position: absolute; inset: 0; background-image: linear-gradient(rgba(205,235,255,.035) 1px,transparent 1px),linear-gradient(90deg, rgba(205,235,255,.035) 1px,transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(90deg,transparent,black 30%,black 80%,transparent); pointer-events: none; z-index: -1; }
.hero__blur { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; z-index: -1; }
.hero__blur--one { width: 600px; height: 600px; right: -140px; top: -150px; background: rgba(40, 126, 215, .25); }
.hero__blur--two { width: 300px; height: 300px; bottom: -160px; left: 20%; background: rgba(37, 91, 173, .21); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); align-items: center; position: relative; min-height: 650px; gap: 20px; padding-block: 60px 86px; }
.hero__content { position: relative; z-index: 2; padding-block: 20px; }
.eyebrow { display: flex; align-items: center; gap: 13px; color: #1a659e; font-size: 11px; font-weight: 800; letter-spacing: .19em; font-family: var(--font-heading); text-transform: uppercase; }
.eyebrow--light { color: #a6d9fa; }
.eyebrow__line { width: 29px; height: 1.5px; background: currentColor; flex: none; }
.hero h1 { font-family: var(--font-heading); font-size: clamp(43px, 5.05vw, 70px); letter-spacing: -.064em; line-height: 1.14; font-weight: 800; margin: 29px 0 20px; text-wrap: balance; }
.hero__heading-gradient { background: linear-gradient(98deg,#fff 0%,#b5dfff 40%,#64bdf4 85%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { max-width: 510px; font-size: 16px; line-height: 1.85; color: #c3d9ed; margin: 0; }
.hero__lead strong { color: #fff; font-weight: 700; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin-top: 32px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 19px; min-height: 52px; padding: 14px 22px; border-radius: 9px; font-size: 13px; font-weight: 800; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease; border: 1px solid transparent; text-align: center; }
.button .icon { height: 17px; width: 17px; }
.button:hover { transform: translateY(-3px); }
.button--white { background: #fff; color: #103e72; box-shadow: 0 10px 22px rgba(1,19,39,.12); }
.button--white:hover { background: #dff3ff; box-shadow: 0 13px 30px rgba(1,19,39,.19); }
.button--outline { border-color: rgba(219,242,255,.36); background: rgba(255,255,255,.035); color: #fff; }
.button--outline:hover { background: rgba(255,255,255,.12); }
.button--blue { color: #fff; background: var(--blue); box-shadow: 0 12px 20px rgba(16,87,154,.15); }
.button--blue:hover { background: #104a89; }
.hero__location { display: flex; align-items: center; gap: 13px; margin-top: 43px; color: #b5cade; font-size: 12px; line-height: 1.8; }
.hero__location strong { font-weight: 600; color: #e7f4ff; }
.hero__location-icon { width: 38px; height: 38px; flex: none; display: grid; place-items: center; background: rgba(150,205,250,.12); border: 1px solid rgba(190,229,255,.22); border-radius: 12px; color: #a5dcff; }
.hero__location-icon .icon { height: 18px; width: 18px; }
.hero__art { position: relative; height: 528px; max-width: 550px; width: 100%; margin-inline: auto; display: grid; place-items: center; }
.orbital { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); border: 1px solid rgba(167,213,255,.13); border-radius: 50%; aspect-ratio: 1; }
.orbital--outside { width: min(96%,520px); box-shadow: 0 0 0 24px rgba(255,255,255,.013),0 0 0 54px rgba(255,255,255,.014); }
.orbital--inside { width: 70%; border-style: dashed; border-color: rgba(207,233,255,.22); }
.orbital__dot { position: absolute; border-radius: 50%; box-shadow: 0 0 18px #a0dbff; background: #bfe9ff; z-index: 2; }
.orbital__dot--top { height: 7px; width: 7px; top: 36px; left: 59%; }
.orbital__dot--bottom { height: 5px; width: 5px; bottom: 36px; left: 31%; }
.hero__eye { width: 106%; height: 106%; max-width: none; filter: drop-shadow(0 20px 28px rgba(0,13,31,.12)); animation: eyeFloat 7s ease-in-out infinite; }
.hero__float { position: absolute; display: flex; align-items: center; gap: 11px; padding: 12px 17px 12px 12px; border-radius: 12px; background: rgba(12,48,81,.86); border: 1px solid rgba(188,227,255,.35); box-shadow: 0 14px 42px rgba(4,23,46,.32); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); z-index: 3; }
.hero__float--one { top: 65px; right: 4px; animation: cardFloat 6s ease-in-out infinite; }
.hero__float--two { left: 5px; bottom: 83px; animation: cardFloat 6s ease-in-out infinite -3s; }
.hero__float-icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 10px; background: rgba(135,197,246,.17); color: #a6ddff; }
.hero__float-icon .icon { height: 22px; width: 22px; }
.hero__float small, .hero__float strong { display: block; }
.hero__float small { font-size: 9px; letter-spacing: .19em; color: #93c0e6; font-weight: 700; }
.hero__float strong { font-size: 11px; letter-spacing: .075em; color: white; margin-top: 4px; font-family: var(--font-heading); }
.hero__art-caption { position: absolute; bottom: 9px; right: 45px; color: #a1c9eb; font-size: 9px; letter-spacing: .25em; font-weight: 800; }
.hero__art-caption span { margin: 0 7px; opacity: .45; }
.hero__bottom-gradient { position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background: linear-gradient(90deg,transparent,#64bbef,transparent); opacity: .4; }
@keyframes eyeFloat { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-8px) } }
@keyframes cardFloat { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-7px) } }

/* Accesos rápidos */
.service-nav { position: relative; background: #fff; box-shadow: 0 9px 28px rgba(6,45,80,.045); z-index: 2; }
.service-nav__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.service-nav__item { min-width: 0; display: flex; align-items: center; gap: 16px; min-height: 125px; padding: 22px 28px; transition: background .2s; }
.service-nav__item:not(:last-child) { border-right: 1px solid #e5edf4; }
.service-nav__item:hover { background: #f6faff; }
.service-nav__item:first-child { padding-left: 0; }
.service-nav__item:last-child { padding-right: 0; }
.service-nav__icon { width: 55px; height: 55px; flex: none; display: grid; place-items: center; color: #1765b3; background: #edf6ff; border: 1px solid #ddecfa; border-radius: 16px; }
.service-nav__icon .icon { width: 26px; height: 26px; }
.service-nav__words { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.service-nav__words strong { font-family: var(--font-heading); font-size: 13px; letter-spacing: -.015em; font-weight: 800; }
.service-nav__words small { color: var(--muted); font-size: 12px; }
.service-nav__arrow { margin-left: auto; width: 16px; height: 16px; color: #3c8bc6; transition: transform .2s; }
.service-nav__item:hover .service-nav__arrow { transform: translate(3px,-3px); }

/* Tipografía para secciones */
.section { padding-block: 116px; }
.section-heading { font: 800 clamp(34px,4vw,53px)/1.17 var(--font-heading); letter-spacing: -.053em; margin: 22px 0 24px; color: #102d4d; }
.section-heading span { color: #2067ae; }
.section-heading .heading-period { color: #55aef0; }
.section-copy { font-size: 15px; line-height: 1.95; color: var(--muted); max-width: 520px; margin: 0 0 16px; }
.section-copy strong { color: #184677; font-weight: 700; }
.text-link { display: inline-flex; align-items: center; gap: 17px; padding-block: 6px; color: #125b9e; font-size: 13px; font-weight: 800; border-bottom: 1.5px solid #1c6eac; transition: gap .2s; }
.text-link:hover { gap: 23px; }
.text-link .icon { width: 17px; height: 17px; }

/* Nosotros */
.about { background: #f5f9fd; overflow: hidden; }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(60px,8vw,122px); }
.about__illustration { position: relative; padding: 17px 24px 34px 8px; }
.about__poster { position: relative; min-height: 450px; background: linear-gradient(143deg,#0b3560 2%,#124e8b 56%,#2579b9 100%); box-shadow: 0 27px 60px rgba(14,65,111,.22); border: 1px solid rgba(255,255,255,.4); border-radius: 26px; overflow: hidden; isolation: isolate; }
.about__poster::before, .about__poster::after { content: ''; position: absolute; aspect-ratio: 1; border: 1px solid rgba(224,247,255,.16); border-radius: 50%; pointer-events: none; }
.about__poster::before { width: 430px; right: -170px; top: -150px; box-shadow: 0 0 0 40px rgba(255,255,255,.018),0 0 0 80px rgba(255,255,255,.018); }
.about__poster::after { width: 350px; left: -260px; bottom: -240px; box-shadow: 0 0 0 55px rgba(255,255,255,.018),0 0 0 110px rgba(255,255,255,.018); }
.about__poster-mark { font: 800 65px/1 var(--font-heading); position: absolute; top: 26px; left: 35px; letter-spacing: -.07em; color: rgba(220,245,255,.13); }
.about__poster-period { color: #9fdefe; }
.about__poster-top { position: absolute; top: 55px; right: 31px; color: #c9e8ff; letter-spacing: .17em; font-size: 10px; font-weight: 800; }
.about__poster-top span { color: #9edbfc; }
.about__glasses { position: absolute; width: 88%; max-width: 440px; left: 6%; top: 50%; transform: translateY(-43%) rotate(-8deg); filter: drop-shadow(0 22px 18px rgba(0,21,45,.25)); }
.about__poster-footer { position: absolute; display: flex; align-items: center; gap: 16px; bottom: 37px; left: 37px; color: #e3f5ff; font-weight: 800; font-size: 10px; letter-spacing: .16em; }
.about__poster-sep { width: 32px; height: 1px; background: #80c5ed; }
.about__mini-card { position: absolute; right: -16px; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 14px 19px; background: #fff; border: 1px solid #dceaf6; border-radius: 14px; box-shadow: 0 16px 38px rgba(22,70,111,.12); font-size: 12px; line-height: 1.5; color: #667a90; }
.about__mini-card strong { color: #173e67; font-size: 12px; }
.about__mini-card-icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: #e9f4ff; color: #1864aa; }
.about__mini-card-icon .icon { width: 24px; height: 24px; }
.about__copy { padding-bottom: 7px; }
.about__highlights { display: flex; flex-wrap: wrap; gap: 18px; margin: 34px 0 30px; }
.about__highlight { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; color: #235582; font-weight: 700; }
.about__highlight span { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 9px; background: #e6f1fd; color: #1b6db0; }
.about__highlight .icon { width: 18px; height: 18px; }

/* Optometría */
.optometry { background: #fff; }
.section-header { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 40px; }
.section-header .section-heading { margin-bottom: 0; }
.section-header__copy { color: var(--muted); font-size: 14px; line-height: 1.85; max-width: 305px; margin: 0 0 5px; }
.optometry__grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.service-card { position: relative; min-height: 241px; overflow: hidden; background: #f8fbfe; border: 1px solid #e2edf6; border-radius: 18px; padding: 23px 23px 28px; transition: transform .3s, background .3s, border-color .3s, box-shadow .3s; }
.service-card::before { content: ''; position: absolute; width: 156px; height: 156px; border-radius: 50%; right: -92px; bottom: -110px; background: rgba(93,176,239,.14); transition: transform .4s; }
.service-card:hover { background: #fff; border-color: #abcfea; transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card:hover::before { transform: scale(1.5); }
.service-card__number { font: 700 10px var(--font-heading); letter-spacing: .13em; color: #8ba8bf; }
.service-card__icon { display: grid; place-items: center; width: 59px; height: 59px; background: #e7f3fe; border: 1px solid #d8ecfb; border-radius: 16px; margin: 26px 0 23px; color: #1b66aa; transition: background .3s, transform .3s; }
.service-card__icon .icon { width: 29px; height: 29px; }
.service-card:hover .service-card__icon { background: #d7edff; transform: rotate(-5deg); }
.service-card h3 { font: 800 16px/1.45 var(--font-heading); letter-spacing: -.025em; max-width: 205px; margin: 0; color: #1a3859; position: relative; z-index: 1; }
.service-card__mark { width: 22px; height: 2px; display: block; background: #9bc9ed; margin-top: 16px; border-radius: 2px; }
.service-cta { margin-top: 25px; border: 1px solid #cddff1; background: linear-gradient(100deg,#f0f8ff,#eaf5fc); border-radius: 15px; display: flex; align-items: center; gap: 17px; padding: 19px 24px; }
.service-cta > span { height: 42px; width: 42px; display: grid; place-items: center; flex: none; border-radius: 12px; color: #1665a8; background: #d9eeff; }
.service-cta p { margin: 0; color: #1a436b; font-weight: 700; font-size: 13px; }
.service-cta a { margin-left: auto; display: inline-flex; align-items: center; gap: 14px; white-space: nowrap; font-size: 12px; font-weight: 800; color: #135a97; }
.service-cta a:hover { text-decoration: underline; text-underline-offset: 4px; }
.service-cta a .icon { width: 17px; height: 17px; }

/* Oftalmología */
.ophthalmology { background: radial-gradient(circle at 18% 39%, #154c82 0%, #092b50 30%, #071d36 75%); color: #fff; position: relative; isolation: isolate; overflow: hidden; }
.ophthalmology::after { content: ''; position: absolute; height: 770px; aspect-ratio: 1; border: 1px solid rgba(150,217,250,.1); border-radius: 50%; left: -350px; top: -180px; z-index: -1; box-shadow: 0 0 0 70px rgba(255,255,255,.014),0 0 0 150px rgba(255,255,255,.014),0 0 0 240px rgba(255,255,255,.014); }
.ophthalmology__light { position: absolute; top: -220px; right: -150px; background: #2e8dcd; opacity: .11; filter: blur(100px); width: 600px; height: 620px; border-radius: 50%; pointer-events: none; }
.ophthalmology__grid { display: grid; grid-template-columns: .94fr 1.06fr; gap: clamp(42px,7vw,110px); align-items: center; position: relative; }
.section-heading--light { color: #fff; }
.section-heading--light span { color: #94d7fe; }
.ophthalmology__copy { position: relative; }
.ophthalmology__copy .section-heading { font-size: clamp(35px,4.1vw,55px); margin: 27px 0 20px; }
.ophthalmology__copy > p { font-size: 15px; color: #c0d6e9; line-height: 1.9; margin: 0; }
.ophthalmology__art { width: 95%; max-width: 435px; margin: 25px 0 20px; color: rgba(144,215,254,.18); }
.ophthalmology__art svg { width: 100%; }
.ophthalmology__list { background: rgba(255,255,255,.045); border: 1px solid rgba(189,227,255,.15); padding: 32px 36px 20px; border-radius: 22px; backdrop-filter: blur(8px); }
.ophthalmology__list h3 { font: 700 12px var(--font-heading); color: #91c9f1; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 24px; }
.condition { display: flex; align-items: center; gap: 25px; min-height: 69px; padding-block: 16px; border-top: 1px solid rgba(186,222,249,.14); transition: padding .2s; }
.condition:hover { padding-left: 7px; }
.condition span { color: #7fadd2; font: 700 11px var(--font-heading); letter-spacing: .06em; }
.condition strong { font: 700 16px/1.55 var(--font-heading); letter-spacing: -.02em; }
.condition .icon { margin-left: auto; color: #8ed2fc; width: 18px; height: 18px; opacity: .7; }

/* Contacto */
.contact { background: #f6f9fd; }
.contact__header { max-width: 700px; text-align: center; margin: 0 auto 44px; }
.contact__header .eyebrow { justify-content: center; }
.contact__header .section-heading { margin-bottom: 18px; }
.contact__header p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.contact__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 21px; }
.contact-card { display: flex; flex-direction: column; min-width: 0; min-height: 268px; padding: 29px 35px 28px; border: 1px solid #dce8f2; border-radius: 22px; overflow: hidden; transition: transform .28s, box-shadow .28s; position: relative; }
.contact-card:hover { transform: translateY(-6px); box-shadow: 0 22px 47px rgba(20,71,118,.13); }
.contact-card--blue { color: #fff; border-color: #1b65ac; background: radial-gradient(circle at 100% 0%,#327fbc 0%,#195b9d 36%,#113a69 100%); }
.contact-card--blue::after { content: ''; position: absolute; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; width: 330px; height: 330px; top: -190px; right: -150px; box-shadow: 0 0 0 40px rgba(255,255,255,.02),0 0 0 80px rgba(255,255,255,.018); pointer-events: none; }
.contact-card--white { color: #123451; background: #fff; }
.contact-card__upper { display: flex; align-items: start; justify-content: space-between; margin-bottom: 34px; position: relative; z-index: 1; }
.contact-card__icon { height: 51px; width: 51px; display: grid; place-items: center; border-radius: 14px; background: rgba(255,255,255,.17); }
.contact-card--white .contact-card__icon { background: #edf6ff; color: #1a67a8; }
.contact-card__icon .icon { height: 25px; width: 25px; }
.contact-card__arrow { color: inherit; height: 20px; width: 20px; opacity: .8; transition: transform .2s; }
.contact-card:hover .contact-card__arrow { transform: translate(3px,-3px); }
.contact-card__label { font-size: 10px; letter-spacing: .19em; font-weight: 800; opacity: .7; margin-bottom: 9px; }
.contact-card__value { font: 800 clamp(25px,3vw,37px)/1.26 var(--font-heading); letter-spacing: -.045em; position: relative; z-index: 1; }
.contact-card__foot { margin-top: 16px; display: inline-flex; align-items: center; gap: 11px; font-size: 12px; font-weight: 700; position: relative; z-index: 1; }
.contact-card__foot .icon { width: 15px; height: 15px; }

/* Ubicación */
.location { background: #fff; }
.location__grid { display: grid; grid-template-columns: .83fr 1.17fr; align-items: center; gap: clamp(45px, 7vw, 100px); }
.location__info > p { color: var(--muted); font-size: 14px; margin: 0 0 31px; }
.location__address { display: flex; align-items: start; gap: 14px; padding: 25px 0; border-block: 1px solid #e0ebf3; margin-bottom: 29px; }
.location__address > span { width: 39px; height: 39px; flex: none; display: grid; place-items: center; background: #e9f4ff; border-radius: 11px; color: #176bad; }
.location__address > span .icon { width: 19px; height: 19px; }
.location__address address { font-style: normal; line-height: 1.85; font-size: 15px; color: #284763; }
.location__map-wrap { min-height: 420px; background: #e4f1fa; border: 1px solid #d7e7f2; box-shadow: 0 22px 50px rgba(25,75,125,.09); position: relative; border-radius: 22px; overflow: hidden; }
.location__map-wrap iframe { position: absolute; width: 100%; height: 100%; border: 0; inset: 0; background: #e4f1fa; }
.location__map-badge { position: absolute; z-index: 2; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px; background: #fff; color: #123d62; border: 1px solid #d8e6ef; padding: 12px 14px; border-radius: 10px; font-size: 11px; font-weight: 800; box-shadow: 0 8px 28px rgba(17,57,92,.13); }
.location__map-badge:hover { color: #0f67a9; }
.location__map-badge .icon { width: 16px; height: 16px; }

/* Pie */
.footer { background: #06192e; color: #fff; padding-top: 73px; }
.footer__top { display: grid; grid-template-columns: 1.5fr .6fr 1fr; gap: 70px; padding-bottom: 66px; }
.footer__brand a { display: block; max-width: 285px; }
.footer__brand img { width: 100%; height: auto; }
.footer__brand p { color: #acc4d9; font-size: 13px; line-height: 1.85; margin: 19px 0 0; }
.footer__links, .footer__details { display: flex; flex-direction: column; align-items: start; gap: 13px; }
.footer h2 { font: 800 13px var(--font-heading); margin: 0 0 8px; }
.footer__links a, .footer__details a, .footer__details p { color: #a9c3da; font-size: 13px; line-height: 1.8; margin: 0; transition: color .2s; }
.footer__links a:hover, .footer__details a:hover { color: white; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 15px; border-top: 1px solid rgba(211,237,255,.13); min-height: 70px; font-size: 12px; color: #94b0c9; }
.footer__bottom a { color: #dbedfa; }
.footer__bottom a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* WhatsApp */
.whatsapp-float { position: fixed; z-index: 45; right: 25px; bottom: 24px; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; color: #fff; background: #20c366; border: 3px solid #fff; box-shadow: 0 10px 30px rgba(0,100,42,.25); transition: transform .25s, box-shadow .25s; }
.whatsapp-float:hover { transform: translateY(-4px) scale(1.04); box-shadow: 0 12px 32px rgba(0,100,42,.33); }
.whatsapp-float svg { width: 31px; height: 31px; }
.whatsapp-float__tooltip { position: absolute; right: 69px; top: 50%; transform: translate(4px,-50%); background: #0f3f35; color: #fff; font-size: 11px; font-weight: 700; padding: 9px 12px; border-radius: 8px; opacity: 0; white-space: nowrap; transition: opacity .2s, transform .2s; pointer-events: none; }
.whatsapp-float:hover .whatsapp-float__tooltip { opacity: 1; transform: translate(0,-50%); }

/* Animaciones progresivas: ningún apartado se oculta al cargar el sitio. */
.reveal { opacity: 1; transform: none; }
.js .reveal.is-visible { animation: revealEnter .62s ease-out both; }
@keyframes revealEnter { from { opacity: .83; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1130px) {
  .container { width: min(1040px, calc(100% - 54px)); }
  .header__inner { min-height: 79px; gap: 20px; }
  .brand { width: 218px; }
  .nav { gap: 17px; }
  .nav__link { font-size: 12px; }
  .nav__cta { padding: 12px 14px; font-size: 12px; }
  .hero h1 { font-size: clamp(40px,4.6vw,64px); }
  .service-nav__item { padding-inline: 18px; gap: 11px; }
  .service-nav__words strong { font-size: 12px; }
  .service-nav__words small { font-size: 11px; }
  .service-nav__icon { width: 49px; height: 49px; }
  .service-nav__arrow { display: none; }
  .section { padding-block: 94px; }
}
@media (max-width: 900px) {
  html { scroll-padding-top: 85px; }
  .container { width: calc(100% - 42px); }
  .header__inner { min-height: 74px; }
  .brand { width: 219px; }
  .menu-toggle { display: inline-flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; padding: 15px 22px 22px; background: #092847; border-top: 1px solid rgba(255,255,255,.12); box-shadow: 0 18px 23px rgba(3,24,46,.22); display: flex; flex-direction: column; align-items: stretch; gap: 0; opacity: 0; pointer-events: none; visibility: hidden; transform: translateY(-8px); transition: opacity .2s,transform .2s,visibility .2s; }
  .nav.is-open { opacity: 1; pointer-events: auto; visibility: visible; transform: translateY(0); }
  .nav__link { display: block; font-size: 14px; padding: 15px 7px; border-bottom: 1px solid rgba(255,255,255,.09); }
  .nav__link::after { display: none; }
  .nav__cta { width: 100%; margin-top: 16px; min-height: 45px; }
  .hero__inner { min-height: 610px; }
  .hero__art { height: 425px; }
  .hero h1 { font-size: clamp(42px,5.2vw,57px); }
  .hero__lead { font-size: 14px; }
  .hero__float { padding: 9px; gap: 7px; }
  .hero__float-icon { width: 30px; height: 30px; }
  .hero__float-icon .icon { width: 17px; height: 17px; }
  .hero__float small { font-size: 8px; }
  .hero__float strong { font-size: 9px; }
  .hero__float--one { right: -6px; top: 44px; }
  .hero__float--two { left: -4px; bottom: 58px; }
  .hero__art-caption { right: 2px; }
  .service-nav__grid { grid-template-columns: 1fr 1fr 1fr; }
  .service-nav__item { padding: 17px 11px; min-height: 108px; }
  .service-nav__words small { display: none; }
  .service-nav__icon { width: 42px; height: 42px; border-radius: 12px; }
  .service-nav__icon .icon { width: 21px; height: 21px; }
  .service-nav__words strong { font-size: 11px; }
  .about__grid { gap: 35px; }
  .about__poster { min-height: 370px; }
  .about__poster-mark { font-size: 51px; left: 23px; }
  .about__poster-top { right: 20px; top: 44px; font-size: 8px; }
  .about__poster-footer { left: 21px; bottom: 32px; font-size: 8px; gap: 8px; }
  .about__poster-sep { width: 13px; }
  .optometry__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-card { min-height: 195px; }
  .service-card__icon { margin: 18px 0 15px; }
  .ophthalmology__grid { gap: 25px; }
  .ophthalmology__list { padding: 27px 22px 14px; }
  .condition { gap: 14px; }
  .condition strong { font-size: 14px; }
  .location__grid { gap: 40px; }
  .location__map-wrap { min-height: 390px; }
  .footer__top { gap: 27px; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 80px; }
  .container { width: calc(100% - 36px); }
  .topbar__inner { min-height: 31px; }
  .topbar { font-size: 10px; }
  .topbar__contact .icon { display: none; }
  .topbar__location { gap: 4px; }
  .topbar__contact { gap: 7px; }
  .topbar__dot { width: 5px; height: 5px; }
  .header__inner { min-height: 69px; }
  .brand { width: 202px; }
  .hero { min-height: auto; }
  .hero__inner { display: flex; flex-direction: column; min-height: 0; gap: 0; padding-block: 64px 52px; }
  .hero__content { width: 100%; padding: 0; }
  .eyebrow { font-size: 9px; gap: 10px; letter-spacing: .14em; }
  .eyebrow__line { width: 23px; }
  .hero h1 { font-size: clamp(40px,9.4vw,57px); line-height: 1.13; margin: 25px 0 20px; }
  .hero__lead { font-size: 14px; line-height: 1.8; max-width: 490px; }
  .hero__actions { margin-top: 25px; gap: 10px; }
  .button { min-height: 49px; font-size: 12px; gap: 10px; padding: 13px 16px; }
  .hero__location { margin-top: 27px; font-size: 11px; gap: 9px; }
  .hero__location-icon { width: 36px; height: 36px; }
  .hero__art { width: 100%; height: auto; max-width: 430px; aspect-ratio: 1 / 1; margin-top: 22px; }
  .hero__eye { width: 109%; height: 109%; }
  .hero__float--one { right: -2px; top: 11%; }
  .hero__float--two { left: 0; bottom: 13%; }
  .hero__art-caption { bottom: 0; right: 3px; font-size: 7px; }
  .service-nav__grid { grid-template-columns: 1fr; }
  .service-nav__item, .service-nav__item:first-child,.service-nav__item:last-child { min-height: 81px; padding: 14px 2px; }
  .service-nav__item:not(:last-child) { border-right: 0; border-bottom: 1px solid #e5edf4; }
  .service-nav__icon { width: 45px; height: 45px; }
  .service-nav__words strong { font-size: 13px; }
  .service-nav__words small { display: block; font-size: 11px; }
  .service-nav__arrow { display: block; }
  .section { padding-block: 74px; }
  .section-heading { font-size: clamp(33px,8vw,43px); margin: 20px 0; }
  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .about__illustration { padding: 0 14px 15px 0; }
  .about__poster { min-height: 340px; }
  .about__poster-mark { top: 22px; left: 24px; }
  .about__poster-footer { left: 24px; bottom: 30px; font-size: 9px; }
  .about__mini-card { right: -6px; bottom: -2px; }
  .about__copy { padding: 0; }
  .section-copy { font-size: 14px; }
  .about__highlights { gap: 13px 20px; margin: 27px 0 23px; }
  .section-header { display: block; margin-bottom: 28px; }
  .section-header__copy { margin: 16px 0 0; max-width: 440px; }
  .optometry__grid { gap: 12px; }
  .service-card { min-height: 192px; padding: 17px; border-radius: 15px; }
  .service-card__icon { width: 49px; height: 49px; margin: 15px 0 13px; border-radius: 13px; }
  .service-card__icon .icon { width: 25px; height: 25px; }
  .service-card h3 { font-size: 13px; line-height: 1.45; }
  .service-card__mark { margin-top: 11px; }
  .service-cta { align-items: start; flex-wrap: wrap; padding: 19px; gap: 13px; }
  .service-cta p { width: calc(100% - 58px); align-self: center; line-height: 1.5; }
  .service-cta a { margin-left: 55px; width: calc(100% - 55px); }
  .ophthalmology__grid { grid-template-columns: 1fr; gap: 35px; }
  .ophthalmology__copy .section-heading { margin-block: 19px; }
  .ophthalmology__art { width: min(80%,310px); margin: 16px 0 3px; }
  .ophthalmology__list { padding: 24px 20px 13px; }
  .ophthalmology__list h3 { margin-bottom: 19px; }
  .condition { min-height: 62px; }
  .condition strong { font-size: 14px; }
  .contact__header { margin-bottom: 31px; }
  .contact__header p { font-size: 14px; }
  .contact__grid { grid-template-columns: 1fr; gap: 13px; }
  .contact-card { min-height: 230px; padding: 23px 25px; }
  .contact-card__upper { margin-bottom: 25px; }
  .contact-card__value { font-size: 30px; }
  .location__grid { grid-template-columns: 1fr; gap: 32px; }
  .location__map-wrap { min-height: 350px; }
  .location__address { margin-bottom: 24px; }
  .location__address address { font-size: 14px; }
  .footer { padding-top: 57px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 42px 18px; padding-bottom: 45px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__brand a { width: 240px; }
  .footer__brand p { margin-top: 13px; }
  .footer__bottom { padding-block: 22px; min-height: auto; font-size: 11px; align-items: start; }
  .whatsapp-float { right: 16px; bottom: 17px; width: 55px; height: 55px; }
  .whatsapp-float svg { width: 29px; height: 29px; }
  .whatsapp-float__tooltip { display: none; }
}
@media (max-width: 380px) {
  .topbar { font-size: 9px; }
  .brand { width: 183px; }
  .hero h1 { font-size: 38px; }
  .hero__actions .button { width: 100%; }
  .hero__art { margin-top: 17px; }
  .hero__float { transform: scale(.88); }
  .hero__float--one { right: -11px; }
  .hero__float--two { left: -10px; }
  .service-card { min-height: 180px; padding: 15px; }
  .service-card h3 { font-size: 12px; }
  .footer__bottom { padding-right: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .js .reveal.is-visible { animation: none; }
}

/* Tarjeta de referencia dentro del mapa: no depende de una API de terceros. */
.location__map-fallback { position:absolute; inset:0; display:grid; place-items:center; isolation:isolate; overflow:hidden; color:#1a65a2; background:radial-gradient(circle at 70% 35%,#d6eaf8 0%,#e4f1fa 60%,#d0e7f7 100%); }
.location__map-fallback::before,.location__map-fallback::after { content:""; position:absolute; inset:0; background:linear-gradient(40deg,transparent 47%,rgba(255,255,255,.4) 48%,rgba(255,255,255,.4) 51%,transparent 52%), linear-gradient(130deg,transparent 52%,rgba(255,255,255,.35) 53%,rgba(255,255,255,.35) 56%,transparent 57%); z-index:-1; }
.location__map-fallback > .icon{height:45px;width:45px;color:#1b5fa1;stroke-width:1.3; filter:drop-shadow(0 8px 9px rgba(13,70,135,.12))}
.map-fallback__circle { position:absolute; border:2px solid rgba(23,90,157,.13); border-radius:50%; width:185px;height:185px; }
.map-fallback__circle--two{height:315px;width:315px;opacity:.66}
.location__map-info { position:absolute;z-index:3;left:15px;top:15px;display:flex;flex-direction:column;align-items:flex-start;gap:5px;max-width:calc(100% - 30px);padding:14px 17px;color:#183b60;background:rgba(255,255,255,.97);border:1px solid #d6e4ef;border-radius:11px;box-shadow:0 5px 27px rgba(9,39,69,.13);}
.location__map-info strong{font-size:14px;line-height:1.3;}
.location__map-info > span:last-child{font-size:11px;line-height:1.5;color:#47657f;}
.location__map-label{font-size:9px;letter-spacing:.12em;font-weight:800;color:#2365a4;}
@media(max-width:380px){.location__map-info{padding:12px 14px}.location__map-info strong{font-size:12px}}
