/**
 * yoCare — Frontend CSS (Redesign from ZIP UI Reference)
 * Design: teal primary, dark navy, pill buttons, image cards with overlays.
 */

/* Body override for public frontend */
body {
    background-color: #fff;
    color: var(--yc-dark);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

::selection {
    background: var(--yc-primary-light);
    color: var(--yc-primary-dark);
}

/* ═══════════════════════════════════════════════════════════════
   BUTTONS — pill shape, teal primary
   ═══════════════════════════════════════════════════════════════ */
.btn-yc {
    background: var(--yc-primary);
    color: #fff;
    border: none;
    border-radius: var(--yc-btn-radius);
    padding: 0.75rem 2rem;
    font-weight: 700;
    transition: all 0.2s;
}
.btn-yc:hover {
    background: var(--yc-primary-dark);
    color: #fff;
    transform: translateY(-1px);
}
.btn-yc:active { transform: scale(0.97); }

.btn-yc-dark {
    background: var(--yc-dark);
    color: #fff;
    border: none;
    border-radius: 1rem;
    padding: 0.75rem 2rem;
    font-weight: 700;
    transition: all 0.2s;
}
.btn-yc-dark:hover { background: #1e293b; color: #fff; }

.btn-yc-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: var(--yc-btn-radius);
    padding: 0.75rem 2rem;
    font-weight: 700;
    transition: all 0.2s;
    cursor: pointer;
}
.btn-yc-outline:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* ═══════════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════════ */
.yc-site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--yc-z-topbar);
    transition: all 0.3s;
    padding: 1.25rem 0;
}

.yc-site-header.scrolled,
.yc-site-header.solid {
    background: rgba(255,255,255,0.95) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    padding: 0.75rem 0;
}

.yc-site-header.transparent { background: transparent; }

.yc-navbar-brand { text-decoration: none; }

.yc-navbar-brand-icon {
    width: 40px;
    height: 40px;
    border-radius: 0.625rem;
    background: var(--yc-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.yc-navbar-brand-text {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    transition: color 0.3s;
}

.yc-site-header .navbar-nav .nav-link {
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    transition: color 0.2s;
}

.yc-site-header .navbar-nav .nav-link.active {
    color: var(--yc-primary) !important;
}

.yc-site-header .navbar-nav .nav-link:hover {
    color: var(--yc-primary) !important;
}

.yc-user-icon {
    transition: color 0.2s !important;
}
.yc-user-icon:hover {
    color: var(--yc-primary) !important;
}

.yc-header-phone {
    font-size: 0.875rem;
    color: var(--yc-gray-600);
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.2s;
}
.yc-header-phone:hover { color: var(--yc-primary); }

/* ═══════════════════════════════════════════════════════════════
   HERO — dark bg with image overlay
   ═══════════════════════════════════════════════════════════════ */
.yc-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--yc-dark);
}

.yc-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.yc-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    transform: scale(1.05);
}

.yc-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(15,23,42,0.9), rgba(15,23,42,0.5), transparent);
}

.yc-hero-content {
    position: relative;
    z-index: 10;
    max-width: 640px;
}

.yc-hero-accent-line {
    width: 2rem;
    height: 1px;
    background: var(--yc-primary);
    display: inline-block;
}

.yc-hero-eyebrow {
    text-transform: uppercase;
    font-weight: 700;
    color: #2dd4bf;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
}

.yc-hero__title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 1.5rem;
}

.yc-hero-gradient-text {
    background: linear-gradient(to right, #2dd4bf, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.yc-hero__subtitle {
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    font-size: 1.1rem;
    max-width: 500px;
    margin-bottom: 2.5rem;
}

/* ═══════════════════════════════════════════════════════════════
   SEARCH BAR (floating below hero)
   ═══════════════════════════════════════════════════════════════ */
.yc-search-bar {
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    border: 1px solid #e2e8f0;
    padding: 2rem 2.5rem;
    margin-top: -3rem;
    position: relative;
    z-index: 20;
}

.yc-search-bar__label {
    text-transform: uppercase;
    font-weight: 700;
    color: var(--yc-gray-400);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
    display: block;
}

.yc-search-bar__input-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    background: #f1f5f9;
}

.yc-search-bar__input-wrap input,
.yc-search-bar__input-wrap select {
    border: none;
    background: transparent;
    width: 100%;
    font-weight: 500;
    font-size: 0.9rem;
    outline: none;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION HEADINGS
   ═══════════════════════════════════════════════════════════════ */
.yc-section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--yc-dark);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.yc-section-subtitle {
    font-size: 1.05rem;
    color: var(--yc-gray-500);
    line-height: 1.6;
}

.yc-section-link {
    color: var(--yc-primary);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: gap 0.2s;
}
.yc-section-link:hover { color: var(--yc-primary-dark); gap: 0.5rem; }

/* ═══════════════════════════════════════════════════════════════
   SERVICE CARDS — image cards with gradient overlay
   ═══════════════════════════════════════════════════════════════ */
.yc-card-service {
    border: 1px solid #e2e8f0;
    border-radius: var(--yc-card-radius);
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
    background: #fff;
    text-decoration: none;
    color: inherit;
    display: block;
}
.yc-card-service:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    transform: translateY(-5px);
    color: inherit;
}

.yc-card-service__img {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.yc-card-service__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}
.yc-card-service:hover .yc-card-service__img img { transform: scale(1.08); }

.yc-card-service__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(15,23,42,0.85), transparent);
}

.yc-card-service__icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--yc-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.yc-card-service__icon i { color: #fff; font-size: 1rem; }

/* Service list cards (no image variant) */
.yc-service-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1.5rem;
    padding: 1.5rem;
    transition: box-shadow 0.3s, transform 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}
.yc-service-card:hover {
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    transform: translateY(-3px);
    color: inherit;
}

.yc-service-card__icon {
    width: 32px;
    height: 32px;
    border-radius: 0.5rem;
    background: var(--yc-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--yc-primary);
}

.yc-service-card__name { font-weight: 700; }
.yc-service-card__price { font-size: 0.85rem; color: var(--yc-gray-500); }
.yc-service-card__desc { font-size: 0.85rem; color: var(--yc-gray-500); line-height: 1.55; margin-top: 0.35rem; }

/* ═══════════════════════════════════════════════════════════════
   DOCTOR CARDS — profile cards with image, tags, rating
   ═══════════════════════════════════════════════════════════════ */
.yc-doctor-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--yc-card-radius);
    overflow: hidden;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}
.yc-doctor-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    transform: translateY(-3px);
    color: inherit;
}

.yc-doctor-card__img-wrap {
    position: relative;
    overflow: hidden;
    height: 260px;
}

.yc-doctor-card__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.yc-doctor-card:hover .yc-doctor-card__photo { transform: scale(1.05); }

.yc-doctor-card__photo-placeholder {
    width: 100%;
    height: 100%;
    background: var(--yc-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--yc-primary);
    opacity: 0.4;
}

.yc-doctor-tag {
    display: inline-block;
    background: var(--yc-primary-light);
    color: var(--yc-primary-dark);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: var(--yc-btn-radius);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.yc-doctor-card__body { padding: 1.25rem; }

.yc-doctor-card__name {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--yc-dark);
    margin-bottom: 0.2rem;
}

.yc-doctor-card__specialty {
    font-size: 0.85rem;
    color: var(--yc-gray-500);
    margin-bottom: 0.5rem;
}

.yc-doctor-card__bio {
    font-size: 0.8rem;
    color: var(--yc-gray-500);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.yc-doctor-card__rating {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 700;
}

.yc-doctor-card__rating i { color: #f59e0b; font-size: 0.75rem; }

.specialty-badge {
    display: inline-block;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: var(--yc-btn-radius);
    letter-spacing: 0.02em;
}
.specialty-badge.primary {
    background: var(--yc-primary-light);
    color: var(--yc-primary-dark);
}

/* ═══════════════════════════════════════════════════════════════
   STAT CARDS
   ═══════════════════════════════════════════════════════════════ */
.yc-stat-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--yc-card-radius);
    padding: 2rem;
    text-align: center;
}

.yc-stat-card__value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--yc-primary);
    margin-bottom: 0.25rem;
}

.yc-stat-card__label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--yc-gray-500);
}

/* ═══════════════════════════════════════════════════════════════
   HOW IT WORKS — dark section
   ═══════════════════════════════════════════════════════════════ */
.yc-how-it-works {
    background: var(--yc-dark);
    padding: 5rem 0;
    color: #fff;
}

.yc-how-step__number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--yc-primary);
    opacity: 0.6;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.yc-how-step__title {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.yc-how-step__text {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* ═══════════════════════════════════════════════════════════════
   CATEGORY PILLS (filter)
   ═══════════════════════════════════════════════════════════════ */
.yc-filter-pills { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.yc-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: var(--yc-btn-radius);
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    background: #f1f5f9;
    color: #475569;
    text-decoration: none;
}
.yc-filter-pill:hover { background: #e2e8f0; color: #475569; }
.yc-filter-pill.active {
    background: var(--yc-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(13,148,136,0.25);
}

/* ═══════════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════════ */
.yc-cta-section {
    background: var(--yc-primary-light);
    border-radius: 1.5rem;
    padding: 3rem;
    text-align: center;
}

/* ═══════════════════════════════════════════════════════════════
   PROMO CARDS
   ═══════════════════════════════════════════════════════════════ */
.yc-promo-card {
    border-radius: 2rem;
    padding: 2.5rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.yc-promo-card.teal { background: var(--yc-primary); }
.yc-promo-card.dark { background: var(--yc-dark); }
.yc-promo-card.blue { background: var(--yc-accent); }

/* ═══════════════════════════════════════════════════════════════
   LOCATION CARDS
   ═══════════════════════════════════════════════════════════════ */
.yc-location-card {
    border: 1px solid #e2e8f0;
    border-radius: 2rem;
    overflow: hidden;
    transition: all 0.3s;
    background: #fff;
}
.yc-location-card:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.08); }

.yc-location-card__img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.yc-location-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.yc-location-card:hover .yc-location-card__img img { transform: scale(1.08); }

/* ═══════════════════════════════════════════════════════════════
   BOOKING MODAL
   ═══════════════════════════════════════════════════════════════ */
.yc-booking-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.yc-booking-modal-bg {
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,0.6);
    backdrop-filter: blur(4px);
}

.yc-booking-modal-content {
    position: relative;
    background: #fff;
    width: 100%;
    max-width: 700px;
    border-radius: var(--yc-card-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.yc-booking-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

/* Step indicator */
.yc-step-bar { display: flex; gap: 0.25rem; }
.yc-step-dot {
    height: 4px;
    width: 2rem;
    border-radius: 999px;
    background: #e2e8f0;
    transition: background 0.3s;
}
.yc-step-dot.active { background: var(--yc-primary); }

/* Operator card (doctor select) */
.yc-operator-card {
    border: 2px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.25rem 1rem;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    background: #fff;
}
.yc-operator-card:hover { border-color: #cbd5e1; box-shadow: 0 4px 12px rgba(0,0,0,0.04); }
.yc-operator-card.selected { border-color: var(--yc-primary); background: var(--yc-primary-light); }

.yc-operator-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 0.75rem;
    display: block;
    border: 3px solid #f1f5f9;
}
.yc-operator-card.selected .yc-operator-avatar { border-color: var(--yc-primary); }

/* Service checkbox card */
.yc-service-check-card {
    border: 2px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
}
.yc-service-check-card:hover { border-color: #cbd5e1; }
.yc-service-check-card.selected { border-color: var(--yc-primary); background: var(--yc-primary-light); }

.yc-service-check-box {
    width: 22px;
    height: 22px;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}
.yc-service-check-card.selected .yc-service-check-box { background: var(--yc-primary); border-color: var(--yc-primary); color: #fff; }

/* Date chips */
.yc-date-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
}
.yc-date-chip:hover { border-color: #cbd5e1; }
.yc-date-chip.selected { border-color: var(--yc-primary); background: var(--yc-primary-light); }

/* Time chips */
.yc-time-chip {
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    text-align: center;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
}
.yc-time-chip:hover { border-color: #cbd5e1; }
.yc-time-chip.selected { border-color: var(--yc-primary); background: var(--yc-primary); color: #fff; }

/* Old booking step compat */
.yc-booking-steps { display: flex; align-items: center; gap: 0; margin-bottom: 2.5rem; overflow-x: auto; padding-bottom: 0.5rem; }
.yc-booking-step { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.yc-booking-step__number { width: 36px; height: 36px; border-radius: 50%; background: var(--yc-gray-100); color: var(--yc-gray-400); border: 2px solid var(--yc-gray-200); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.875rem; flex-shrink: 0; transition: all 0.15s; }
.yc-booking-step__label { font-size: 0.8rem; color: var(--yc-text-muted); white-space: nowrap; font-weight: 500; }
.yc-booking-step__connector { flex: 1; height: 2px; background: var(--yc-gray-200); min-width: 2rem; margin: 0 0.5rem; }
.yc-booking-step--active .yc-booking-step__number { background: var(--yc-primary); border-color: var(--yc-primary); color: #fff; box-shadow: 0 0 0 4px rgba(13,148,136,0.15); }
.yc-booking-step--active .yc-booking-step__label { color: var(--yc-primary); font-weight: 600; }
.yc-booking-step--done .yc-booking-step__number { background: var(--yc-success); border-color: var(--yc-success); color: #fff; }
.yc-booking-step--done .yc-booking-step__connector { background: var(--yc-success); }

/* Slot selector */
.yc-slots-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 0.5rem; }
.yc-slot { padding: 0.6rem 0.5rem; border: 1.5px solid #e2e8f0; border-radius: 0.75rem; text-align: center; font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all 0.2s; background: #fff; color: var(--yc-dark); user-select: none; }
.yc-slot:hover { border-color: var(--yc-primary); color: var(--yc-primary); background: var(--yc-primary-light); }
.yc-slot--selected { border-color: var(--yc-primary); background: var(--yc-primary); color: #fff; }
.yc-slot--unavailable { opacity: 0.35; cursor: not-allowed; pointer-events: none; text-decoration: line-through; }

/* Booking summary */
.yc-booking-summary { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 1rem; padding: 1.25rem; font-size: 0.875rem; }
.yc-booking-summary dt { color: var(--yc-gray-500); font-weight: 400; margin-bottom: 0.15rem; }
.yc-booking-summary dd { font-weight: 600; margin-bottom: 0.75rem; }

/* ═══════════════════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════════════════ */
.yc-testimonial {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--yc-card-radius);
    padding: 1.75rem;
    position: relative;
}

.yc-testimonial__quote {
    font-size: 3rem;
    line-height: 1;
    color: var(--yc-primary-light);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-family: Georgia, serif;
}

.yc-testimonial__stars { color: #f59e0b; font-size: 0.875rem; margin-bottom: 0.75rem; letter-spacing: 0.05em; }
.yc-testimonial__text { font-size: 0.9rem; line-height: 1.7; color: var(--yc-gray-700); margin-bottom: 1.25rem; font-style: italic; }
.yc-testimonial__author { display: flex; align-items: center; gap: 0.75rem; }
.yc-testimonial__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--yc-primary-light); color: var(--yc-primary); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.875rem; flex-shrink: 0; }
.yc-testimonial__name { font-weight: 700; font-size: 0.875rem; color: var(--yc-dark); margin-bottom: 0.1rem; }
.yc-testimonial__role { font-size: 0.75rem; color: var(--yc-gray-500); }

/* ═══════════════════════════════════════════════════════════════
   FAQ ACCORDION
   ═══════════════════════════════════════════════════════════════ */
.yc-faq .accordion-item { border: 1px solid #e2e8f0; border-radius: 1rem !important; margin-bottom: 0.625rem; overflow: hidden; transition: box-shadow 0.2s; }
.yc-faq .accordion-item:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.04); }
.yc-faq .accordion-button { font-weight: 600; font-size: 0.95rem; color: var(--yc-dark); background: #fff; border-radius: 1rem !important; padding: 1.1rem 1.25rem; }
.yc-faq .accordion-button:not(.collapsed) { background: var(--yc-primary-light); color: var(--yc-primary); box-shadow: none; }
.yc-faq .accordion-button:focus { box-shadow: 0 0 0 3px rgba(13,148,136,0.1); }
.yc-faq .accordion-body { font-size: 0.9rem; color: var(--yc-gray-600); line-height: 1.7; padding: 0 1.25rem 1.25rem; }

/* ═══════════════════════════════════════════════════════════════
   CONTACT FORM
   ═══════════════════════════════════════════════════════════════ */
.yc-contact-input {
    background: #f1f5f9;
    border: none;
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    font-size: 0.875rem;
    width: 100%;
    transition: box-shadow 0.2s;
}
.yc-contact-input:focus { outline: none; box-shadow: 0 0 0 3px rgba(13,148,136,0.15); }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.yc-site-footer {
    background: #020617;
    color: #fff;
    padding: 5rem 0 2rem;
    margin-top: auto;
}

.yc-site-footer a { color: #94a3b8; text-decoration: none; transition: color 0.2s; }
.yc-site-footer a:hover { color: #fff; }

.yc-footer-brand-icon {
    width: 40px;
    height: 40px;
    border-radius: 0.625rem;
    background: var(--yc-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.yc-footer-col-title { font-weight: 700; margin-bottom: 1rem; color: #fff; }
.yc-footer-links { list-style: none; padding: 0; margin: 0; }
.yc-footer-links li { margin-bottom: 0.5rem; }
.yc-footer-links a { color: #94a3b8; font-size: 0.9rem; }

.yc-footer-contact-list { list-style: none; padding: 0; margin: 0; }
.yc-footer-contact-list li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.875rem; margin-bottom: 0.75rem; color: #94a3b8; }
.yc-footer-contact-list a { color: #94a3b8; }
.yc-footer-contact-list i { color: var(--yc-primary); flex-shrink: 0; margin-top: 0.15rem; }

.yc-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 1.5rem;
    margin-top: 3rem;
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
}

.yc-cookie-pref-btn { background: none; border: none; padding: 0; font-size: 0.85rem; color: #64748b; cursor: pointer; transition: color 0.2s; }
.yc-cookie-pref-btn:hover { color: #fff; }

/* ═══════════════════════════════════════════════════════════════
   COOKIE CONSENT BANNER
   ═══════════════════════════════════════════════════════════════ */
#yc-cookie-banner {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    width: min(680px, calc(100vw - 2rem));
    background: var(--yc-dark);
    color: rgba(255,255,255,0.85);
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    z-index: var(--yc-z-toast);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: block;
    visibility: hidden;
}
#yc-cookie-banner.is-visible { transform: translateX(-50%) translateY(0); visibility: visible; }
#yc-cookie-banner a { color: #2dd4bf; text-decoration: underline; }
.yc-cookie-title { font-weight: 700; font-size: 0.95rem; color: #fff; margin-bottom: 0.35rem; }
.yc-cookie-text { font-size: 0.8rem; line-height: 1.55; }
.yc-cookie-actions { display: flex; gap: 0.5rem; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; }
.yc-cookie-category { display: flex; justify-content: space-between; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid #e2e8f0; }
.yc-cookie-category:last-child { border-bottom: none; }
.yc-cookie-category__info { flex: 1; padding-right: 1rem; }
.yc-cookie-category__name { font-weight: 600; font-size: 0.9rem; color: var(--yc-dark); margin-bottom: 0.2rem; }
.yc-cookie-category__desc { font-size: 0.8rem; color: var(--yc-gray-500); line-height: 1.5; }

/* ═══════════════════════════════════════════════════════════════
   LEGAL PAGES
   ═══════════════════════════════════════════════════════════════ */
.yc-legal-content { max-width: 780px; margin: 0 auto; }
.yc-legal-content h2 { font-size: 1.375rem; font-weight: 700; margin-top: 2.5rem; margin-bottom: 0.75rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--yc-primary-light); color: var(--yc-dark); }
.yc-legal-content h3 { font-size: 1.1rem; font-weight: 600; margin-top: 1.75rem; color: var(--yc-dark); }
.yc-legal-content p, .yc-legal-content li { font-size: 0.925rem; color: var(--yc-gray-700); line-height: 1.75; }

/* ═══════════════════════════════════════════════════════════════
   PAGE HERO (inner pages)
   ═══════════════════════════════════════════════════════════════ */
.yc-page-hero { padding: 7rem 0 2rem; }
.yc-page-hero__title { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; color: var(--yc-dark); letter-spacing: -0.025em; margin-bottom: 0.5rem; }
.yc-page-hero__subtitle { font-size: 1.05rem; color: var(--yc-gray-500); }

/* Breadcrumb */
.yc-breadcrumb { font-size: 0.8rem; margin-bottom: 0.75rem; }
.yc-breadcrumb .breadcrumb-item a { color: var(--yc-primary); text-decoration: none; }
.yc-breadcrumb .breadcrumb-item.active { color: var(--yc-gray-400); }

/* Card utility */
.yc-card { background: #fff; border: 1px solid #e2e8f0; border-radius: var(--yc-card-radius); padding: 1.5rem; box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
.yc-service-tag { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--yc-primary-light); color: var(--yc-primary-dark); border-radius: var(--yc-btn-radius); padding: 0.3rem 0.875rem; font-size: 0.8rem; font-weight: 500; }
.yc-service-tag i { font-size: 0.75rem; color: var(--yc-success); }

/* Doctor profile page */
.yc-doctor-profile-hero { background: #f8fafc; padding: 7rem 0 2rem; border-bottom: 1px solid #e2e8f0; }
.yc-doctor-profile-photo { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.12); }
.yc-doctor-profile-photo-placeholder { width: 140px; height: 140px; border-radius: 50%; background: var(--yc-primary-light); color: var(--yc-primary); display: flex; align-items: center; justify-content: center; font-size: 3.5rem; border: 4px solid #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.12); }

/* Quick booking compat */
.yc-quick-booking { background: #fff; border-radius: var(--yc-card-radius); padding: 2rem; box-shadow: 0 20px 60px rgba(0,0,0,0.15); border: 1px solid #e2e8f0; }
.yc-quick-booking__title { font-size: 1.15rem; font-weight: 700; color: var(--yc-dark); margin-bottom: 1.25rem; }
.yc-quick-booking .form-label { font-size: 0.65rem; font-weight: 700; color: var(--yc-gray-400); text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 0.5rem; }
.yc-quick-booking .form-control, .yc-quick-booking .form-select { border: none; background: #f1f5f9; border-radius: 0.75rem; font-size: 0.9rem; padding: 0.75rem 1rem; font-weight: 500; }
.yc-quick-booking .form-control:focus, .yc-quick-booking .form-select:focus { box-shadow: 0 0 0 3px rgba(13,148,136,0.15); background: #f1f5f9; }
.yc-quick-booking__submit { background: var(--yc-dark); color: #fff; border: none; border-radius: 1rem; width: 100%; padding: 0.85rem; font-weight: 700; cursor: pointer; transition: all 0.2s; }
.yc-quick-booking__submit:hover { background: #1e293b; }

/* ═══════════════════════════════════════════════════════════════
   MOBILE BOTTOM NAV
   ═══════════════════════════════════════════════════════════════ */
.yc-bottom-nav {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1040;
    width: 100%;
    max-width: 380px;
    padding: 0 1rem;
}

.yc-bottom-nav__inner {
    background: rgba(15,23,42,0.92);
    backdrop-filter: blur(12px);
    border-radius: 2rem;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.yc-bottom-nav__btn {
    padding: 0.75rem;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #94a3b8;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.yc-bottom-nav__btn:hover { color: #fff; }
.yc-bottom-nav__btn.active { background: var(--yc-primary); color: #fff; }
.yc-bottom-nav__btn.center {
    width: 52px;
    height: 52px;
    background: #fff;
    color: var(--yc-dark);
    box-shadow: 0 4px 20px rgba(255,255,255,0.1);
}

/* ═══════════════════════════════════════════════════════════════
   CAROUSEL (scroll-snap, >3 items)
   ═══════════════════════════════════════════════════════════════ */
.yc-carousel-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
}

.yc-carousel-item {
    min-width: 320px;
    max-width: 380px;
    flex: 0 0 auto;
    scroll-snap-align: start;
}

.yc-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.2s;
}
.yc-carousel-btn:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.yc-carousel-btn--left { left: -20px; }
.yc-carousel-btn--right { right: -20px; }

@media (max-width: 767.98px) {
    .yc-carousel-btn { display: none; }
    .yc-carousel-item { min-width: 280px; }
}

/* Scroll hide */
.scroll-hide::-webkit-scrollbar { display: none; }
.scroll-hide { -ms-overflow-style: none; scrollbar-width: none; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 991.98px) {
    .yc-hero { min-height: 80vh; }
    .yc-search-bar { padding: 1.5rem; margin-top: -2rem; }
}

@media (max-width: 767.98px) {
    .yc-hero { min-height: 75vh; }
    .yc-booking-steps { display: none; }
    .yc-slots-grid { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); }
    #yc-cookie-banner { bottom: 0; border-radius: 1rem 1rem 0 0; width: 100%; }
    .yc-search-bar { margin-top: -1.5rem; padding: 1.25rem; border-radius: 1rem; }
}
