/* FAUNA 2026 Premium */
:root {
    --bg: #F4F1EB;
    --bg-soft: #EBE7DF;
    --surface: #FFFCFA;
    --text: #5C6570;
    --heading: #1C2430;
    --primary: #3E7BFA;
    --primary-hover: #2E68DD;
    --line: #E4DFD6;
    --radius: 24px;
    --shadow: 0 20px 50px rgba(28, 36, 48, 0.08);
    --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    font-size: clamp(15px, 0.3vw + 14px, 17px);
    background: var(--bg);
    color: var(--heading);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 16px 28px; border-radius: 999px; font-weight: 600; font-size: 15px;
    text-decoration: none; border: none; cursor: pointer; transition: all var(--transition);
    font-family: inherit;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 30px rgba(62,123,250,.3); }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--heading); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--heading); }
.btn-sm { padding: 11px 20px; font-size: 14px; }
.btn-lg { padding: 18px 34px; font-size: 16px; }
.btn-full { width: 100%; }
.text-link { color: var(--primary); font-weight: 600; text-decoration: none; }
.text-link:hover { color: var(--primary-hover); }

/* Header - Apple glass */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 20px 0; transition: all .45s ease;
    background: transparent;
}

.header:not(.scrolled) .logo-text,
.header:not(.scrolled) .nav-link,
.header:not(.scrolled) .header-phone { color: rgba(255,255,255,0.92); }
.header:not(.scrolled) .nav-link:hover { color: #fff; }
.header:not(.scrolled) .burger span { background: #fff; }

.header.scrolled {
    padding: 12px 0;
    background: rgba(244, 241, 235, 0.88);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(228, 223, 214, 0.75);
    box-shadow: 0 8px 32px rgba(28, 36, 48, 0.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; }
.logo-mark {
    width: 36px; height: 36px; border-radius: 12px; background: var(--primary); color: #fff;
    display: grid; place-items: center; font-size: 18px; font-weight: 800;
}
.logo-text { font-size: 1.15rem; letter-spacing: -0.03em; }
.nav { display: flex; gap: 28px; }
.nav-link { text-decoration: none; color: var(--text); font-weight: 500; font-size: 14px; transition: color .25s; }
.nav-link:hover { color: var(--heading); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { text-decoration: none; font-weight: 600; font-size: 14px; color: var(--heading); }
.burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.burger span { width: 22px; height: 2px; background: var(--heading); border-radius: 2px; }

/* Hero — full screen photo/video background */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: flex-end;
    padding: 0 0 48px;
    overflow: hidden;
    color: #fff;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-photo,
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 65% center;
}
.hero-video {
    z-index: 1;
}
.hero-photo {
    z-index: 0;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        110deg,
        rgba(18, 24, 36, 0.82) 0%,
        rgba(18, 24, 36, 0.52) 48%,
        rgba(18, 24, 36, 0.22) 100%
    );
}
.hero-inner {
    position: relative;
    z-index: 3;
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
    padding-top: 120px;
    display: flex;
    flex-direction: column;
    gap: 56px;
    min-height: calc(100vh - 48px);
    min-height: calc(100dvh - 48px);
    justify-content: flex-end;
}
.hero-content {
    max-width: 620px;
    padding-bottom: 8px;
}
.hero-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    margin-bottom: 20px;
}
.hero-title {
    font-size: clamp(3rem, 6vw + 1rem, 5.4rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.04em;
    margin-bottom: 22px;
    color: #fff;
}
.hero-title span { color: #8BB4FF; }
.hero-subtitle {
    font-size: clamp(1.05rem, 1vw + .7rem, 1.25rem);
    color: rgba(255,255,255,0.88);
    max-width: 460px;
    margin-bottom: 36px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-light {
    color: #fff !important;
    border-color: rgba(255,255,255,0.45) !important;
    background: rgba(255,255,255,0.1) !important;
}
.btn-light:hover {
    background: rgba(255,255,255,0.2) !important;
    border-color: rgba(255,255,255,0.7) !important;
}
.hero-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.glass-card {
    padding: 22px 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 12px 36px rgba(0,0,0,0.14);
    transition: transform 0.35s ease, background 0.35s ease;
}
.glass-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.18);
}
.glass-card strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #fff;
    letter-spacing: -0.02em;
}
.glass-card span {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.75);
}

/* Trust */
.trust { padding: 40px 0 20px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust-item { text-align: center; padding: 20px 10px; }
.trust-item strong { display: block; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 6px; }
.trust-item span { color: var(--text); font-size: 0.92rem; }

/* Sections */
.section { padding: 130px 0; }
.section-head { margin-bottom: 72px; max-width: 640px; }
.eyebrow {
    display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em;
    text-transform: uppercase; color: var(--primary); margin-bottom: 14px;
}
.section-head h2, .about-text h2 {
    font-size: clamp(2rem, 3.5vw + 0.6rem, 3.3rem);
    font-weight: 800; letter-spacing: -0.035em; line-height: 1.12;
}
.section-lead { color: var(--text); margin-top: 14px; font-size: 1.1rem; }

/* About */
.about-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: start; }
.about-text h2 { margin-bottom: 22px; }
.about-text p { color: var(--text); margin-bottom: 16px; font-size: 1.05rem; }
.about-text .text-link { display: inline-block; margin-top: 10px; }
.about-features { display: grid; gap: 16px; }
.feature-row {
    display: flex; gap: 18px; padding: 26px 24px; background: var(--surface);
    border-radius: 22px; border: 1px solid var(--line);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.feature-row:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(28, 36, 48, 0.06);
}
.feature-icon {
    color: var(--primary); display: flex; align-items: flex-start; padding-top: 2px;
}
.feature-icon svg { flex-shrink: 0; }
.equip-icon svg { display: block; }
.feature-row h4 { font-size: 1.05rem; margin-bottom: 4px; }
.feature-row p { color: var(--text); font-size: 0.92rem; }

/* Services */
.services { background: var(--surface); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
    display: block; text-decoration: none; color: inherit; background: var(--bg);
    border-radius: 28px; overflow: hidden; border: 1px solid transparent;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.3s ease;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 28px 60px rgba(28, 36, 48, 0.12);
    border-color: rgba(62, 123, 250, 0.12);
}
.service-img { aspect-ratio: 16/11; overflow: hidden; background: var(--bg-soft); }
.service-img-placeholder {
    width: 100%; height: 100%; display: grid; place-items: center;
    color: var(--text); font-weight: 600; background: linear-gradient(145deg, #ebe6dc, #e0dbd0);
    transition: transform .6s cubic-bezier(0.22,1,0.36,1);
}
.service-card:hover .service-img-placeholder { transform: scale(1.06); }
.service-body { padding: 28px 28px 32px; position: relative; }
.service-body h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.02em; }
.service-body p { color: var(--text); font-size: 0.95rem; line-height: 1.6; padding-right: 28px; }
.service-arrow {
    position: absolute; right: 22px; bottom: 24px; width: 36px; height: 36px;
    border-radius: 50%; background: var(--primary); color: #fff;
    display: grid; place-items: center; opacity: 0; transform: translateY(8px);
    transition: all var(--transition); font-size: 16px;
}
.service-card:hover .service-arrow { opacity: 1; transform: translateY(0); }

/* Equipment */
.equipment-feature {
    display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
    margin-bottom: 40px;
}
.equipment-photo {
    border-radius: 28px; overflow: hidden; aspect-ratio: 4/3; background: var(--bg-soft);
    box-shadow: var(--shadow);
}
.equipment-photo-placeholder {
    width: 100%; height: 100%; display: grid; place-items: center; font-weight: 700;
    font-size: 1.4rem; color: var(--text); background: linear-gradient(145deg, #e8e3d8, #ddd7cb);
}
.equipment-info h3 { font-size: 2rem; font-weight: 800; margin: 10px 0 16px; letter-spacing: -0.03em; }
.equipment-info p { color: var(--text); margin-bottom: 18px; }
.check-list { list-style: none; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 22px; color: var(--heading); font-weight: 500; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 700; }
.equipment-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.equip-card {
    padding: 24px; background: var(--surface); border-radius: 20px; border: 1px solid var(--line);
}
.equip-icon { color: var(--primary); display: block; margin-bottom: 14px; opacity: 0.9; }
.equip-card h4 { font-size: 1rem; margin-bottom: 6px; }
.equip-card p { color: var(--text); font-size: 0.9rem; }

/* Doctors */
.doctors { background: var(--surface); }
.doctors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.doctor-card {
    background: var(--bg); border-radius: 28px; overflow: hidden; border: 1px solid var(--line);
    transition: transform var(--transition), box-shadow var(--transition);
}
.doctor-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.doctor-photo { aspect-ratio: 1/1.1; background: var(--bg-soft); }
.doctor-photo-placeholder {
    width: 100%; height: 100%; display: grid; place-items: center; color: var(--text); font-weight: 600;
    background: linear-gradient(160deg, #ebe6dc, #ddd8cd);
}
.doctor-info { padding: 26px; }
.doctor-info h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 4px; }
.doctor-info > span { display: block; color: var(--primary); font-weight: 600; font-size: 0.9rem; margin-bottom: 12px; }
.doctor-info p { color: var(--text); font-size: 0.95rem; }
.replace-note { text-align: center; margin-top: 28px; color: var(--text); font-size: 0.85rem; opacity: .75; }

/* Reviews */
.reviews-slider { position: relative; }
.reviews-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card {
    background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 32px;
}
.review-stars { color: #E2B93B; letter-spacing: 2px; margin-bottom: 16px; }
.review-card p { font-size: 1.05rem; line-height: 1.7; margin-bottom: 24px; color: var(--heading); }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
    width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff;
    display: grid; place-items: center; font-weight: 700;
}
.review-author strong { display: block; font-size: 0.98rem; }
.review-author span { color: var(--text); font-size: 0.85rem; }
.slider-controls { display: flex; gap: 10px; margin-top: 24px; }
.slider-btn {
    width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line);
    background: var(--surface); cursor: pointer; font-size: 18px; transition: all .25s;
}
.slider-btn:hover { border-color: var(--heading); }

/* Before / After */
.ba-slider {
    position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 16/9;
    background: var(--bg-soft); user-select: none; box-shadow: var(--shadow);
}
.ba-before, .ba-after { position: absolute; inset: 0; }
.ba-after { width: 50%; overflow: hidden; border-right: 2px solid #fff; }
.ba-placeholder {
    width: 100%; height: 100%; display: grid; place-items: center; font-weight: 700; font-size: 1.4rem; color: var(--text);
}
.ba-before .ba-placeholder { background: linear-gradient(135deg, #e5e0d5, #d8d2c6); }
.ba-after .ba-placeholder { background: linear-gradient(135deg, #dfe8f5, #cfdcf0); width: 200%; }
.ba-label {
    position: absolute; top: 20px; padding: 8px 14px; border-radius: 999px;
    background: rgba(28,36,48,.75); color: #fff; font-size: 13px; font-weight: 600;
}
.ba-before .ba-label { left: 20px; }
.ba-after .ba-label { right: 20px; }
.ba-handle {
    position: absolute; top: 0; bottom: 0; left: 50%; width: 44px; margin-left: -22px;
    display: grid; place-items: center; cursor: ew-resize; z-index: 3;
}
.ba-handle span {
    width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--heading);
    display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.15); font-weight: 700;
}

/* CTA */
.cta-section {
    position: relative; padding: 120px 0; overflow: hidden; color: #fff; text-align: center;
}
.cta-bg {
    position: absolute; inset: 0;
    background:
        linear-gradient(135deg, rgba(28,36,48,.82), rgba(28,36,48,.55)),
        url('hero-animals.png') center/cover no-repeat;
}
.cta-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.cta-inner h2 {
    font-size: clamp(2.2rem, 4vw + 0.5rem, 3.6rem); font-weight: 800;
    letter-spacing: -0.035em; line-height: 1.1; margin-bottom: 18px;
}
.cta-inner p { font-size: 1.15rem; opacity: .9; margin-bottom: 32px; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.contact-rows { display: grid; gap: 22px; margin-bottom: 28px; }
.contact-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text); margin-bottom: 6px; }
.contact-row strong { font-size: 1.1rem; }
.contact-row a { text-decoration: none; color: var(--primary); }
.contact-row small { display: block; color: var(--text); font-size: 0.8rem; margin-top: 2px; }
.map-block { display: grid; gap: 14px; }
.map-btn { justify-self: start; }
.booking-form {
    background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 32px;
    box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line);
    background: #fff; font: inherit; color: var(--heading); outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary); box-shadow: 0 0 0 4px rgba(62,123,250,.12);
}
.form-note { text-align: center; color: var(--text); font-size: 0.82rem; margin-top: 12px; }
.form-success { text-align: center; padding: 20px 10px; }
.success-icon {
    width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 50%;
    background: #3CB371; color: #fff; display: grid; place-items: center; font-size: 24px; font-weight: 700;
}

/* Footer */
.footer { background: #151B24; color: rgba(255,255,255,.7); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer .logo-text { color: #fff; }
.footer-brand p { margin-top: 12px; }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col span { color: #fff; font-weight: 700; margin-bottom: 6px; }
.footer-col a { text-decoration: none; color: rgba(255,255,255,.7); }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; font-size: 0.85rem; }

/* Float buttons */
.float-actions {
    position: fixed; right: 20px; bottom: 20px; z-index: 900;
    display: flex; flex-direction: column; gap: 10px;
}
.float-btn {
    width: 52px; height: 52px; border-radius: 50%; background: var(--primary); color: #fff;
    display: grid; place-items: center; text-decoration: none; font-weight: 700;
    box-shadow: 0 12px 30px rgba(62,123,250,.35); transition: transform .25s;
}
.float-btn:hover { transform: scale(1.06); }

/* Animations */
.reveal {
    opacity: 0; transform: translateY(36px);
    transition: opacity .8s cubic-bezier(0.22,1,0.36,1), transform .8s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1024px) {
    .about-layout, .equipment-feature, .contact-layout { grid-template-columns: 1fr; }
    .hero-cards, .trust-grid, .equipment-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid, .doctors-grid, .reviews-track { grid-template-columns: 1fr 1fr; }
    .header-phone { display: none; }
}
@media (max-width: 768px) {
    .hero-cards { grid-template-columns: 1fr 1fr; }
    .nav, .header-actions .btn { display: none; }
    .nav.open {
        display: flex; position: absolute; top: 100%; left: 0; right: 0;
        background: rgba(244,241,235,.96); backdrop-filter: blur(16px);
        flex-direction: column; padding: 20px 24px 28px; gap: 14px;
        border-bottom: 1px solid var(--line);
    }
    .burger { display: flex; }
    .hero { padding-top: 120px; }
    .hero-cards, .trust-grid, .services-grid, .doctors-grid, .reviews-track, .equipment-grid, .footer-grid, .form-row {
        grid-template-columns: 1fr;
    }
    .section { padding: 88px 0; }
    .container { width: min(100% - 32px, 1200px); }
}

/* Images in cards */
.service-img img,
.doctor-photo img,
.equipment-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-card:hover .service-img img {
    transform: scale(1.08);
}
.service-img {
    overflow: hidden;
}
.ba-before img,
.ba-after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ba-after img {
    width: 200%;
    max-width: none;
}
