/* Medicalplus — sitio web estático, adaptable y sin dependencias CSS externas */
:root {
  --navy: #0b3342;
  --navy-deep: #092b39;
  --navy-dark: #082532;
  --teal: #1b9d9b;
  --teal-deep: #117d84;
  --mint: #70dbd0;
  --mint-pale: #e8f8f5;
  --blue-pale: #f3fafb;
  --line: #dce9ea;
  --text: #173642;
  --muted: #667b84;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(17, 59, 71, .07);
  --radius-lg: 24px;
  --container: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 115px; }
body { margin: 0; background: var(--white); color: var(--text); font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
::selection { color: var(--navy); background: #a5eee4; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, iframe:focus-visible { outline: 3px solid #42c8bd; outline-offset: 4px; }
button { font: inherit; }
svg { display: block; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-sm { width: 18px; height: 18px; }
.container { width: min(var(--container), calc(100% - 64px)); margin: 0 auto; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 1000; background: #fff; padding: 12px 18px; border-radius: 12px; color: var(--navy); font-weight: 800; }
.skip-link:focus { top: 16px; }

/* Barra informativa */
.topbar { background: #e5f5f2; color: #275963; font-size: 12px; font-weight: 650; letter-spacing: .012em; }
.topbar-inner { min-height: 38px; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.topbar-note { display: flex; align-items: center; gap: 9px; }
.status-dot { position: relative; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-deep); box-shadow: 0 0 0 5px rgba(27,157,155,.12); }
.topbar-right { display: flex; gap: 12px; align-items: center; }
.topbar-divider { height: 12px; width: 1px; background: #a6d5d0; }

/* Cabecera */
.site-header { background: #fff; position: sticky; z-index: 200; top: 0; border-bottom: 1px solid rgba(8,57,69,.065); transition: box-shadow .25s, background .25s; }
.site-header.is-scrolled { box-shadow: 0 12px 30px rgba(15,56,70,.075); }
.header-inner { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark { width: 43px; height: 43px; display: grid; place-items: center; background: linear-gradient(145deg, #0d4454, #0c303f); border-radius: 14px; box-shadow: 0 7px 13px rgba(10,62,72,.12); }
.brand-cross { width: 22px; height: 22px; position: relative; display: block; }
.brand-cross::before, .brand-cross::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 3px; background: #92eadd; }
.brand-cross::before { width: 22px; height: 8px; }
.brand-cross::after { height: 22px; width: 8px; }
.brand-name { display: flex; flex-wrap: wrap; position: relative; font-size: 25px; line-height: 1; font-weight: 800; letter-spacing: -.065em; color: var(--navy); padding-bottom: 13px; }
.brand-name > span { color: var(--teal); }
.brand-name small { position: absolute; left: 1px; bottom: 0; font-size: 8.4px; font-weight: 800; letter-spacing: .21em; color: #7c949c; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav-link { font-size: 13px; font-weight: 700; color: #4f6872; position: relative; transition: color .2s; padding: 8px 0; }
.nav-link::after { content: ""; position: absolute; width: 0; height: 2px; border-radius: 4px; left: 0; bottom: 0; background: var(--teal); transition: width .25s; }
.nav-link:hover, .nav-link.active { color: var(--teal-deep); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 53px; padding: 14px 22px; border-radius: 14px; font-size: 13px; font-weight: 750; line-height: 1.2; white-space: nowrap; border: 1px solid transparent; transition: transform .25s ease, background .25s ease, box-shadow .25s ease, border-color .25s ease; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; transition: transform .25s; }
.btn:hover svg { transform: translateX(3px); }
.btn-nav { background: var(--navy); color: #fff; min-height: 46px; border-radius: 12px; padding: 13px 16px; }
.btn-nav:hover { background: var(--teal-deep); box-shadow: 0 8px 20px rgba(9,55,67,.16); }
.menu-toggle { display: none; }

/* Hero */
.hero { background: radial-gradient(ellipse at 79% 28%, #174e5d 0%, transparent 45%), linear-gradient(127deg, #092c3b 0%, #0b3543 52%, #0c3543 100%); position: relative; color: #fff; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%; background: #1baca6; filter: blur(130px); opacity: .13; right: -120px; bottom: -230px; pointer-events: none; }
.hero-grid-lines { position: absolute; inset: 0; opacity: .24; pointer-events: none; background-image: linear-gradient(90deg, rgba(139,220,216,.1) 1px, transparent 1px),linear-gradient(0deg, rgba(139,220,216,.08) 1px, transparent 1px); background-size: 92px 92px; mask-image: linear-gradient(90deg, transparent 15%, #000 100%); }
.hero-layout { min-height: 615px; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; position: relative; gap: 0; }
.hero-content { position: relative; z-index: 3; padding: 72px 0 78px; max-width: 645px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--teal-deep); font-size: 11px; letter-spacing: .19em; line-height: 1.4; font-weight: 850; text-transform: uppercase; }
.eyebrow-line { width: 26px; height: 2px; display: inline-block; flex-shrink: 0; background: currentColor; border-radius: 4px; }
.eyebrow-light { color: #8de8d9; }
.eyebrow-dot { opacity: .7; }
h1,h2,h3,p { margin-top: 0; }
h1,h2,h3 { text-wrap: balance; }
h1 { font-size: clamp(44px, 5vw, 72px); letter-spacing: -.065em; font-weight: 790; line-height: 1.105; margin: 27px 0 25px; }
h1 em, h2 em { font-style: normal; color: #8ee6d7; }
.hero-description { max-width: 515px; color: #c5dade; line-height: 1.83; font-size: 16px; font-weight: 425; margin-bottom: 35px; }
.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.btn-primary { background: #5bd7c9; color: #0b3442; border-color: #5bd7c9; box-shadow: 0 14px 38px rgba(13,187,166,.16); }
.btn-primary:hover { background: #9aeee2; box-shadow: 0 14px 36px rgba(13,187,166,.25); }
.btn-outline { border-color: rgba(180,235,235,.32); color: #efffff; background: rgba(255,255,255,.035); }
.btn-outline:hover { border-color: rgba(180,235,235,.72); background: rgba(255,255,255,.1); }
.hero-location { display: flex; gap: 9px; align-items: center; margin-top: 33px; font-size: 12px; color: #c5d9de; }
.hero-location .icon { width: 17px; height: 17px; color: #88dbcf; }
.hero-visual { min-height: 595px; position: relative; width: 100%; display: grid; place-items: center; }
.hero-visual-shine { width: 350px; height: 350px; position: absolute; background: #5fd2c5; opacity: .14; filter: blur(88px); top: 20%; left: 18%; }
.hero-art { position: relative; width: min(680px, 122%); max-width: none; height: auto; filter: drop-shadow(0 18px 40px rgba(0,0,0,.08)); transform: translate(21px, -6px); animation: hero-breathe 7s ease-in-out infinite alternate; }
@keyframes hero-breathe { from { transform: translate(21px, -4px) scale(1); } to { transform: translate(21px, 4px) scale(1.018); } }
.hero-float { position: absolute; display: flex; align-items: center; gap: 11px; border: 1px solid rgba(203,250,246,.45); background: rgba(246,255,255,.96); color: var(--navy); box-shadow: 0 18px 32px rgba(7,35,43,.19); backdrop-filter: blur(8px); padding: 12px 15px; border-radius: 17px; z-index: 4; }
.hero-float span:last-child { display: grid; gap: 0; }
.hero-float b { font-size: 12px; line-height: 1.5; font-weight: 790; }
.hero-float small { font-size: 10px; font-weight: 500; color: #6a818b; line-height: 1.4; }
.hero-float-a { right: -9px; top: 120px; animation: float-up 6s ease-in-out infinite alternate; }
.hero-float-b { bottom: 108px; left: -6px; animation: float-up 5s ease-in-out infinite alternate-reverse; }
@keyframes float-up { from { transform: translateY(0); } to { transform: translateY(-10px); } }
.float-square,.float-round { background: #e3f7f1; color: var(--teal-deep); width: 35px; height: 35px; display: grid; place-items: center; border-radius: 10px; }
.float-round { border-radius: 50%; }
.float-square .icon,.float-round .icon { width: 19px; height: 19px; }
.hero-highlights { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid rgba(170,224,223,.17); min-height: 104px; }
.highlight-item { display: flex; align-items: center; gap: 15px; padding: 21px 34px 21px 0; }
.highlight-item + .highlight-item { border-left: 1px solid rgba(170,224,223,.17); padding-left: 43px; }
.highlight-icon { width: 43px; height: 43px; background: rgba(143,230,219,.1); border: 1px solid rgba(143,230,219,.2); color: #9ae9dd; border-radius: 13px; flex-shrink: 0; display: grid; place-items: center; }
.highlight-icon .icon { width: 22px; height: 22px; }
.highlight-item > span:last-child { display: flex; flex-direction: column; gap: 0; }
.highlight-item b { font-size: 14px; font-weight: 750; line-height: 1.5; }
.highlight-item small { color: #b7ced1; font-size: 11px; }

/* Secciones */
.section { padding: 106px 0; }
.section-header { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 41px; }
.section-header-left { flex: 1; }
h2 { font-size: clamp(37px, 4.1vw, 54px); font-weight: 780; letter-spacing: -.062em; line-height: 1.15; margin: 19px 0 0; color: var(--navy); }
h2 span { color: var(--teal); }
.section-lead { flex: 0 0 340px; font-size: 15px; line-height: 1.85; color: var(--muted); margin-bottom: 3px; }
.services-section { background: #fff; position: relative; }
.services-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 17px; }
.service-card { position: relative; min-height: 238px; border: 1px solid #dfecee; background: #fff; padding: 24px; border-radius: 20px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; transition: transform .27s ease, box-shadow .27s ease, border-color .27s ease, background .27s ease; }
.service-card::before { content: ""; position: absolute; top: 0; right: 0; width: 145px; height: 145px; background: radial-gradient(circle, #dff9f4 0%, transparent 70%); transform: translate(53px,-48px); opacity: .3; transition: opacity .25s, transform .3s; pointer-events: none; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 19px 45px rgba(7,50,58,.10); border-color: #99d6d1; }
.service-card:hover::before { transform: translate(37px,-39px); opacity: .7; }
.service-card:nth-child(4n+2),.service-card:nth-child(4n+3) { background: #f8fcfb; }
.service-card-top,.service-card-bottom { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 1; }
.service-icon { width: 61px; height: 61px; border-radius: 17px; display: grid; place-items: center; color: var(--teal-deep); background: #e5f6f3; border: 1px solid #cfefea; }
.service-icon .icon { width: 29px; height: 29px; stroke-width: 1.65; }
.service-number { color: #9cbdc3; font-size: 12px; letter-spacing: .03em; font-weight: 750; align-self: start; }
.service-card h3 { position: relative; z-index: 1; color: var(--navy); font-weight: 770; font-size: clamp(17px, 1.5vw, 21px); letter-spacing: -.035em; line-height: 1.3; margin: 24px 0 15px; max-width: 175px; }
.service-card-bottom { border-top: 1px solid #e2edee; padding-top: 13px; color: #69818b; font-size: 11px; font-weight: 660; }
.mini-arrow { display: grid; place-items: center; color: var(--teal-deep); }
.mini-arrow .icon { width: 18px; height: 18px; }
.service-bottom-note { margin-top: 25px; min-height: 71px; padding: 17px 25px; display: flex; align-items: center; gap: 12px; background: #edf8f6; border-radius: 14px; color: #315663; font-size: 13px; }
.service-bottom-note > .icon { color: var(--teal-deep); }
.service-bottom-note strong { color: var(--navy); }
.service-bottom-note > a { margin-left: auto; color: var(--teal-deep); font-weight: 760; display: flex; gap: 8px; align-items: center; white-space: nowrap; }
.service-bottom-note > a:hover { color: var(--navy); }

/* Panel de cita */
.appointment-section { padding: 0 0 108px; background: white; }
.appointment-panel { min-height: 252px; background: radial-gradient(circle at 80% -20%, #248c8f 0%, transparent 46%), linear-gradient(110deg, #0b3544 0%, #104e5c 100%); color: #fff; padding: 47px 54px; border-radius: 27px; display: flex; align-items: center; gap: 29px; overflow: hidden; position: relative; }
.appointment-icon { display: grid; place-items: center; flex-shrink: 0; width: 84px; height: 84px; border: 1px solid rgba(171,235,229,.4); background: rgba(255,255,255,.08); border-radius: 23px; position: relative; z-index: 1; }
.appointment-icon .icon { width: 38px; height: 38px; color: #a1eee3; }
.appointment-copy { max-width: 620px; flex: 1; position: relative; z-index: 1; }
.appointment-copy .eyebrow { font-size: 10px; }
.appointment-copy h2 { font-size: clamp(30px, 3.1vw, 41px); color: #fff; margin: 10px 0 8px; }
.appointment-copy p { color: #d0e7e9; font-size: 14px; margin-bottom: 0; }
.btn-light { position: relative; z-index: 1; background: #fff; color: var(--navy); }
.btn-light:hover { background: #eafff9; }
.appointment-decoration { position: absolute; right: -70px; top: -155px; width: 490px; height: 490px; border: 1px solid rgba(220,255,248,.16); border-radius: 50%; pointer-events: none; }
.appointment-decoration span { position: absolute; inset: 40px; border: 1px solid rgba(220,255,248,.13); border-radius: 50%; }
.appointment-decoration span:nth-child(2) { inset: 83px; }
.appointment-decoration span:nth-child(3) { inset: 129px; }

/* Horarios */
.hours-section { padding-top: 92px; padding-bottom: 110px; background: linear-gradient(180deg, #f2faf9 0%, #f7fbfa 100%); }
.hours-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 65px; align-items: center; }
.hours-intro h2 { margin-bottom: 23px; }
.hours-intro > p { color: var(--muted); line-height: 1.8; max-width: 350px; font-size: 15px; }
.hours-notice { display: flex; align-items: flex-start; gap: 14px; padding: 20px 22px; border: 1px solid #d7e9e6; background: #fff; border-radius: 16px; margin-top: 34px; max-width: 382px; }
.hours-notice > .icon { color: var(--teal-deep); margin-top: 1px; }
.hours-notice p { margin: 0; color: #486872; font-size: 12px; line-height: 1.75; }
.hours-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.hour-card { min-height: 305px; padding: 27px 24px; border-radius: 23px; background: #fff; border: 1px solid #d9e8e7; box-shadow: 0 12px 30px rgba(29,91,93,.025); display: flex; flex-direction: column; }
.hour-card-top { display: flex; justify-content: space-between; align-items: start; color: #93b0b3; font-size: 11px; font-weight: 730; }
.hour-icon { width: 55px; height: 55px; display: grid; place-items: center; color: var(--teal-deep); background: #e6f7f3; border-radius: 16px; }
.hour-icon .icon { width: 26px; height: 26px; }
.hour-title { margin: auto 0 12px; font-size: 13px; font-weight: 700; color: #5b7780; }
.hour-range { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; letter-spacing: -.065em; font-variant-numeric: tabular-nums; }
.hour-range strong { font-size: clamp(25px, 2.25vw, 32px); font-weight: 800; line-height: 1.2; color: var(--navy); }
.hour-range > span { font-size: 21px; color: var(--teal-deep); }
.hour-caption { margin-top: 12px; color: #8a9fa7; font-weight: 620; font-size: 12px; }
.hour-card-dark { background: var(--navy); border-color: var(--navy); }
.hour-card-dark .hour-icon { background: rgba(120,232,217,.11); color: #95e7da; }
.hour-card-dark .hour-title { color: #c4dce0; }
.hour-card-dark .hour-range strong { color: #fff; }
.hour-card-dark .hour-range > span { color: #8de8dc; }
.hour-card-dark .hour-caption { color: #9abac2; }
.hour-card-dark .hour-card-top { color: #8aafb5; }

/* Dirección y mapa */
.location-section { background: #fff; }
.section-header-location { margin-bottom: 38px; }
.location-layout { display: grid; grid-template-columns: .88fr 1.12fr; min-height: 476px; gap: 18px; }
.address-card { background: #f1f9f8; border: 1px solid #deeeec; border-radius: 23px; padding: 38px 36px; display: flex; flex-direction: column; }
.address-topline { display: flex; align-items: center; gap: 11px; color: var(--teal-deep); font-weight: 800; font-size: 10px; letter-spacing: .13em; }
.address-icon { height: 49px; width: 49px; display: grid; place-items: center; border-radius: 15px; background: #d6f2ec; }
.address-icon .icon { width: 24px; height: 24px; }
.address-card h3 { margin: 27px 0 6px; font-size: clamp(30px,3vw,40px); line-height: 1.12; letter-spacing: -.055em; color: var(--navy); }
.address-card h3 span { color: var(--teal); }
.address-card > p { color: #577580; font-size: 13px; margin-bottom: 0; }
.address-divider { height: 1px; background: #d5e7e6; width: 100%; margin: 25px 0 21px; }
.address-card dl { margin: 0 0 24px; display: grid; gap: 13px; }
.address-card dl > div { display: grid; grid-template-columns: 105px 1fr; gap: 12px; font-size: 12px; line-height: 1.5; }
.address-card dt { color: #7b969b; font-weight: 600; }
.address-card dd { color: #214956; margin: 0; font-weight: 680; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--teal-deep); }
.btn-address { margin-top: auto; width: fit-content; }
.map-card { border-radius: 23px; border: 1px solid #e0eaeb; overflow: hidden; min-height: 476px; position: relative; background: #e4efed url('../assets/map-fallback.svg') center / cover no-repeat; }
.map-card iframe { width: 100%; height: 100%; display: block; border: 0; position: absolute; inset: 0; background: transparent; }
.map-action { position: absolute; bottom: 20px; left: 20px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; border-radius: 12px; border: 1px solid #e2eeee; background: rgba(255,255,255,.97); color: var(--navy); padding: 13px 16px; font-size: 12px; font-weight: 770; box-shadow: 0 10px 25px rgba(18,55,65,.1); transition: transform .2s, box-shadow .2s; }
.map-action:hover { transform: translateY(-3px); box-shadow: 0 15px 28px rgba(18,55,65,.17); }
.map-action .icon { color: var(--teal-deep); width: 19px; height: 19px; }

/* Contacto */
.contact-section { background: radial-gradient(circle at 8% 8%, rgba(37,138,139,.22), transparent 34%), linear-gradient(116deg, #0a3040, #103f4e); color: white; padding: 92px 0 99px; }
.contact-layout { display: grid; grid-template-columns: 1fr .95fr; gap: 90px; align-items: center; }
.contact-intro h2 { color: #fff; margin-top: 18px; }
.contact-intro > p { color: #c5dce0; max-width: 440px; font-size: 15px; line-height: 1.85; margin-top: 22px; }
.contact-note { display: inline-flex; align-items: center; gap: 12px; margin-top: 10px; padding: 16px 18px; border: 1px solid rgba(151,218,215,.22); background: rgba(255,255,255,.035); border-radius: 12px; font-size: 12px; color: #d8ebed; line-height: 1.7; }
.contact-note .icon { color: #91e7db; }
.contact-phones { display: grid; gap: 15px; }
.phone-card { display: flex; align-items: center; padding: 23px; gap: 19px; background: #fff; color: var(--navy); border-radius: 20px; transition: transform .25s, box-shadow .25s, background .25s; border: 1px solid #e0eeee; }
.phone-card:hover { transform: translateY(-4px); background: #f2fffc; box-shadow: 0 16px 32px rgba(0,0,0,.13); }
.phone-card-icon { width: 53px; height: 53px; background: #e5f8f3; color: var(--teal-deep); display: grid; place-items: center; border-radius: 15px; flex-shrink: 0; }
.phone-card-icon .icon { width: 25px; height: 25px; }
.phone-card-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.phone-card-copy small { color: #75929b; font-size: 10px; font-weight: 760; letter-spacing: .1em; }
.phone-card-copy strong { color: var(--navy); font-size: clamp(21px, 2.45vw, 29px); font-weight: 820; letter-spacing: -.045em; font-variant-numeric: tabular-nums; line-height: 1.35; }
.phone-card-copy > span { color: var(--teal-deep); font-size: 12px; font-weight: 700; }
.phone-arrow { width: 32px; height: 32px; border-radius: 50%; border: 1px solid #d7e8e6; color: var(--teal-deep); display: grid; place-items: center; }
.phone-arrow .icon { width: 16px; height: 16px; }

/* Pie */
.footer { background: #082632; color: #d2e1e5; padding: 66px 0 0; }
.footer-main { display: grid; grid-template-columns: 1.25fr .6fr 1.1fr; gap: 100px; padding-bottom: 50px; }
.footer .brand-name { color: #fff; }
.footer .brand-mark { background: #124453; }
.footer .brand-name small { color: #9cb9c0; }
.footer-brand p { font-size: 12px; color: #a0bbc2; max-width: 290px; line-height: 1.85; margin: 22px 0 0; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-col h3 { color: #f3ffff; font-size: 13px; font-weight: 790; margin: 0 0 10px; }
.footer-col a,.footer-col p { font-size: 12px; line-height: 1.7; color: #aac0c7; transition: color .2s; }
.footer-col a:hover { color: #7edcd0; }
.footer-col p { margin: 4px 0 0; max-width: 335px; }
.footer-bottom { min-height: 67px; padding: 18px 0; border-top: 1px solid rgba(189,227,230,.12); display: flex; justify-content: space-between; gap: 16px; align-items: center; color: #86a5ad; font-size: 11px; }
.mobile-contact { display: none; }

/* El contenido es visible desde el HTML. JavaScript solo mejora la entrada visual.
   Así se evita una página aparentemente vacía si las animaciones fallan. */
.reveal { opacity: 1; transform: none; }
.js .reveal.is-visible { animation: medicalplus-appear .65s ease-out both; }
@keyframes medicalplus-appear {
  from { opacity: .90; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@media (min-width: 1500px) { .hero-layout { min-height: 665px; } .hero-visual { min-height: 640px; } }
@media (max-width: 1100px) {
  .nav { gap: 16px; }
  .nav-link { font-size: 12px; }
  .btn-nav { padding: 12px; }
  .hero-layout { grid-template-columns: 1fr .9fr; }
  .hero-float-a { right: -4px; }
  .hero-float-b { left: -14px; }
  .service-card { padding: 20px; }
  .hours-layout { gap: 30px; }
  .contact-layout { gap: 45px; }
  .footer-main { gap: 45px; }
}
@media (max-width: 900px) {
  .container { width: min(var(--container),calc(100% - 44px)); }
  .topbar-right { display: none; }
  .header-inner { height: 75px; }
  .menu-toggle { display: grid; place-items: center; width: 46px; height: 45px; border: 1px solid #dbe9e9; color: var(--navy); background: #f2faf9; border-radius: 11px; cursor: pointer; z-index: 205; }
  .menu-toggle .icon { width: 24px; height: 24px; }
  .icon-menu-close { display: none; }
  .menu-toggle[aria-expanded="true"] .icon-menu-open { display: none; }
  .menu-toggle[aria-expanded="true"] .icon-menu-close { display: block; }
  .nav { display: none; flex-direction: column; position: absolute; left: 0; right: 0; top: 75px; z-index: 201; gap: 0; background: #fff; padding: 14px 22px 28px; box-shadow: 0 22px 32px rgba(12,62,72,.13); max-height: calc(100dvh - 75px); overflow: auto; align-items: stretch; }
  .nav.open { display: flex; }
  .nav-link { padding: 15px 9px; border-bottom: 1px solid #e7f0f0; font-size: 15px; }
  .nav-link::after { display: none; }
  .nav .btn-nav { margin-top: 18px; justify-content: center; }
  .hero-layout { min-height: unset; grid-template-columns: 1fr 1fr; }
  .hero-content { padding: 65px 0 57px; }
  .hero-description { font-size: 14px; }
  h1 { font-size: clamp(38px, 5vw, 55px); }
  .hero-visual { min-height: 470px; }
  .hero-art { width: 130%; }
  .hero-float { padding: 9px 11px; }
  .hero-float-a { top: 80px; right: 0; }
  .hero-float-b { bottom: 60px; }
  .highlight-item + .highlight-item { padding-left: 23px; }
  .highlight-item { gap: 12px; padding-right: 12px; }
  .highlight-item b { font-size: 12px; }
  .section { padding: 83px 0; }
  .services-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-card { min-height: 214px; }
  .service-card h3 { max-width: none; }
  .appointment-section { padding-bottom: 84px; }
  .appointment-panel { flex-wrap: wrap; padding: 32px; }
  .appointment-panel .btn { margin-left: 113px; }
  .hours-layout { grid-template-columns: 1fr; gap: 30px; }
  .hours-intro { max-width: 620px; }
  .hours-notice { margin-top: 22px; }
  .hours-cards { max-width: 740px; }
  .hour-card { min-height: 250px; }
  .location-layout { grid-template-columns: 1fr 1.08fr; }
  .address-card { padding: 30px 25px; }
  .contact-layout { grid-template-columns: .95fr 1.05fr; gap: 25px; }
  .phone-card { padding: 17px; gap: 12px; }
  .phone-card-icon { width: 43px; height: 43px; }
  .phone-card-copy strong { font-size: 21px; }
  .phone-arrow { display: none; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 84px; }
  .container { width: calc(100% - 38px); }
  .topbar { font-size: 11px; }
  .topbar-inner { min-height: 33px; }
  .header-inner { height: 71px; }
  .nav { top: 71px; max-height: calc(100dvh - 71px); }
  .brand-mark { height: 39px; width: 39px; border-radius: 12px; }
  .brand-name { font-size: 23px; }
  .brand-name small { font-size: 7.8px; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-content { padding: 59px 0 10px; }
  .eyebrow { font-size: 10px; gap: 8px; letter-spacing: .13em; }
  h1 { font-size: clamp(42px, 10.3vw, 62px); margin: 21px 0; }
  .hero-description { font-size: 14px; max-width: 530px; line-height: 1.8; margin-bottom: 28px; }
  .hero-actions { gap: 10px; }
  .btn { min-height: 49px; padding: 13px 17px; font-size: 12px; border-radius: 11px; }
  .hero-location { font-size: 11px; margin-top: 25px; }
  .hero-visual { min-height: 325px; height: 355px; margin-bottom: 0; }
  .hero-art { width: min(500px, 112%); transform: translate(0,-8px); animation: none; }
  .hero-float { border-radius: 13px; padding: 8px 10px; gap: 8px; }
  .hero-float-a { top: 45px; right: 1%; }
  .hero-float-b { bottom: 42px; left: 0; }
  .hero-float b { font-size: 10px; }
  .hero-float small { font-size: 9px; }
  .float-square,.float-round { width: 31px; height: 31px; }
  .hero-highlights { grid-template-columns: 1fr; min-height: 0; padding: 8px 0 13px; }
  .highlight-item { padding: 13px 0; }
  .highlight-item + .highlight-item { padding: 13px 0; border-left: 0; border-top: 1px solid rgba(170,224,223,.14); }
  .highlight-icon { height: 39px; width: 39px; }
  .highlight-item b { font-size: 13px; }
  .highlight-item small { font-size: 11px; }
  .section { padding: 71px 0; }
  .section-header { display: block; margin-bottom: 29px; }
  h2 { font-size: clamp(35px, 9vw, 47px); margin-top: 15px; }
  .section-lead { font-size: 13px; margin: 17px 0 0; max-width: 480px; }
  .services-grid { gap: 12px; }
  .service-card { padding: 17px; min-height: 200px; border-radius: 17px; }
  .service-icon { width: 50px; height: 50px; border-radius: 14px; }
  .service-icon .icon { width: 26px; height: 26px; }
  .service-card h3 { font-size: 17px; margin: 20px 0 12px; }
  .service-card-bottom { font-size: 10px; }
  .service-bottom-note { align-items: flex-start; flex-wrap: wrap; font-size: 12px; padding: 15px; }
  .service-bottom-note > a { margin-left: 34px; }
  .appointment-section { padding-bottom: 70px; }
  .appointment-panel { padding: 27px; border-radius: 21px; display: grid; grid-template-columns: 60px 1fr; gap: 16px; }
  .appointment-icon { height: 60px; width: 60px; border-radius: 16px; align-self: start; }
  .appointment-icon .icon { width: 30px; height: 30px; }
  .appointment-copy h2 { font-size: clamp(26px, 6vw, 37px); }
  .appointment-copy p { font-size: 12px; line-height: 1.65; }
  .appointment-panel .btn { margin-left: 0; grid-column: 1 / -1; width: 100%; }
  .hours-section { padding: 70px 0; }
  .hours-intro > p { font-size: 13px; }
  .hours-notice { padding: 15px; }
  .hours-cards { gap: 12px; }
  .hour-card { padding: 20px 17px; min-height: 248px; border-radius: 18px; }
  .hour-icon { height: 45px; width: 45px; border-radius: 13px; }
  .hour-icon .icon { width: 23px; height: 23px; }
  .hour-range strong { font-size: clamp(22px, 5.2vw, 30px); }
  .hour-title { font-size: 12px; }
  .location-layout { grid-template-columns: 1fr; gap: 15px; }
  .address-card { padding: 27px 24px; border-radius: 19px; }
  .address-card h3 { font-size: 35px; }
  .map-card { min-height: 325px; border-radius: 19px; }
  .contact-section { padding: 72px 0 78px; }
  .contact-layout { grid-template-columns: 1fr; gap: 28px; }
  .contact-intro h2 { font-size: 48px; }
  .contact-intro > p { font-size: 13px; }
  .contact-note { margin-top: 3px; }
  .phone-card { padding: 20px; }
  .phone-card-copy strong { font-size: clamp(22px,5.5vw,28px); }
  .phone-arrow { display: grid; }
  .footer { padding-top: 49px; }
  .footer-main { grid-template-columns: repeat(2,1fr); gap: 33px 17px; padding-bottom: 34px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { margin-top: 16px; }
  .footer-col p { font-size: 11px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 5px; font-size: 10px; padding-bottom: 102px; }
  .mobile-contact { position: fixed; display: flex; bottom: 15px; left: 19px; right: 19px; z-index: 190; height: 54px; align-items: center; justify-content: center; gap: 11px; background: #53d3c6; color: #092d3b; box-shadow: 0 7px 27px rgba(12,48,51,.28); font-weight: 830; font-size: 13px; border: 1px solid #b5fff3; border-radius: 15px; }
  .mobile-contact .icon { width: 20px; height: 20px; }
}
@media (max-width: 380px) {
  .container { width: calc(100% - 30px); }
  .hero-actions .btn { width: 100%; }
  .hero-visual { height: 305px; min-height: 305px; }
  .hero-float-a { top: 32px; right: 0; }
  .hero-float-b { bottom: 26px; }
  .service-card { min-height: 187px; padding: 14px; }
  .service-icon { height: 44px; width: 44px; }
  .service-icon .icon { height: 24px; width: 24px; }
  .service-card h3 { font-size: 15px; }
  .service-card-bottom { padding-top: 9px; }
  .hour-card { padding: 17px 13px; min-height: 228px; }
  .hour-range { gap: 4px; }
  .hour-range strong { font-size: 20px; }
  .hour-range > span { font-size: 15px; }
  .appointment-panel { grid-template-columns: 1fr; }
  .appointment-copy h2 { margin-top: 2px; }
  .contact-intro h2 { font-size: 40px; }
  .phone-card-icon { width: 40px; height: 40px; }
  .phone-card { gap: 9px; padding: 15px; }
  .phone-card-copy strong { font-size: 21px; }
  .phone-arrow { display: none; }
}
@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 .reveal.is-visible { animation: none !important; }
}
