/* IMPRENTA SERIGRAFIK — Sitio estático para Cloudflare Pages */
:root {
  --navy: #071d3a;
  --navy-2: #0c2d57;
  --blue: #0956b1;
  --blue-light: #9bd4ff;
  --blue-pale: #e7f2ff;
  --ink: #142640;
  --muted: #65768d;
  --surface: #f4f7fb;
  --border: #d9e4ef;
  --white: #ffffff;
  --radius: 22px;
  --shadow: 0 20px 58px rgba(9, 37, 78, .10);
  --font: "Aptos", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--font); -webkit-font-smoothing: antialiased; }
body.menu-open, body.dialog-open { overflow: hidden; }
img, svg { display: block; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #55baff; outline-offset: 4px; }
::selection { color: white; background: var(--blue); }
.svg-symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: inline-block; width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(100% - 72px, 1216px); margin: 0 auto; }
.skip-link { position: fixed; left: 12px; top: -100px; z-index: 1500; background: #fff; color: var(--navy); border-radius: 8px; padding: 12px 18px; }
.skip-link:focus { top: 12px; }

/* Cabezal */
.utility-bar { height: 34px; background: var(--navy); color: #d1e5ff; font-size: 11px; letter-spacing: .1em; font-weight: 700; }
.utility-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.utility-inner span, .utility-inner a { display: inline-flex; align-items: center; gap: 8px; }
.utility-inner .icon { width: 13px; height: 13px; }
.utility-inner a:hover { color: #fff; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid #e8eef5; box-shadow: 0 7px 27px rgba(8,30,60,.045); backdrop-filter: blur(18px); }
.header-inner { min-height: 83px; display: flex; align-items: center; gap: 24px; justify-content: space-between; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; color: var(--navy); }
.wordmark-mark { display: flex; align-items: center; justify-content: center; width: 45px; height: 47px; border-radius: 11px; background: var(--blue); color: white; font-size: 30px; font-weight: 950; line-height: 1; letter-spacing: -.07em; padding-right: 5px; }
.wordmark-mark span { color: #93cfff; }
.wordmark-words { display: flex; flex-direction: column; gap: 1px; }
.wordmark-eyebrow { font-size: 10px; letter-spacing: .36em; font-weight: 900; color: var(--blue); }
.wordmark-words strong { font-size: 21px; line-height: 1.12; letter-spacing: -.035em; font-weight: 900; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: clamp(11px, 1.6vw, 25px); margin-left: auto; }
.desktop-nav a { font-size: 12.5px; font-weight: 750; color: #3a5067; transition: color .2s; padding: 10px 0; white-space: nowrap; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--blue); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; border: 1px solid transparent; border-radius: 8px; padding: 15px 21px; font-weight: 800; font-size: 13px; line-height: 1.3; transition: transform .25s, background .25s, border-color .25s, box-shadow .25s, color .25s; }
.button .icon { width: 17px; height: 17px; }
.button:hover { transform: translateY(-2px); }
.button-header { background: var(--blue); color: white; font-size: 12px; padding: 13px 17px; white-space: nowrap; }
.button-header:hover { background: var(--navy); box-shadow: 0 9px 22px rgba(8,54,109,.18); }
.mobile-menu-toggle { display: none; width: 45px; height: 45px; border: 1px solid var(--border); background: white; color: var(--navy); border-radius: 9px; align-items: center; justify-content: center; }
.mobile-menu-toggle .icon-close { display: none; }
.mobile-nav { display: none; }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 79% 0%, #0c4a8f 0%, transparent 47%), linear-gradient(118deg, #06192f 0%, #072447 55%, #083361 100%); color: white; }
.hero::before { content: ""; position: absolute; width: 700px; height: 700px; right: -280px; top: -330px; border: 1px solid rgba(135,195,255,.14); border-radius: 50%; box-shadow: 0 0 0 100px rgba(255,255,255,.014), 0 0 0 200px rgba(255,255,255,.014); pointer-events: none; }
.hero::after { content: ""; position: absolute; left: -110px; bottom: -370px; width: 690px; height: 690px; border: 1px solid rgba(145,205,255,.075); border-radius: 50%; pointer-events: none; }
.hero-grid { min-height: 626px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.06fr); align-items: center; gap: 58px; padding-top: 66px; padding-bottom: 78px; position: relative; z-index: 1; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-weight: 850; letter-spacing: .24em; font-size: 11px; }
.eyebrow-hero { color: #b7dfff; }
.eyebrow-line { display: inline-block; width: 35px; height: 2px; background: #75c4ff; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin: 27px 0 25px; font-size: clamp(45px, 5vw, 74px); letter-spacing: -.065em; font-weight: 900; line-height: 1.055; }
.hero h1 span { color: var(--blue-light); }
.hero-copy > p { margin: 0; max-width: 435px; color: #c3d6eb; font-size: clamp(15px, 1.3vw, 17px); line-height: 1.76; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.button-light { color: var(--navy); background: white; }
.button-light:hover { background: #cfeaff; box-shadow: 0 15px 30px rgba(0,0,0,.11); }
.button-outline { border-color: rgba(196,224,251,.38); color: white; background: rgba(255,255,255,.035); }
.button-outline:hover { border-color: #e2f4ff; background: rgba(255,255,255,.10); }
.hero-location { display: flex; align-items: center; gap: 8px; margin-top: 37px; font-size: 12px; font-weight: 650; letter-spacing: .02em; color: #a7c5df; }
.hero-location .icon { width: 16px; height: 16px; }
.hero-media { position: relative; padding: 21px 17px 21px 6px; }
.hero-image-wrap { position: relative; border-radius: 22px 6px 22px 6px; overflow: hidden; height: clamp(330px, 35vw, 455px); background: #d8e7f7; border: 1px solid rgba(186,217,255,.56); box-shadow: 0 35px 55px rgba(1,8,24,.3), 0 0 0 8px rgba(255,255,255,.035); }
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-image-wrap::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 26px 7px rgba(7,31,67,.18); border-radius: inherit; }
.hero-photo-corner { position: absolute; width: 110px; height: 110px; right: 0; bottom: 0; background: linear-gradient(135deg, transparent 49%, rgba(7,29,58,.20) 50%); opacity: .32; }
.hero-media::before { content: ""; position: absolute; inset: 6px 2px 5px 22px; border: 1px solid rgba(145,202,246,.38); border-radius: 24px 6px 24px 6px; pointer-events: none; }
.hero-side-caption { position: absolute; right: 0; top: 3px; font-size: 10px; font-weight: 850; letter-spacing: .22em; color: #acd4f6; transform: translateY(-6px); }
.hero-image-sticker { display: flex; gap: 13px; align-items: center; position: absolute; left: -29px; bottom: -11px; min-width: 215px; background: white; color: var(--navy); box-shadow: 0 19px 42px rgba(0,0,0,.16); border-radius: 10px; padding: 15px 19px; font-size: 13px; line-height: 1.35; }
.sticker-number { font-size: 44px; line-height: 1; color: var(--blue); font-weight: 900; letter-spacing: -.085em; }
.hero-image-sticker strong { font-size: 14px; }
.hero-watermark { position: absolute; bottom: -165px; right: -65px; font-size: 650px; line-height: .8; font-weight: 950; letter-spacing: -.1em; color: rgba(255,255,255,.025); transform: rotate(-12deg); z-index: 0; pointer-events: none; }
.specialties-strip { background: #0b376b; color: white; }
.specialties-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 0; }
.specialties-inner > span:not(.strip-divider) { display: inline-flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 850; letter-spacing: .17em; }
.specialties-inner .icon { color: #a2d5ff; width: 21px; height: 21px; }
.strip-divider { width: 1px; height: 25px; background: rgba(255,255,255,.18); }

/* Secciones y servicios */
.section { padding: 102px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 38px; }
.section-kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); font-size: 10px; font-weight: 900; letter-spacing: .23em; line-height: 1.6; }
.section-kicker .dot { width: 7px; height: 7px; background: var(--blue); border-radius: 50%; }
.section-heading h2, .coverage-intro h2, .contact-intro h2 { font-weight: 890; font-size: clamp(35px, 4.2vw, 58px); letter-spacing: -.063em; line-height: 1.1; margin: 17px 0 0; }
.section-heading h2 em, .coverage-intro h2 em, .contact-intro h2 em { color: var(--blue); font-style: normal; }
.title-period { color: var(--blue); }
.section-heading > p { max-width: 287px; margin-bottom: 5px; color: var(--muted); line-height: 1.7; font-size: 14px; }
.services-section { background: var(--surface); }
.service-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; align-items: stretch; }
.service-card { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 455px; padding: 29px 29px 28px; background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 13px 36px rgba(5,40,81,.045); transition: transform .3s, box-shadow .3s, border-color .3s; }
.service-card:hover { transform: translateY(-6px); border-color: #b1cee9; box-shadow: var(--shadow); }
.service-card::after { content:""; position:absolute; right:-55px; top:76px; width:145px; height:145px; border: 1px solid #eaf0f7; border-radius:50%; pointer-events:none; }
.service-card-featured { background: linear-gradient(155deg,#095cb7,#073c82); color: white; border-color: #105ca6; }
.service-card-featured::after { border-color: rgba(255,255,255,.15); }
.service-top { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.service-index { font-size: 10px; letter-spacing: .17em; font-weight: 900; color: var(--blue); }
.service-card-featured .service-index { color: #b6dfff; }
.service-icon { width: 51px; height: 51px; border-radius: 13px; background: #eaf3ff; color: var(--blue); display: grid; place-items: center; }
.service-icon .icon { width: 24px; height: 24px; }
.service-card-featured .service-icon { background: rgba(255,255,255,.14); color: white; }
.service-card h3 { font-size: clamp(25px,2.1vw,32px); letter-spacing: -.04em; margin: 17px 0 20px; line-height: 1.13; }
.service-separator { height: 1px; background: #e6edf5; margin-bottom: 18px; }
.service-card-featured .service-separator { background: rgba(255,255,255,.23); }
.service-list { list-style: none; margin: 0 0 27px; padding: 0; display: grid; gap: 12px; font-size: 14px; color: #496078; line-height: 1.5; }
.service-list li { display: flex; align-items: start; gap: 11px; }
.service-list li::before { content:""; width: 7px; height: 7px; flex: 0 0 7px; margin-top: 7px; background: var(--blue); border-radius: 50%; }
.service-card-featured .service-list { color: #e4f2ff; }
.service-card-featured .service-list li::before { background: #9bd4ff; }
.service-link { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 9px; color: var(--blue); font-size: 12px; font-weight: 900; border-bottom: 1px solid currentColor; padding-bottom: 5px; }
.service-link .icon { width: 16px; height: 16px; transition: transform .2s; }
.service-link:hover .icon { transform: translate(3px,-3px); }
.service-card-featured .service-link { color: white; }

/* Galería */
.gallery-section { background: radial-gradient(ellipse at 5% 5%, rgba(10,80,148,.48), transparent 42%), #081f3e; color: white; }
.section-heading-gallery { margin-bottom: 32px; }
.gallery-section .section-kicker, .hours-section .section-kicker { color: #98cbfc; }
.gallery-section .section-kicker .dot, .hours-section .section-kicker .dot { background: #86c8fc; }
.gallery-section .section-heading h2 em, .hours-section .section-heading h2 em { color: #a0d4ff; }
.gallery-section .title-period, .hours-section .title-period { color: #9bd4ff; }
.gallery-section .section-heading > p, .hours-section .section-heading > p { color: #b5c9de; }
.gallery-toolbar { display: flex; gap: 20px; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.gallery-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-button { border: 1px solid rgba(173,207,243,.27); background: rgba(255,255,255,.045); color: #d7e9fb; border-radius: 100px; font-size: 12px; font-weight: 800; padding: 11px 16px; transition: background .22s, color .22s, border .22s; }
.filter-button:hover { background: rgba(255,255,255,.13); }
.filter-button.is-active { background: white; border-color: white; color: var(--navy); }
.filter-button span { display: inline-block; font-size: 10px; opacity: .65; margin-left: 6px; }
.gallery-counter { font-size: 11px; color: #92b9dc; font-weight: 750; white-space: nowrap; }
.gallery-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.gallery-item { min-width: 0; overflow: hidden; text-align: left; background: #0e3058; color: #fff; padding: 0; border: 1px solid rgba(157,198,237,.24); border-radius: 17px; box-shadow: 0 10px 35px rgba(0,0,0,.13); transition: transform .25s, border-color .25s, box-shadow .25s; }
.gallery-item:hover { transform: translateY(-5px); border-color: rgba(168,218,255,.75); box-shadow: 0 20px 45px rgba(0,0,0,.25); }
.gallery-item[hidden] { display: none !important; }
.gallery-featured { grid-column: span 2; }
.gallery-visual { position: relative; display: block; width: 100%; height: 236px; isolation: isolate; background: #d9e5ef; overflow: hidden; }
.gallery-featured .gallery-visual { height: 236px; }
.gallery-blur { position: absolute; inset: -18px; width: calc(100% + 36px); height: calc(100% + 36px); object-fit: cover; filter: blur(23px) brightness(.90) saturate(.9); opacity: .64; z-index: -1; }
.gallery-photo { width: 100%; height: 100%; object-fit: contain; object-position: center; padding: 10px; transition: transform .45s; }
.gallery-item:hover .gallery-photo { transform: scale(1.045); }
.gallery-visual::after { content: ""; position: absolute; inset: 0; pointer-events: none; border: 1px solid rgba(190,217,242,.25); box-shadow: inset 0 0 28px 8px rgba(7,29,58,.16); border-radius: 16px 16px 0 0; }
.gallery-caption { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 85px; padding: 15px 18px 18px; }
.gallery-caption > span:first-child { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.gallery-caption small { font-size: 9px; font-weight: 850; letter-spacing: .15em; color: #a5d4fc; }
.gallery-caption strong { font-size: 15px; line-height: 1.3; font-weight: 800; }
.gallery-plus { display: grid; place-items: center; width: 33px; height: 33px; flex: 0 0 33px; border-radius: 50%; border: 1px solid rgba(187,220,251,.4); transition: background .2s, color .2s; }
.gallery-plus .icon { width: 17px; height: 17px; }
.gallery-item:hover .gallery-plus { background: #fff; color: var(--blue); }
.gallery-hint { font-size: 12px; color: #98b6d4; text-align: center; margin: 28px 0 0; }

/* Cobertura */
.coverage-section { overflow: hidden; background: #f1f6fc; }
.coverage-layout { display: grid; grid-template-columns: .92fr 1.08fr; gap: 85px; align-items: start; }
.coverage-intro { position: relative; }
.coverage-intro h2, .contact-intro h2 { margin: 21px 0; }
.coverage-intro > p, .contact-intro > p { max-width: 375px; font-size: 15px; line-height: 1.75; color: var(--muted); }
.coverage-deco { position: relative; width: 260px; height: 260px; margin-top: 34px; border-radius: 50%; background: linear-gradient(135deg,#e1efff,#f6fbff); border: 1px solid #d3e4f5; display: grid; place-items: center; }
.coverage-deco-ring { position: absolute; border: 1px dashed #9bc4ee; border-radius: 50%; }
.ring-one { width: 184px; height: 184px; }
.ring-two { width: 116px; height: 116px; }
.coverage-deco-center { width: 65px; height: 65px; display: grid; place-items: center; background: var(--blue); border-radius: 18px; color: white; transform: rotate(-10deg); box-shadow: 0 14px 30px rgba(8,80,161,.25); }
.coverage-deco-center .icon { width: 29px; height: 29px; transform: rotate(10deg); }
.coverage-list { display: grid; gap: 12px; }
.coverage-place { display: flex; align-items: center; min-height: 76px; gap: 22px; padding: 16px 19px; border: 1px solid #dce8f3; border-radius: 13px; background: #fff; box-shadow: 0 5px 20px rgba(3,37,74,.025); transition: transform .25s, border-color .25s; }
.coverage-place:hover { transform: translateX(5px); border-color: #a4c7e7; }
.place-number { font-size: 12px; font-weight: 900; color: var(--blue); letter-spacing: .11em; }
.coverage-place strong { font-size: 14px; line-height: 1.45; color: var(--navy); font-weight: 750; flex: 1; }
.coverage-place .icon { color: #8ab8e4; width: 18px; height: 18px; }

/* Horarios */
.hours-section { background: #092447; color: white; position: relative; overflow: hidden; }
.hours-section::before { content:""; position:absolute; right:-150px; top:-260px; width:650px; height:650px; border: 1px solid rgba(255,255,255,.075); border-radius: 50%; box-shadow: 0 0 0 90px rgba(255,255,255,.015), 0 0 0 180px rgba(255,255,255,.012); pointer-events: none; }
.hours-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 17px; }
.hour-card { min-height: 258px; display: flex; flex-direction: column; padding: 26px 26px 29px; background: #11345c; border: 1px solid rgba(159,200,241,.19); border-radius: 15px; }
.hour-card-primary { background: linear-gradient(145deg,#1264ba,#084f9e); border-color: rgba(160,204,248,.35); }
.hour-card-top { display: flex; justify-content: space-between; align-items: center; color: #b3dcff; font-size: 12px; font-weight: 850; }
.hour-card-top .icon { width: 25px; height: 25px; }
.hour-card h3 { margin: 31px 0 22px; font-size: clamp(20px,1.8vw,25px); line-height: 1.2; letter-spacing: -.03em; }
.hour-times { display: grid; gap: 13px; margin-top: auto; }
.hour-times span { color: #f0f7ff; font-size: 15px; font-weight: 800; line-height: 1.3; }
.hour-times b { font-weight: 500; color: #a6cceb; margin: 0 5px; }
.hour-times .closed-label { display: inline-flex; width: fit-content; border-radius: 5px; border: 1px solid rgba(183,216,246,.3); padding: 10px 15px; color: #d6e3f1; font-size: 14px; }

/* Contacto */
.contact-section { background: #fff; overflow: hidden; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 85px; }
.contact-intro { position: relative; min-width: 0; }
.contact-intro h2 { max-width: 480px; }
.contact-big-word { color: #f3f8fe; font-size: clamp(70px,8vw,125px); font-weight: 950; line-height: 1; letter-spacing: -.065em; position: absolute; bottom: 8px; left: -5px; z-index: 0; pointer-events: none; }
.contact-cards { display: grid; gap: 13px; }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 19px; min-width: 0; background: #f6f9fd; border: 1px solid #dfeaf4; border-radius: 13px; transition: transform .2s, box-shadow .2s, background .2s; }
a.contact-card:hover { transform: translateX(4px); background: #eef6ff; box-shadow: 0 12px 32px rgba(8,50,105,.06); }
.contact-card-icon { flex: 0 0 50px; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 10px; background: #e5f1ff; color: var(--blue); }
.contact-card-icon .icon { width: 24px; height: 24px; }
.contact-card-wa .contact-card-icon { background: #e1f6ef; color: #078454; }
.contact-card-text { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.contact-card-text small { font-size: 10px; font-weight: 850; letter-spacing: .16em; color: #607a95; }
.contact-card-text strong { font-size: clamp(14px,1.5vw,17px); font-weight: 850; color: var(--navy); overflow-wrap: anywhere; }
.contact-card-text > span { font-size: 12px; color: var(--blue); font-weight: 650; }
.contact-card-action { width: 34px; height: 34px; border: 1px solid #cee0f2; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center; flex-shrink: 0; }
.contact-card-action .icon { width: 16px; height: 16px; }
.copy-facebook { cursor: pointer; }
.copy-facebook .copy-success { display: none; }
.copy-facebook.copied .copy-original { display: none; }
.copy-facebook.copied .copy-success { display: block; }

/* Footer y botones flotantes */
.site-footer { color: #d3e3f4; background: #06182e; }
.footer-top { display: grid; grid-template-columns: 1.1fr .6fr .9fr; gap: 65px; padding: 58px 0 45px; }
.wordmark-footer { color: white; }
.wordmark-footer .wordmark-eyebrow { color: #9dcfff; }
.footer-top p { font-size: 13px; margin: 20px 0 0; color: #a3bad1; }
.footer-links, .footer-contact { display: flex; align-items: flex-start; flex-direction: column; gap: 13px; }
.footer-links a, .footer-contact a, .footer-contact span { font-size: 13px; color: #b0c5db; line-height: 1.45; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact > span:first-child { color: #e1f4ff; font-weight: 900; letter-spacing: .14em; font-size: 10px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.12); padding: 21px 0 25px; color: #87a6c5; font-size: 11px; }
.floating-whatsapp { position: fixed; z-index: 90; right: 22px; bottom: 22px; width: 55px; height: 55px; border-radius: 50%; color: white; background: #138a5a; display: grid; place-items: center; box-shadow: 0 12px 28px rgba(0,65,44,.25); transition: transform .2s, background .2s; }
.floating-whatsapp:hover { transform: translateY(-4px); background: #087b4c; }
.floating-whatsapp .icon { width: 29px; height: 29px; stroke-width: 1.65; }
.back-to-top { position: fixed; z-index: 85; bottom: 90px; right: 26px; width: 45px; height: 45px; display: grid; place-items: center; border: 1px solid #c8dbe9; color: var(--blue); background: white; border-radius: 50%; box-shadow: 0 10px 25px rgba(0,39,86,.1); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s, visibility .2s, transform .2s; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top .icon { width: 19px; height: 19px; }

/* Lightbox */
.photo-dialog { width: min(96vw, 1020px); max-width: none; max-height: 95dvh; border: 1px solid rgba(186,215,243,.2); border-radius: 18px; background: #081d37; color: white; padding: 0; box-shadow: 0 40px 110px rgba(0,0,0,.4); overflow: hidden; }
.photo-dialog::backdrop { background: rgba(2,10,24,.85); backdrop-filter: blur(10px); }
.dialog-frame { padding: 14px 18px 17px; }
.dialog-top, .dialog-bottom { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.dialog-label { font-size: 10px; color: #9dc9f0; letter-spacing: .16em; font-weight: 850; }
.dialog-close { width: 36px; height: 36px; border-radius: 8px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.04); color: white; display: grid; place-items: center; }
.dialog-close:hover { background: rgba(255,255,255,.15); }
.dialog-body { position: relative; margin: 12px 0; display: grid; place-items: center; min-height: 180px; }
.dialog-image { display: block; width: auto; max-width: 100%; max-height: min(69dvh, 730px); object-fit: contain; border-radius: 8px; border: 1px solid rgba(195,223,251,.15); }
.dialog-arrow { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(8,29,55,.8); color: white; width: 44px; height: 44px; display: grid; place-items: center; }
.dialog-arrow:hover { background: #1264ba; }
.dialog-prev { left: 7px; }
.dialog-next { right: 7px; }
.dialog-bottom strong { font-size: 14px; font-weight: 800; }
.dialog-page { font-size: 11px; letter-spacing: .15em; color: #a7c9e9; font-weight: 800; }
.toast { position: fixed; z-index: 200; left: 50%; bottom: 26px; transform: translate(-50%,15px); background: #112f53; color: white; border-radius: 9px; padding: 12px 18px; box-shadow: 0 12px 30px rgba(0,0,0,.2); font-weight: 700; font-size: 12px; pointer-events: none; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s, transform .25s; }
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%,0); }

/* Entradas suaves, con contenido visible cuando JS no se ejecuta */
.js-motion .reveal { opacity: 1; transform: none; transition: opacity .65s ease, transform .65s ease; }
.js-motion .reveal.is-revealed { opacity: 1; transform: translateY(0); }

@media (max-width: 1130px) {
  .container { width: min(100% - 50px,1216px); }
  .header-inner { gap: 14px; }
  .wordmark-words strong { font-size: 19px; }
  .desktop-nav { gap: 13px; }
  .desktop-nav a { font-size: 11.5px; }
  .button-header { padding: 12px; }
  .hero-grid { gap: 34px; }
  .hero h1 { font-size: clamp(43px,5.15vw,64px); }
  .coverage-layout, .contact-layout { gap: 55px; }
}
@media (max-width: 950px) {
  .desktop-nav, .button-header { display: none; }
  .header-inner { min-height: 75px; }
  .mobile-menu-toggle { display: inline-flex; }
  .mobile-menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
  .mobile-menu-toggle[aria-expanded="true"] .icon-close { display: block; }
  .mobile-nav:not([hidden]) { display: flex; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; background: white; padding: 13px max(25px, calc((100vw - 1216px)/2)) 25px; border-top: 1px solid #edf2f7; border-bottom: 1px solid #d6e4f0; box-shadow: 0 18px 35px rgba(7,29,58,.15); max-height: calc(100dvh - 75px); overflow-y: auto; }
  .mobile-nav a { display: flex; align-items: center; justify-content: space-between; padding: 13px 5px; font-size: 14px; font-weight: 750; border-bottom: 1px solid #ebf1f7; }
  .mobile-nav .mobile-nav-contact { margin-top: 12px; border: 0; justify-content: center; gap: 10px; border-radius: 8px; background: var(--blue); color: white; padding: 14px 15px; }
  .hero-grid { gap: 26px; min-height: 550px; padding-top: 60px; padding-bottom: 70px; }
  .hero h1 { font-size: clamp(38px,5vw,51px); }
  .hero-image-wrap { height: 360px; }
  .hero-image-sticker { left: -17px; }
  .service-card { padding: 25px 23px; min-height: 470px; }
  .coverage-layout, .contact-layout { gap: 35px; }
}
@media (max-width: 750px) {
  .container { width: min(100% - 40px,600px); }
  .section { padding: 74px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; padding-top: 58px; padding-bottom: 72px; }
  .hero h1 { font-size: clamp(47px,9vw,72px); }
  .hero-copy > p { max-width: 540px; }
  .hero-location { margin-top: 24px; }
  .hero-media { max-width: 580px; width: 100%; padding-right: 9px; padding-top: 14px; }
  .hero-image-wrap { height: auto; aspect-ratio: 1.65; }
  .hero-image-sticker { bottom: -23px; left: -3px; min-width: 178px; padding: 12px 14px; }
  .sticker-number { font-size: 34px; }
  .hero-side-caption { right: 3px; top: -3px; }
  .specialties-inner { padding: 16px 0; }
  .specialties-inner > span:not(.strip-divider) { font-size: 9px; gap: 6px; letter-spacing: .07em; }
  .specialties-inner .icon { width: 15px; height: 15px; }
  .section-heading { align-items: start; flex-direction: column; gap: 13px; margin-bottom: 29px; }
  .section-heading h2, .coverage-intro h2, .contact-intro h2 { font-size: clamp(37px,7vw,51px); }
  .section-heading > p { max-width: 500px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: unset; padding: 28px; }
  .service-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 18px; }
  .gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
  .gallery-featured { grid-column: span 2; }
  .gallery-visual, .gallery-featured .gallery-visual { height: 210px; }
  .gallery-featured .gallery-visual { height: 255px; }
  .gallery-caption { padding: 14px; }
  .gallery-caption strong { font-size: 13px; }
  .gallery-counter { display: none; }
  .coverage-layout, .contact-layout { grid-template-columns: 1fr; gap: 26px; }
  .coverage-deco { display: none; }
  .coverage-place { min-height: 65px; }
  .hours-grid { grid-template-columns: 1fr 1fr; }
  .hour-card-primary { grid-column: span 2; }
  .hour-card { min-height: 215px; }
  .hour-card-primary { min-height: 205px; }
  .contact-big-word { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px 25px; }
  .footer-top > div:first-child { grid-column: span 2; }
}
@media (max-width: 470px) {
  html { scroll-padding-top: 81px; }
  .container { width: calc(100% - 34px); }
  .utility-bar { height: 29px; font-size: 9px; letter-spacing: .03em; }
  .utility-inner .icon { width: 12px; height: 12px; }
  .header-inner { min-height: 68px; }
  .wordmark { gap: 9px; }
  .wordmark-mark { width: 41px; height: 42px; font-size: 27px; }
  .wordmark-words strong { font-size: 18px; }
  .wordmark-eyebrow { font-size: 9px; }
  .hero-grid { padding-top: 46px; padding-bottom: 72px; }
  .hero h1 { font-size: clamp(43px,10.8vw,57px); margin: 20px 0 18px; }
  .hero-copy > p { font-size: 14px; }
  .hero-actions { gap: 10px; margin-top: 24px; }
  .hero-actions .button { font-size: 12px; padding: 13px 14px; }
  .hero-image-wrap { aspect-ratio: 1.28; }
  .hero-image-wrap img { object-position: 50% 50%; }
  .hero-media { padding-right: 6px; }
  .hero-image-sticker { min-width: 150px; }
  .sticker-number { font-size: 30px; }
  .hero-side-caption { font-size: 8px; }
  .specialties-inner { gap: 8px; }
  .specialties-inner > span:not(.strip-divider) { font-size: 8px; gap: 4px; letter-spacing: 0; }
  .strip-divider { height: 20px; }
  .specialties-inner .icon { display: none; }
  .section { padding: 64px 0; }
  .section-heading h2, .coverage-intro h2, .contact-intro h2 { font-size: clamp(35px, 9vw, 45px); }
  .service-card { padding: 24px; }
  .service-list { grid-template-columns: 1fr; }
  .gallery-toolbar { margin-bottom: 15px; }
  .gallery-filters { gap: 7px; }
  .filter-button { font-size: 11px; padding: 10px 11px; }
  .gallery-grid { gap: 10px; }
  .gallery-visual, .gallery-featured .gallery-visual { height: 175px; }
  .gallery-featured .gallery-visual { height: 225px; }
  .gallery-photo { padding: 5px; }
  .gallery-caption { min-height: 75px; gap: 4px; padding: 12px 9px; }
  .gallery-caption small { font-size: 8px; letter-spacing: .06em; }
  .gallery-caption strong { font-size: 12px; }
  .gallery-plus { width: 25px; height: 25px; flex: 0 0 25px; }
  .gallery-plus .icon { width: 15px; height: 15px; }
  .coverage-place { padding: 13px; gap: 12px; }
  .coverage-place strong { font-size: 12.5px; }
  .hour-card { padding: 20px 16px; min-height: 220px; }
  .hour-card-primary { min-height: 200px; }
  .hour-card h3 { font-size: 19px; }
  .hour-times span { font-size: 13px; }
  .contact-card { padding: 14px; gap: 10px; }
  .contact-card-icon { width: 40px; height: 42px; flex-basis: 40px; }
  .contact-card-icon .icon { width: 21px; height: 21px; }
  .contact-card-text strong { font-size: 13px; }
  .contact-card-action { width: 29px; height: 29px; }
  .footer-top { gap: 32px 15px; padding: 42px 0; }
  .footer-bottom { font-size: 10px; }
  .floating-whatsapp { width: 50px; height: 50px; right: 16px; bottom: 16px; }
  .back-to-top { right: 18px; bottom: 77px; }
  .dialog-frame { padding: 10px; }
  .dialog-label { font-size: 9px; }
  .dialog-arrow { width: 35px; height: 35px; }
  .dialog-prev { left: 3px; }
  .dialog-next { right: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js-motion .reveal { opacity: 1 !important; transform: none !important; }
}
