/* TU DENTISTA JUÁREZ — sitio estático, adaptable y sin dependencias externas */
:root {
  --ink: #0b3139;
  --ink-deep: #06262d;
  --ink-soft: #42636b;
  --blue: #2188aa;
  --blue-dark: #166d8b;
  --mint: #abe2cc;
  --mint-rich: #53bda1;
  --mint-pale: #e9f6f0;
  --surface: #fff;
  --canvas: #f5f9f8;
  --line: #dce8e6;
  --shadow: 0 24px 72px rgba(9, 43, 50, .10);
  --radius: 20px;
  --max-width: 1200px;
  --ease: cubic-bezier(.2, .75, .25, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: #fff; font: 400 16px/1.65 "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img, video, svg { display: block; }
img, video { max-width: 100%; }
svg { flex-shrink: 0; }
::selection { color: var(--ink); background: var(--mint); }
:focus-visible { outline: 3px solid #3197bc; outline-offset: 4px; }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 23px; height: 23px; stroke: currentColor; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.65; }
.icon-small { width: 17px; height: 17px; }
.skip-link { position: fixed; z-index: 500; top: 0; left: 12px; transform: translateY(-140%); color: #fff; background: #0b3139; padding: 12px 22px; }
.skip-link:focus { transform: translateY(0); }
.container { width: min(calc(100% - 64px), var(--max-width)); margin: 0 auto; }
.container-wide { width: min(calc(100% - 76px), 1450px); margin: 0 auto; }
.section-padding { padding: clamp(76px, 8.4vw, 124px) 0; }

/* Encabezado */
.site-header { position: sticky; z-index: 80; top: 0; background: rgba(255,255,255,.97); border-bottom: 1px solid #e2ecea; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); transition: box-shadow .35s, background .35s; }
.site-header.is-scrolled { box-shadow: 0 12px 34px rgba(6,38,45,.08); }
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; line-height: 1; }
.brand-icon { width: 49px; height: 49px; border-radius: 13px; background: linear-gradient(140deg,#279bc0,#167a9b); color: #fff; display: grid; place-items: center; box-shadow: 0 7px 16px rgba(22, 109, 139, .18); }
.brand-icon svg { width: 29px; height: 29px; }
.brand-copy { display: flex; flex-direction: column; gap: 5px; }
.brand-copy strong { font-size: 18px; font-weight: 850; letter-spacing: -.055em; white-space: nowrap; }
.brand-copy small { font-size: 8.5px; font-weight: 800; letter-spacing: .32em; white-space: nowrap; color: var(--ink-soft); }
.desktop-nav { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 37px); }
.desktop-nav a { font-size: 12px; color: #526d72; font-weight: 700; transition: color .2s; position: relative; white-space: nowrap; }
.desktop-nav a::after { content: ''; width: 100%; height: 2px; border-radius: 99px; background: var(--mint-rich); position: absolute; left: 0; bottom: -9px; transform-origin: left center; transform: scaleX(0); transition: transform .3s var(--ease); }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--ink); }
.desktop-nav a:hover::after, .desktop-nav a.active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 51px; padding: 14px 21px; border: 1px solid transparent; border-radius: 11px; font-size: 12px; font-weight: 800; line-height: 1.3; text-align: center; white-space: nowrap; transition: transform .28s var(--ease), background .28s, box-shadow .28s, color .28s, border-color .28s; }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--ink); color: white; box-shadow: 0 9px 22px rgba(6,38,45,.13); }
.btn-primary:hover { background: var(--blue-dark); box-shadow: 0 14px 26px rgba(6,38,45,.18); }
.btn-mint { color: var(--ink-deep); background: var(--mint); box-shadow: 0 14px 25px rgba(0,0,0,.1); }
.btn-mint:hover { background: #c2efdd; }
.btn-ghost-light { color: white; background: transparent; border-color: rgba(255,255,255,.3); }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); }
.btn-outline-light { color: white; border-color: rgba(255,255,255,.5); }
.btn-outline-light:hover { background: white; color: var(--ink); }
.btn-light { background: #eef5f3; color: var(--ink); }
.btn-light:hover { background: #ddece8; }
.menu-toggle { border: 1px solid #dce7e5; background: #fff; color: var(--ink); border-radius: 10px; width: 46px; height: 46px; display: none; align-items: center; justify-content: center; }
.mobile-nav[hidden] { display: none !important; }
.mobile-nav { display: none; }

/* Hero */
.hero { background: var(--ink-deep); min-height: 660px; color: white; position: relative; overflow: hidden; isolation: isolate; }
.hero::before { content: ''; position: absolute; left: -200px; bottom: -430px; width: 800px; height: 800px; border: 1px solid rgba(161,225,201,.13); border-radius: 50%; z-index: -1; }
.hero::after { content: ''; position: absolute; left: -130px; bottom: -360px; width: 660px; height: 660px; border: 1px solid rgba(161,225,201,.1); border-radius: 50%; z-index: -1; }
.hero-mesh { position: absolute; inset: 0; z-index: -2; opacity: .7; background: radial-gradient(ellipse at 24% 72%,rgba(26,107,111,.28),transparent 56%),linear-gradient(120deg,#082b33 0%,#082b33 52%,#15454b 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); align-items: stretch; min-height: 662px; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 72px 40px 67px 0; min-width: 0; position: relative; z-index: 3; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 10px; font-weight: 850; letter-spacing: .19em; color: var(--blue-dark); }
.eyebrow-line { display: block; width: 24px; height: 1px; background: currentColor; flex: 0 0 24px; }
.eyebrow-light { color: var(--mint); }
.hero h1 { margin: 30px 0 15px; font-size: clamp(55px, 6.8vw, 116px); letter-spacing: -.087em; line-height: .92; font-weight: 850; }
.hero-title-top,.hero-title-bottom { display: block; white-space: nowrap; }
.hero-title-top { font-size: .76em; letter-spacing: -.07em; }
.hero-title-bottom { color: var(--mint); }
.title-period { color: white; }
.hero-subtitle { font-size: clamp(22px,2.1vw,29px); max-width: 480px; line-height: 1.35; font-weight: 550; letter-spacing: -.03em; margin: 18px 0 0; }
.hero-subtitle em, .janos-copy h2 em, .closing-cta h2 em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-style: italic; color: var(--mint); letter-spacing: -.045em; }
.hero-description { margin: 18px 0 0; max-width: 470px; font-size: 14px; line-height: 1.9; color: #c5d9d9; }
.hero-ctas { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 29px; }
.hero-note { display: inline-flex; align-items: center; gap: 10px; margin-top: 33px; color: #d8ebe7; font-size: 11px; font-weight: 550; }
.note-dot { width: 7px; height: 7px; background: var(--mint); border-radius: 50%; box-shadow: 0 0 0 5px rgba(171,226,204,.13); }
.hero-visual { position: relative; min-height: 662px; margin-right: calc((min(100vw, 1526px) - min(calc(100vw - 76px), 1450px)) / -2); }
.hero-photo { position: absolute; inset: 0; overflow: hidden; }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(6,38,45,.19),transparent 36%),linear-gradient(0deg,rgba(6,38,45,.56),transparent 42%); pointer-events: none; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 52% center; animation: heroImageIn 1.7s var(--ease) both; }
@keyframes heroImageIn { from { opacity: .3; transform: scale(1.06); } to { opacity: 1; transform: scale(1); } }
.hero-photo-label { position: absolute; right: 50px; bottom: 60px; display: flex; gap: 20px; align-items: center; background: rgba(7,35,41,.74); padding: 18px 23px; border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(8px); font-size: 11px; letter-spacing: .02em; border-radius: 7px; }
.photo-label-index { color: var(--mint); font-size: 10px; letter-spacing: .13em; font-weight: 800; }
.hero-stamp { position: absolute; top: 46px; right: 48px; width: 113px; height: 113px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; color: var(--ink); background: rgba(227,252,241,.92); border: 1px solid #fff; border-radius: 50%; transform: rotate(12deg); box-shadow: 0 14px 40px rgba(0,0,0,.16); }
.hero-stamp svg { width: 30px; height: 30px; }
.hero-stamp span { font-size: 8px; letter-spacing: .18em; font-weight: 850; }
.hero-bottom { display: flex; align-items: center; gap: 21px; position: relative; min-height: 64px; font-size: 9px; font-weight: 800; letter-spacing: .14em; color: rgba(255,255,255,.75); border-top: 1px solid rgba(255,255,255,.14); }
.hero-bottom .hero-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--mint); }
.hero-bottom a { margin-left: auto; display: inline-flex; align-items: center; gap: 11px; color: var(--mint); }

/* Intro */
.intro { background: #fff; }
.intro-layout { display: grid; grid-template-columns: 260px 1fr; gap: 70px; padding: 16px 0; }
.intro-side { position: relative; }
.intro-ornament { display: block; margin-top: 25px; width: 130px; height: 130px; color: #e9f3ef; }
.intro-ornament svg { width: 100%; height: 100%; transform: rotate(-12deg); }
h2,h3,p { overflow-wrap: anywhere; }
.intro-main h2,.section-heading h2,.social-copy h2 { margin: 0; letter-spacing: -.055em; font-weight: 760; font-size: clamp(39px,4.8vw,70px); line-height: 1.1; }
.intro-main h2 span,.section-heading h2 span,.social-copy h2 span,.appointment-dialog h2 span { color: var(--blue-dark); }
.intro-main p { max-width: 790px; font-size: 16px; color: var(--ink-soft); margin: 24px 0 24px; line-height: 1.9; }
.text-link { padding: 0; background: none; border: 0; display: inline-flex; align-items: center; gap: 11px; color: var(--blue-dark); font-size: 12px; font-weight: 850; border-bottom: 1px solid currentColor; padding-bottom: 5px; transition: gap .25s; }
.text-link:hover { gap: 17px; }

/* Servicios */
.services { background: var(--canvas); position: relative; }
.services::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, #dce9e6, transparent); }
.section-heading { margin-bottom: 48px; }
.heading-centered { text-align: center; }
.heading-centered .eyebrow { justify-content: center; }
.section-heading h2 { margin-top: 17px; }
.section-heading p { max-width: 590px; margin: 17px auto 0; color: var(--ink-soft); font-size: 14px; line-height: 1.8; }
.service-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; align-items: stretch; }
.service-card { position: relative; min-height: 330px; overflow: hidden; display: flex; flex-direction: column; background: #fff; padding: 31px 30px 29px; border: 1px solid #e1ebe8; border-radius: var(--radius); box-shadow: 0 10px 25px rgba(17,64,70,.025); transition: transform .35s var(--ease),box-shadow .35s var(--ease),border-color .35s; }
.service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: #b5d8cd; }
.service-top { display: flex; justify-content: space-between; align-items: start; }
.service-number { font-size: 11px; font-weight: 800; letter-spacing: .1em; color: #94b3b6; }
.service-icon { width: 53px; height: 53px; border-radius: 15px; background: var(--mint-pale); display: grid; place-items: center; color: var(--blue-dark); }
.service-icon .icon { width: 27px; height: 27px; }
.service-icon use[href="#icon-tooth"] { fill: currentColor; stroke: none; }
.service-card h3 { margin: 21px 0 0; font-size: 24px; font-weight: 760; line-height: 1.25; letter-spacing: -.05em; min-height: 61px; }
.service-card h3 span { color: var(--blue-dark); }
.service-rule { width: 37px; height: 2px; margin: 15px 0 14px; background: var(--mint-rich); }
.service-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 7px; }
.service-card li { position: relative; padding-left: 17px; font-size: 12.5px; line-height: 1.58; color: #466269; }
.service-card li::before { content: ''; width: 5px; height: 5px; position: absolute; top: .7em; left: 1px; border-radius: 50%; background: var(--mint-rich); }
.service-lead { margin: -2px 0 9px; color: var(--ink-soft); font-size: 12px; }
.service-card-featured { background: var(--ink); color: white; border-color: transparent; }
.service-card-featured h3 span { color: var(--mint); }
.service-card-featured .service-number { color: #b4d2d5; }
.service-card-featured .service-icon { background: rgba(171,226,204,.15); color: var(--mint); }
.service-card-featured .service-rule { background: var(--mint); }
.service-card-featured li { color: #d1e2e3; }
.featured-decoration { width: 180px; height: 180px; position: absolute; bottom: -62px; right: -43px; opacity: .065; transform: rotate(-16deg); color: var(--mint); pointer-events: none; }
.featured-decoration svg { width: 100%; height: 100%; }
.service-bottom { margin-top: 29px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 15px; }
.service-bottom > span { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; color: #527079; }
.service-bottom > span .icon { color: var(--blue-dark); width: 18px; }

/* Galería */
.gallery-section { background: white; }
.heading-split { display: flex; align-items: end; justify-content: space-between; gap: 35px; }
.heading-split h2 { max-width: 690px; }
.heading-split p { max-width: 280px; margin: 0 0 7px; font-size: 13px; }
.gallery-grid { display: grid; grid-template-columns: 1.12fr .83fr; grid-template-rows: 275px 275px; gap: 17px; }
.gallery-item { appearance: none; position: relative; overflow: hidden; border-radius: 19px; border: 1px solid #b9d4d0; display: block; padding: 0; background: var(--canvas); isolation: isolate; box-shadow: 0 13px 32px rgba(10,41,49,.09); }
.gallery-item::before { content: ''; inset: 0; position: absolute; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 22px rgba(241,250,248,.22), inset 0 0 0 4px rgba(255,255,255,.08); z-index: 2; }
.gallery-item::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg,rgba(5,34,39,.79),transparent 44%); pointer-events: none; }
.gallery-item img { height: 100%; width: 100%; object-fit: cover; transition: transform .75s var(--ease), filter .45s; }
.gallery-item:hover img { transform: scale(1.055); filter: saturate(1.08); }
.gallery-main { grid-row: span 2; }
.gallery-main img { object-position: 48% center; }
.gallery-vertical img { object-position: center 43%; }
.gallery-bottom img { object-position: center center; }
.gallery-overlay { position: absolute; z-index: 3; bottom: 0; left: 0; right: 0; padding: 27px 31px; display: flex; align-items: end; justify-content: space-between; gap: 12px; text-align: left; color: white; }
.gallery-overlay small { display: block; font-size: 9px; font-weight: 800; letter-spacing: .17em; color: #bdebd9; margin-bottom: 3px; }
.gallery-overlay strong { font-size: clamp(18px,2.2vw,25px); font-weight: 710; letter-spacing: -.045em; }
.gallery-expand { height: 39px; width: 39px; border: 1px solid rgba(255,255,255,.65); display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.09); transition: background .25s; }
.gallery-item:hover .gallery-expand { background: rgba(255,255,255,.26); }
.gallery-expand .icon { width: 16px; height: 16px; }
.gallery-hint { display: flex; justify-content: end; align-items: center; gap: 10px; margin: 17px 0 0; color: #779095; font-size: 11px; }

/* Video Janos */
.janos-section { position: relative; background: #0d343c; color: white; overflow: hidden; }
.janos-section::before { content: ''; position: absolute; width: 650px; height: 650px; top: -350px; right: -150px; border: 1px solid rgba(171,226,204,.12); border-radius: 50%; box-shadow: 0 0 0 100px rgba(171,226,204,.025); pointer-events: none; }
.janos-layout { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: clamp(40px, 7vw, 110px); }
.janos-copy h2 { margin: 25px 0 20px; font-size: clamp(43px,5vw,72px); line-height: 1.08; letter-spacing: -.062em; max-width: 470px; }
.janos-copy h2 em { display: block; }
.janos-copy > p { color: #c6dddd; font-size: 14px; max-width: 450px; line-height: 1.9; }
.janos-video-label { display: flex; align-items: center; gap: 13px; margin: 27px 0 29px; }
.janos-play-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: rgba(171,226,204,.16); color: var(--mint); border: 1px solid rgba(171,226,204,.33); }
.janos-play-icon .icon { width: 19px; height: 19px; margin-left: 3px; }
.janos-video-label strong { font-weight: 750; font-size: 13px; }
.janos-video-label small { display: block; color: #abc4c7; font-size: 11px; }
.video-frame { position: relative; z-index: 2; padding: 9px; border-radius: 21px; border: 1px solid rgba(173,225,206,.45); background: rgba(255,255,255,.07); box-shadow: 0 27px 65px rgba(0,0,0,.24); }
.video-ornament { position: absolute; width: 100px; height: 100px; border-top: 2px solid var(--mint); border-right: 2px solid var(--mint); border-radius: 0 22px 0 0; top: -18px; right: -18px; pointer-events: none; }
.video-frame video { width: 100%; aspect-ratio: 16/9; object-fit: contain; background: #071d24; border-radius: 13px; outline: none; }
.video-caption { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px 4px; color: #bfdbd6; letter-spacing: .15em; font-size: 9px; font-weight: 800; }

/* Sucursales */
.locations-section { background: var(--canvas); }
.location-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.location-card { position: relative; padding: 37px; border-radius: 22px; border: 1px solid #dce9e5; background: white; box-shadow: 0 16px 39px rgba(12,50,55,.045); display: flex; flex-direction: column; }
.location-card::before { content: ''; position: absolute; height: 4px; top: 0; left: 45px; right: 45px; background: linear-gradient(90deg,var(--blue),var(--mint-rich)); border-radius: 0 0 8px 8px; }
.location-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.location-index { color: #98aaad; font-size: 10px; letter-spacing: .15em; font-weight: 800; }
.location-tag { color: var(--blue-dark); background: #eaf5f2; border-radius: 5px; font-size: 9px; letter-spacing: .11em; font-weight: 850; padding: 7px 10px; }
.location-card h3 { font-size: clamp(34px,3.6vw,52px); font-weight: 760; line-height: 1.1; letter-spacing: -.06em; margin: 24px 0 21px; }
.location-card h3 span,.location-dot { color: var(--blue-dark); }
.location-divider { height: 1px; background: #e2ece9; margin-bottom: 25px; }
.location-row { display: grid; grid-template-columns: 37px 1fr; align-items: start; gap: 11px; margin-bottom: 23px; }
.location-row-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: #eef7f3; color: var(--blue-dark); }
.location-row-icon .icon { width: 17px; height: 17px; }
.location-row h4 { font-size: 11px; margin: 0 0 4px; font-weight: 850; letter-spacing: .03em; }
.location-row p { font-size: 13px; color: #526c71; margin: 0; line-height: 1.75; }
.location-row p a { color: var(--blue-dark); font-weight: 750; text-decoration: underline; text-decoration-color: rgba(22,109,139,.25); text-underline-offset: 3px; }
.location-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding-top: 13px; margin-top: auto; }
.location-actions .btn { min-height: 48px; font-size: 11px; padding: 13px 15px; }
.location-actions .btn .icon { width: 18px; height: 18px; }
.location-actions .btn .icon-small { width: 15px; height: 15px; }
.appointment-reminder { display: flex; align-items: center; gap: 17px; padding: 22px 26px; border: 1px solid #cfe6dd; background: #eaf6f0; border-radius: 13px; margin-top: 25px; }
.reminder-mark { background: var(--ink); color: var(--mint); border-radius: 50%; display: grid; place-items: center; width: 35px; height: 35px; flex: 0 0 auto; }
.reminder-mark .icon { width: 18px; }
.appointment-reminder p { color: #47656b; font-size: 12px; margin: 0; flex: 1; }
.appointment-reminder strong { color: var(--ink); }
.appointment-reminder .text-link { white-space: nowrap; }

/* Redes sociales y llamada final */
.social-section { background: white; }
.social-layout { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(30px,8vw,120px); }
.social-copy h2 { margin-top: 19px; }
.social-copy p { font-size: 14px; color: var(--ink-soft); margin-top: 20px; }
.social-links { display: grid; gap: 11px; }
.social-links a { min-height: 73px; display: flex; align-items: center; gap: 17px; padding: 14px 19px; background: var(--canvas); border: 1px solid #dfebe8; border-radius: 13px; font-size: 15px; font-weight: 750; transition: background .25s, transform .3s, border-color .25s; }
.social-links a:hover { background: var(--mint-pale); border-color: #bbdcd1; transform: translateX(5px); }
.social-icon { width: 41px; height: 41px; color: var(--blue-dark); display: grid; place-items: center; border-radius: 10px; background: white; }
.social-icon .icon { width: 20px; height: 20px; }
.social-arrow { margin-left: auto; color: #779ca0; width: 19px; height: 19px; }
.closing-cta { background: #0b3139; color: white; padding: 83px 0; background-image: radial-gradient(ellipse at 99% 0,rgba(111,209,176,.11),transparent 58%); }
.closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.closing-cta h2 { margin: 16px 0 12px; max-width: 750px; font-size: clamp(40px,5vw,68px); letter-spacing: -.06em; line-height: 1.12; font-weight: 760; }
.closing-cta p { color: #c2d8d7; font-size: 14px; max-width: 570px; }
.closing-inner > .btn { flex: 0 0 auto; }
.footer { background: var(--ink-deep); color: white; }
.footer-grid { display: grid; grid-template-columns: 1.55fr .8fr 1fr .95fr; gap: 34px; padding-top: 66px; padding-bottom: 50px; }
.brand-footer .brand-icon { background: rgba(171,226,204,.18); box-shadow: none; color: var(--mint); }
.brand-footer .brand-copy small { color: #b4d4d1; }
.footer-brand-group p { max-width: 260px; margin: 20px 0 0; color: #b6d0ce; font-size: 12px; line-height: 1.8; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: start; gap: 9px; }
.footer-grid h3 { margin: 3px 0 15px; color: #acd9c8; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; }
.footer-grid a:not(.brand) { color: #c3d9d7; font-size: 12px; transition: color .2s; }
.footer-grid a:not(.brand):hover { color: white; }
.footer-bottom { min-height: 66px; border-top: 1px solid rgba(255,255,255,.12); display: flex; align-items: center; justify-content: space-between; gap: 15px; color: #9ebbb8; font-size: 11px; }
.footer-bottom a { display: inline-flex; gap: 7px; align-items: center; color: var(--mint); font-size: 11px; }
.mobile-booking { display: none; }

/* Diálogos */
dialog { border: 0; }
dialog::backdrop { background: rgba(4,25,30,.72); backdrop-filter: blur(6px); }
.appointment-dialog { width: min(500px,calc(100vw - 28px)); border-radius: 21px; box-shadow: 0 25px 90px rgba(0,0,0,.26); padding: 33px; color: var(--ink); }
.appointment-dialog[open] { animation: dialogIn .28s var(--ease) both; }
@keyframes dialogIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.dialog-kicker { font-size: 9px; letter-spacing: .15em; color: var(--blue-dark); font-weight: 850; }
.dialog-close,.lightbox-close { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #dae9e6; border-radius: 50%; background: #f2f7f5; color: var(--ink); }
.dialog-close .icon { width: 19px; }
.appointment-dialog h2 { margin: 24px 0 12px; font-size: clamp(33px, 5vw, 47px); font-weight: 780; letter-spacing: -.06em; line-height: 1.13; }
.appointment-dialog > p { font-size: 13px; color: var(--ink-soft); margin: 0 0 25px; }
.appointment-options { display: grid; gap: 11px; }
.appointment-options a { display: flex; align-items: center; justify-content: space-between; padding: 17px; gap: 17px; border-radius: 11px; border: 1px solid #d9e9e4; background: #f5faf8; transition: background .2s, border-color .2s; }
.appointment-options a:hover { background: #e6f5ec; border-color: #a8d7c7; }
.appointment-options a strong { display: block; font-size: 15px; }
.appointment-options a small { display: block; color: var(--ink-soft); font-size: 11px; }
.appointment-options a > .icon { width: 20px; color: var(--blue-dark); }
.dialog-secondary { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 750; color: var(--blue-dark); }
.lightbox { width: min(1120px,calc(100vw - 32px)); max-height: calc(100dvh - 32px); background: #06252d; color: white; border: 1px solid rgba(255,255,255,.2); border-radius: 16px; box-shadow: 0 30px 100px rgba(0,0,0,.45); padding: 14px; overflow: hidden; }
.lightbox[open] { display: flex; flex-direction: column; }
.lightbox-bar { display: flex; align-items: center; justify-content: space-between; min-height: 45px; padding: 0 5px 9px 12px; font-size: 12px; font-weight: 700; }
.lightbox-close { color: white; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); width: 33px; height: 33px; }
.lightbox-close .icon { width: 17px; }
.lightbox-content { display: flex; min-height: 0; align-items: center; justify-content: space-between; gap: 13px; }
.lightbox-content img { display: block; min-width: 0; max-height: calc(100dvh - 160px); width: auto; max-width: calc(100% - 100px); object-fit: contain; margin: auto; border-radius: 9px; box-shadow: 0 0 25px rgba(0,0,0,.12); }
.lightbox-arrow { border-radius: 50%; flex: 0 0 37px; width: 37px; height: 37px; display: grid; place-items: center; color: white; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); }
.lightbox-arrow:hover { background: rgba(255,255,255,.24); }
.lightbox-arrow .icon { width: 18px; }
.lightbox-count { margin: 10px 0 0; text-align: center; color: #accfc6; font-weight: 750; font-size: 10px; letter-spacing: .14em; }

/* Aparición progresiva: invisible únicamente cuando JavaScript está disponible */
.js-ready [data-reveal] { opacity: 0; transform: translateY(25px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.js-ready [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* Laptop */
@media (max-width: 1180px) {
  .desktop-nav { gap: 17px; }
  .desktop-nav a { font-size: 11px; }
  .header-cta { min-height: 46px; padding: 12px 13px; }
  .brand-copy strong { font-size: 17px; }
  .hero h1 { font-size: clamp(54px,7.2vw,88px); }
  .hero-copy { padding-right: 20px; }
  .hero-ctas .btn { padding: 13px 16px; }
}
@media (max-width: 1010px) {
  .desktop-nav,.header-cta { display: none; }
  .menu-toggle { display: flex; }
  .header-inner { min-height: 72px; }
  .mobile-nav { display: flex; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; padding: 12px max(25px,calc((100vw - 900px)/2)) 24px; background: white; box-shadow: 0 18px 25px rgba(4,25,30,.12); border-bottom: 1px solid #dce9e5; }
  .mobile-nav a { padding: 13px 5px; border-bottom: 1px solid #edf1f0; font-size: 14px; font-weight: 700; }
  .mobile-nav .btn { margin-top: 16px; }
  .hero-visual { margin-right: -38px; }
  .hero-copy { padding-right: 22px; }
  .hero-ctas { flex-direction: column; align-items: start; }
  .hero-ctas .btn { min-width: 215px; }
  .service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .intro-layout { grid-template-columns: 180px 1fr; gap: 35px; }
  .janos-layout { grid-template-columns: .85fr 1.15fr; gap: 34px; }
  .location-card { padding: 29px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:nth-child(4) { grid-column: 2 / span 2; }
}
@media (max-width: 740px) {
  html { scroll-padding-top: 76px; }
  .container { width: min(calc(100% - 38px), var(--max-width)); }
  .container-wide { width: min(calc(100% - 38px), 1450px); }
  .section-padding { padding: 74px 0; }
  .brand-icon { width: 43px; height: 43px; border-radius: 11px; }
  .brand-icon svg { width: 27px; height: 27px; }
  .brand-copy strong { font-size: 17px; }
  .brand-copy small { font-size: 7.8px; }
  .header-inner { min-height: 72px; }
  .hero { min-height: 0; }
  .hero-grid { min-height: 0; grid-template-columns: 1fr; }
  .hero-copy { padding: 64px 0 43px; }
  .hero h1 { margin: 25px 0 11px; font-size: clamp(52px,12.3vw,92px); }
  .hero-subtitle { margin-top: 15px; font-size: clamp(22px,5.9vw,30px); max-width: 560px; }
  .hero-description { max-width: 540px; font-size: 13px; }
  .hero-ctas { flex-direction: row; gap: 10px; }
  .hero-ctas .btn { min-width: 0; padding: 12px 15px; }
  .hero-note { margin-top: 28px; }
  .hero-visual { min-height: clamp(300px,63vw,510px); margin: 0 -19px; }
  .hero-photo-label { right: 24px; bottom: 24px; padding: 12px 13px; gap: 10px; }
  .hero-stamp { width: 87px; height: 87px; right: 20px; top: 20px; }
  .hero-stamp svg { width: 23px; height: 23px; }
  .hero-stamp span { font-size: 6.5px; }
  .hero-bottom { justify-content: center; flex-wrap: wrap; gap: 11px; padding: 18px 0; font-size: 8px; }
  .hero-bottom a { display: none; }
  .intro-layout { display: block; }
  .intro-ornament { display: none; }
  .intro-main { margin-top: 26px; }
  .intro-main h2,.section-heading h2,.social-copy h2 { font-size: clamp(37px,8.5vw,58px); }
  .intro-main p { font-size: 14px; }
  .heading-split { display: block; }
  .heading-split p { max-width: 540px; margin: 17px 0 0; }
  .service-grid { gap: 13px; }
  .service-card { padding: 23px 21px; }
  .service-card h3 { font-size: 22px; }
  .gallery-grid { grid-template-rows: 245px 245px; gap: 12px; }
  .gallery-overlay { padding: 19px; }
  .gallery-expand { width: 34px; height: 34px; }
  .janos-layout { grid-template-columns: 1fr; gap: 35px; }
  .janos-copy h2 { font-size: clamp(43px,9vw,66px); }
  .janos-copy > p { max-width: 550px; }
  .video-ornament { right: -11px; top: -11px; width: 65px; height: 65px; }
  .locations-section .section-heading { margin-bottom: 30px; }
  .location-grid { grid-template-columns: 1fr; gap: 17px; }
  .location-card { padding: 29px 26px; }
  .appointment-reminder { flex-wrap: wrap; }
  .appointment-reminder p { flex-basis: calc(100% - 55px); }
  .appointment-reminder .text-link { margin-left: 52px; }
  .social-layout { grid-template-columns: 1fr; gap: 28px; }
  .closing-inner { flex-direction: column; align-items: start; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 19px; }
  .footer-grid > div:nth-child(4) { grid-column: auto; }
  .footer-brand-group { grid-column: 1 / -1; }
  .footer { padding-bottom: 78px; }
  .mobile-booking { position: fixed; z-index: 60; bottom: 0; left: 0; right: 0; display: block; padding: 10px 18px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid #d9e8e4; backdrop-filter: blur(14px); box-shadow: 0 -8px 34px rgba(9,42,49,.09); }
  .mobile-booking .btn { width: 100%; min-height: 48px; font-size: 13px; }
  .lightbox { max-height: calc(100dvh - 16px); width: calc(100vw - 12px); padding: 8px; }
  .lightbox-content { gap: 5px; }
  .lightbox-content img { max-width: calc(100% - 62px); max-height: calc(100dvh - 135px); }
  .lightbox-arrow { flex: 0 0 27px; width: 27px; height: 31px; }
  .lightbox-arrow .icon { width: 15px; }
}
@media (max-width: 500px) {
  .brand-copy strong { font-size: 16px; }
  .hero-copy { padding: 57px 0 36px; }
  .hero h1 { font-size: clamp(47px, 12.1vw, 65px); }
  .hero-subtitle { font-size: 23px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .hero-visual { min-height: 290px; }
  .hero-stamp { display: none; }
  .hero-photo-label { right: 15px; bottom: 16px; font-size: 10px; }
  .photo-label-index { font-size: 9px; }
  .hero-bottom { font-size: 7px; gap: 8px; }
  .section-heading { margin-bottom: 31px; }
  .service-grid { grid-template-columns: 1fr; gap: 12px; }
  .service-card { min-height: auto; padding: 24px 24px 27px; }
  .service-card h3 { min-height: 0; margin-top: 14px; }
  .service-top .service-icon { width: 49px; height: 49px; }
  .service-bottom { align-items: start; }
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .gallery-item { height: 245px; }
  .gallery-main { grid-row: auto; height: 300px; }
  .gallery-vertical { height: 275px; }
  .gallery-vertical img { object-position: center 40%; }
  .gallery-hint { justify-content: start; }
  .video-caption { font-size: 7px; letter-spacing: .1em; }
  .location-card h3 { font-size: 43px; }
  .location-card-head { align-items: start; }
  .location-tag { font-size: 8px; }
  .location-actions .btn { flex: 1; }
  .appointment-reminder { padding: 18px; gap: 12px; }
  .appointment-reminder .text-link { margin-left: 47px; }
  .closing-cta { padding: 69px 0; }
  .closing-cta h2 { font-size: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:nth-child(3),.footer-grid > div:nth-child(4) { grid-column: 1 / -1; }
  .footer-grid h3 { margin-bottom: 5px; }
  .footer-bottom { flex-direction: column; align-items: start; justify-content: center; padding: 17px 0; }
  .appointment-dialog { padding: 25px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js-ready [data-reveal] { opacity: 1; transform: none; }
}
