/* ==========================================================================
   Family Taxi Service & Vacation Car Rental in Udaipur - Stylesheet
   Vedanshi Cabs - Scoped Design System (.family-page)
   ========================================================================== */

:root {
    --fam-font-sans: 'Nunito', 'Segoe UI', 'Poppins', 'Work Sans', system-ui, -apple-system, sans-serif;
    --fam-font-heading: 'Poppins', 'Nunito', 'Segoe UI', 'Work Sans', system-ui, -apple-system, sans-serif;

    /* Warm Royal Indigo & Midnight Navy */
    --fam-navy-950: #050b1e;
    --fam-navy-900: #0b1536;
    --fam-navy-850: #101f4e;
    --fam-navy-800: #162a66;

    /* Sunlit Amber & Golden Warmth */
    --fam-amber-100: #fefce8;
    --fam-amber-200: #fef08a;
    --fam-amber-400: #fbbf24;
    --fam-amber-500: #f59e0b;
    --fam-amber-600: #d97706;
    --fam-amber-gradient: linear-gradient(135deg, #f59e0b 0%, #ea580c 50%, #c2410c 100%);
    --fam-gold-gradient: linear-gradient(135deg, #fef08a 0%, #f59e0b 50%, #d97706 100%);

    /* Family Emerald / Teal */
    --fam-teal-500: #0d9488;
    --fam-emerald-500: #10b981;
    --fam-emerald-600: #059669;

    /* Surfaces & Shadows */
    --fam-bg-page: #fbfcfe;
    --fam-surface-card: #ffffff;
    --fam-card-border: rgba(226, 232, 240, 0.9);
    --fam-card-shadow: 0 10px 30px -5px rgba(11, 21, 54, 0.07), 0 4px 12px -2px rgba(11, 21, 54, 0.04);
    --fam-hover-shadow: 0 20px 45px -8px rgba(11, 21, 54, 0.15), 0 8px 18px -4px rgba(11, 21, 54, 0.08);
}

.family-page {
    font-family: var(--fam-font-sans) !important;
    color: #1e293b;
    background-color: var(--fam-bg-page);
    position: relative;
    overflow-x: hidden;
    line-height: 1.65;
    width: 100%;
    max-width: 100%;
}

.family-page,
.family-page *:not(i):not(.fa):not(.fas):not(.far):not(.fab):not(.fal) {
    font-family: var(--fam-font-sans) !important;
}

.family-page h1,
.family-page h2,
.family-page h3,
.family-page h4,
.family-page h5,
.family-page h6,
.family-page .hero-title,
.family-page .section-heading,
.family-page .fleet-title {
    font-family: var(--fam-font-heading) !important;
}

.family-page .container {
    width: 100% !important;
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    padding-left: 20px;
    padding-right: 20px;
}

/* --------------------------------------------------------------------------
   1. HERO SECTION - Warm Royal Vacation Canvas
   -------------------------------------------------------------------------- */
.family-hero-section {
    position: relative;
    background: linear-gradient(135deg, #050b1e 0%, #0b1536 50%, #162a66 100%);
    padding: 38px 0 60px;
    color: #ffffff;
    overflow: hidden;
    border-bottom: 3px solid #f59e0b;
}

.family-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    contain: strict;
}

.family-hero-bg-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 25%;
    opacity: 0.35;
    filter: saturate(1.15) contrast(1.08);
    will-change: transform;
}

.family-hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 75% 20%, rgba(245, 158, 11, 0.2) 0%, transparent 60%),
                linear-gradient(to bottom, rgba(5, 11, 30, 0.65) 0%, rgba(11, 21, 54, 0.95) 100%);
}

.family-hero-content {
    position: relative;
    z-index: 2;
}

.hero-breadcrumb {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.hero-breadcrumb a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}

.hero-breadcrumb a:hover {
    color: var(--fam-amber-400);
}

.family-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(251, 191, 36, 0.5);
    color: #fef08a;
    font-size: 12.5px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 9999px;
    margin-bottom: 18px;
    backdrop-filter: blur(8px);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.25);
}

.family-badge-pill i {
    color: #fbbf24;
}

.hero-title {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.hero-title .warm-text-glow {
    background: var(--fam-gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(245, 158, 11, 0.35);
}

.hero-subtitle {
    font-size: 15.5px;
    color: #cbd5e1;
    line-height: 1.65;
    margin-bottom: 24px;
}

.hero-chips-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 26px;
}

.hero-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    color: #f1f5f9;
    font-weight: 600;
    backdrop-filter: blur(6px);
}

.hero-chip i {
    color: #fbbf24;
    font-size: 15px;
}

.hero-cta-group {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-family-gold {
    background: var(--fam-amber-gradient);
    color: #ffffff !important;
    font-weight: 800;
    font-size: 14.5px;
    padding: 13px 28px;
    border-radius: 12px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    box-shadow: 0 8px 24px rgba(234, 88, 12, 0.4);
    transition: all 0.3s ease;
    border: none;
}

.btn-family-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(234, 88, 12, 0.55);
    color: #ffffff !important;
}

.btn-family-outline {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 14.5px;
    padding: 13px 24px;
    border-radius: 12px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.btn-family-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fbbf24;
    transform: translateY(-2px);
    color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   HERO RIGHT: Booking Form Container (Strict Centering & Legacy Isolation)
   -------------------------------------------------------------------------- */
.family-page .family-booking-wrapper {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px 22px 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(245, 158, 11, 0.35);
    color: #1e293b;
    position: relative;
    z-index: 10;
}

/* HARD OVERRIDE — prevent global style.css position: absolute; top: 250px */
.family-page .family-booking-wrapper .tabs,
.family-page .family-booking-wrapper .form-container,
.family-page .tabs,
.family-page .form-container {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    box-shadow: none !important;
    z-index: 1 !important;
}

.family-page .family-booking-wrapper .form-container,
.family-page .form-container {
    margin: 0 !important;
    padding: 16px 0 0 0 !important;
    padding-top: 16px !important;
    background: transparent !important;
}

.family-page .family-booking-wrapper .tabs {
    display: flex !important;
    gap: 6px !important;
    background: #f1f5fb !important;
    padding: 6px !important;
    border-radius: 16px !important;
    margin: 0 !important;
    margin-bottom: 0 !important;
    border: 1px solid #e2e8f0 !important;
    overflow: visible !important;
}

.family-page .family-booking-wrapper .tab {
    flex: 1 !important;
    padding: 11px 10px !important;
    border: none !important;
    background: transparent !important;
    font-weight: 800 !important;
    font-size: 13.5px !important;
    color: #475569 !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    text-align: center !important;
    transition: all 0.25s ease !important;
}

.family-page .family-booking-wrapper .tab.active {
    background: linear-gradient(135deg, #0b1536 0%, #162a66 100%) !important;
    color: #fbbf24 !important;
    box-shadow: 0 4px 14px rgba(11, 21, 54, 0.35) !important;
    transform: none !important;
}

.family-page .family-booking-wrapper .tab:hover {
    transform: none !important;
    background: rgba(11, 21, 54, 0.06) !important;
}

.family-page .family-booking-wrapper .tab.active:hover {
    background: linear-gradient(135deg, #0b1536 0%, #162a66 100%) !important;
    color: #fef08a !important;
}

/* One Way / Round Trip & Airport Type buttons — STRICTLY CENTERED! */
.family-page .family-booking-wrapper .trip-type {
    display: flex !important;
    gap: 0 !important;
    column-gap: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 16px !important;
    justify-content: center !important;
    padding-top: 0;
    flex-wrap: wrap;
}

.family-page .family-booking-wrapper .airport-type {
    display: flex !important;
    gap: 20px !important;
    column-gap: 20px !important;
    margin-bottom: 16px !important;
    justify-content: center !important;
}

.family-page .family-booking-wrapper .trip,
.family-page .family-booking-wrapper .airport-trip {
    padding: 7px 18px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    background: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #475569 !important;
    border-radius: 9999px !important;
    cursor: pointer !important;
    margin: 0 !important;
    transition: all 0.2s ease !important;
}

.family-page .family-booking-wrapper .trip.active,
.family-page .family-booking-wrapper .airport-trip.active {
    background: #fefce8 !important;
    border-color: #d97706 !important;
    color: #b45309 !important;
    box-shadow: 0 3px 10px rgba(217, 119, 6, 0.2) !important;
}

/* Form row & input fields */
.family-page .family-booking-wrapper .form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.family-page .family-booking-wrapper .form-field {
    flex: 1;
    min-width: 0;
}

.family-page .family-booking-wrapper .form-control {
    width: 100% !important;
    height: 48px !important;
    padding: 10px 14px !important;
    border-radius: 12px !important;
    border: 1.5px solid #cbd5e1 !important;
    background: #ffffff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    outline: none !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
    box-sizing: border-box !important;
}

.family-page .family-booking-wrapper .form-control:focus {
    border-color: #d97706 !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18) !important;
}

/* Select2 Customization */
.family-page .family-booking-wrapper .select2-container--default .select2-selection--single {
    height: 48px !important;
    border-radius: 12px !important;
    border: 1.5px solid #cbd5e1 !important;
    background: #ffffff !important;
    display: flex !important;
    align-items: center !important;
}

.family-page .family-booking-wrapper .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #0f172a !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    line-height: normal !important;
    padding-left: 14px !important;
}

.family-page .family-booking-wrapper .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 48px !important;
    right: 10px !important;
}

/* Phone input styling */
.family-page .family-booking-wrapper .company_phone {
    display: flex !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    align-items: center !important;
    background: #fff !important;
    padding: 0 !important;
    margin-bottom: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.family-page .family-booking-wrapper .company_phone .select2-container {
    width: 7.5rem !important;
    min-width: 7.5rem !important;
    max-width: 7.5rem !important;
    margin: 0 !important;
    flex: 0 0 7.5rem !important;
}

.family-page .family-booking-wrapper .company_phone .select2-selection--single {
    height: 48px !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    display: flex !important;
    align-items: center !important;
}

.family-page .family-booking-wrapper .company_phone .select2-selection__rendered {
    display: flex !important;
    align-items: center !important;
    padding-left: 12px !important;
}

.family-page .family-booking-wrapper .company_phone .select2-selection__clear {
    display: none !important;
}

.family-page .family-booking-wrapper .company_phone .select2-selection__arrow {
    height: 48px !important;
}

.family-page .family-booking-wrapper .company_phone .phone-input,
.family-page .family-booking-wrapper .company_phone .form-control {
    border: none !important;
    border-radius: 0 !important;
    height: 48px !important;
    box-shadow: none !important;
    background: transparent !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

/* Submit Action Button */
.family-page .family-booking-wrapper .submit-btn,
.family-page .family-booking-wrapper .home_booking_submit,
.family-page .family-booking-wrapper .local_booking_submit,
.family-page .family-booking-wrapper .airport_trip_submit,
.family-page .family-booking-wrapper .sightseeing_trip_submit {
    background: var(--fam-amber-gradient) !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 800 !important;
    font-size: 15.5px !important;
    padding: 15px 24px !important;
    border-radius: 12px !important;
    width: 100% !important;
    cursor: pointer !important;
    box-shadow: 0 10px 26px rgba(234, 88, 12, 0.42) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.3s ease !important;
}

.family-page .family-booking-wrapper .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(234, 88, 12, 0.55) !important;
    color: #ffffff !important;
}

@media (max-width: 576px) {
    .family-page .family-booking-wrapper .form-row {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .family-page .family-booking-wrapper .company_phone {
        flex-direction: row !important;
        align-items: center !important;
    }
}

/* --------------------------------------------------------------------------
   2. TRUST METRICS RIBBON (Quick Family Stats)
   -------------------------------------------------------------------------- */
.family-trust-ribbon {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 26px 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.trust-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.trust-stat-box {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 8px 12px;
    border-right: 1px solid #f1f5f9;
}

.trust-stat-box:last-child {
    border-right: none;
}

.trust-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(251, 191, 36, 0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d97706;
    font-size: 22px;
    flex-shrink: 0;
}

.trust-stat-num {
    font-size: 22px;
    font-weight: 800;
    color: var(--fam-navy-900);
    line-height: 1.1;
}

.trust-stat-label {
    font-size: 12.5px;
    color: #64748b;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   3. SECTION HEADINGS & COMMON STYLES
   -------------------------------------------------------------------------- */
.section-py {
    padding: 65px 0;
}

.section-py-alt {
    padding: 65px 0;
    background-color: #f8fafc;
}

.section-head {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 45px;
}

.section-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #b45309;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(217, 119, 6, 0.25);
    padding: 4px 14px;
    border-radius: 9999px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--fam-navy-900);
    line-height: 1.25;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.section-desc {
    font-size: 15.5px;
    color: #475569;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   4. FAMILY PACKAGES & SIGHTSEEING TOURS GRID
   -------------------------------------------------------------------------- */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.package-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: var(--fam-card-shadow);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.package-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--fam-hover-shadow);
    border-color: rgba(245, 158, 11, 0.4);
}

.package-card-media {
    position: relative;
    height: 195px;
    overflow: hidden;
    background: linear-gradient(135deg, #0b1536 0%, #162a66 100%);
}

.package-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.package-card:hover .package-card-media img {
    transform: scale(1.06);
}

.package-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(11, 21, 54, 0.85);
    color: #fef08a;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 9999px;
    border: 1px solid rgba(251, 191, 36, 0.4);
    backdrop-filter: blur(6px);
    z-index: 2;
}

.package-duration-pill {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: var(--fam-amber-gradient);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

.package-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.package-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--fam-navy-900);
    margin-bottom: 8px;
}

.package-text {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

.package-highlights-list {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
}

.package-highlights-list li {
    font-size: 12.5px;
    color: #334155;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 7px;
}

.package-highlights-list li i {
    color: #d97706;
    font-size: 13px;
}

.package-cta {
    margin-top: auto;
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.package-price {
    font-size: 15px;
    font-weight: 800;
    color: #0b1536;
}

.btn-book-package {
    background: #fefce8;
    color: #b45309 !important;
    border: 1px solid #f59e0b;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 800;
    text-decoration: none !important;
    transition: all 0.2s;
}

.btn-book-package:hover {
    background: #f59e0b;
    color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   5. FLEET SHOWCASE SECTION
   -------------------------------------------------------------------------- */
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.fleet-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: var(--fam-card-shadow);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.fleet-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--fam-hover-shadow);
    border-color: rgba(245, 158, 11, 0.4);
}

.fleet-card-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.fleet-card-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.fleet-card:hover .fleet-card-img {
    transform: scale(1.08);
}

.fleet-tag-pill {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--fam-amber-gradient);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 9999px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.fleet-rate-badge {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(11, 21, 54, 0.85);
    color: #fef08a;
    font-size: 13px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 8px;
    border: 1px solid rgba(251, 191, 36, 0.4);
    backdrop-filter: blur(6px);
    z-index: 2;
}

.fleet-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.fleet-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--fam-navy-900);
    margin-bottom: 6px;
}

.fleet-ideal-for {
    font-size: 12.5px;
    color: #b45309;
    font-weight: 700;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.fleet-specs-row {
    display: flex;
    justify-content: space-between;
    background: #f8fafc;
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 16px;
    border: 1px solid #e2e8f0;
}

.fleet-spec-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 11.5px;
    color: #64748b;
    font-weight: 600;
}

.fleet-spec-item i {
    color: #d97706;
    font-size: 14px;
}

.fleet-features-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
    flex-grow: 1;
}

.fleet-feature-tag {
    font-size: 11.5px;
    background: #f1f5f9;
    color: #475569;
    padding: 3px 9px;
    border-radius: 6px;
    font-weight: 600;
}

.btn-book-fleet {
    background: var(--fam-navy-900);
    color: #ffffff !important;
    text-align: center;
    padding: 11px 16px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 13.5px;
    text-decoration: none !important;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-book-fleet:hover {
    background: #d97706;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
}

/* --------------------------------------------------------------------------
   6. FAMILY COMFORT & SAFETY AMENITIES
   -------------------------------------------------------------------------- */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.amenity-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 26px;
    transition: all 0.3s ease;
    box-shadow: var(--fam-card-shadow);
}

.amenity-box:hover {
    border-color: #f59e0b;
    transform: translateY(-4px);
    box-shadow: var(--fam-hover-shadow);
}

.amenity-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(251, 191, 36, 0.2) 100%);
    color: #d97706;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 18px;
}

.amenity-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--fam-navy-900);
    margin-bottom: 8px;
}

.amenity-desc {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* --------------------------------------------------------------------------
   7. FAMILY TARIFF TABLE & PRICING
   -------------------------------------------------------------------------- */
.tariff-table-wrapper {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: var(--fam-card-shadow);
}

.tariff-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.tariff-table thead th {
    background: var(--fam-navy-900);
    color: #ffffff;
    padding: 16px 20px;
    font-size: 13.5px;
    font-weight: 800;
    text-align: left;
    border: none;
    letter-spacing: 0.5px;
}

.tariff-table tbody td {
    padding: 16px 20px;
    font-size: 13.5px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    vertical-align: middle;
}

.tariff-table tbody tr:hover {
    background: #f8fafc;
}

.tariff-vehicle-cell {
    font-weight: 800;
    color: var(--fam-navy-900);
    display: flex;
    align-items: center;
    gap: 12px;
}

.tariff-vehicle-cell i {
    color: #d97706;
    font-size: 16px;
}

.tariff-price {
    font-weight: 800;
    color: #b45309;
}

/* --------------------------------------------------------------------------
   8. SIGHTSEEING HIGHLIGHTS GUIDE
   -------------------------------------------------------------------------- */
.spots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.spot-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.spot-card:hover {
    border-color: #f59e0b;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(245,158,11,0.12);
}

.spot-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--fam-navy-900);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.spot-title i {
    color: #d97706;
    font-size: 16px;
}

.spot-desc {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* --------------------------------------------------------------------------
   9. REVIEWS & TESTIMONIALS
   -------------------------------------------------------------------------- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.review-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--fam-card-shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-stars {
    color: #f59e0b;
    font-size: 14px;
    margin-bottom: 12px;
}

.review-quote {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 16px;
    font-style: italic;
}

.review-author-info {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--fam-amber-gradient);
    color: #ffffff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.review-author-name {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--fam-navy-900);
}

.review-author-role {
    font-size: 11.5px;
    color: #64748b;
}

/* --------------------------------------------------------------------------
   10. OUTSTATION ROUTES GRID
   -------------------------------------------------------------------------- */
.routes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.route-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
}

.route-card:hover {
    border-color: #f59e0b;
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(245, 158, 11, 0.15);
}

.route-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--fam-navy-900);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.route-title i {
    color: #d97706;
}

.route-meta {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 10px;
}

.route-price-tag {
    font-size: 14px;
    font-weight: 800;
    color: #b45309;
    margin-top: auto;
}

/* --------------------------------------------------------------------------
   11. FAQ ACCORDION
   -------------------------------------------------------------------------- */
.faq-list {
    max-width: 860px;
    margin: 0 auto;
}

.family-faq-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: all 0.25s ease;
}

.family-faq-card.open {
    border-color: #f59e0b;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.1);
}

.faq-question-btn {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 18px 22px;
    font-size: 15.5px;
    font-weight: 800;
    color: var(--fam-navy-900);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.faq-question-btn i {
    color: #d97706;
    transition: transform 0.3s ease;
    font-size: 14px;
}

.family-faq-card.open .faq-question-btn i {
    transform: rotate(180deg);
}

.faq-answer-pane {
    padding: 0 22px 20px;
    font-size: 14px;
    color: #475569;
    line-height: 1.65;
}

/* --------------------------------------------------------------------------
   12. BOTTOM CTA & STICKY MOBILE ACTION BAR
   -------------------------------------------------------------------------- */
.family-bottom-cta {
    background: linear-gradient(135deg, #050b1e 0%, #0b1536 50%, #162a66 100%);
    color: #ffffff;
    padding: 70px 0;
    text-align: center;
    position: relative;
    border-top: 3px solid #f59e0b;
}

.sticky-mobile-fam-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 10px 16px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    z-index: 9999;
}

.sticky-mobile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.btn-sticky-call {
    background: var(--fam-navy-900);
    color: #ffffff !important;
    text-align: center;
    padding: 12px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 13.5px;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-sticky-wa {
    background: #25d366;
    color: #ffffff !important;
    text-align: center;
    padding: 12px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 13.5px;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* --------------------------------------------------------------------------
   13. RESPONSIVE BREAKPOINTS (Mobile, Tablet, Desktop)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .packages-grid,
    .fleet-grid,
    .amenities-grid,
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .spots-grid,
    .routes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-stat-box:nth-child(2) {
        border-right: none;
    }
}

@media (max-width: 768px) {
    .section-py,
    .section-py-alt {
        padding: 45px 0;
    }

    .hero-title {
        font-size: 1.85rem;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .hero-chips-grid {
        grid-template-columns: 1fr;
    }

    .packages-grid,
    .fleet-grid,
    .amenities-grid,
    .reviews-grid,
    .spots-grid,
    .routes-grid {
        grid-template-columns: 1fr;
    }

    .trust-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .sticky-mobile-fam-bar {
        display: block;
    }

    .family-page {
        padding-bottom: 60px;
    }

    .tariff-table-wrapper {
        overflow-x: auto;
    }

    .tariff-table {
        min-width: 600px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .trust-stats-grid {
        grid-template-columns: 1fr;
    }

    .trust-stat-box {
        border-right: none;
        border-bottom: 1px solid #f1f5f9;
        padding-bottom: 12px;
    }

    .trust-stat-box:last-child {
        border-bottom: none;
    }

    .hero-cta-group a {
        width: 100%;
        justify-content: center;
    }
}


/* === 320px MOBILE HARDENING === */
@media (max-width: 360px) {
    .family-page {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }

    .family-page .container,
    .family-page .container-fluid {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        box-sizing: border-box !important;
    }

    .family-page .family-hero-section,
    .family-hero-section {
        padding: 28px 0 36px !important;
    }

    .family-page .hero-title,
    .hero-title {
        font-size: 1.35rem !important;
        line-height: 1.3 !important;
        letter-spacing: -0.3px !important;
        word-break: break-word !important;
    }

    .family-page .hero-subtitle,
    .hero-subtitle {
        font-size: 13px !important;
        line-height: 1.55 !important;
    }

    .family-page .hero-breadcrumb,
    .hero-breadcrumb {
        font-size: 11px !important;
        margin-bottom: 12px !important;
        white-space: normal !important;
    }

    .family-page .royal-badge-pill,
    .royal-badge-pill,
    .hero-eyebrow,
    .section-badge {
        font-size: 10px !important;
        padding: 5px 10px !important;
        max-width: 100% !important;
        white-space: normal !important;
    }

    .family-page .hero-chips-grid,
    .hero-chips-grid {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    .family-page .hero-chip,
    .hero-chip {
        font-size: 12px !important;
        padding: 8px 10px !important;
    }

    .family-page .family-booking-wrapper {
        padding: 14px 12px !important;
        margin-top: 18px !important;
        border-radius: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .family-page .trust-stats-grid,
    .trust-stats-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .family-page .trust-stat-box,
    .trust-stat-box {
        border-right: none !important;
        padding: 10px 4px !important;
    }

    .family-page .section-title,
    .section-title,
    .family-page .section-title-dark {
        font-size: 1.35rem !important;
        line-height: 1.3 !important;
        word-break: break-word !important;
    }

    .family-page .section-subtitle,
    .section-subtitle {
        font-size: 13px !important;
    }

    .family-page .packages-grid,
    .family-page .fleet-grid,
    .family-page .amenities-grid,
    .family-page .reviews-grid,
    .family-page .spots-grid,
    .family-page .routes-grid,
    .packages-grid,
    .fleet-grid,
    .amenities-grid,
    .reviews-grid,
    .spots-grid,
    .routes-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .family-page .tariff-table-wrapper,
    .family-page .table-responsive,
    .tariff-table-wrapper,
    .table-responsive,
    .table-wedding-rates {
        display: block !important;
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .family-page .hero-cta-group a,
    .family-page .btn-action-call,
    .family-page .btn-action-wa,
    .hero-cta-group a {
        width: 100% !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }

    .family-page img,
    .family-page picture,
    .family-page video,
    .family-page iframe,
    .family-page table {
        max-width: 100% !important;
    }

    .family-page {
        padding-bottom: 72px !important;
    }

    .sticky-mobile-fam-bar .sticky-mobile-grid a,
    .sticky-mobile-grid a {
        font-size: 11px !important;
        padding: 8px 4px !important;
    }
}

/* --------------------------------------------------------------------------
   EDITORIAL SEO CONTENT
   -------------------------------------------------------------------------- */
.family-page .editorial-container {
    background: #ffffff;
    border-radius: 20px;
    padding: 45px;
    box-shadow: var(--fam-card-shadow);
    border: 1px solid #e2e8f0;
}

.family-page .editorial-container h2 {
    font-family: var(--fam-font-heading) !important;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--fam-navy-900);
    margin: 0 0 14px;
}

.family-page .editorial-container h3 {
    font-family: var(--fam-font-heading) !important;
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin: 24px 0 10px;
}

.family-page .editorial-container h4 {
    font-family: var(--fam-font-heading) !important;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 22px 0 10px;
}

.family-page .editorial-container p {
    font-size: 15px;
    color: #334155;
    line-height: 1.75;
    margin-bottom: 16px;
}

.family-page .editorial-container a:not(.editorial-btn-call):not(.editorial-btn-wa) {
    color: var(--fam-amber-600);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.family-page .editorial-container a:not(.editorial-btn-call):not(.editorial-btn-wa):hover {
    border-bottom-color: var(--fam-amber-600);
}

.family-page .editorial-divider {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 28px 0;
}

.family-page .editorial-book-cta {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid #fde68a;
    border-radius: 14px;
    padding: 28px 32px;
    text-align: center;
    margin-top: 12px;
}

.family-page .editorial-book-cta h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--fam-navy-900);
    margin: 0 0 10px;
}

.family-page .editorial-book-cta p {
    font-size: 0.95rem;
    color: #334155;
    margin-bottom: 8px;
}

.family-page .editorial-cta-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 18px;
}

.family-page .editorial-btn-call {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: var(--fam-amber-600) !important;
    color: #ffffff !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    padding: 12px 26px !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    border: none !important;
    border-bottom: none !important;
    transition: background 0.2s, transform 0.15s;
}

.family-page .editorial-btn-call:hover,
.family-page .editorial-btn-call:focus,
.family-page .editorial-btn-call:visited {
    background: #b45309 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transform: translateY(-1px);
}

.family-page .editorial-btn-wa {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #25d366 !important;
    color: #ffffff !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    padding: 12px 26px !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    border: none !important;
    border-bottom: none !important;
    transition: background 0.2s, transform 0.15s;
}

.family-page .editorial-btn-wa:hover,
.family-page .editorial-btn-wa:focus,
.family-page .editorial-btn-wa:visited {
    background: #1ebe57 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transform: translateY(-1px);
}

@media (max-width: 767px) {
    .family-page .editorial-container {
        padding: 28px 20px;
    }
}

/* ==========================================================================
   Performance & Layout Stability (CLS / INP Optimizations)
   ========================================================================== */
.family-page .fleet-card-img-wrap,
.family-page .package-card-media {
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.family-page .fleet-card-img-wrap img {
    max-height: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
}

@media (min-width: 768px) {
    .family-page .section-py,
    .family-page .section-py-alt,
    .family-page .family-trust-ribbon,
    .family-page .family-why-section,
    .family-page .family-bottom-cta {
        content-visibility: auto;
        contain-intrinsic-size: auto 600px;
    }
}

.family-page button:focus-visible,
.family-page a:focus-visible {
    outline: 2px solid var(--fam-amber-500);
    outline-offset: 2px;
}

/* ==========================================================================
   CALL ICON — classic flipped handset (matches sitewide blue call-float)
   ========================================================================== */
.family-page .family-call-icon,
.family-page .fa-phone,
.family-page .fa-phone-alt,
.family-page .editorial-btn-call i,
.family-page .btn-family-outline .fa-phone-alt,
.family-page .btn-sticky-call .fa-phone-alt {
    font-family: "Font Awesome 5 Free", "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    display: inline-block !important;
    -webkit-font-smoothing: antialiased;
    -webkit-transform: scaleX(-1) !important;
    transform: scaleX(-1) !important;
    line-height: 1 !important;
    speak: never;
}

.family-page .editorial-btn-call i,
.family-page .btn-sticky-call i {
    color: #ffffff !important;
}

