:root {
    --bg: #f4f8fb;
    --bg-soft: #eef4f8;
    --surface: rgba(255,255,255,0.75);
    --surface-strong: #ffffff;
    --surface-border: rgba(255,255,255,0.55);
    --text: #0f172a;
    --muted: #5b6b83;
    --primary: #0ea5e9;
    --primary-2: #2563eb;
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --shadow-xl: 0 24px 80px rgba(15, 23, 42, 0.10);
    --shadow-lg: 0 16px 45px rgba(15, 23, 42, 0.08);
    --radius-xl: 28px;
    --radius-lg: 20px;
}

html[data-theme="dark"] {
    --bg: #08111f;
    --bg-soft: #0c1728;
    --surface: rgba(14, 23, 39, 0.76);
    --surface-strong: #0d1728;
    --surface-border: rgba(255,255,255,0.06);
    --text: #e5eefb;
    --muted: #9bb0c7;
    --primary: #38bdf8;
    --primary-2: #60a5fa;
    --shadow-xl: 0 24px 80px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 16px 45px rgba(0, 0, 0, 0.32);
}

* {
    box-sizing: border-box;
}

html, body {
    font-family: "Inter", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(14,165,233,0.10), transparent 26%),
        radial-gradient(circle at top right, rgba(34,197,94,0.10), transparent 20%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
    color: var(--text);
    min-height: 100%;
}

a {
    text-decoration: none;
}

.site-shell {
    min-height: 100vh;
}

.topbar-glass {
    backdrop-filter: blur(16px);
    background: rgba(255,255,255,0.35);
    border-bottom: 1px solid rgba(255,255,255,0.30);
}

html[data-theme="dark"] .topbar-glass {
    background: rgba(8,17,31,0.52);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.navbar-brand.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
}

.brand-logo {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    font-size: 20px;
}

.brand-logo.large {
    width: 58px;
    height: 58px;
    font-size: 22px;
}

.brand-kicker {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 2px;
}

.nav-link {
    color: var(--text) !important;
    font-weight: 600;
    opacity: 0.85;
}

.nav-link:hover {
    opacity: 1;
}

.custom-toggler {
    border: 0;
    box-shadow: none !important;
}

.btn {
    border-radius: 14px;
    font-weight: 700;
    padding: 0.85rem 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    border: 0;
    box-shadow: var(--shadow-lg);
}

.btn-soft-primary {
    background: rgba(14,165,233,0.10);
    color: var(--primary);
    border: 1px solid rgba(14,165,233,0.18);
}

.btn-theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(148,163,184,0.18);
    background: var(--surface);
    color: var(--text);
    backdrop-filter: blur(16px);
}

.hero-section {
    padding: 72px 0 34px;
}

.hero-card {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    padding: 28px;
    background: linear-gradient(135deg, rgba(255,255,255,0.78), rgba(255,255,255,0.58));
    border: 1px solid rgba(255,255,255,0.55);
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(20px);
}

html[data-theme="dark"] .hero-card {
    background: linear-gradient(135deg, rgba(14,23,39,0.85), rgba(14,23,39,0.68));
    border: 1px solid rgba(255,255,255,0.06);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(14,165,233,0.10);
    border: 1px solid rgba(14,165,233,0.18);
    color: var(--primary);
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
}

.hero-title {
    font-size: clamp(2.25rem, 5vw, 4.8rem);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 18px;
}

.hero-title .text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--success));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 720px;
    line-height: 1.8;
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 26px;
}

.metric-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 16px;
}

.metric-card {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    backdrop-filter: blur(16px);
    border-radius: 22px;
    padding: 18px;
    box-shadow: var(--shadow-lg);
}

.metric-card .value {
    font-size: 1.65rem;
    font-weight: 900;
    margin-bottom: 4px;
}

.metric-card .label {
    color: var(--muted);
    font-size: 0.95rem;
}

.section-space {
    padding: 34px 0;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
    margin-bottom: 20px;
}

.section-kicker {
    color: var(--primary);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 800;
    margin-bottom: 8px;
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.8rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    margin: 0;
}

.section-subtitle {
    color: var(--muted);
    max-width: 700px;
    line-height: 1.8;
}

.glass-card {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    box-shadow: var(--shadow-lg);
    border-radius: 26px;
    backdrop-filter: blur(18px);
}

.trust-grid,
.destination-grid,
.blog-grid {
    display: grid;
    gap: 18px;
}

.trust-grid {
    grid-template-columns: repeat(4, minmax(0,1fr));
}

.destination-grid,
.blog-grid {
    grid-template-columns: repeat(3, minmax(0,1fr));
}

.trust-item,
.destination-card,
.blog-card,
.clinic-card-mini,
.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 24px;
    padding: 22px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(16px);
    height: 100%;
}

.icon-chip {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(14,165,233,0.16), rgba(37,99,235,0.18));
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    font-size: 20px;
}

.trust-item h5,
.destination-card h5,
.blog-card h5,
.clinic-card-mini h5 {
    font-weight: 800;
    margin-bottom: 10px;
}

.text-muted-strong {
    color: var(--muted);
}

.clinic-image {
    aspect-ratio: 16 / 10;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 16px;
    background: linear-gradient(135deg, rgba(14,165,233,0.12), rgba(34,197,94,0.12));
}

.clinic-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rating-pill,
.city-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(15,23,42,0.05);
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
}

html[data-theme="dark"] .rating-pill,
html[data-theme="dark"] .city-pill {
    background: rgba(255,255,255,0.08);
}

.owl-theme .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
}

.cta-panel {
    padding: 28px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(14,165,233,0.14), rgba(34,197,94,0.12));
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: var(--shadow-xl);
}

.footer-wrap {
    padding-bottom: 32px;
}

.footer-card {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    box-shadow: var(--shadow-xl);
    border-radius: 30px;
    padding: 28px;
    backdrop-filter: blur(18px);
}

.footer-brand {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.footer-title {
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.footer-links {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-links li + li {
    margin-top: 10px;
}

.footer-links a {
    color: var(--muted);
    font-weight: 600;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-separator {
    margin: 28px 0 18px;
    border-color: rgba(148,163,184,0.16);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    background: rgba(148,163,184,0.10);
}

.auth-shell {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    padding: 40px 0;
}

.auth-card {
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 34px;
    background: var(--surface);
    border: 1px solid var(--surface-border);
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(18px);
}

.auth-aside {
    padding: 38px;
    height: 100%;
    background:
        radial-gradient(circle at top left, rgba(14,165,233,0.20), transparent 30%),
        radial-gradient(circle at bottom right, rgba(34,197,94,0.18), transparent 35%),
        linear-gradient(135deg, rgba(15,23,42,0.92), rgba(15,23,42,0.74));
    color: #fff;
}

.auth-form-wrap {
    padding: 38px;
}

.form-label {
    font-weight: 700;
    margin-bottom: 10px;
}

.form-control,
.form-select,
.select2-container--bootstrap4 .select2-selection,
.note-editor.note-frame,
.note-toolbar,
.note-editor.note-frame .note-editing-area .note-editable {
    border-radius: 16px !important;
}

.form-control,
.form-select {
    min-height: 50px;
    border: 1px solid rgba(148,163,184,0.22);
    background: rgba(255,255,255,0.72);
    color: var(--text);
    box-shadow: none !important;
}

html[data-theme="dark"] .form-control,
html[data-theme="dark"] .form-select {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.08);
    color: var(--text);
}

.form-control::placeholder {
    color: #94a3b8;
}

.select2-container {
    width: 100% !important;
}

.select2-container--bootstrap4 .select2-selection {
    min-height: 50px !important;
    display: flex !important;
    align-items: center !important;
    border: 1px solid rgba(148,163,184,0.22) !important;
    background: rgba(255,255,255,0.72) !important;
    padding: 0 10px !important;
}

.input-group-glass .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.newsletter-form .btn {
    min-width: 110px;
}

.table-wrap {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 24px;
    padding: 18px;
    box-shadow: var(--shadow-lg);
}

.dt-filter-row input,
.dt-filter-row select {
    width: 100%;
    min-height: 38px;
    border-radius: 12px;
    border: 1px solid rgba(148,163,184,0.22);
    padding: 8px 10px;
    background: #fff;
}

@media (max-width: 991.98px) {
    .metric-row,
    .trust-grid,
    .destination-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .hero-card,
    .footer-card,
    .auth-aside,
    .auth-form-wrap {
        padding: 22px;
    }

    .hero-section {
        padding-top: 34px;
    }
}
.compare-bar {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    width: min(980px, calc(100% - 24px));
    z-index: 1050;
    background: var(--surface);
    border: 1px solid var(--surface-border);
    box-shadow: var(--shadow-xl);
    border-radius: 24px;
    backdrop-filter: blur(18px);
    padding: 14px;
    display: none;
}

.compare-bar.active {
    display: block;
}

.compare-items {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.compare-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 16px;
    background: rgba(14,165,233,0.10);
    border: 1px solid rgba(14,165,233,0.18);
    color: var(--text);
    font-weight: 700;
}

.compare-chip button {
    border: 0;
    background: transparent;
    color: var(--danger);
    font-weight: 900;
}

.sticky-booking-card {
    position: sticky;
    top: 100px;
}

.price-compare-card,
.smart-reco-card,
.info-strip-card {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    box-shadow: var(--shadow-lg);
    border-radius: 24px;
    backdrop-filter: blur(18px);
    padding: 22px;
}

.mega-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 16px;
}

.mega-stat {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 22px;
    padding: 18px;
    box-shadow: var(--shadow-lg);
}

.mega-stat .label {
    color: var(--muted);
    font-size: .92rem;
    margin-bottom: 6px;
}

.mega-stat .value {
    font-size: 1.45rem;
    font-weight: 900;
}

.treatment-price-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px dashed rgba(148,163,184,0.20);
}

.treatment-price-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.reco-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(34,197,94,0.12);
    border: 1px solid rgba(34,197,94,0.18);
    color: #15803d;
    font-size: 13px;
    font-weight: 800;
}

.compare-table-wrap {
    overflow-x: auto;
}

.compare-table {
    width: 100%;
    min-width: 760px;
    border-collapse: separate;
    border-spacing: 0 12px;
}

.compare-table th {
    color: var(--muted);
    font-weight: 800;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: 0 14px 8px;
}

.compare-table td {
    background: var(--surface);
    border-top: 1px solid var(--surface-border);
    border-bottom: 1px solid var(--surface-border);
    padding: 16px 14px;
}

.compare-table td:first-child {
    border-left: 1px solid var(--surface-border);
    border-top-left-radius: 18px;
    border-bottom-left-radius: 18px;
}

.compare-table td:last-child {
    border-right: 1px solid var(--surface-border);
    border-top-right-radius: 18px;
    border-bottom-right-radius: 18px;
}

@media (max-width: 991.98px) {
    .mega-stat-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 575.98px) {
    .mega-stat-grid {
        grid-template-columns: 1fr;
    }
}