/* ==========================================================================
   PRASETYA RENT CAR - MODERN DESIGN SYSTEM (PHP NATIVE)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    
    /* Brand Colors */
    --brand-red: #e30613;
    --brand-red-dark: #b8040f;
    --brand-red-light: #ff3844;
    --brand-red-soft: #fff1f2;
    --brand-red-gradient: linear-gradient(135deg, #e30613 0%, #b8040f 100%);
    
    /* Neutrals & Dark */
    --dark-900: #0b1120;
    --dark-800: #0f172a;
    --dark-700: #1e293b;
    --dark-600: #334155;
    
    --gray-500: #64748b;
    --gray-400: #94a3b8;
    --gray-300: #cbd5e1;
    --gray-200: #e2e8f0;
    --gray-100: #f1f5f9;
    --gray-50:  #f8fafc;
    
    --white: #ffffff;
    --whatsapp-green: #25D366;
    --whatsapp-hover: #1ebd5a;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.09);
    --shadow-red: 0 10px 25px rgba(227, 6, 19, 0.28);
    --shadow-wa: 0 10px 25px rgba(37, 211, 102, 0.35);
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
    
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Typography */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--dark-800);
    background-color: var(--gray-50);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    color: var(--dark-900);
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

/* ===========================================================================
   TERMS & CONDITIONS PAGE
   =========================================================================== */
.terms-page {
    background: #f4f5f8;
}

.terms-intro {
    padding: 48px 0 38px;
}

.terms-intro .section-badge {
    margin-bottom: 12px;
}

.terms-intro .section-title {
    font-size: clamp(2rem, 3.2vw, 2.8rem);
}

.terms-content {
    padding: 0 0 56px;
}

.terms-card {
    padding: 38px 40px;
    background: var(--white);
    border: 2px solid #e8ef27;
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
}

.terms-card h2 {
    margin: 0 0 12px;
    color: #273b7a;
    font-size: 1.28rem;
    line-height: 1.35;
}

.terms-card h3 {
    margin: 24px 0 8px;
    color: var(--dark-900);
    font-size: .92rem;
    line-height: 1.4;
    letter-spacing: 0;
}

.terms-card p,
.terms-card li {
    color: var(--dark-700);
    font-size: .91rem;
}

.terms-card p {
    margin-bottom: 12px;
}

.terms-card ul {
    display: grid;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.terms-card li {
    display: flex;
    gap: 9px;
    align-items: flex-start;
}

.terms-card li i,
.terms-note i {
    flex: 0 0 auto;
    color: var(--brand-red-light);
    margin-top: 3px;
    margin-right: 0;
}

.terms-note {
    display: flex;
    gap: 9px;
    margin-top: 25px !important;
    margin-bottom: 0 !important;
}

.terms-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 20px;
    padding: 20px;
    background: var(--brand-red-soft);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
}

.terms-contact h2 {
    margin: 0 0 2px;
    color: var(--dark-900);
    font-size: 1.05rem;
}

.terms-contact p {
    margin: 0;
    color: var(--gray-500);
    font-size: .78rem;
}

.terms-contact .btn-whatsapp-solid {
    flex: 0 0 auto;
    min-width: 192px;
    justify-content: center;
}

@media (max-width: 767.98px) {
    .terms-intro {
        padding: 34px 0 28px;
    }

    .terms-card {
        padding: 28px 24px;
    }

    .terms-contact {
        align-items: stretch;
        flex-direction: column;
    }

    .terms-contact .btn-whatsapp-solid {
        width: 100%;
    }
}

/* ==========================================================================
   NAVBAR (MOVUS STYLE PILL HEADER)
   ========================================================================== */
.custom-header-wrapper {
    position: sticky;
    top: 0;
    z-index: 1040;
    padding: 16px 0 8px;
    transition: var(--transition);
    background: transparent;
}

.custom-header-scrolled {
    padding: 10px 0;
    background: transparent !important;
    box-shadow: none !important;
}

.custom-header-scrolled .navbar-brand-pill {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}


.navbar-brand-pill {
    background: var(--brand-red-gradient);
    border-radius: var(--radius-full);
    padding: 10px 24px;
    box-shadow: var(--shadow-red);
    transition: var(--transition);
}

.navbar-brand-pill .navbar-brand {
    color: var(--white) !important;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.navbar-logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 50%;
    background-color: #ffffff;
    padding: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    display: inline-block;
    flex-shrink: 0;
}


.navbar-brand-pill .nav-link {
    color: rgba(255, 255, 255, 0.92) !important;
    font-weight: 600;
    font-size: 0.93rem;
    padding: 8px 16px !important;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.navbar-brand-pill .nav-link:hover {
    color: var(--white) !important;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.navbar-brand-pill .nav-item .active {
    background: rgba(0, 0, 0, 0.25) !important;
    color: var(--white) !important;
}

.btn-header-wa {
    background: var(--white) !important;
    color: var(--brand-red) !important;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 9px 22px !important;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.btn-header-wa:hover {
    background: var(--gray-100) !important;
    color: var(--brand-red-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

/* ==========================================================================
   HERO SECTIONS
   ========================================================================== */
.hero-home {
    background: linear-gradient(135deg, rgba(11, 17, 32, 0.82) 0%, rgba(15, 23, 42, 0.78) 50%, rgba(11, 17, 32, 0.88) 100%),
                url('../images/hero-bg.jpg') center center / cover no-repeat;
    position: relative;
    overflow: hidden;
    padding: 100px 0 120px;
    color: var(--white);
    background-attachment: scroll;
}

.hero-home::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(11, 17, 32, 0.25) 0%, rgba(11, 17, 32, 0.75) 100%);
    pointer-events: none;
}


.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    color: #fca5a5;
    margin-bottom: 24px;
}

.hero-badge i {
    color: #ef4444;
}

.hero-title {
    font-size: 3.4rem;
    font-weight: 850;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
    color: var(--white);
}

.hero-title .text-red {
    background: linear-gradient(135deg, #ff4d58 0%, #e30613 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.18rem;
    color: var(--gray-400);
    line-height: 1.7;
    max-width: 560px;
    margin-bottom: 34px;
}

.hero-home .hero-tagline {
    max-width: 620px;
    color: #fff;
    font-size: clamp(1.3rem, 2vw, 1.65rem);
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -0.025em;
}

.hero-stats-wrapper {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat-item h4 {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 2px;
}

.hero-stat-item p {
    font-size: 0.85rem;
    color: var(--gray-400);
    margin-bottom: 0;
    font-weight: 500;
}

/* General Page Banner Hero */
.page-banner {
    background: linear-gradient(135deg, var(--dark-900) 0%, var(--dark-800) 100%);
    padding: 60px 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: var(--gray-50);
    border-radius: 20px 20px 0 0;
}

.page-banner-title {
    font-size: 2.6rem;
    font-weight: 850;
    color: var(--white);
    margin-bottom: 10px;
}

.page-banner-subtitle {
    color: var(--gray-400);
    font-size: 1.1rem;
    max-width: 650px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-primary-red {
    background: var(--brand-red-gradient);
    color: var(--white) !important;
    border: none;
    border-radius: var(--radius-full);
    padding: 13px 30px;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-red);
    transition: var(--transition);
}

.btn-primary-red:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(227, 6, 19, 0.45);
    color: var(--white) !important;
}

.btn-secondary-dark {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    padding: 13px 28px;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(8px);
    transition: var(--transition);
}

.btn-secondary-dark:hover {
    background: var(--white);
    color: var(--dark-900) !important;
    border-color: var(--white);
    transform: translateY(-3px);
}

.btn-whatsapp-solid {
    background: var(--whatsapp-green);
    color: var(--white) !important;
    border: none;
    border-radius: var(--radius-full);
    padding: 12px 26px;
    font-weight: 700;
    font-size: 0.93rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-wa);
    transition: var(--transition);
}

.btn-whatsapp-solid:hover {
    background: var(--whatsapp-hover);
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.45);
    color: var(--white) !important;
}

.btn-outline-dark-custom {
    border: 1.5px solid var(--dark-800);
    color: var(--dark-800);
    border-radius: var(--radius-full);
    padding: 10px 24px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-outline-dark-custom:hover {
    background: var(--dark-800);
    color: var(--white);
    transform: translateY(-2px);
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */
.section-badge {
    display: inline-block;
    padding: 5px 14px;
    background: var(--brand-red-soft);
    color: var(--brand-red);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.35rem;
    font-weight: 850;
    color: var(--dark-900);
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.section-subtitle {
    color: var(--gray-500);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 10px auto 0;
}

/* ==========================================================================
   CAR CARDS & FLEET SHOWCASE
   ========================================================================== */
.car-card-modern {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    padding: 22px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.car-card-modern:hover {
    transform: translateY(-8px);
    border-color: var(--gray-300);
    box-shadow: var(--shadow-lg);
}

.car-image-container {
    background: radial-gradient(circle, #f8fafc 0%, #edf2f7 100%);
    border-radius: var(--radius-md);
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    position: relative;
    overflow: hidden;
}

.car-image-container img {
    max-width: 90%;
    max-height: 85%;
    object-fit: contain;
    filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.12));
    transition: transform 0.4s ease;
}

.car-card-modern:hover .car-image-container img {
    transform: scale(1.06);
}

.car-status-pill {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    z-index: 2;
}

.car-status-available {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.car-status-rented {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fde68a;
}

.car-type-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    background: rgba(15, 23, 42, 0.85);
    color: var(--white);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    z-index: 2;
}

.car-title-box h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--dark-900);
    margin-bottom: 4px;
}

.car-meta-subtitle {
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.car-quick-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin: 10px 0 16px;
    color: var(--gray-600);
    font-size: 0.78rem;
    font-weight: 700;
}

.car-quick-specs span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.car-quick-specs i {
    color: var(--brand-red);
    font-size: 0.9rem;
}

/* Specs 3-Grid */
.car-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    background: var(--gray-50);
    padding: 12px;
    border-radius: var(--radius-md);
    margin-bottom: 18px;
    border: 1px solid var(--gray-200);
}

.spec-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.spec-icon {
    width: 32px;
    height: 32px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-red);
    font-size: 0.95rem;
    flex-shrink: 0;
}

.spec-meta {
    display: flex;
    flex-direction: column;
}

.spec-meta span.lbl {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--gray-400);
    line-height: 1;
}

.spec-meta span.val {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--dark-800);
    margin-top: 2px;
    line-height: 1.1;
}

.car-footer-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--gray-200);
    margin-top: auto;
    gap: 10px;
}

.car-price-unit {
    display: flex;
    flex-direction: column;
}

.car-price-unit .amount {
    font-size: 1.35rem;
    font-weight: 850;
    color: var(--brand-red);
    line-height: 1;
}

.car-price-unit .sub {
    font-size: 0.75rem;
    color: var(--gray-500);
    font-weight: 600;
    margin-top: 2px;
}

.car-buttons-group {
    display: flex;
    gap: 6px;
}

.btn-card-detail {
    background: var(--gray-100);
    color: var(--dark-800);
    border: none;
    border-radius: var(--radius-full);
    padding: 8px 14px;
    font-size: 0.82rem;
    font-weight: 700;
    transition: var(--transition);
}

.btn-card-detail:hover {
    background: var(--gray-200);
    color: var(--dark-900);
}

.btn-card-wa {
    background: var(--whatsapp-green);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    padding: 8px 14px;
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.btn-card-wa:hover {
    background: var(--whatsapp-hover);
    color: var(--white);
    transform: translateY(-2px);
}

/* ==========================================================================
   FEATURE CARDS & SERVICES
   ========================================================================== */
.feature-box-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 34px 28px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.feature-box-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-red-light);
}

.feature-icon-wrapper {
    width: 65px;
    height: 65px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 22px;
}

.icon-red {
    background: #fff1f2;
    color: var(--brand-red);
}

.icon-blue {
    background: #eff6ff;
    color: #2563eb;
}

.icon-green {
    background: #f0fdf4;
    color: #16a34a;
}

.icon-amber {
    background: #fffbeb;
    color: #d97706;
}

/* Service Card Horizontal (Gambar Kedua Style) */
.service-card-horizontal {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    height: 100%;
}

.service-card-horizontal:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-red-light);
}

.service-icon-box {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.service-content-box h4 {
    font-size: 1.22rem;
    font-weight: 800;
    color: var(--dark-900);
    margin-bottom: 6px;
}

.service-content-box p {
    font-size: 0.92rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Mission & Vision Cards */
.vision-card {
    background: linear-gradient(135deg, var(--dark-900) 0%, var(--dark-800) 100%);
    color: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.vision-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(227, 6, 19, 0.35) 0%, transparent 70%);
    border-radius: 50%;
}

.mission-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    height: 100%;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.mission-item-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.mission-item-box:last-child {
    margin-bottom: 0;
}

.mission-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--brand-red-soft);
    color: var(--brand-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.88rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.mission-text {
    font-size: 0.95rem;
    color: var(--dark-700);
    line-height: 1.6;
    font-weight: 500;
}

/* Commitment Card */
.commitment-card {
    background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
    border-left: 5px solid var(--brand-red);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border-top: 1px solid var(--gray-200);
    border-right: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}


/* ==========================================================================
   HOW IT WORKS (STEPS)
   ========================================================================== */
.step-item-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 34px 24px;
    border: 1px solid var(--gray-200);
    position: relative;
    height: 100%;
    transition: var(--transition);
    text-align: center;
}

.step-item-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.step-number-tag {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--brand-red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: var(--shadow-red);
}

.step-icon-large {
    font-size: 2.8rem;
    color: var(--dark-800);
    margin: 14px 0 16px;
}

/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.cta-banner-wrapper {
    background: linear-gradient(135deg, var(--dark-900) 0%, var(--dark-800) 100%);
    border-radius: var(--radius-xl);
    padding: 60px 40px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cta-banner-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(227, 6, 19, 0.3) 0%, transparent 70%);
    border-radius: 50%;
}

/* ==========================================================================
   CAR DETAIL PAGE SPECIFIC
   ========================================================================== */
.detail-main-img-box {
    background: radial-gradient(circle, #f8fafc 0%, #e2e8f0 100%);
    border-radius: var(--radius-xl);
    padding: 30px;
    text-align: center;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
}

.detail-main-img-box img {
    max-width: 90%;
    max-height: 380px;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.15));
}

.spec-detail-pill {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-sm);
}

.spec-detail-pill i {
    font-size: 1.6rem;
    color: var(--brand-red);
    width: 45px;
    height: 45px;
    border-radius: var(--radius-sm);
    background: var(--brand-red-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.booking-sidebar-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    padding: 30px;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 100px;
}

.rental-terms-box {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 1px dashed var(--gray-300);
    padding: 24px;
    margin-top: 24px;
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON & PULSE
   ========================================================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 1050;
    display: flex;
    align-items: center;
    gap: 12px;
}

.floating-whatsapp-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--whatsapp-green);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    position: relative;
}

.floating-whatsapp-btn:hover {
    background: var(--whatsapp-hover);
    transform: scale(1.08);
    color: var(--white);
}

.floating-whatsapp-btn::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid var(--whatsapp-green);
    animation: wa-pulse 2s infinite;
}

@keyframes wa-pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 0; }
    100% { transform: scale(0.95); opacity: 0; }
}

.floating-whatsapp-tooltip {
    background: var(--dark-900);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-main {
    background: var(--dark-900);
    color: var(--gray-400);
    padding: 70px 0 30px;
    margin-top: 80px;
}

.footer-main h5 {
    color: var(--white);
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 22px;
}

.footer-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-link-list li {
    margin-bottom: 12px;
}

.footer-link-list a {
    color: var(--gray-400);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-link-list a:hover {
    color: var(--brand-red-light);
    transform: translateX(4px);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.footer-contact-item i {
    color: var(--brand-red);
    font-size: 1.15rem;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 25px;
    margin-top: 50px;
    text-align: center;
    font-size: 0.88rem;
}

/* ==========================================================================
   RESPONSIVE — TABLET (≤991px)
   ========================================================================== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.6rem;
    }

    .custom-header-wrapper {
        padding: 8px 0;
    }

    /* Mobile Navbar Pill — prevent text overflow */
    .navbar-brand-pill {
        padding: 8px 14px;
        border-radius: var(--radius-xl);
    }

    .navbar-brand-pill .navbar-brand {
        font-size: 0.92rem;
        gap: 8px;
    }

    .navbar-logo-img {
        width: 32px;
        height: 32px;
    }

    /* Mobile Menu Dropdown */
    .navbar-brand-pill .navbar-collapse {
        margin-top: 14px;
        padding-top: 14px;
        border-top: 1px solid rgba(255, 255, 255, 0.18);
    }

    .navbar-brand-pill .navbar-nav {
        gap: 2px;
    }

    .navbar-brand-pill .nav-link {
        padding: 10px 16px !important;
        border-radius: var(--radius-md) !important;
        font-size: 0.95rem;
    }

    .navbar-brand-pill .nav-link:hover {
        background: rgba(255, 255, 255, 0.15);
    }

    .btn-header-wa {
        width: 100%;
        justify-content: center;
        padding: 11px 20px !important;
        margin-top: 8px;
        font-size: 0.9rem;
    }

    /* Floating WhatsApp tooltip hidden on tablet */
    .floating-whatsapp-tooltip {
        display: none;
    }

    /* Section spacing reduction */
    .py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .container.py-4 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    /* Service card horizontal stack */
    .service-card-horizontal {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .service-icon-box {
        margin: 0 auto;
    }

    .service-content-box h4 {
        font-size: 1.1rem;
    }

    .service-content-box .d-flex {
        flex-direction: column;
        align-items: center !important;
        gap: 6px;
    }

    /* Commitment card mobile */
    .commitment-card {
        padding: 24px 20px;
    }

    .commitment-card .col-md-2 {
        margin-bottom: 8px;
    }
}

/* ==========================================================================
   RESPONSIVE — MOBILE (≤767px)
   ========================================================================== */
@media (max-width: 767px) {
    /* Typography scaling */
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.65;
        margin-bottom: 24px;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .section-badge {
        font-size: 0.72rem;
        padding: 4px 12px;
    }

    /* Hero section mobile */
    .hero-home {
        padding: 70px 0 60px;
    }

    .hero-home .text-danger-emphasis {
        font-size: 0.88rem !important;
    }

    /* Hero buttons stack vertically on mobile */
    .hero-home .d-flex.flex-wrap.gap-3 {
        flex-direction: column;
        gap: 10px !important;
    }

    .hero-home .d-flex.flex-wrap.gap-3 .btn-primary-red,
    .hero-home .d-flex.flex-wrap.gap-3 .btn-whatsapp-solid {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 0.95rem;
    }

    /* Stats wrapper */
    .hero-stats-wrapper {
        flex-direction: column;
        gap: 16px;
    }

    /* Page banner mobile */
    .page-banner {
        padding: 40px 0;
    }

    .page-banner-title {
        font-size: 1.9rem;
    }

    .page-banner-subtitle {
        font-size: 0.95rem;
    }

    /* Buttons smaller on mobile */
    .btn-primary-red,
    .btn-whatsapp-solid {
        padding: 11px 22px;
        font-size: 0.88rem;
    }

    .btn-secondary-dark {
        padding: 11px 20px;
        font-size: 0.88rem;
    }

    .btn-outline-dark-custom {
        padding: 9px 18px;
        font-size: 0.85rem;
    }

    /* Profil section — reduce checklist spacing */
    #profil-perusahaan .row.g-3.mt-3 {
        gap: 6px !important;
        margin-top: 12px !important;
    }

    #profil-perusahaan .row.g-3.mt-3 .col-sm-6 {
        padding: 2px 6px;
    }

    #profil-perusahaan .row.g-3.mt-3 .d-flex {
        padding: 8px 10px !important;
    }

    #profil-perusahaan .row.g-3.mt-3 .small {
        font-size: 0.82rem;
    }

    /* Image in profil section */
    #profil-perusahaan .position-relative img {
        max-height: 260px;
    }

    #profil-perusahaan .position-absolute {
        margin: 8px !important;
        padding: 8px 12px !important;
    }

    #profil-perusahaan .position-absolute h6 {
        font-size: 0.82rem;
    }

    #profil-perusahaan .position-absolute small {
        font-size: 0.7rem;
    }

    /* Service cards */
    .service-card-horizontal {
        padding: 18px;
        gap: 14px;
    }

    .service-icon-box {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .service-content-box h4 {
        font-size: 1.05rem;
    }

    .service-content-box p {
        font-size: 0.85rem;
    }

    /* Commitment card */
    .commitment-card {
        padding: 20px 16px;
        text-align: center;
    }

    .commitment-card .feature-icon-wrapper {
        margin: 0 auto 12px !important;
    }

    .commitment-card h3 {
        font-size: 1.3rem;
    }

    .commitment-card p {
        font-size: 0.9rem;
    }

    /* Car cards */
    .car-card-modern {
        padding: 16px;
    }

    .car-image-container {
        height: 160px;
        margin-bottom: 14px;
    }

    .car-title-box h3 {
        font-size: 1.15rem;
    }

    .car-meta-subtitle {
        font-size: 0.8rem;
        flex-wrap: wrap;
    }

    .car-specs-grid {
        padding: 10px;
        gap: 8px;
    }

    .spec-icon {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }

    .spec-meta span.lbl {
        font-size: 0.6rem;
    }

    .spec-meta span.val {
        font-size: 0.72rem;
    }

    .car-footer-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .car-price-unit {
        flex-direction: row;
        align-items: baseline;
        gap: 6px;
    }

    .car-price-unit .amount {
        font-size: 1.2rem;
    }

    .car-buttons-group {
        width: 100%;
    }

    .car-buttons-group .btn-card-detail,
    .car-buttons-group .btn-card-wa {
        flex: 1;
        justify-content: center;
        text-align: center;
        padding: 10px 12px;
    }

    /* Steps cards */
    .step-item-card {
        padding: 28px 18px;
    }

    .step-icon-large {
        font-size: 2.2rem;
        margin: 10px 0 12px;
    }

    .step-item-card h5 {
        font-size: 1rem;
    }

    /* CTA banner */
    .cta-banner-wrapper {
        padding: 36px 20px;
        border-radius: var(--radius-lg);
    }

    .cta-banner-wrapper h2 {
        font-size: 1.6rem !important;
    }

    .cta-banner-wrapper p {
        font-size: 0.95rem !important;
    }

    .cta-banner-wrapper .d-flex {
        flex-direction: column;
        gap: 10px !important;
    }

    .cta-banner-wrapper .btn-whatsapp-solid,
    .cta-banner-wrapper .btn-secondary-dark {
        width: 100%;
        justify-content: center;
    }

    /* Footer mobile */
    .footer-main {
        padding: 40px 0 24px;
        margin-top: 40px;
    }

    .footer-main h5 {
        font-size: 1.05rem;
        margin-bottom: 14px;
    }

    .footer-main .navbar-logo-img {
        width: 28px;
        height: 28px;
    }

    .footer-main h4 {
        font-size: 1rem;
    }

    .footer-main p.text-muted.small {
        font-size: 0.82rem;
    }

    .footer-link-list li {
        margin-bottom: 8px;
    }

    .footer-link-list a {
        font-size: 0.88rem;
    }

    .footer-contact-item {
        margin-bottom: 10px;
    }

    .footer-bottom {
        margin-top: 30px;
        padding-top: 18px;
        font-size: 0.78rem;
    }

    /* Car detail page */
    .detail-main-img-box {
        padding: 18px;
        border-radius: var(--radius-lg);
    }

    .detail-main-img-box img {
        max-height: 220px;
    }

    .spec-detail-pill {
        padding: 12px;
        gap: 10px;
    }

    .spec-detail-pill i {
        width: 38px;
        height: 38px;
        font-size: 1.3rem;
    }

    .booking-sidebar-card {
        position: static;
        margin-top: 20px;
        padding: 24px;
    }

    .rental-terms-box {
        padding: 18px;
    }

    /* Contact page */
    .card.p-4.p-md-5 {
        padding: 20px !important;
    }

    /* Floating WhatsApp position adjustment */
    .floating-whatsapp {
        bottom: 18px;
        right: 18px;
    }

    .floating-whatsapp-btn {
        width: 52px;
        height: 52px;
        font-size: 1.7rem;
    }

    /* About page — stats row */
    .d-flex.flex-wrap.gap-4.mt-4.pt-3 {
        flex-direction: column;
        gap: 12px !important;
    }

    .d-flex.flex-wrap.gap-4.mt-4.pt-3 .border-start {
        border-left: none !important;
        padding-left: 0 !important;
        border-top: 1px solid var(--gray-200);
        padding-top: 12px;
    }

    .d-flex.flex-wrap.gap-4.mt-4.pt-3 h4 {
        font-size: 1.1rem;
    }

    /* Vision & Mission cards */
    .vision-card {
        padding: 28px 22px;
    }

    .vision-card .lead {
        font-size: 1rem !important;
    }

    .mission-card {
        padding: 28px 22px;
    }

    .mission-item-box {
        gap: 12px;
        margin-bottom: 12px;
    }

    .mission-text {
        font-size: 0.88rem;
    }

    /* Filter buttons on catalog page */
    .filter-type-btn {
        font-size: 0.8rem;
        padding: 7px 14px !important;
    }
}

/* ==========================================================================
   RESPONSIVE — SMALL MOBILE (≤480px)
   ========================================================================== */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.7rem;
    }

    .hero-subtitle {
        font-size: 0.92rem;
    }

    .hero-home {
        padding: 55px 0 45px;
    }

    .hero-home .text-danger-emphasis {
        font-size: 0.78rem !important;
        letter-spacing: 0.05em !important;
    }

    .section-title {
        font-size: 1.45rem;
    }

    .section-subtitle {
        font-size: 0.88rem;
    }

    /* Navbar ultra-compact */
    .navbar-brand-pill {
        padding: 7px 12px;
    }

    .navbar-brand-pill .navbar-brand {
        font-size: 0.8rem;
        gap: 6px;
    }

    .navbar-brand-pill .navbar-brand span {
        max-width: 200px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .navbar-logo-img {
        width: 28px;
        height: 28px;
    }

    .navbar-toggler i {
        font-size: 1.4rem !important;
    }

    /* Keep the three core specs in one row on very small screens */
    .car-specs-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    .car-image-container {
        height: 140px;
    }

    .car-title-box h3 {
        font-size: 1.05rem;
    }

    .car-price-unit .amount {
        font-size: 1.1rem;
    }

    /* CTA ultra-compact */
    .cta-banner-wrapper {
        padding: 28px 16px;
    }

    .cta-banner-wrapper h2 {
        font-size: 1.35rem !important;
    }

    .cta-banner-wrapper p {
        font-size: 0.88rem !important;
    }

    /* Page banner compact */
    .page-banner {
        padding: 30px 0;
    }

    .page-banner-title {
        font-size: 1.6rem;
    }

    .page-banner-subtitle {
        font-size: 0.88rem;
    }

    /* Footer ultra-compact */
    .footer-main {
        padding: 30px 0 20px;
        margin-top: 30px;
    }

    .footer-bottom {
        font-size: 0.72rem;
    }

    /* Step cards compact */
    .step-item-card {
        padding: 22px 14px;
    }

    .step-icon-large {
        font-size: 1.8rem;
    }

    .step-item-card h5 {
        font-size: 0.92rem;
    }

    .step-item-card p {
        font-size: 0.8rem;
    }

    /* Detail page compact */
    .detail-main-img-box {
        padding: 14px;
    }

    .detail-main-img-box img {
        max-height: 180px;
    }

    .booking-sidebar-card {
        padding: 18px;
    }

    .booking-sidebar-card h3 {
        font-size: 1.3rem;
    }

    /* Contact form */
    .card.p-4.p-md-5 {
        padding: 16px !important;
    }

    /* Profil section — features in single column */
    #profil-perusahaan p {
        font-size: 0.9rem;
    }

    #profil-perusahaan h2 {
        font-size: 1.45rem;
    }

    #profil-perusahaan h4 {
        font-size: 1.05rem !important;
    }

    /* Commitment card ultra-compact */
    .commitment-card {
        padding: 16px 14px;
    }

    .commitment-card h3 {
        font-size: 1.15rem;
    }

    .commitment-card p {
        font-size: 0.85rem;
    }

    .commitment-card .feature-icon-wrapper {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.5rem !important;
    }

    /* Service cards compact */
    .service-card-horizontal {
        padding: 14px;
        gap: 12px;
    }

    .service-icon-box {
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
    }

    .service-content-box h4 {
        font-size: 0.98rem;
    }

    .service-content-box p {
        font-size: 0.82rem;
    }
}

/* Subtle entrance and scroll-reveal motion */
.motion-ready .scroll-reveal {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    transition: opacity 650ms cubic-bezier(0.2, 0.7, 0.2, 1),
                transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: var(--reveal-delay, 0ms);
}

.motion-ready .scroll-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.hero-entrance {
    animation: hero-entrance 720ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
    animation-delay: var(--entrance-delay, 0ms);
}

@keyframes hero-entrance {
    from {
        opacity: 0;
        transform: translate3d(0, 18px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .motion-ready .scroll-reveal,
    .motion-ready .scroll-reveal.is-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero-entrance {
        animation: none;
    }
}
