:root {
    --blue: #0b5ed7;
    --blue-dark: #0a3d8f;
    --navy: #0b2545;
    --teal: #13b5a6;
    --teal-light: #e3f7f5;
    --sky: #eef5ff;
    --text: #13243a;
    --muted: #4a5b70;
    --radius: 18px;
    --shadow: 0 10px 30px rgba(11, 37, 69, .08);
    --shadow-lg: 0 20px 50px rgba(11, 37, 69, .16);
    --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: 'Poppins', sans-serif; font-size: 16.5px; color: var(--text); line-height: 1.75; background: #fff; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; letter-spacing: -.3px; }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: .7rem; }
h3 { font-size: 1.15rem; margin-bottom: .35rem; }
p { color: var(--muted); }
.container { width: min(1180px, 92%); margin: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; background: var(--blue); color: #fff; padding: .85rem 1.6rem; border-radius: 50px; font-weight: 600; border: 2px solid var(--blue); font-family: inherit; font-size: 1rem; cursor: pointer; transition: all .3s var(--ease); box-shadow: 0 8px 20px rgba(11, 94, 215, .28); }
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-3px); }
.btn-sm { padding: .5rem 1.1rem; font-size: .9rem; box-shadow: none; }
.btn-call { background: var(--teal); border-color: var(--teal); box-shadow: 0 8px 20px rgba(19, 181, 166, .35); }
.btn-call:hover { background: #0e978a; border-color: #0e978a; }
.btn-ghost { background: transparent; color: var(--blue); box-shadow: none; }
.btn-ghost:hover { background: var(--blue); color: #fff; }
.btn-white { background: #fff; color: var(--blue-dark); border-color: #fff; box-shadow: none; margin-top: 1.5rem; }
.btn-white:hover { background: var(--teal-light); border-color: var(--teal-light); }
.btn-block { width: 100%; }

/* Top bar */
.topbar { background: var(--navy); color: #d6e2f2; font-size: .85rem; padding: .45rem 0; }
.topbar-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.topbar a strong { color: #7ff0e4; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); transition: box-shadow .3s, padding .3s; padding: .9rem 0; }
.site-header.scrolled { box-shadow: 0 4px 20px rgba(11, 37, 69, .08); padding: .55rem 0; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: .65rem; }
.logo-mark { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--teal)); flex-shrink: 0; }
.logo-mark svg { width: 24px; height: 24px; fill: #fff; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-size: 1.2rem; color: var(--blue-dark); }
.logo-text small { font-size: .78rem; color: var(--teal); font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }
.logo.light .logo-text strong { color: #fff; }
.nav { display: flex; align-items: center; gap: 1.7rem; }
.nav a:not(.btn) { position: relative; font-weight: 500; }
.nav a:not(.btn)::after { content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background: var(--teal); transition: width .3s; }
.nav a:not(.btn):hover::after, .nav a.active::after { width: 100%; }
.nav a.active { color: var(--blue); }
.burger { display: none; background: none; border: 0; cursor: pointer; width: 32px; position: relative; z-index: 110; }
.burger span { display: block; height: 2px; background: var(--text); margin: 6px 0; transition: .3s; }
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero */
.hero { position: relative; padding: 5rem 0 6rem; background: linear-gradient(135deg, var(--sky) 0%, #fff 55%, var(--teal-light) 100%); overflow: hidden; }
.hero-bg .ring { position: absolute; border-radius: 50%; border: 2px solid rgba(19, 181, 166, .18); animation: spin 30s linear infinite; }
.r1 { width: 520px; height: 520px; right: -160px; top: -160px; border-style: dashed !important; }
.r2 { width: 300px; height: 300px; left: -120px; bottom: -120px; border-color: rgba(11, 94, 215, .15) !important; }
.r3 { width: 140px; height: 140px; left: 45%; top: 10%; background: rgba(19, 181, 166, .08); border: 0 !important; animation: float 8s ease-in-out infinite !important; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.pill { display: inline-block; background: #fff; color: var(--teal); font-weight: 600; font-size: .85rem; padding: .4rem 1rem; border-radius: 50px; box-shadow: var(--shadow); margin-bottom: 1.2rem; }
.hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); color: var(--navy); margin-bottom: 1.1rem; }
.hero h1 span { color: var(--blue); background: linear-gradient(90deg, var(--blue), var(--teal)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-text > p { font-size: 1.08rem; max-width: 540px; margin-bottom: 2rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 2.5rem; margin-top: 2.8rem; flex-wrap: wrap; }
.hero-stats strong { display: block; font-size: 2rem; color: var(--blue-dark); }
.hero-stats strong::after { content: '+'; color: var(--teal); }
.hero-stats span { font-size: .9rem; color: var(--muted); }

.hero-art { position: relative; display: grid; place-items: center; min-height: 420px; }
.hero-card { width: min(360px, 90%); background: linear-gradient(160deg, var(--blue), var(--blue-dark)); border-radius: 28px; padding: 2.5rem 2rem; text-align: center; color: #fff; box-shadow: var(--shadow-lg); animation: float 6s ease-in-out infinite; }
.cross-big { width: 110px; height: 110px; margin: 0 auto 1.2rem; border-radius: 50%; background: rgba(255, 255, 255, .15); display: grid; place-items: center; animation: beat 1.6s ease-in-out infinite; }
.cross-big svg { width: 56px; height: 56px; fill: #fff; }
.ecg { width: 100%; height: 60px; }
.ecg path { fill: none; stroke: #7ff0e4; stroke-width: 3; stroke-linejoin: round; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.8s linear infinite; }
.hero-card-title { color: #fff; font-weight: 700; font-size: 1.15rem; margin-top: .8rem; }
.hero-card-sub { color: #cfe0ff; font-size: .9rem; }
.float-badge { position: absolute; background: #fff; padding: .6rem 1rem; border-radius: 14px; box-shadow: var(--shadow); font-weight: 600; font-size: .9rem; color: var(--navy); display: flex; align-items: center; gap: .5rem; animation: float 5s ease-in-out infinite; }
.float-badge span { width: 32px; height: 32px; border-radius: 10px; background: var(--teal-light); display: grid; place-items: center; }
.fb1 { top: 4%; left: 0; }
.fb2 { top: 45%; right: -2%; animation-delay: -2s; }
.fb3 { bottom: 4%; left: 6%; animation-delay: -3.5s; }

/* Strip */
.strip { margin-top: -3rem; position: relative; z-index: 2; }
.strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.strip-item { display: flex; align-items: center; gap: 1rem; padding: 1.6rem 1.8rem; border-right: 1px solid #e6eef8; transition: background .3s; }
.strip-item:last-child { border-right: 0; }
.strip-item:hover { background: var(--sky); }
.s-icon { width: 54px; height: 54px; border-radius: 14px; background: var(--teal-light); display: grid; place-items: center; font-size: 1.5rem; flex-shrink: 0; }
.strip-item strong { display: block; color: var(--navy); }
.strip-item small { color: var(--muted); font-size: .9rem; }

/* Sections */
.section { padding: 6rem 0; }
.section.alt { background: var(--sky); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3.2rem; }
.eyebrow { display: inline-block; color: var(--teal); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: .8rem; margin-bottom: .6rem; }
.eyebrow.light { color: #7ff0e4; }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }

/* About */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split p { margin-bottom: 1rem; }
.about-visual { position: relative; }
.about-box { aspect-ratio: 4/3.4; border-radius: 24px; background: linear-gradient(135deg, #d9e8ff, var(--teal-light)); display: grid; place-content: center; text-align: center; box-shadow: var(--shadow-lg); }
.about-icon { font-size: 5rem; animation: float 6s ease-in-out infinite; }
.exp-badge { position: absolute; right: -1rem; bottom: -1.5rem; background: var(--teal); color: #fff; border-radius: 18px; padding: 1.1rem 1.4rem; display: flex; align-items: center; gap: .7rem; box-shadow: var(--shadow-lg); font-weight: 600; }
.exp-badge strong { font-size: 1.8rem; }
.ticks { list-style: none; margin-top: 1.2rem; }
.ticks li { position: relative; padding-left: 2rem; margin-bottom: .6rem; font-weight: 500; }
.ticks li::before { content: '\2713'; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: #fff; font-size: .75rem; display: grid; place-items: center; }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.service { background: #fff; border-radius: var(--radius); padding: 2rem 1.6rem; box-shadow: var(--shadow); position: relative; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.service::before { content: ''; position: absolute; inset: auto 0 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--teal)); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.service:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service:hover::before { transform: scaleX(1); }
.sv-icon { width: 62px; height: 62px; border-radius: 16px; background: var(--sky); display: grid; place-items: center; font-size: 1.8rem; margin-bottom: 1.1rem; transition: transform .5s, background .3s; }
.service:hover .sv-icon { transform: rotate(-8deg) scale(1.1); background: var(--teal-light); }
.service p { font-size: .95rem; }

/* Why */
.why { background: linear-gradient(120deg, var(--blue-dark), var(--blue) 60%, var(--teal)); color: #fff; padding: 5.5rem 0; }
.why p { color: rgba(255, 255, 255, .88); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.why-list { display: grid; gap: 1rem; }
.why-item { display: flex; gap: 1.2rem; align-items: center; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--radius); padding: 1.3rem 1.5rem; transition: background .3s, transform .3s; }
.why-item:hover { background: rgba(255, 255, 255, .18); transform: translateX(6px); }
.why-item strong { font-size: 1.8rem; color: #7ff0e4; }

/* Doctors */
.doctors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.doctor { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 2rem 1.5rem; text-align: center; transition: transform .4s var(--ease), box-shadow .4s; }
.doctor:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.avatar { width: 110px; height: 110px; margin: 0 auto 1.2rem; border-radius: 50%; display: grid; place-items: center; font-size: 1.8rem; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--blue), var(--teal)); box-shadow: 0 0 0 6px #fff, 0 0 0 8px var(--teal-light); }
.spec { display: inline-block; background: var(--teal-light); color: #0c7f74; font-weight: 600; font-size: .85rem; padding: .2rem .8rem; border-radius: 50px; margin-bottom: .5rem; }
.doctor p { font-size: .9rem; }
.about-photo { overflow: hidden; display: block; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; transition: transform .8s var(--ease); }
.about-visual:hover .about-photo img { transform: scale(1.04); }
.founder { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); overflow: hidden; margin-bottom: 2.5rem; }
.founder-photo { height: 100%; min-height: 300px; overflow: hidden; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; transition: transform .8s var(--ease); }
.founder:hover .founder-photo img { transform: scale(1.04); }
.founder-text { padding: 2.5rem; }
.founder-text h3 { font-size: 1.7rem; margin-bottom: .7rem; }
.founder-text p { margin-bottom: 1.4rem; }

/* Appointment */
.appt-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: center; }
.big-phone { display: inline-block; margin-top: 1.5rem; font-size: 1.6rem; font-weight: 700; color: var(--blue-dark); }
.appt-form { padding: 2.2rem; }
.appt-form label { display: block; font-weight: 500; font-size: .92rem; margin-bottom: 1rem; color: var(--navy); }
.appt-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
input, select, textarea { width: 100%; margin-top: .35rem; padding: .8rem 1rem; border: 1.5px solid #d6e2f2; border-radius: 12px; font: inherit; color: var(--text); background: #f8fbff; transition: border-color .3s, box-shadow .3s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(11, 94, 215, .12); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem; }
.contact-cards { display: grid; gap: 1rem; align-content: start; }
.c-card { display: flex; align-items: center; gap: 1.1rem; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.3rem 1.5rem; transition: transform .3s, box-shadow .3s; }
.c-card:hover { transform: translateX(6px); box-shadow: var(--shadow-lg); }
.c-card > span { width: 54px; height: 54px; border-radius: 14px; background: var(--sky); display: grid; place-items: center; font-size: 1.5rem; flex-shrink: 0; }
.c-card h3 { margin: 0; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 340px; }
.map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* Footer */
.site-footer { background: var(--navy); color: #d6e2f2; padding: 4rem 0 0; }
.site-footer p { color: #b9c8dc; margin-top: 1rem; max-width: 320px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 3rem; }
.site-footer h4 { color: #fff; margin-bottom: 1rem; }
.site-footer a:not(.logo) { display: block; margin-bottom: .5rem; transition: color .3s, padding .3s; }
.site-footer a:not(.logo):hover { color: #7ff0e4; padding-left: 4px; }
.copy { text-align: center; padding: 1.4rem; margin-top: 3rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; color: #9fb1c9; }

/* Floating */
.float-wa, .float-call { position: fixed; right: 1.2rem; z-index: 200; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0, 0, 0, .2); transition: transform .3s; }
.float-wa { bottom: 1.2rem; background: #25d366; animation: pulse 2.5s infinite; }
.float-call { bottom: 5.3rem; background: var(--blue); }
.float-wa:hover, .float-call:hover { transform: scale(1.1); }
.to-top { position: fixed; left: 1.2rem; bottom: 1.2rem; z-index: 200; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--teal); color: #fff; font-size: 1.2rem; cursor: pointer; opacity: 0; transform: translateY(20px); transition: .3s; }
.to-top.show { opacity: 1; transform: none; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; } .d3 { transition-delay: .3s; } .d4 { transition-delay: .4s; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.12); } 30% { transform: scale(1); } 45% { transform: scale(1.08); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); } 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid, .split, .why-grid, .appt-grid, .contact-grid { grid-template-columns: 1fr; }
    .hero-art { min-height: 380px; }
    .services, .doctors { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .burger { display: block; }
    .nav { position: fixed; top: 0; right: 0; height: 100vh; width: min(300px, 80%); background: #fff; flex-direction: column; align-items: flex-start; padding: 6rem 2rem 2rem; gap: 1.4rem; box-shadow: -10px 0 30px rgba(0, 0, 0, .1); transform: translateX(100%); transition: transform .4s var(--ease); }
    .nav.open { transform: none; }
    .topbar-inner { justify-content: center; text-align: center; }
    .topbar-inner span { display: none; }
    .hero { padding: 3.5rem 0 5.5rem; }
    .section { padding: 4.5rem 0; }
    .strip-grid { grid-template-columns: 1fr; }
    .strip-item { border-right: 0; border-bottom: 1px solid #e6eef8; }
    .footer-grid, .appt-form .row { grid-template-columns: 1fr; }
    .exp-badge { right: .5rem; }
    .founder { grid-template-columns: 1fr; }
    .founder-photo { min-height: 240px; aspect-ratio: 3/2; }
    .founder-text { padding: 1.8rem; }
    .appt-form { padding: 1.6rem; }
}
@media (max-width: 480px) {
    .services, .doctors { grid-template-columns: 1fr; }
    .hero-stats { gap: 1.5rem; }
    .hero-stats strong { font-size: 1.6rem; }
    .float-badge { font-size: .8rem; }
}
