/* =====================================================
   MEDOSIST — Global Stylesheet
   Luxury editorial · Castle Connolly inspired
   ===================================================== */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
    color: #1A1A1A;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.15;
}

/* ---- Container ---- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ---- Section Label ---- */
.section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #1583dd;
    padding-left: 12px;
    border-left: 3px solid #1583dd;
    margin-bottom: 20px;
}

.section-title {
    font-size: 2rem;
    color: #1A1A1A;
    margin-bottom: 40px;
    font-weight: 600;
}

/* ---- Buttons ---- */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #1583dd 0%, #1cb9b6 100%);
    color: #fff;
    padding: 14px 32px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.88; }

.btn-outline-light {
    display: inline-block;
    border: 1.5px solid rgba(255,255,255,0.6);
    color: #fff;
    padding: 12px 28px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: border-color 0.2s, background 0.2s;
}
.btn-outline-light:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.08);
}

/* =====================================================
   NAVIGATION
   ===================================================== */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.97);
    border-bottom: 1px solid #E8E8E8;
    backdrop-filter: blur(8px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 44px;
    width: auto;
    display: block;
}

.logo--light .logo-img {
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #555;
    text-transform: uppercase;
    transition: color 0.15s;
}
.nav-links a:hover { color: #1583dd; }

.nav-links .nav-cta {
    color: #1583dd;
    border: 1.5px solid #1583dd;
    padding: 8px 16px;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.nav-links .nav-cta:hover {
    background: linear-gradient(135deg, #1583dd 0%, #1cb9b6 100%);
    border-color: transparent;
    color: #fff;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #1A1A1A;
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('images/hero.webp');
    background-size: cover;
    background-position: center top;
    padding-top: 68px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 55, 90, 0.70) 0%,
        rgba(0, 100, 120, 0.55) 60%,
        rgba(0, 55, 90, 0.75) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
    padding: 60px 24px 56px;
    width: 100%;
}

.hero-eyebrow {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
}

.hero-headline {
    font-size: clamp(2.4rem, 5vw, 4rem);
    color: #fff;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 44px;
}

/* Search bar */
.search-bar { width: 100%; margin-bottom: 24px; }

.search-fields {
    display: flex;
    align-items: stretch;
    background: #fff;
    max-width: 780px;
    margin: 0 auto;
    box-shadow: 0 4px 24px rgba(0,0,0,0.22);
    height: 52px;
}

.search-field {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 8px;
}

.search-field input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 13.5px;
    color: #1A1A1A;
    background: transparent;
    padding: 0;
    height: 100%;
    font-family: 'Inter', sans-serif;
}

.search-field input::placeholder { color: #aaa; }

.search-icon {
    width: 16px;
    height: 16px;
    color: #aaa;
    flex-shrink: 0;
}

.search-divider {
    width: 1px;
    background: #E8E8E8;
    margin: 10px 0;
    flex-shrink: 0;
}

.search-btn {
    background: linear-gradient(135deg, #1583dd 0%, #1cb9b6 100%);
    color: #fff;
    border: none;
    padding: 0 28px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    cursor: pointer;
    text-transform: uppercase;
    transition: opacity 0.2s;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
    height: 100%;
}
.search-btn:hover { opacity: 0.88; }

/* =====================================================
   STATS BAR
   ===================================================== */
.stats-bar {
    background: linear-gradient(135deg, #1583dd 0%, #1cb9b6 100%);
    padding: 28px 24px;
}

.stats-bar-inner {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.stat-value {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.stat-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

/* =====================================================
   TOP SEARCHES
   ===================================================== */
.top-searches {
    padding: 80px 0;
    background: #fff;
}

.specialty-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2px;
}

.specialty-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 16px;
    gap: 12px;
    border: 1px solid #E8E8E8;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    cursor: pointer;
    background: #fff;
}
.specialty-card:hover {
    border-color: #1cb9b6;
    box-shadow: 0 4px 20px rgba(21,131,221,0.08);
    transform: translateY(-2px);
    z-index: 1;
}

.specialty-icon {
    font-size: 28px;
    color: #1cb9b6;
    line-height: 1;
}

.specialty-name {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #333;
    text-align: center;
}

/* =====================================================
   PRESTIGE BANNER
   ===================================================== */
.prestige-banner {
    background: linear-gradient(135deg, #071830 0%, #0A2540 55%, #1583dd 100%);
    padding: 80px 0;
}

.prestige-inner {
    display: flex;
    align-items: center;
    gap: 80px;
}

.prestige-text { flex: 1; }

.prestige-year {
    font-family: 'Inter', sans-serif;
    font-size: 64px;
    font-weight: 700;
    color: #B8960C;
    line-height: 1;
    margin-bottom: 8px;
}

.prestige-headline {
    font-size: 2.2rem;
    color: #fff;
    font-weight: 600;
    margin-bottom: 20px;
}

.prestige-body {
    font-size: 15px;
    color: rgba(255,255,255,0.65);
    line-height: 1.75;
    max-width: 460px;
    margin-bottom: 32px;
}

.prestige-badges {
    display: flex;
    gap: 20px;
    flex-shrink: 0;
}

.award-badge {
    width: 120px;
    height: 140px;
    border: 2px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.04);
    transition: border-color 0.2s;
}
.award-badge:hover { border-color: rgba(255,255,255,0.4); }

.award-badge--gold { border-color: rgba(184,150,12,0.5); background: rgba(184,150,12,0.06); }
.award-badge--gold:hover { border-color: #B8960C; }

.award-badge-inner {
    text-align: center;
    padding: 12px;
}

.award-year {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.award-title {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 6px;
}

.award-badge--gold .award-title { color: #B8960C; }

.award-sub {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.award-brand {
    font-size: 8px;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.25);
    text-transform: uppercase;
}

/* Coming soon tag */
.prestige-coming-tag {
    display: inline-block;
    background: rgba(184,150,12,0.15);
    border: 1px solid rgba(184,150,12,0.45);
    color: #B8960C;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 5px 14px;
    margin-bottom: 20px;
}

/* Locked badge state */
.award-badge--locked {
    opacity: 0.45;
    filter: blur(0.6px);
    cursor: default;
    pointer-events: none;
}

.award-lock {
    font-size: 8px;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.2em;
    margin-bottom: 8px;
}

/* Notify form */
.notify-form {
    display: flex;
    gap: 0;
    max-width: 420px;
    margin-top: 32px;
}

.notify-input {
    flex: 1;
    padding: 13px 18px;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.2);
    border-right: none;
    color: #fff;
    outline: none;
}

.notify-input::placeholder { color: rgba(255,255,255,0.35); }
.notify-input:focus { border-color: rgba(255,255,255,0.45); }

.notify-btn {
    padding: 13px 22px;
    background: #B8960C;
    color: #fff;
    border: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}
.notify-btn:hover { background: #a07d0a; }

/* =====================================================
   FEATURED DOCTORS
   ===================================================== */
.featured-doctors {
    padding: 80px 0;
    background: #F9F9F9;
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.doctor-card {
    background: #fff;
    border: 1px solid #E8E8E8;
    transition: box-shadow 0.2s, transform 0.2s;
    display: block;
}
.doctor-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}

.doctor-card-photo {
    position: relative;
    height: 220px;
    background: #e3f7f7;
    overflow: hidden;
}
.doctor-card-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.doctor-avatar {
    width: 100%; height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}
.doctor-avatar svg { width: 80%; }

.badge {
    position: absolute;
    top: 12px; left: 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    text-transform: uppercase;
}
.badge--gold { background: #B8960C; color: #fff; }
.badge--navy { background: linear-gradient(135deg, #1583dd 0%, #1cb9b6 100%); color: #fff; }

.doctor-card-body { padding: 20px 22px 24px; }

.doctor-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 6px;
}

.doctor-specialty {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1583dd;
    margin-bottom: 8px;
}

.doctor-location {
    font-size: 13px;
    color: #777;
}

/* =====================================================
   CITIES
   ===================================================== */
.cities-section {
    padding: 80px 0;
    background: #fff;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0;
}

.city-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 28px 16px 24px;
    border: 1px solid #E8E8E8;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
    margin: -1px 0 0 -1px; /* collapse borders */
}
.city-card:hover {
    background: #F4F7FC;
    border-color: #1583dd;
    z-index: 1;
    position: relative;
}
.city-card:hover .city-icon img {
    filter: invert(35%) sepia(90%) saturate(500%) hue-rotate(185deg) brightness(100%);
}

.city-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.city-icon img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    transition: filter 0.2s;
}

.city-name {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1A1A1A;
    text-align: center;
}

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonials-section {
    padding: 88px 0;
    background: linear-gradient(135deg, #071830 0%, #0A2540 55%, #1583dd 100%);
}
.testimonials-section .section-label {
    color: rgba(255,255,255,0.55);
}
.testimonials-section .section-title {
    color: #fff;
    margin-bottom: 48px;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.testimonial-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: background 0.2s, transform 0.2s;
}
.testimonial-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}
.testimonial-quote {
    font-size: 3rem;
    line-height: 1;
    color: #1cb9b6;
    font-family: Georgia, serif;
    margin-bottom: -8px;
}
.testimonial-text {
    font-size: 14.5px;
    color: rgba(255,255,255,0.82);
    line-height: 1.8;
    flex: 1;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.testimonial-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1583dd 0%, #1cb9b6 100%);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.testimonial-name {
    font-size: 13.5px;
    font-weight: 600;
    color: #fff;
}
.testimonial-meta {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    margin-top: 2px;
}

/* =====================================================
   MILESTONES HOMEPAGE
   ===================================================== */
.milestones-home {
    padding: 80px 0;
    background: #fff;
    border-top: 1px solid #E8E8E8;
}
.milestones-home-sub {
    font-size: 15px;
    color: #777;
    margin-top: -28px;
    margin-bottom: 40px;
    font-style: italic;
}
/* Carousel wrapper */
.milestones-carousel-wrap {
    position: relative;
}
.milestones-home-grid {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 8px;
    cursor: grab;
}
.milestones-home-grid::-webkit-scrollbar { display: none; }
.milestones-home-grid.dragging { cursor: grabbing; }

/* Carousel nav buttons */
.carousel-btn {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    width: 40px; height: 40px;
    background: #fff;
    border: 1px solid #E0E0E0;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; color: #1583dd;
    z-index: 10;
    transition: box-shadow 0.2s, background 0.2s;
}
.carousel-btn:hover { background: #1583dd; color: #fff; box-shadow: 0 4px 20px rgba(21,131,221,0.2); }
.carousel-btn--prev { left: -20px; }
.carousel-btn--next { right: -20px; }

/* Dots */
.carousel-dots {
    display: flex; justify-content: center; gap: 6px; margin-top: 20px;
}
.carousel-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: #D0D8E8; cursor: pointer;
    transition: background 0.2s, width 0.2s;
    border: none;
}
.carousel-dot.active { background: #1583dd; width: 18px; border-radius: 3px; }

.ms-card {
    background: #fff;
    border: 1px solid #EAEAEA;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.22s, transform 0.22s;
    flex: 0 0 340px;
    scroll-snap-align: start;
}
.ms-card:hover {
    box-shadow: 0 10px 40px rgba(21,131,221,0.1);
    transform: translateY(-3px);
}

/* Featured image banner */
.ms-card-banner {
    width: 100%; height: 190px; overflow: hidden;
}
.ms-card-banner img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s ease;
}
.ms-card:hover .ms-card-banner img { transform: scale(1.04); }

.ms-card-top {
    padding: 20px 22px 14px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    border-bottom: 1px solid #F0F0F0;
}
.ms-doctor-photo {
    width: 60px; height: 60px; border-radius: 50%;
    object-fit: cover; margin-bottom: 14px;
    border: 2px solid #E8E8E8;
}
.ms-doctor-avatar {
    width: 60px; height: 60px; border-radius: 50%;
    background: #e3f7f7; margin-bottom: 14px;
    display: flex; align-items: flex-end; justify-content: center;
    overflow: hidden; border: 2px solid #E8E8E8;
}
.ms-doctor-avatar svg { width: 70%; }
.ms-headline {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem; font-weight: 700;
    color: #1A1A1A; line-height: 1.3; margin-bottom: 10px;
}
.ms-doctor-info {
    font-size: 11.5px; font-weight: 600; letter-spacing: 0.05em;
    color: #1583dd; text-transform: uppercase; margin-bottom: 8px;
}
.ms-city-pill {
    display: inline-block;
    background: #e3f7f7; color: #1583dd;
    font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
    text-transform: uppercase; padding: 3px 10px; border-radius: 20px;
}
.ms-card-body { padding: 16px 24px 20px; flex: 1; display: flex; flex-direction: column; }
.ms-teaser { font-size: 13.5px; color: #666; line-height: 1.65; flex: 1; margin-bottom: 14px; }
.ms-footer {
    display: flex; align-items: center; justify-content: space-between;
    border-top: 1px solid #F0F0F0; padding-top: 12px;
}
.ms-date { font-size: 11px; color: #AAA; }
.ms-read { font-size: 12px; font-weight: 700; color: #1583dd; display: flex; align-items: center; gap: 4px; }
.ms-card:hover .ms-read { gap: 8px; }

/* =====================================================
   FOR DOCTORS CTA
   ===================================================== */
.doctors-cta {
    padding: 80px 0;
    background: #F4F7FC;
    border-top: 1px solid #E8E8E8;
}

.cta-inner {
    display: flex;
    align-items: center;
    gap: 80px;
}

.cta-text { flex: 1; }

.cta-headline {
    font-family: 'Inter', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 16px;
    margin-top: 12px;
}

.cta-body {
    font-size: 15.5px;
    color: #555;
    line-height: 1.75;
    max-width: 480px;
    margin-bottom: 28px;
}

.cta-stats {
    display: flex;
    gap: 48px;
    flex-shrink: 0;
}

.stat { text-align: center; }

.cta-stats .stat-label {
    color: #555;
}

.stat-number {
    font-family: 'Inter', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1583dd 0%, #1cb9b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

/* =====================================================
   CALLBACK BAR
   ===================================================== */
.callback-bar {
    background: linear-gradient(135deg, #EEF3FB 0%, #E8EFF9 100%);
    border-top: 2px solid #C8D8EF;
    border-bottom: 1px solid #D6E3F4;
    padding: 24px;
    text-align: center;
}

.callback-inner {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.callback-prompt {
    font-size: 14px;
    font-weight: 600;
    color: #3A5A8A;
    white-space: nowrap;
}

.callback-form {
    display: flex;
    align-items: center;
    gap: 0;
}

.callback-input-wrap {
    display: flex;
    align-items: center;
    border: 1.5px solid #A8C0E0;
    background: #fff;
    height: 40px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(21,131,221,0.08);
}

.callback-prefix {
    padding: 0 12px;
    font-size: 13px;
    font-weight: 600;
    color: #1583dd;
    border-right: 1.5px solid #C8D8EF;
    height: 100%;
    display: flex;
    align-items: center;
    background: #F0F6FF;
    flex-shrink: 0;
}

.callback-input {
    border: none;
    outline: none;
    height: 100%;
    padding: 0 12px;
    font-size: 13.5px;
    font-family: 'Inter', sans-serif;
    color: #1A1A1A;
    width: 200px;
    background: transparent;
}

.callback-input::placeholder { color: #AAC0D8; }

.callback-btn {
    height: 40px;
    padding: 0 20px;
    background: linear-gradient(135deg, #1583dd 0%, #1cb9b6 100%);
    color: #fff;
    border: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: opacity 0.2s;
    white-space: nowrap;
    margin-left: 10px;
    box-shadow: 0 2px 8px rgba(21,131,221,0.25);
}
.callback-btn:hover { opacity: 0.88; }

.callback-note {
    font-size: 12.5px;
    font-weight: 500;
    color: #6A8AB0;
    white-space: nowrap;
}

.callback-success {
    font-size: 14px;
    color: #166534;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.callback-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #22C55E;
    color: #fff;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .callback-inner {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    .callback-form { flex-direction: column; gap: 8px; width: 100%; }
    .callback-input-wrap { width: 100%; }
    .callback-input { width: 100%; }
    .callback-btn { width: 100%; margin-left: 0; }
    .callback-prompt, .callback-note { text-align: center; }
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
    background: linear-gradient(135deg, #071830 0%, #0A2540 60%, #1583dd 100%);
    padding: 64px 0 0;
}

.footer-inner {
    display: flex;
    gap: 80px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand { flex-shrink: 0; }

.footer-tagline {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    margin-top: 14px;
    max-width: 220px;
    line-height: 1.6;
}

.footer-links {
    flex: 1;
    display: flex;
    gap: 60px;
}

.footer-col h4 {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: 18px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col a {
    font-size: 13.5px;
    color: rgba(255,255,255,0.6);
    transition: color 0.15s;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
    padding: 20px 0;
    text-align: center;
}
.footer-bottom p {
    font-size: 12px;
    color: rgba(255,255,255,0.25);
    letter-spacing: 0.04em;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
    .specialty-grid { grid-template-columns: repeat(4, 1fr); }
    .doctors-grid { grid-template-columns: repeat(2, 1fr); }
    .prestige-inner { gap: 48px; }
    .prestige-badges { gap: 14px; }
    .award-badge { width: 100px; height: 120px; }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .section-title { font-size: 1.6rem; margin-bottom: 28px; }

    /* Nav */
    .nav-toggle { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 68px; left: 0; right: 0;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        border-bottom: 1px solid #E8E8E8;
        box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    }
    .nav-links.nav-open { display: flex; }
    .nav-links li { width: 100%; }
    .nav-links a {
        display: block;
        padding: 16px 24px;
        border-bottom: 1px solid #F0F0F0;
    }
    .nav-links .nav-cta {
        border: none;
        border-bottom: 1px solid #F0F0F0;
        color: #1583dd;
    }

    /* Nav */
    .nav-container { padding: 0 16px; }
    .logo-img { height: 36px; }
    .nav-toggle { font-size: 22px; padding: 4px; }

    .hero-headline { font-size: 1.9rem; }

    /* Search bar */
    .search-bar { padding: 0 16px; }
    .search-fields {
        flex-direction: column;
        height: auto;
        border-radius: 12px;
        gap: 8px;
        background: transparent;
        box-shadow: none;
    }
    .search-field {
        padding: 18px 16px;
        height: auto;
        background: #fff;
        border-radius: 12px !important;
        border: 1.5px solid rgba(255,255,255,0.3);
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .search-field input {
        padding: 0 4px;
        font-size: 15px;
        flex: 1;
    }
    .search-icon {
        display: block;
        width: 15px;
        height: 15px;
        color: #bbb;
        flex-shrink: 0;
        margin-left: 8px;
    }
    .search-divider { display: none; }
    .search-btn {
        padding: 0;
        height: 46px;
        border-radius: 12px !important;
        width: 100%;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.08em;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin-top: 4px;
    }
    .search-btn-icon { display: none !important; }
    .search-btn-text { display: inline; }

    /* Stats bar — keep horizontal, reduce sizes */
    .stats-bar-inner {
        flex-direction: row;
        gap: 0;
        justify-content: space-around;
    }
    .stat-divider { display: none; }
    .stat-value { font-size: 22px; }
    .stat-label { font-size: 10px; }

    /* Specialties */
    .top-searches { padding: 56px 0; }
    .specialty-grid { grid-template-columns: repeat(3, 1fr); }

    /* Prestige */
    .prestige-banner { padding: 56px 0; }
    .prestige-inner { flex-direction: column; gap: 40px; }
    .prestige-year { font-size: 48px; }
    .prestige-headline { font-size: 1.7rem; }
    .prestige-badges { justify-content: center; }
    .notify-form { flex-direction: column; max-width: 100%; gap: 10px; }
    .notify-input {
        border: 1px solid rgba(255,255,255,0.25);
        border-radius: 10px;
        padding: 16px 18px;
        height: auto;
    }
    .notify-btn {
        padding: 16px;
        text-align: center;
        border-radius: 10px;
        height: auto;
    }

    /* Milestones */
    .milestones-home { padding: 56px 0; }
    .milestones-home-grid { grid-template-columns: 1fr; }

    /* Doctors */
    .featured-doctors { padding: 56px 0; }
    .doctors-grid { grid-template-columns: 1fr; }

    /* Cities */
    .cities-section { padding: 56px 0; }

    /* Testimonials */
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }

    /* CTA */
    .doctors-cta { padding: 56px 0; }
    .cta-inner { flex-direction: column; gap: 40px; }
    .cta-stats { gap: 32px; }

    /* Footer */
    .site-footer { padding: 48px 0 0; }
    .footer-inner { flex-direction: column; gap: 40px; }
    .footer-links { flex-wrap: wrap; gap: 32px; }
}

@media (max-width: 480px) {
    .specialty-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; }
    .cities-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
    .cta-stats { flex-direction: column; gap: 24px; align-items: flex-start; }
    .prestige-badges { flex-wrap: wrap; justify-content: center; }
}

/* =====================================================
   WARM CREAM BACKGROUNDS
   ===================================================== */
.top-searches    { background: #FDFAF6; }
.cities-section  { background: #F7F4F0; }
.milestones-home { background: #FDFAF6; }
.featured-doctors { background: #F9F7F4; }
.doctors-cta     { background: #F5F0E8; border-top: 1px solid #E8E0D0; }

/* =====================================================
   SVG SPECIALTY ICONS
   ===================================================== */
.specialty-icon {
    width: 44px;
    height: 44px;
    color: #1cb9b6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1583dd;
}
.specialty-icon svg {
    width: 100%;
    height: 100%;
}

/* =====================================================
   SCROLL FADE-IN ANIMATION
   ===================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =====================================================
   ROUNDED EDGES — soft, soulful feel
   ===================================================== */

/* Buttons */
.btn-primary,
.btn-outline,
.btn-outline-light        { border-radius: 8px; }

/* Nav CTA */
.nav-links .nav-cta       { border-radius: 6px; }

/* Search bar */
.search-fields            { border-radius: 12px; overflow: hidden; }
.search-btn               { border-radius: 0 12px 12px 0; }

/* Stats bar cards */
.stat-item                { border-radius: 8px; }

/* Specialty cards */
.specialty-card           { border-radius: 12px; }

/* Doctor cards */
.doctor-card              { border-radius: 12px; overflow: hidden; }

/* Milestone cards */
.ms-card                  { border-radius: 12px; overflow: hidden; }



/* Callback bar inputs & button */
.callback-input-wrap      { border-radius: 8px 0 0 8px; }
.callback-btn             { border-radius: 0 8px 8px 0; }

/* Award badges */
.award-badge              { border-radius: 10px; }

/* Section label border */
.section-label            { border-radius: 0 4px 4px 0; }

/* Form inputs (payment, search filters etc.) */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea                  { border-radius: 8px; }

/* Notify input */
.notify-input             { border-radius: 8px 0 0 8px; }
.notify-btn               { border-radius: 0 8px 8px 0; }

/* Badges */
.badge                    { border-radius: 4px; }
.ms-city-pill             { border-radius: 20px; }


/* Award illustration */
.prestige-illustration {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.prestige-illustration img {
    width: 420px;
    max-width: 100%;
    filter: drop-shadow(0 8px 32px rgba(0,0,0,0.25));
}
@media (max-width: 768px) {
    .prestige-illustration img { width: 240px; }
    .prestige-year { font-size: 52px; }
    .prestige-banner { padding: 48px 0; }
    .prestige-coming-tag { margin-bottom: 14px; }
}
