/* Lumina Clinic — demo site by Codexlogy */
:root {
    --primary: #0f766e;
    --primary-600: #0d9488;
    --accent: #14b8a6;
    --mint: #ccfbf1;
    --soft: #f0fdfa;
    --ink: #0b1f2a;
    --muted: #5b6b75;
    --line: #e3eeec;
    --white: #ffffff;
    --coral: #fb7185;
    --sun: #fbbf24;
    --radius: 22px;
    --shadow: 0 20px 50px -20px rgba(11, 31, 42, .25);
    --shadow-sm: 0 8px 24px -12px rgba(11, 31, 42, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Manrope', system-ui, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: 'Fraunces', Georgia, serif; line-height: 1.12; margin: 0 0 .6em; letter-spacing: -.02em; font-weight: 600; }
h1 { font-size: clamp(2.5rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; color: var(--muted); }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.section { padding: 110px 0; }
.section-soft { background: linear-gradient(180deg, var(--soft), #fff); }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--primary); background: var(--mint); padding: 7px 14px; border-radius: 999px; margin-bottom: 18px;
}
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { text-align: center; margin-inline: auto; }
.grad-text { background: linear-gradient(120deg, var(--primary), var(--accent) 60%, #38bdf8); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: italic; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: .98rem;
    border: 0; cursor: pointer; transition: transform .25s, box-shadow .25s, background .25s, color .25s;
    font-family: inherit;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 12px 30px -10px rgba(15, 118, 110, .6); }
.btn-primary:hover { background: var(--ink); transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 90px 0 120px; background: radial-gradient(1200px 600px at 85% -10%, #d5f5ef 0%, transparent 60%), radial-gradient(800px 500px at -10% 110%, #e0f2fe 0%, transparent 60%); }
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.hero p.lead { font-size: 1.18rem; max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.trust { display: flex; align-items: center; gap: 18px; }
.avatars { display: flex; }
.avatars img { width: 46px; height: 46px; border-radius: 50%; border: 3px solid #fff; object-fit: cover; margin-left: -12px; }
.avatars img:first-child { margin-left: 0; }
.trust strong { display: block; font-size: 1.05rem; }
.trust .stars { color: var(--sun); letter-spacing: 2px; }
.hero-visual { position: relative; }
.hero-img { border-radius: 36px; overflow: hidden; aspect-ratio: 4/4.6; box-shadow: var(--shadow); position: relative; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-blob { position: absolute; inset: -30px -30px auto auto; width: 70%; height: 70%; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #38bdf8); filter: blur(60px); opacity: .35; z-index: -1; }
.float-card {
    position: absolute; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px);
    border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 14px;
    animation: float 6s ease-in-out infinite;
}
.float-card .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.4rem; }
.float-card b { display: block; font-size: 1.05rem; }
.float-card span { font-size: .82rem; color: var(--muted); }
.fc-1 { left: -40px; top: 60px; }
.fc-1 .ico { background: var(--mint); color: var(--primary); }
.fc-2 { right: -30px; bottom: 90px; animation-delay: -3s; }
.fc-2 .ico { background: #ffe4e6; color: var(--coral); }
.fc-3 { left: 30px; bottom: -26px; animation-delay: -1.5s; }
.fc-3 .ico { background: #fef3c7; color: #d97706; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: pulse 2s infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); } 70% { box-shadow: 0 0 0 12px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }

/* Quick booking bar */
.quick-book { margin-top: -60px; position: relative; z-index: 5; }
.quick-book .bar {
    background: #fff; border-radius: 26px; box-shadow: var(--shadow); padding: 14px; border: 1px solid var(--line);
    display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 10px; align-items: center;
}
.qb-field { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 16px; transition: background .2s; }
.qb-field:hover { background: var(--soft); }
.qb-field i { font-size: 1.4rem; color: var(--primary); }
.qb-field label { display: block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.qb-field select, .qb-field input { border: 0; background: transparent; font: inherit; font-weight: 700; color: var(--ink); outline: none; width: 100%; padding: 0; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.stat b { font-family: 'Fraunces', serif; font-size: 2.6rem; font-weight: 600; display: block; color: var(--ink); }
.stat span { color: var(--muted); font-weight: 600; }

/* Cards / services */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.service-card {
    position: relative; padding: 34px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
    transition: transform .35s, box-shadow .35s, border-color .35s; overflow: hidden;
}
.service-card::before { content: ""; position: absolute; inset: auto -40% -60% auto; width: 220px; height: 220px; border-radius: 50%; background: var(--mint); opacity: 0; transition: opacity .35s; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { opacity: .7; }
.service-card > * { position: relative; }
.service-card .ico { width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; font-size: 1.7rem; margin-bottom: 22px; background: var(--soft); color: var(--primary); transition: background .35s, color .35s; }
.service-card:hover .ico { background: var(--primary); color: #fff; }
.service-card .more { font-weight: 700; color: var(--primary); display: inline-flex; gap: 6px; align-items: center; }

/* Split / feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.media-stack { position: relative; }
.media-stack .main { border-radius: 32px; overflow: hidden; aspect-ratio: 5/5.4; box-shadow: var(--shadow); }
.media-stack .main img { width: 100%; height: 100%; object-fit: cover; }
.media-stack .sub { position: absolute; right: -30px; bottom: -40px; width: 46%; border-radius: 24px; overflow: hidden; border: 8px solid #fff; box-shadow: var(--shadow); aspect-ratio: 1; }
.media-stack .sub img { width: 100%; height: 100%; object-fit: cover; }
.media-stack .badge { position: absolute; left: -24px; bottom: 40px; background: var(--primary); color: #fff; border-radius: 22px; padding: 22px 26px; box-shadow: var(--shadow); }
.media-stack .badge b { font-family: 'Fraunces', serif; font-size: 2.4rem; display: block; line-height: 1; }
.check-list { list-style: none; padding: 0; margin: 26px 0 34px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.check-list i { color: #fff; background: var(--accent); border-radius: 50%; width: 24px; height: 24px; display: grid; place-items: center; flex-shrink: 0; font-size: .9rem; margin-top: 2px; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { padding: 30px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.step .num { font-family: 'Fraunces', serif; font-size: 3rem; color: var(--accent); line-height: 1; margin-bottom: 18px; display: block; }
.dark { background: var(--ink); color: #e6f2f0; position: relative; overflow: hidden; }
.dark h2, .dark h3 { color: #fff; }
.dark p { color: #9fb6b3; }
.dark .eyebrow { background: rgba(20, 184, 166, .15); color: #5eead4; }
.dark::before { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: var(--primary); filter: blur(140px); opacity: .35; top: -200px; right: -200px; }
.dark .container { position: relative; }

/* Doctors */
.doctor { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .35s, box-shadow .35s; }
.doctor:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.doctor .photo { aspect-ratio: 4/4.4; overflow: hidden; position: relative; background: var(--soft); }
.doctor .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.doctor:hover .photo img { transform: scale(1.06); }
.doctor .avail { position: absolute; top: 14px; left: 14px; background: rgba(255, 255, 255, .92); border-radius: 999px; padding: 6px 12px; font-size: .78rem; font-weight: 700; display: flex; gap: 8px; align-items: center; }
.doctor .info { padding: 22px 24px 26px; }
.doctor .info h3 { margin-bottom: 4px; }
.doctor .info span { color: var(--primary); font-weight: 700; font-size: .92rem; }
.doctor .meta { display: flex; justify-content: space-between; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .88rem; color: var(--muted); font-weight: 600; }

/* Testimonials */
.testimonial { padding: 34px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 22px; }
.testimonial .stars { color: var(--sun); font-size: 1.1rem; }
.testimonial blockquote { margin: 0; font-size: 1.08rem; color: var(--ink); font-weight: 500; }
.testimonial .who { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.testimonial .who img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.testimonial .who b { display: block; }
.testimonial .who span { font-size: .88rem; color: var(--muted); }

/* FAQ */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 14px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0 26px; transition: box-shadow .3s, border-color .3s; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: var(--mint); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-weight: 700; font-size: 1.06rem; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { font-size: 1.4rem; color: var(--primary); transition: transform .3s; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { padding-bottom: 22px; margin: 0; }

/* CTA */
.cta-band { border-radius: 36px; padding: 70px; background: linear-gradient(120deg, var(--primary), #0e7490); color: #fff; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .07); right: -120px; top: -160px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #ccfbf1; font-size: 1.1rem; }
.cta-band .actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; position: relative; z-index: 1; }
.cta-band .btn-outline { border: 2px solid rgba(255, 255, 255, .5); color: #fff; background: transparent; }
.cta-band .btn-outline:hover { background: rgba(255, 255, 255, .1); }

/* Page hero (inner pages) */
.page-hero { padding: 90px 0 80px; background: radial-gradient(900px 400px at 80% 0%, #d5f5ef, transparent 60%), radial-gradient(700px 400px at 0% 100%, #e0f2fe, transparent 60%); text-align: center; }
.page-hero p { max-width: 640px; margin: 0 auto; font-size: 1.15rem; }
.crumbs { display: inline-flex; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--muted); margin-bottom: 18px; }
.crumbs a:hover { color: var(--primary); }

/* About specifics */
.values .value { padding: 32px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.values .value i { font-size: 2rem; color: var(--primary); display: block; margin-bottom: 16px; }
.timeline { position: relative; max-width: 900px; margin-inline: auto; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--accent), var(--mint)); transform: translateX(-50%); }
.tl-item { position: relative; width: 50%; padding: 0 50px 50px; }
.tl-item:nth-child(odd) { left: 0; text-align: right; }
.tl-item:nth-child(even) { left: 50%; }
.tl-item::before { content: ""; position: absolute; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--accent); }
.tl-item:nth-child(odd)::before { right: -9px; }
.tl-item:nth-child(even)::before { left: -9px; }
.tl-item .year { font-family: 'Fraunces', serif; font-size: 1.8rem; color: var(--primary); font-weight: 600; }
.accred { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.accred span { display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 16px; background: #fff; border: 1px solid var(--line); font-weight: 700; color: #33454f; }
.accred i { color: var(--primary); font-size: 1.4rem; }

/* Contact / appointment */
.contact-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: 34px; align-items: start; }
.form-card { background: #fff; border-radius: 30px; padding: 44px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-steps { display: flex; gap: 10px; margin-bottom: 30px; }
.form-steps span { flex: 1; height: 6px; border-radius: 6px; background: var(--line); position: relative; overflow: hidden; }
.form-steps span.on { background: linear-gradient(90deg, var(--primary), var(--accent)); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: 8px; color: #33454f; }
.field input, .field select, .field textarea {
    width: 100%; padding: 15px 18px; border-radius: 14px; border: 1.5px solid var(--line); background: #fbfefd;
    font: inherit; color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(20, 184, 166, .15); background: #fff; }
.dept-pills { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.dept-pills label { cursor: pointer; }
.dept-pills input { display: none; }
.dept-pills .pill { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 8px; border-radius: 16px; border: 1.5px solid var(--line); font-weight: 700; font-size: .85rem; text-align: center; transition: all .2s; }
.dept-pills .pill i { font-size: 1.5rem; color: var(--primary); }
.dept-pills input:checked + .pill { border-color: var(--primary); background: var(--soft); box-shadow: inset 0 0 0 1px var(--primary); }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.slots button { padding: 12px 6px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; transition: all .2s; }
.slots button:hover { border-color: var(--accent); }
.slots button.on { background: var(--primary); color: #fff; border-color: var(--primary); }
.slots button:disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.form-note { font-size: .85rem; color: var(--muted); display: flex; gap: 8px; align-items: center; margin-top: 14px; }
.info-card { border-radius: 26px; padding: 34px; background: var(--ink); color: #e6f2f0; position: relative; overflow: hidden; }
.info-card::before { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: var(--primary); filter: blur(90px); opacity: .5; right: -120px; top: -120px; }
.info-card > * { position: relative; }
.info-card h3 { color: #fff; }
.info-row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.info-row:last-child { border: 0; }
.info-row i { width: 46px; height: 46px; border-radius: 14px; background: rgba(20, 184, 166, .15); color: #5eead4; display: grid; place-items: center; font-size: 1.3rem; flex-shrink: 0; }
.info-row small { display: block; color: #8fb0ab; font-weight: 600; }
.info-row b { color: #fff; }
.hours { margin-top: 22px; border-radius: 26px; padding: 30px; background: #fff; border: 1px solid var(--line); }
.hours div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--line); font-weight: 600; }
.hours div:last-child { border: 0; }
.hours .open { color: var(--primary); }
.map { margin-top: 22px; border-radius: 26px; overflow: hidden; height: 240px; position: relative; background:
    linear-gradient(0deg, rgba(15, 118, 110, .08), rgba(15, 118, 110, .08)),
    repeating-linear-gradient(0deg, transparent 0 38px, #dbe9e6 38px 40px),
    repeating-linear-gradient(90deg, transparent 0 38px, #dbe9e6 38px 40px), #eef7f5; }
.map::before { content: ""; position: absolute; left: -10%; top: 55%; width: 120%; height: 18px; background: #fff; transform: rotate(-12deg); }
.map::after { content: ""; position: absolute; left: 40%; top: -10%; width: 14px; height: 120%; background: #fff; transform: rotate(18deg); }
.map .pin { position: absolute; left: 50%; top: 45%; transform: translate(-50%, -100%); z-index: 2; text-align: center; }
.map .pin i { font-size: 3rem; color: var(--coral); filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .2)); }
.map .pin span { display: block; background: #fff; padding: 6px 12px; border-radius: 10px; font-weight: 700; font-size: .85rem; box-shadow: var(--shadow-sm); white-space: nowrap; }

/* Modal */
.modal { position: fixed; inset: 0; background: rgba(11, 31, 42, .55); backdrop-filter: blur(6px); display: grid; place-items: center; z-index: 100; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; padding: 20px; }
.modal.open { opacity: 1; visibility: visible; }
.modal-box { background: #fff; border-radius: 30px; padding: 46px; max-width: 460px; width: 100%; text-align: center; transform: scale(.92) translateY(20px); transition: transform .35s cubic-bezier(.2, .9, .3, 1.3); }
.modal.open .modal-box { transform: none; }
.modal-box .ok { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 22px; display: grid; place-items: center; font-size: 2.6rem; color: #fff; background: linear-gradient(135deg, var(--primary), var(--accent)); box-shadow: 0 16px 40px -12px rgba(20, 184, 166, .8); }
.modal-box .summary { background: var(--soft); border-radius: 18px; padding: 18px; text-align: left; margin: 22px 0; display: grid; gap: 8px; font-weight: 600; font-size: .95rem; }
.modal-box .summary span { color: var(--muted); font-weight: 600; }

.demo-ribbon { position: fixed; bottom: 18px; left: 18px; z-index: 60; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; font-size: .8rem; font-weight: 700; box-shadow: var(--shadow); display: flex; gap: 8px; align-items: center; }
.demo-ribbon a { color: #5eead4; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .float-card { animation: none; } }

/* Responsive */
@media (max-width: 1024px) {
    .hero .container, .split, .contact-grid, .cta-band { grid-template-columns: 1fr; }
    .grid-4, .steps, .stats { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .cta-band .actions { justify-content: flex-start; }
    .fc-1 { left: 0; } .fc-2 { right: 0; }
    .media-stack .sub { right: 0; }
    .media-stack .badge { left: 0; }
}
@media (max-width: 820px) {
    .quick-book .bar { grid-template-columns: 1fr; }
    .section { padding: 80px 0; }
}
@media (max-width: 640px) {
    .grid-3, .grid-4, .steps, .stats, .form-grid { grid-template-columns: 1fr; }
    .dept-pills, .slots { grid-template-columns: repeat(2, 1fr); }
    .form-card, .cta-band { padding: 30px 22px; }
    .timeline::before { left: 8px; }
    .tl-item, .tl-item:nth-child(even) { width: 100%; left: 0; text-align: left; padding: 0 0 40px 40px; }
    .tl-item:nth-child(odd)::before, .tl-item:nth-child(even)::before { left: 0; right: auto; }
}

/* ── Header: utility bar with live hours + language, mega menu, doctor dropdown, search, drawer ── */
.topbar { background: var(--ink); color: #cfe3e0; font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 42px; gap: 20px; }
.topbar .left, .topbar .right { display: flex; align-items: center; gap: 22px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.open-now b { color: #5eead4; font-weight: 700; }
.open-now.closed b { color: #fda4af; }
.lang { display: inline-flex; background: rgba(255, 255, 255, .08); border-radius: 999px; padding: 2px; }
.lang button { border: 0; background: none; color: #cfe3e0; font: inherit; font-size: .74rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; cursor: pointer; }
.lang button.on { background: #fff; color: var(--ink); }
.topbar .emergency { background: #e11d48; color: #fff; font-weight: 700; padding: 5px 14px 5px 10px; border-radius: 999px; }
.beat { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); animation: beat 1.6s infinite; flex-shrink: 0; }
@keyframes beat { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); } 70% { box-shadow: 0 0 0 9px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 12px 30px -22px rgba(11, 31, 42, .35); }
.site-header > .container { display: flex; align-items: center; gap: 26px; height: 80px; }
.lm-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.lm-mark { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(140deg, var(--primary), var(--accent) 60%, #38bdf8); box-shadow: 0 12px 24px -12px rgba(20, 184, 166, .9), inset 0 1px 0 rgba(255, 255, 255, .35); }
.lm-mark svg { width: 34px; height: 34px; }
.lm-name { font-family: 'Fraunces', serif; font-size: 1.5rem; font-weight: 600; line-height: 1; letter-spacing: -.01em; }
.lm-name small { display: block; font-family: 'Manrope', sans-serif; font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); font-weight: 800; margin-top: 5px; }
.lm-nav { display: flex; align-items: center; gap: 2px; margin-left: 12px; }
.lm-nav > a, .dd > button { display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 12px; font: inherit; font-weight: 600; font-size: .95rem; color: #33454f; background: none; border: 0; cursor: pointer; transition: background .2s, color .2s; }
.lm-nav > a:hover, .dd > button:hover, .dd.open > button { background: var(--soft); color: var(--primary); }
.lm-nav > a.active { color: var(--primary); background: var(--soft); }
.dd { position: relative; }
.dd > button i { transition: transform .25s; }
.dd.open > button i { transform: rotate(180deg); }
.dd-panel { position: absolute; top: calc(100% + 12px); left: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 30px 60px -24px rgba(11, 31, 42, .3); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 5; }
.dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.dd.open .dd-panel { opacity: 1; visibility: visible; transform: none; }
.dd-mega .dd-panel { width: 760px; left: -120px; display: grid; grid-template-columns: 1fr 230px; gap: 10px; padding: 14px; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.dept { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; transition: background .2s; }
.dept:hover { background: var(--soft); }
.dept > i { width: 42px; height: 42px; border-radius: 12px; background: var(--mint); color: var(--primary); display: grid; place-items: center; font-size: 1.25rem; flex-shrink: 0; transition: background .2s, color .2s; }
.dept:hover > i { background: var(--primary); color: #fff; }
.dept b, .doc b { display: block; font-size: .95rem; }
.dept small, .doc small { color: var(--muted); font-size: .8rem; }
.mega-promo { border-radius: 16px; padding: 22px; color: #fff; display: flex; flex-direction: column; gap: 6px; background: radial-gradient(circle at 100% 0, rgba(94, 234, 212, .45), transparent 55%), linear-gradient(160deg, var(--primary), var(--ink)); }
.mega-promo .tag { align-self: flex-start; background: rgba(255, 255, 255, .16); padding: 4px 10px; border-radius: 999px; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.mega-promo b { font-family: 'Fraunces', serif; font-size: 1.35rem; font-weight: 600; margin-top: auto; }
.mega-promo span:not(.tag) { font-size: .85rem; opacity: .85; }
.mega-promo strong { margin-top: 8px; color: #5eead4; display: inline-flex; gap: 6px; align-items: center; }
.dd-docs { width: 360px; }
.doc { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; transition: background .2s; }
.doc:hover { background: var(--soft); }
.doc img { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; }
.doc span { flex: 1; }
.doc em { font-style: normal; font-size: .7rem; font-weight: 800; color: var(--muted); background: #f1f5f9; padding: 4px 8px; border-radius: 999px; white-space: nowrap; }
.doc em.on { color: var(--primary); background: var(--mint); }
.dd-all { display: flex; justify-content: center; gap: 6px; align-items: center; margin-top: 6px; padding: 12px; border-radius: 12px; background: var(--soft); color: var(--primary); font-weight: 700; font-size: .9rem; }
.dd-list { width: 260px; }
.dd-list a { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px; font-weight: 600; font-size: .93rem; transition: background .2s, color .2s; }
.dd-list a i { color: var(--accent); font-size: 1.15rem; }
.dd-list a:hover { background: var(--soft); color: var(--primary); }
.lm-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lm-search-btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--soft); color: var(--muted); font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; transition: border-color .2s, color .2s; }
.lm-search-btn:hover { border-color: var(--accent); color: var(--primary); }
.lm-search-btn i { font-size: 1.1rem; }
.lm-burger { display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font-size: 1.4rem; cursor: pointer; color: var(--ink); place-items: center; }
.lm-search { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 30px 50px -30px rgba(11, 31, 42, .35); padding: 22px 0 26px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .2s; }
.lm-search.open { opacity: 1; visibility: visible; transform: none; }
.lm-search-box { display: flex; align-items: center; gap: 12px; border: 2px solid var(--primary); border-radius: 16px; padding: 4px 6px 4px 16px; }
.lm-search-box > i { font-size: 1.3rem; color: var(--primary); }
.lm-search-box input { flex: 1; border: 0; outline: none; font: inherit; font-size: 1.05rem; padding: 12px 0; min-width: 0; }
.lm-search-box button { border: 0; background: var(--soft); width: 40px; height: 40px; border-radius: 12px; font-size: 1.2rem; cursor: pointer; }
.lm-search-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px; margin-top: 16px; }
.lm-search-results a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; }
.lm-search-results a:hover { background: var(--soft); }
.lm-search-results a[hidden] { display: none; }
.lm-search-results a > i { width: 40px; height: 40px; border-radius: 12px; background: var(--mint); color: var(--primary); display: grid; place-items: center; font-size: 1.15rem; }
.lm-search-results img { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; }
.lm-search-results b { display: block; font-size: .92rem; }
.lm-search-results small { color: var(--muted); font-size: .78rem; }
.lm-search-empty { margin: 16px 0 0; color: var(--muted); }
.lm-search-empty a { color: var(--primary); font-weight: 700; }

.lm-backdrop { position: fixed; inset: 0; background: rgba(11, 31, 42, .45); backdrop-filter: blur(3px); z-index: 70; opacity: 0; visibility: hidden; transition: all .3s; }
.lm-backdrop.show { opacity: 1; visibility: visible; }
.lm-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 92vw); background: #fff; z-index: 71; transform: translateX(100%); visibility: hidden; transition: transform .35s cubic-bezier(.2, .8, .2, 1), visibility .35s; padding: 18px 20px 24px; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; }
.lm-drawer.open { transform: none; visibility: visible; }
.lm-drawer-head { display: flex; justify-content: space-between; align-items: center; }
.lm-x { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 1.3rem; cursor: pointer; }
.lm-sos { display: flex; align-items: center; gap: 12px; background: #e11d48; color: #fff; padding: 14px 16px; border-radius: 16px; }
.lm-sos > span:nth-child(2) { flex: 1; }
.lm-sos b { display: block; }
.lm-sos small { opacity: .85; }
.lm-sos > i { font-size: 1.3rem; }
.lm-drawer-nav > a, .lm-drawer-nav summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 1.05rem; cursor: pointer; list-style: none; }
.lm-drawer-nav summary::-webkit-details-marker { display: none; }
.lm-drawer-nav details[open] summary i { transform: rotate(45deg); }
.lm-drawer-nav summary i { transition: transform .25s; color: var(--primary); }
.lm-drawer-nav details div { display: grid; padding: 6px 0 10px; }
.lm-drawer-nav details a { display: flex; align-items: center; gap: 10px; padding: 9px 6px; color: #33454f; font-weight: 600; font-size: .95rem; }
.lm-drawer-nav details a i { color: var(--accent); }
.lm-drawer-nav a.active { color: var(--primary); }
.lm-drawer-book { margin-top: auto; }

/* ── Footer: care cards, heartbeat line, link columns with live hours, app strip ── */
.site-footer { background: var(--ink); color: #9fb6b3; margin-top: 150px; padding-bottom: 26px; position: relative; }
.site-footer a:hover { color: #5eead4; }
.care-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; transform: translateY(-50%); margin-bottom: -20px; }
.care { display: flex; align-items: center; gap: 16px; padding: 22px 24px; border-radius: 22px; color: #fff; box-shadow: 0 24px 50px -24px rgba(11, 31, 42, .6); transition: transform .25s; }
.care:hover { transform: translateY(-4px); color: #fff !important; }
.care .ico { width: 52px; height: 52px; border-radius: 16px; background: rgba(255, 255, 255, .16); display: grid; place-items: center; font-size: 1.5rem; flex-shrink: 0; }
.care small { display: block; font-size: .78rem; opacity: .85; font-weight: 600; }
.care b { font-family: 'Fraunces', serif; font-size: 1.35rem; font-weight: 600; }
.care .go { margin-left: auto; font-size: 1.4rem; opacity: .7; }
.care.sos { background: linear-gradient(135deg, #e11d48, #fb7185); }
.care.book { background: linear-gradient(135deg, var(--primary), var(--accent)); }
.care.tele { background: linear-gradient(135deg, #1e3a8a, #38bdf8); }
.ecg { display: block; width: 100%; height: 60px; }
.ecg path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; stroke-dasharray: 1700; stroke-dashoffset: 1700; animation: ecg 4s linear infinite; filter: drop-shadow(0 0 6px rgba(20, 184, 166, .8)); }
@keyframes ecg { 60% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1700; } }
.lm-ft-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 44px; padding: 34px 0 44px; }
.lm-ft-brand .lm-name { color: #fff; }
.lm-ft-brand p { margin: 18px 0; font-size: .95rem; }
.lm-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.lm-badges span { display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(94, 234, 212, .25); background: rgba(20, 184, 166, .08); color: #ccfbf1; padding: 6px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.lm-social { display: flex; gap: 8px; }
.lm-social a { width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .12); display: grid; place-items: center; transition: all .25s; }
.lm-social a:hover { background: var(--accent); border-color: var(--accent); color: #fff !important; }
.site-footer h4 { color: #fff; font-family: 'Manrope', sans-serif; font-size: .95rem; margin: 0 0 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: .94rem; }
.lm-visit p { display: flex; gap: 8px; margin: 0 0 14px; font-size: .93rem; }
.lm-visit p i { color: #5eead4; }
.lm-hours { border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; padding: 6px; margin-bottom: 14px; }
.lm-hours div { display: flex; justify-content: space-between; padding: 8px 10px; border-radius: 10px; font-size: .88rem; }
.lm-hours div.today { background: rgba(20, 184, 166, .16); color: #fff; font-weight: 700; }
.lm-hours .er span:last-child { color: #fda4af; font-weight: 700; }
.lm-app { display: grid; grid-template-columns: 1.2fr 1.3fr auto; gap: 24px; align-items: center; padding: 22px 24px; border-radius: 22px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); margin-bottom: 26px; }
.lm-app > * { min-width: 0; }
.lm-app-copy { display: flex; gap: 14px; align-items: center; }
.lm-app-ico { width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(140deg, var(--primary), var(--accent)); color: #fff; display: grid; place-items: center; font-size: 1.4rem; flex-shrink: 0; }
.lm-app-copy b { color: #fff; display: block; }
.lm-app-copy span { font-size: .88rem; }
.newsletter { display: flex; background: rgba(255, 255, 255, .06); border-radius: 999px; padding: 6px; border: 1px solid rgba(255, 255, 255, .1); }
.newsletter input { flex: 1; background: transparent; border: 0; padding: 0 16px; color: #fff; font: inherit; outline: none; min-width: 0; }
.newsletter button { padding: 12px 18px; }
.stores { display: flex; gap: 8px; }
.stores a { display: inline-flex; align-items: center; gap: 8px; background: #000; color: #fff; border: 1px solid rgba(255, 255, 255, .2); padding: 7px 14px; border-radius: 12px; font-weight: 700; font-size: .92rem; line-height: 1.05; white-space: nowrap; }
.stores a i { font-size: 1.5rem; }
.stores small { display: block; font-size: .62rem; font-weight: 500; opacity: .8; }
.lm-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .86rem; }
.lm-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
.lm-bottom a[href="../../"] { color: #5eead4; }

@media (max-width: 1180px) {
    .lm-search-btn span { display: none; }
    .lm-search-btn { width: 46px; padding: 0; justify-content: center; }
    .lm-nav > a, .dd > button { padding: 10px 10px; }
    .lm-app { grid-template-columns: 1fr 1fr; }
    .lm-app .stores { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
    .lm-nav { display: none; }
    .lm-burger { display: grid; }
    .lm-ft-grid { grid-template-columns: 1fr 1fr; }
    .care-band { grid-template-columns: 1fr; transform: translateY(-60px); margin-bottom: -40px; }
}
@media (max-width: 640px) {
    .topbar .left, .topbar .hide-sm { display: none; }
    .topbar .container { justify-content: center; }
    .topbar .emergency { font-size: .74rem; }
    .lang { display: none; }
    .site-header > .container { height: 70px; gap: 10px; }
    .lm-name { font-size: 1.3rem; }
    .lm-name small { display: none; }
    .lm-mark { width: 40px; height: 40px; border-radius: 13px; }
    .lm-mark svg { width: 30px; height: 30px; }
    .lm-actions .book span { display: none; }
    .lm-actions .book { width: 46px; height: 46px; padding: 0; border-radius: 14px; }
    .lm-ft-grid, .lm-app { grid-template-columns: 1fr; }
    .lm-ft-grid { gap: 30px; }
    .stores { flex-wrap: wrap; }
    .lm-bottom { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .beat, .ecg path { animation: none; } .ecg path { stroke-dashoffset: 0; } }
