/* ============================================================
   LigaiMed — Premium Medical Clinic Design
   Single comprehensive stylesheet
   ============================================================ */

/* ===== CSS Variables ===== */
:root {
    --primary: #023667;
    --primary-light: #034a8a;
    --primary-dark: #011d3a;
    --accent: #2ea3f2;
    --accent-light: #e8f4fd;
    --success: #10b981;
    --gold: #f59e0b;
    --white: #ffffff;
    --bg: #ffffff;
    --bg-soft: #f7f9fc;
    --bg-section: #f0f5fa;
    --text: #1a1a2e;
    --text-secondary: #4a5568;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --shadow: 0 4px 20px rgba(0,0,0,.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,.1);
    --shadow-xl: 0 20px 60px rgba(0,0,0,.12);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    --transition: .3s cubic-bezier(.4,0,.2,1);
    --container: 1280px;
    --header-h: 80px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
    letter-spacing: -.01em;
}
h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.5vw, 38px); }
h3 { font-size: clamp(20px, 2.5vw, 26px); }
h4 { font-size: 18px; }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* ===== Layout ===== */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}
.section {
    padding: 100px 0;
}
.section--gray {
    background: var(--bg-soft);
}
.section--blue {
    background: var(--bg-section);
}
.section-header {
    margin-bottom: 56px;
}
.section-header--center {
    text-align: center;
}
.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}
.section-title {
    color: var(--primary);
    margin-bottom: 16px;
}
.section-desc {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.7;
}
.section-header--center .section-desc {
    margin: 0 auto;
}
.section-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 56px;
    gap: 32px;
}
.section-top .section-desc {
    margin-bottom: 0;
}

/* ===== Grid ===== */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    text-decoration: none;
}
.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(2,54,103,.3);
}
.btn-accent {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}
.btn-accent:hover {
    background: #1b93e0;
    border-color: #1b93e0;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46,163,242,.3);
}
.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--border);
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}
.btn-white {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}
.btn-white:hover {
    background: rgba(255,255,255,.9);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,.15);
}
.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,.3);
}
.btn-ghost:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.5);
    color: var(--white);
}
.btn-sm { padding: 10px 22px; font-size: 13px; }
.btn-lg { padding: 17px 40px; font-size: 15px; }
.btn-icon {
    width: 48px; height: 48px;
    padding: 0; border-radius: 50%;
}

/* Link with arrow */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    transition: all var(--transition);
}
.link-arrow svg { transition: transform var(--transition); }
.link-arrow:hover { color: var(--accent); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ===== Header ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    transition: all .4s ease;
}
.site-header .container {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 40px;
}
.header-logo img {
    height: 40px;
    width: auto;
    transition: all var(--transition);
}
.header-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
}
.header-nav a {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all var(--transition);
    position: relative;
}
.header-nav a.active {
    font-weight: 600;
}
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}
.header-phone {
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}
.header-hours {
    font-size: 12px;
    font-weight: 500;
    opacity: .6;
    display: block;
    margin-top: 1px;
}

/* Header states */
/* Default: for inner pages — white solid */
.site-header--solid {
    background: var(--white);
    box-shadow: var(--shadow-sm);
}
.site-header--solid .header-nav a { color: var(--text-secondary); }
.site-header--solid .header-nav a:hover,
.site-header--solid .header-nav a.active { color: var(--primary); background: var(--bg-soft); }
.site-header--solid .header-phone { color: var(--text); }

/* Hero page: transparent */
.site-header--hero {
    background: transparent;
}
.site-header--hero .header-nav a { color: var(--text-secondary); }
.site-header--hero .header-nav a:hover,
.site-header--hero .header-nav a.active { color: var(--primary); background: rgba(2,54,103,.06); }
.site-header--hero .header-phone { color: var(--text); }

/* Scrolled state */
.site-header--scrolled {
    background: rgba(255,255,255,.92) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(0,0,0,.06);
}

/* Services dropdown */
.nav-dropdown {
    position: relative;
}
.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 280px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all .25s ease;
    pointer-events: none;
    border: 1px solid var(--border);
}
.nav-dropdown-menu::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-bottom-color: var(--white);
    border-top: 0;
}
.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}
.nav-dropdown-menu a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-xs);
    transition: all .15s ease;
}
.nav-dropdown-menu a:hover {
    background: var(--bg-soft);
    color: var(--primary);
    padding-left: 20px;
}
.nav-dropdown-menu .dropdown-footer {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--border);
}
.nav-dropdown-menu .dropdown-footer a {
    font-weight: 700;
    color: var(--primary);
}

/* Mobile header */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 64px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}
.mobile-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 20px;
}
.mobile-header__logo img {
    height: 32px;
    width: auto;
}
.mobile-header__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}
.burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    margin: -8px;
}
.burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all .3s ease;
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    max-width: 400px;
    background: var(--white);
    z-index: 2000;
    transform: translateX(-100%);
    transition: transform .4s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.mobile-menu.open {
    transform: translateX(0);
}
.mobile-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}
.mobile-menu__close {
    cursor: pointer;
    padding: 8px;
}
.mobile-menu__nav {
    padding: 16px 0;
}
.mobile-menu__nav a {
    display: block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
    transition: all .15s ease;
}
.mobile-menu__nav a:hover {
    background: var(--bg-soft);
    color: var(--primary);
}
.mobile-menu__nav a.sub {
    padding-left: 52px;
    font-size: 14px;
    color: var(--text-secondary);
}
.mobile-menu__footer {
    padding: 24px 32px;
    border-top: 1px solid var(--border);
}
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all .4s ease;
    backdrop-filter: blur(4px);
}
.mobile-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--header-h);
}
.hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.75) 40%, rgba(255,255,255,.15) 70%, transparent 100%);
}
.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding-top: 40px;
    padding-bottom: 60px;
}
.hero__content {
    max-width: 580px;
    flex-shrink: 0;
}
.hero__title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -.02em;
}
.hero__subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 480px;
}
.hero__buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}
.hero__stats {
    display: flex;
    gap: 40px;
}
.hero__stat {
    text-align: center;
}
.hero__stat-value {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -.02em;
}
.hero__stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 6px;
    font-weight: 500;
}

/* Glass card on hero */
.hero__card {
    background: rgba(255,255,255,.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius);
    padding: 36px;
    border: 1px solid rgba(255,255,255,.8);
    box-shadow: var(--shadow-lg);
    min-width: 340px;
    max-width: 380px;
}
.hero__card h3 {
    color: var(--primary);
    margin-bottom: 6px;
    font-size: 20px;
}
.hero__card p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
}
.hero__card-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0,0,0,.06);
}
.hero__card-item:last-child { border-bottom: 0; }
.hero__card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.hero__card-icon svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 2; }
.hero__card-text strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}
.hero__card-text span {
    font-size: 13px;
    color: var(--text-muted);
}

/* ===== Features/Teasers Bar ===== */
.features-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0;
}
.features-bar .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 32px 24px;
    border-right: 1px solid var(--border);
    transition: all var(--transition);
}
.feature-item:last-child { border-right: 0; }
.feature-item:hover { background: var(--bg-soft); }
.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent-light), rgba(46,163,242,.15));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.feature-text h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text);
}
.feature-text p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ===== Service Cards ===== */
.service-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid transparent;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(46,163,242,.15);
}
.service-card__image {
    height: 200px;
    overflow: hidden;
    position: relative;
}
.service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.service-card:hover .service-card__image img {
    transform: scale(1.05);
}
.service-card__body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.service-card__title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}
.service-card__title a {
    color: var(--text);
    transition: color var(--transition);
}
.service-card__title a:hover { color: var(--primary); }
.service-card__desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 16px;
}
.service-card__price {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 16px;
}
.service-card__footer {
    margin-top: auto;
}

/* ===== Doctor Cards ===== */
.doctor-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid transparent;
}
.doctor-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(46,163,242,.15);
}
.doctor-card__photo {
    position: relative;
    padding-top: 120%;
    overflow: hidden;
    background: var(--bg-section);
}
.doctor-card__photo img,
.doctor-card__photo-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.doctor-card__photo-bg {
    background-size: cover;
    background-position: center;
}
.doctor-card:hover .doctor-card__photo img,
.doctor-card:hover .doctor-card__photo-bg {
    transform: scale(1.05);
}
.doctor-card__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    font-weight: 800;
    color: var(--primary);
    opacity: .08;
}
.doctor-card__info {
    padding: 24px;
    text-align: center;
}
.doctor-card__position {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 6px;
}
.doctor-card__name {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
}
.doctor-card__name a { color: var(--text); }
.doctor-card__name a:hover { color: var(--primary); }
.doctor-card__exp {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* ===== About Block ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 48px;
    align-items: start;
}
.about-content .section-title { margin-bottom: 20px; }
.about-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
}
.about-box {
    background: var(--primary);
    border-radius: var(--radius);
    padding: 40px;
    color: var(--white);
}
.about-box h4 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 12px;
}
.about-box p {
    color: rgba(255,255,255,.65);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
}
.about-box__stats {
    display: flex;
    gap: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.12);
}
.about-box__stat strong {
    display: block;
    font-size: 30px;
    font-weight: 800;
    color: var(--white);
}
.about-box__stat span {
    font-size: 12px;
    color: rgba(255,255,255,.45);
}

/* ===== Promo/Sale Cards ===== */
.promo-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.promo-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(46,163,242,.15);
}
.promo-card__image {
    position: relative;
    padding-top: 65%;
    overflow: hidden;
}
.promo-card__image-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform .5s ease;
}
.promo-card:hover .promo-card__image-bg { transform: scale(1.05); }
.promo-card__image-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-section);
    color: var(--text-muted);
    padding: 20px;
    text-align: center;
    font-size: 14px;
}
.promo-card__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    background: var(--gold);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 50px;
}
.promo-card__body {
    padding: 24px;
    flex: 1;
}
.promo-card__title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}
.promo-card__title a { color: var(--text); }
.promo-card__title a:hover { color: var(--primary); }
.promo-card__desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== Review Cards ===== */
.review-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    height: 100%;
    transition: all var(--transition);
}
.review-card:hover {
    box-shadow: var(--shadow);
    border-color: transparent;
}
.review-card__header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}
.review-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-light), rgba(46,163,242,.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
    flex-shrink: 0;
}
.review-card__author {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
}
.review-card__doctor {
    font-size: 13px;
    color: var(--text-muted);
}
.review-card__stars {
    color: var(--gold);
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.review-card__text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== CTA Section ===== */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius);
    padding: 64px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255,255,255,.04);
}
.cta h3 {
    font-size: clamp(24px, 3vw, 32px);
    color: var(--white);
    margin-bottom: 12px;
    position: relative;
}
.cta p {
    color: rgba(255,255,255,.7);
    font-size: 16px;
    max-width: 500px;
    margin: 0 auto 28px;
    position: relative;
}
.cta__buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

/* ===== Contact Page ===== */
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.contact-card {
    display: flex;
    gap: 16px;
    padding: 24px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.contact-card:hover { background: var(--bg-soft); }
.contact-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-card__icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 1.8;
}
.contact-card h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}
.contact-card p { font-size: 14px; color: var(--text-secondary); margin: 0; }
.contact-card a { color: var(--primary); font-weight: 500; }

/* Callback form */
.callback-form {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.callback-form h3 {
    font-size: 22px;
    margin-bottom: 8px;
}
.callback-form > p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 28px;
}

/* ===== Forms ===== */
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font);
    font-size: 14px;
    color: var(--text);
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(46,163,242,.12);
    background: var(--white);
}
.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ===== Map ===== */
.map-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* ===== Page Header (breadcrumbs + title) ===== */
.page-header {
    background: var(--bg-soft);
    padding: 120px 0 48px;
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.breadcrumb a {
    color: var(--text-muted);
    font-weight: 500;
    transition: color var(--transition);
}
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: var(--text-muted); opacity: .4; }
.breadcrumb span:last-child { color: var(--text-secondary); }
.page-header h1 {
    font-size: clamp(28px, 4vw, 40px);
    color: var(--primary);
}

/* ===== Service Detail ===== */
.svc-hero {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 120px 0 60px;
    color: var(--white);
}
.svc-hero .breadcrumb a,
.svc-hero .breadcrumb .sep,
.svc-hero .breadcrumb span { color: rgba(255,255,255,.5); }
.svc-hero .breadcrumb span:last-child { color: rgba(255,255,255,.8); }
.svc-hero h1 { color: var(--white); margin-bottom: 12px; }
.svc-hero .short-desc { color: rgba(255,255,255,.7); font-size: 17px; margin-bottom: 24px; }
.svc-hero-grid { display: flex; justify-content: space-between; align-items: start; gap: 40px; }
.price-block {
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    min-width: 260px;
}
.price-block .price { font-size: 28px; font-weight: 800; color: var(--white); margin-bottom: 4px; }
.price-block .price-note { font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 16px; }

.svc-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}
.svc-content { line-height: 1.8; }
.svc-content h2 { font-size: 22px; color: var(--primary); margin: 32px 0 16px; }
.svc-content p { color: var(--text-secondary); margin-bottom: 16px; }
.svc-content ul { padding-left: 20px; margin-bottom: 16px; }
.svc-content ul li { color: var(--text-secondary); margin-bottom: 8px; list-style: disc; }
.svc-content blockquote {
    background: var(--accent-light);
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
    padding: 20px 24px;
    font-size: 15px;
    color: var(--text-secondary);
    margin: 24px 0;
}

.svc-sidebar { position: sticky; top: 100px; }
.sidebar-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    margin-bottom: 20px;
}
.sidebar-card h4 { font-size: 16px; margin-bottom: 16px; color: var(--primary); }
.sidebar-link {
    display: block;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
    transition: all .15s ease;
}
.sidebar-link:last-of-type { border-bottom: 0; }
.sidebar-link:hover { color: var(--primary); padding-left: 6px; }
.sidebar-link.current { color: var(--primary); font-weight: 700; }

.doc-grid-sm { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 20px; }
.doc-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.doc-mini:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.doc-mini-photo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.doc-mini h4 { font-size: 14px; margin-bottom: 2px; }
.doc-mini p { font-size: 12px; color: var(--text-muted); margin: 0; }

.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.related-item {
    padding: 20px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.related-item:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.related-item h4 { font-size: 15px; margin-bottom: 6px; }
.related-item p { font-size: 13px; color: var(--text-muted); margin: 0; }

.disclaimer {
    margin-top: 40px;
    padding: 16px 20px;
    background: var(--bg-soft);
    border-radius: var(--radius-xs);
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* ===== Footer ===== */
.site-footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,.7);
    padding: 72px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 48px;
}
.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,.5);
    margin-top: 16px;
}
.footer-brand img { height: 36px; margin-bottom: 4px; filter: brightness(10); }
.footer-col h4 {
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
}
.footer-col a {
    display: block;
    padding: 6px 0;
    font-size: 14px;
    color: rgba(255,255,255,.55);
    transition: all .2s ease;
}
.footer-col a:hover { color: var(--white); padding-left: 4px; }
.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}
.footer-contact-item svg {
    width: 18px;
    height: 18px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 1.8;
    flex-shrink: 0;
    margin-top: 2px;
}
.footer-contact-item a { display: inline; padding: 0; color: rgba(255,255,255,.7); }
.footer-contact-item a:hover { color: var(--white); }
.footer-contact-item span { font-size: 14px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255,255,255,.35);
}
.footer-bottom a { color: rgba(255,255,255,.45); font-size: 13px; }
.footer-bottom a:hover { color: var(--white); }

/* ===== WhatsApp Float ===== */
.wa-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 900;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,.4);
    transition: all var(--transition);
}
.wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37,211,102,.5);
}
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* ===== Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .hero__card { display: none; }
    .about-grid { grid-template-columns: 1fr; }
    .svc-layout { grid-template-columns: 1fr; }
    .svc-sidebar { position: static; }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
    .site-header { display: none; }
    .mobile-header { display: flex; }
    .hero { min-height: 80vh; padding-top: 64px; }
    .hero .container { flex-direction: column; text-align: center; padding-top: 40px; }
    .hero__subtitle { margin-left: auto; margin-right: auto; }
    .hero__buttons { justify-content: center; }
    .hero__stats { justify-content: center; }
    .features-bar .container { grid-template-columns: repeat(2, 1fr); }
    .feature-item:nth-child(2) { border-right: 0; }
    .section { padding: 64px 0; }
    .section-top { flex-direction: column; align-items: start; }
    .contacts-grid { grid-template-columns: 1fr; }
    .svc-hero-grid { flex-direction: column; }
    .page-header { padding: 88px 0 36px; }
}

@media (max-width: 767px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .features-bar .container { grid-template-columns: 1fr; }
    .feature-item { border-right: 0; border-bottom: 1px solid var(--border); }
    .feature-item:last-child { border-bottom: 0; }
    .hero { min-height: 70vh; }
    .hero__title { font-size: 32px; }
    .hero__stats { gap: 24px; flex-wrap: wrap; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .cta { padding: 40px 24px; }
    .doc-grid-sm { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr; }
    .section-top { margin-bottom: 36px; }
}

/* ═══════════════════════════════════════
   SPOTLIGHT SECTIONS (Homepage)
   ═══════════════════════════════════════ */

.spotlight {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    color: #fff;
}
.spotlight__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.spotlight__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.spotlight--cosmo .spotlight__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(2,54,103,.92) 0%, rgba(3,74,138,.80) 40%, rgba(46,163,242,.55) 100%);
}
.spotlight__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 60px;
    align-items: center;
}
.spotlight__content .section-label { color: var(--accent); }
.spotlight__content .section-title { color: #fff; }
.spotlight__desc {
    font-size: 17px;
    color: rgba(255,255,255,.75);
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 520px;
}
.spotlight__procedures {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 36px;
}
.spotlight__proc {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}
.spotlight__proc:hover {
    background: rgba(255,255,255,.15);
    border-color: rgba(255,255,255,.25);
    transform: translateX(4px);
    color: #fff;
}
.spotlight__proc-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255,255,255,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.spotlight__proc-icon svg {
    width: 18px;
    height: 18px;
    stroke: #fff;
    fill: none;
    stroke-width: 2;
}
.spotlight__buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.spotlight__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.spotlight__stat-float {
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--radius);
    padding: 32px 40px;
    text-align: center;
}
.spotlight__stat-float strong {
    display: block;
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.spotlight__stat-float span {
    font-size: 14px;
    color: rgba(255,255,255,.6);
    margin-top: 4px;
    display: block;
}
.spotlight__stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ═══════════════════════════════════════
   CONSULTATIONS GRID
   ═══════════════════════════════════════ */

.consult-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}
.consult-tile {
    display: flex;
    flex-direction: column;
    padding: 28px 24px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
    text-decoration: none;
    position: relative;
}
.consult-tile:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.consult-tile__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent-light), rgba(46,163,242,.15));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.consult-tile__icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 1.8;
}
.consult-tile__title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}
.consult-tile__desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
}
.consult-tile__price {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    margin-top: 12px;
}
.consult-tile__arrow {
    color: var(--accent);
    opacity: 0;
    transition: all var(--transition);
    margin-top: 12px;
}
.consult-tile:hover .consult-tile__arrow {
    opacity: 1;
    transform: translateX(4px);
}
.consult-doctors {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 32px;
    background: var(--bg-soft);
    border-radius: var(--radius);
}
.consult-doctors__label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
    margin: 0;
}
.consult-doctors__list {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.consult-doctors__item {
    display: flex;
    align-items: center;
    gap: 10px;
}
.consult-doctors__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-light), rgba(46,163,242,.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--accent);
    flex-shrink: 0;
}
.consult-doctors__item strong {
    display: block;
    font-size: 14px;
    color: var(--text);
}
.consult-doctors__item span {
    font-size: 12px;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════
   SERVICES STRIP TILES
   ═══════════════════════════════════════ */

.services-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.strip-tile {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 280px;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    transition: all var(--transition);
}
.strip-tile:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}
.strip-tile__bg {
    position: absolute;
    inset: 0;
}
.strip-tile__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.strip-tile:hover .strip-tile__bg img {
    transform: scale(1.08);
}
.strip-tile__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2,54,103,.90) 0%, rgba(2,54,103,.50) 50%, rgba(2,54,103,.20) 100%);
}
.strip-tile__content {
    position: relative;
    z-index: 2;
    padding: 32px;
    width: 100%;
}
.strip-tile__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255,255,255,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.strip-tile__icon svg {
    width: 24px;
    height: 24px;
    stroke: #fff;
    fill: none;
    stroke-width: 2;
}
.strip-tile__title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}
.strip-tile__count {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,.6);
    margin-bottom: 12px;
}
.strip-tile__arrow {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    opacity: 0;
    transform: translateY(8px);
    transition: all var(--transition);
    display: block;
}
.strip-tile:hover .strip-tile__arrow {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════
   FORM ROW (side-by-side fields)
   ═══════════════════════════════════════ */

.form-row {
    display: flex;
    gap: 16px;
}
.form-row > .form-group { flex: 1; }

/* ═══════════════════════════════════════
   HERO STAT ANIMATION
   ═══════════════════════════════════════ */

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero__stat {
    animation: fadeInUp .8s ease forwards;
    opacity: 0;
}
.hero__stat:nth-child(1) { animation-delay: .2s; }
.hero__stat:nth-child(2) { animation-delay: .4s; }
.hero__stat:nth-child(3) { animation-delay: .6s; }
.hero__stat:nth-child(4) { animation-delay: .8s; }

/* ═══════════════════════════════════════
   RESPONSIVE — NEW SECTIONS
   ═══════════════════════════════════════ */

@media (max-width: 1100px) {
    .spotlight__grid { grid-template-columns: 1fr; }
    .spotlight__visual { display: none; }
    .consult-grid { grid-template-columns: repeat(2, 1fr); }
    .services-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
    .spotlight { padding: 80px 0; }
    .spotlight__procedures { grid-template-columns: 1fr; }
    .consult-doctors { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 767px) {
    .spotlight { padding: 60px 0; }
    .spotlight__buttons { flex-direction: column; }
    .spotlight__buttons .btn { width: 100%; text-align: center; }
    .consult-grid { grid-template-columns: 1fr; }
    .services-strip { grid-template-columns: 1fr; }
    .strip-tile { min-height: 220px; }
    .consult-doctors__list { flex-direction: column; gap: 12px; }
    .form-row { flex-direction: column; gap: 0; }
}
