/* ================================================
   Verdant — Fresh travel-agency green on deep navy
   Langkawi Tourism Booking System

   A selectable, reusable theme. It ships its own colour palette so any site
   in the network can adopt it without uploading brand assets, and so the
   palette is identical on every deployment that activates it.

   Palette provenance (measured from the reference site, 18 Nov 2026):
     brand green        #00C400   logo pixel sample + primary CTA fill
     supporting green   #61CE70   content buttons / accents
     deep navy          #28344B   footer band, CTA band
     navy ink           #1A2B48   headings and nav on white
     body ink           #232323   body copy
     muted ink          #5E6D77   meta, icons, captions
     section background #F7F8FA   alternating sections
     hairline           #EAEEF3   card and footer rules
     alert red          #ED0925   "Featured" badges (used as #E20A1F, see below)
   Typography: Quicksand (display) + DM Sans (body).

   Accessibility deviations from the reference (deliberate). The rest of the
   site uses --primary for text as well as fills, so --primary has to clear AA
   on white in both directions; the reference's own ratios do not:
     - Brand green #00C400 is 2.36:1 on white, so it is kept as
       --accent-green for decorative fills only (section tints, underlines,
       rings) and as the hover colour on the navy band (5.29:1).
     - --primary is #008A00: white labels on it reach 4.53:1 and it reads at
       4.53:1 as text on white. The reference's white-on-#00C400 pill
       (2.36:1) is not copied.
     - Green text on light surfaces is --ink-green #007A00 (5.55:1).
     - Supporting green #61CE70 is 1.99:1 on white, so it is --leaf-green for
       decoration on dark surfaces only (6.28:1 on navy).
     - The WhatsApp button keeps the platform's #25D366, as in every other
       theme here — a brand mark, not a design colour.

   Structure: only the DOM that layouts/public.blade.php already renders.
   No markup, route or build-step dependency; drop the file next to the other
   themes and register the slug.
   ================================================ */

/* Typography — loaded the same way the other themes load theirs (no build step) */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,700;1,9..40,400&display=swap');

/* ===== Design Tokens ===== */
:root {
    /* Action green — safe both as a fill behind white text and as text on
       white (4.53:1). This is --primary because the rest of the site uses
       --primary for text as well as fills, so it has to clear AA on both. */
    --primary: #008A00;
    --primary-dark: #007A00;
    --primary-light: #00A800;
    --primary-rgb: 0, 138, 0;
    --primary-dark-rgb: 0, 122, 0;

    /* The reference's brand green (#00C400), kept for decorative fills only:
       section tints, underlines, rings, hovers on the navy band. 2.36:1 on
       white, so it never carries text there; 5.29:1 on #28344B, which is why
       it is the link-hover colour in the footer. */
    --accent-green: #00C400;
    --accent-green-rgb: 0, 196, 0;

    /* The reference's supporting green (#61CE70). Decorative only: 1.99:1 on
       white, 6.28:1 on navy. */
    --leaf-green: #61CE70;

    /* Green text on light surfaces (5.55:1). */
    --ink-green: #007A00;

    /* Supporting green — usable as text and as a fill (5.13:1 on white) */
    --secondary: #2E7D32;
    --secondary-dark: #256628;
    --secondary-rgb: 46, 125, 50;
    --secondary-dark-rgb: 37, 102, 40;

    /* Navy family */
    --dark: #28344B;
    --navy-band: #28344B;

    /* Neutrals */
    --white: #FFFFFF;
    --gray-900: #1A2B48;
    --gray-800: #28344B;
    --gray-700: #232323;
    --gray-600: #5E6D77;
    --gray-500: #727272;
    --gray-400: #A9B4C0;
    --gray-300: #DEDEDE;
    --gray-200: #EAEEF3;
    --gray-100: #F7F8FA;

    /* Status — the reference's alert red (#ED0925) sits at exactly 4.50:1
       with white, so the fill is nudged to #E20A1F (4.90:1) for badge labels
       and error text. */
    --success: #0A7D2C;
    --warning: #B7791F;
    --danger: #E20A1F;
    --info: #1A2B48;

    /* Typography */
    --font-primary: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Quicksand', var(--font-primary);

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 5rem;

    /* Radius — 15px is the reference's dominant card radius */
    --radius-sm: 3px;
    --radius-md: 5px;
    --radius-lg: 10px;
    --radius-xl: 15px;
    --radius-2xl: 20px;
    --radius-full: 999px;

    /* Shadows — the reference's two-layer card shadow */
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 1px 2px rgba(0, 0, 0, 0.08), 0 6px 20px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.10);
    --shadow-xl: 0 18px 50px rgba(15, 23, 42, 0.14);
    --shadow-2xl: 0 28px 70px rgba(15, 23, 42, 0.18);

    /* Motion */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;

    /* Layout */
    --container-max: 1280px;
    --header-height: 90px;

    /* Shared-template hooks.
       A few rules live inline in the templates (the mobile login pill's hover,
       the CTA band, the inner-page hero) because they depend on Branding
       settings. Those rules read these variables with their historical literal
       as the fallback, so declaring them here brands those pixels without
       touching what any other theme renders. */
    --nav-auth-hover: var(--primary-dark);
    --cta-bg: var(--navy-band);
    --cta-ink: #FFFFFF;
    --page-hero-bg: linear-gradient(135deg, var(--gray-900) 0%, var(--navy-band) 100%);
    --page-hero-scrim: linear-gradient(135deg, rgba(26, 43, 72, 0.86) 0%, rgba(40, 52, 75, 0.78) 100%);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--gray-700);
    background-color: var(--white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

:focus-visible {
    outline: 3px solid rgba(var(--accent-green-rgb), 0.40);
    outline-offset: 2px;
}

/* ===== Typography ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
    letter-spacing: -0.01em;
}

h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
}

h2 {
    font-size: clamp(1.6rem, 3vw, 2rem);
}

h3 {
    font-size: 1.375rem;
    font-weight: 600;
}

h4 {
    font-size: 1.125rem;
    font-weight: 600;
}

h5 {
    font-size: 1rem;
    font-weight: 600;
}

h6 {
    font-size: 0.875rem;
    font-weight: 600;
}

p {
    color: var(--gray-700);
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.01em;
    text-align: center;
    white-space: nowrap;
    border: 1px solid transparent;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: background-color var(--transition-fast), border-color var(--transition-fast),
        color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.btn svg {
    flex-shrink: 0;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(var(--primary-dark-rgb), 0.28);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(var(--primary-dark-rgb), 0.32);
}

.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--gray-300);
    color: var(--gray-900);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--ink-green);
    background-color: rgba(var(--primary-rgb), 0.06);
}

.btn-white {
    background-color: var(--white);
    border-color: var(--white);
    color: var(--gray-900);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    background-color: var(--gray-100);
    border-color: var(--gray-100);
    color: var(--gray-900);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 0.95rem 2rem;
    font-size: 1.0625rem;
}

.btn-sm {
    padding: 0.5rem 1.1rem;
    font-size: 0.8125rem;
}

.btn-whatsapp {
    background-color: #25D366;
    border-color: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background-color: #1EBE5A;
    border-color: #1EBE5A;
    color: var(--white);
    transform: translateY(-1px);
}

/* ===== Header ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--white);
    border-bottom: 1px solid var(--gray-200);
    transition: background-color var(--transition-base), box-shadow var(--transition-base),
        border-color var(--transition-base);
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo img {
    height: 46px;
    width: auto;
    transition: filter var(--transition-base);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ink-green);
    letter-spacing: -0.02em;
    transition: color var(--transition-base);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    list-style: none;
}

.nav-links a {
    position: relative;
    padding: var(--spacing-sm) 0;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-900);
    transition: color var(--transition-fast);
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    border-radius: var(--radius-full);
    background-color: var(--accent-green);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform var(--transition-base);
}

.nav-links a:hover {
    color: var(--ink-green);
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

.nav-links a.active {
    color: var(--ink-green);
}

.nav-links a.active::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-full);
    color: var(--gray-900);
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.cart-btn:hover {
    background-color: var(--gray-100);
    color: var(--ink-green);
}

.cart-btn svg {
    width: 22px;
    height: 22px;
}

.cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1;
    border-radius: var(--radius-full);
}

.mobile-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: transparent;
    border: 0;
    border-radius: var(--radius-full);
    color: var(--gray-900);
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.mobile-menu-btn:hover {
    background-color: var(--gray-100);
}

/* Transparent header over the homepage photo hero.
   Only applies where the hero exists, and only above the mobile breakpoint
   (the mobile nav is a white sidebar). Browsers without :has() keep the
   solid white header declared above. */
@media (min-width: 769px) {
    body:has(main > .hero) .site-header:not(.scrolled) {
        background-color: transparent;
        background-image: linear-gradient(180deg,
                rgba(18, 24, 36, 0.62) 0%,
                rgba(18, 24, 36, 0.22) 58%,
                rgba(18, 24, 36, 0) 100%);
        border-bottom-color: transparent;
        box-shadow: none;
    }

    body:has(main > .hero) .site-header:not(.scrolled) .nav-links a {
        color: rgba(255, 255, 255, 0.92);
    }

    body:has(main > .hero) .site-header:not(.scrolled) .nav-links a:hover,
    body:has(main > .hero) .site-header:not(.scrolled) .nav-links a.active {
        color: var(--white);
    }

    body:has(main > .hero) .site-header:not(.scrolled) .logo-text {
        color: var(--white);
    }

    body:has(main > .hero) .site-header:not(.scrolled) .logo img {
        filter: brightness(0) invert(1);
    }

    /* A logo that already reads on a dark hero (e.g. a gold-framed badge) opts out
       of the white tint; toggled per site from Settings > Branding. */
    body:has(main > .hero) .site-header:not(.scrolled) .logo.logo-keep-colors img {
        filter: none;
    }

    body:has(main > .hero) .site-header:not(.scrolled) .cart-btn {
        color: var(--white);
    }

    body:has(main > .hero) .site-header:not(.scrolled) .cart-btn:hover {
        background-color: rgba(255, 255, 255, 0.16);
        color: var(--white);
    }

    body:has(main > .hero) .site-header:not(.scrolled) .btn-outline {
        border-color: rgba(255, 255, 255, 0.55);
        color: var(--white);
    }

    body:has(main > .hero) .site-header:not(.scrolled) .btn-outline:hover {
        background-color: rgba(255, 255, 255, 0.14);
        border-color: var(--white);
        color: var(--white);
    }
}

/* ===== Hero ===== */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(520px, 72vh, 760px);
    padding: calc(var(--header-height) + var(--spacing-2xl)) 0 var(--spacing-2xl);
    background-color: var(--dark);
    overflow: hidden;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: linear-gradient(180deg,
            rgba(20, 26, 38, 0.62) 0%,
            rgba(20, 26, 38, 0.28) 52%,
            rgba(20, 26, 38, 0.58) 100%);
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 860px;
    margin: 0 auto;
    padding: var(--spacing-lg) 0;
    text-align: center;
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 0.45rem 1.1rem;
    margin-bottom: var(--spacing-lg);
    background-color: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: var(--radius-full);
    backdrop-filter: blur(8px);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--white);
}

.hero-badge svg {
    width: 16px;
    height: 16px;
    color: var(--leaf-green);
}

.hero h1 {
    font-size: clamp(2rem, 4.6vw, 2.9rem);
    font-weight: 600;
    line-height: 1.12;
    color: var(--white);
    margin-bottom: var(--spacing-md);
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.hero h1 span {
    color: var(--secondary);
}

.hero-description {
    max-width: 640px;
    margin: 0 auto var(--spacing-xl);
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-md);
}

.hero-stats {
    display: flex;
    justify-content: space-between;
    gap: var(--spacing-md);
    margin-top: var(--spacing-2xl);
    padding: var(--spacing-lg) var(--spacing-xl);
    background-color: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(6px);
}

.stat-item {
    flex: 1 1 0;
    text-align: center;
}

.stat-value {
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 3vw, 2.1rem);
    font-weight: 700;
    line-height: 1;
    color: var(--gray-900);
}

.stat-label {
    margin-top: var(--spacing-xs);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--gray-600);
}

/* ===== Sections ===== */
.section {
    padding: var(--spacing-3xl) 0;
}

.section-header {
    max-width: 640px;
    margin: 0 auto var(--spacing-2xl);
    text-align: center;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.9rem;
    margin-bottom: var(--spacing-md);
    background-color: rgba(var(--accent-green-rgb), 0.12);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--ink-green);
}

.section-title {
    margin-bottom: var(--spacing-md);
    font-size: clamp(1.6rem, 3vw, 2.15rem);
    font-weight: 700;
    color: var(--gray-900);
}

.section-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-600);
}

.section-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ink-green);
}

.section-link:hover {
    color: #005F00;
}

.section-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.section-link:hover svg {
    transform: translateX(3px);
}

/* ===== Cards ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.card-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.car-card,
.activity-card {
    background-color: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base),
        border-color var(--transition-base);
}

.car-card:hover,
.activity-card:hover {
    transform: translateY(-4px);
    border-color: var(--gray-300);
    box-shadow: var(--shadow-xl);
}

.car-card-image,
.activity-card-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background-color: var(--gray-100);
}

.car-card-image img,
.activity-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.car-card:hover .car-card-image img,
.activity-card:hover .activity-card-image img {
    transform: scale(1.05);
}

.car-card-badge,
.activity-card-badge {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    padding: 0.3rem 0.7rem;
    background-color: var(--white);
    color: var(--gray-900);
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.car-card-badge.promo {
    background-color: var(--danger);
    color: var(--white);
}

.car-card-content,
.activity-card-content {
    padding: var(--spacing-lg);
}

.car-card-category,
.activity-card-category {
    margin-bottom: var(--spacing-sm);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-600);
}

.car-card-title,
.activity-card-title {
    margin-bottom: var(--spacing-md);
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--gray-900);
}

.car-card-title a:hover,
.activity-card-title a:hover {
    color: var(--ink-green);
}

.car-card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--gray-200);
}

.spec-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8125rem;
    color: var(--gray-600);
}

.spec-item svg {
    width: 16px;
    height: 16px;
    color: var(--gray-500);
}

.car-card-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--spacing-md);
}

.car-card-price,
.activity-card-price {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
    font-family: var(--font-display);
}

.price-amount {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--gray-900);
}

.price-period {
    font-family: var(--font-primary);
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--gray-600);
}

.price-original {
    font-family: var(--font-primary);
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--gray-500);
    text-decoration: line-through;
}

.activity-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--gray-200);
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8125rem;
    color: var(--gray-600);
}

.meta-item svg {
    width: 16px;
    height: 16px;
    color: var(--gray-500);
}

.activity-card-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--spacing-md);
}

/* ===== CTA Band =====
   With this theme's palette active the band is the reference's navy, taken from
   --cta-bg (see layouts/public.blade.php). A site that opts back into its
   Branding colours gets the colour it picked in Admin -> Homepage Content. */
.cta-section {
    padding: var(--spacing-3xl) 0;
    background-color: var(--navy-band);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    margin-bottom: var(--spacing-md);
    color: var(--white);
}

.cta-section p {
    max-width: 620px;
    margin: 0 auto var(--spacing-xl);
    font-size: 1.0625rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.84);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-md);
}

/* ===== Footer ===== */
.site-footer {
    position: relative;
    isolation: isolate;
    margin-top: 0;
    padding: calc(var(--spacing-3xl) + 6px) 0 var(--spacing-xl);
    background-color: var(--navy-band);
    background-image:
        radial-gradient(ellipse 55% 70% at 88% -10%, rgba(0, 196, 0, 0.16), transparent 60%),
        radial-gradient(circle at 8% 0%, rgba(0, 196, 0, 0.10), transparent 26rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(0, 0, 0, 0.16) 100%);
    color: rgba(255, 255, 255, 0.76);
}

/* Brand-coloured seam: separates the footer from the dark band above it. */
.site-footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-green), rgba(0, 196, 0, 0.35) 55%, transparent);
}

.site-footer.no-gap {
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 0.9fr) minmax(0, 0.9fr) minmax(0, 1.2fr);
    gap: var(--spacing-2xl);
    align-items: start;
}

.footer-brand {
    max-width: 340px;
}

.footer-brand .logo {
    margin-bottom: var(--spacing-md);
}

.footer-brand p {
    margin-bottom: var(--spacing-lg);
    font-size: 0.9375rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.72);
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-full);
    color: var(--white);
    transition: background-color var(--transition-fast), border-color var(--transition-fast),
        transform var(--transition-fast);
}

.social-link:hover,
.social-link:focus-visible {
    background-color: var(--accent-green);
    border-color: var(--accent-green);
    color: var(--gray-900);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 196, 0, 0.32);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.footer-heading {
    position: relative;
    margin-bottom: calc(var(--spacing-lg) + 2px);
    padding-bottom: 10px;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
}

.footer-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 26px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent-green);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    position: relative;
    display: inline-block;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.72);
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--accent-green);
    transform: translateX(3px);
}

.footer-links a::before {
    content: "";
    position: absolute;
    left: -12px;
    top: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent-green);
    opacity: 0;
    transform: translateY(-50%);
    transition: opacity var(--transition-fast);
}

.footer-links a:hover::before,
.footer-links a:focus-visible::before {
    opacity: 1;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.76);
}

.footer-contact a {
    color: inherit;
    transition: color var(--transition-fast);
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
    color: var(--accent-green);
}

.footer-contact svg {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    margin-top: 1px;
    padding: 6px;
    background: rgba(0, 196, 0, 0.14);
    border: 1px solid rgba(0, 196, 0, 0.28);
    border-radius: var(--radius-full);
    color: var(--accent-green);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-2xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.68);
}

.footer-bottom p {
    margin: 0;
    /* The theme's global `p { color: var(--gray-700) }` matches this paragraph
       directly, so inheritance from .footer-bottom never applied and the
       copyright printed near-black (#232323) on the navy footer. Colour it
       here; a rule on the element always beats an inherited value. */
    color: rgba(255, 255, 255, 0.92);
}

.footer-legal {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.72);
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--accent-green);
}

/* ===== Service pages (transfer / chauffeur) =====
   Nothing to override: those views read --primary, --primary-rgb, --dark,
   --radius-*, --shadow-* and --gray-*, so their hero, cards, fields and focus
   rings pick this palette up on their own. */

/* ===== Utilities ===== */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--ink-green);
}

.text-secondary {
    color: var(--gray-600);
}

.text-muted {
    color: var(--gray-600);
}

.bg-light {
    background-color: var(--gray-100);
}

.bg-dark {
    background-color: var(--gray-900);
    color: var(--white);
}

.mb-0 {
    margin-bottom: 0;
}

.mb-sm {
    margin-bottom: var(--spacing-sm);
}

.mb-md {
    margin-bottom: var(--spacing-md);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

.mb-xl {
    margin-bottom: var(--spacing-xl);
}

/* ===== Loading & Animation ===== */
.skeleton {
    background-image: linear-gradient(90deg, var(--gray-100) 0%, var(--gray-200) 50%, var(--gray-100) 100%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.4s ease-in-out infinite;
    border-radius: var(--radius-lg);
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn var(--transition-slow) ease both;
}

.slide-up {
    animation: slideUp 420ms ease both;
}

/* ===== Prose (static pages) ===== */
.prose {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-700);
}

.prose p {
    margin-bottom: var(--spacing-md);
}

.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
    margin: var(--spacing-xl) 0 var(--spacing-md);
    color: var(--gray-900);
}

.prose h1 {
    font-size: 2rem;
}

.prose h2 {
    font-size: 1.6rem;
}

.prose h3 {
    font-size: 1.3rem;
}

.prose h4 {
    font-size: 1.125rem;
}

.prose ul,
.prose ol {
    margin: 0 0 var(--spacing-md) var(--spacing-xl);
}

.prose ul {
    list-style: disc;
}

.prose ol {
    list-style: decimal;
}

.prose li {
    margin-bottom: var(--spacing-sm);
}

.prose strong {
    font-weight: 700;
    color: var(--gray-900);
}

.prose em {
    font-style: italic;
}

.prose a {
    color: var(--ink-green);
    text-decoration: underline;
}

.prose a:hover {
    color: #005F00;
}

/* A call-to-action dropped into page content is still a button: the prose link
   rule above used to repaint it, leaving green text on a green button. */
.prose a.btn {
    text-decoration: none;
}

.prose a.btn-primary,
.prose a.btn-primary:hover {
    color: var(--white);
}

.prose a.btn-secondary,
.prose a.btn-secondary:hover {
    color: var(--white);
}

.prose a.btn-outline,
.prose a.btn-outline:hover {
    color: var(--ink-green);
}

.prose blockquote {
    margin: var(--spacing-lg) 0;
    padding: var(--spacing-md) var(--spacing-lg);
    border-left: 3px solid var(--accent-green);
    background-color: var(--gray-100);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    color: var(--gray-600);
    font-style: italic;
}

.prose table {
    width: 100%;
    margin-bottom: var(--spacing-lg);
    border-collapse: collapse;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.prose th,
.prose td {
    padding: var(--spacing-sm) var(--spacing-md);
    border-bottom: 1px solid var(--gray-200);
    text-align: left;
    font-size: 0.9375rem;
}

.prose th {
    background-color: var(--gray-100);
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--gray-900);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .hero h1 {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    /* The transparent header is a desktop-only affordance: below the
       breakpoint the nav is a white sidebar, so the bar has to be solid or
       the white links sit on the page. Same selector as the rule above, later
       in the file, so it wins whenever both could match (a window resized down
       mid-session, or a browser that keeps the :has() result from the wider
       layout). */
    body:has(main > .hero) .site-header:not(.scrolled) {
        background-color: var(--white);
        background-image: none;
        border-bottom-color: var(--gray-200);
        box-shadow: none;
    }

    body:has(main > .hero) .site-header:not(.scrolled) .nav-links a,
    body:has(main > .hero) .site-header:not(.scrolled) .logo-text,
    body:has(main > .hero) .site-header:not(.scrolled) .cart-btn {
        color: var(--gray-900);
    }

    body:has(main > .hero) .site-header:not(.scrolled) .logo img {
        filter: none;
    }

    body:has(main > .hero) .site-header:not(.scrolled) .btn-outline {
        border-color: var(--gray-300);
        color: var(--gray-900);
    }

    /* Mobile navigation sidebar */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 1001;
        display: flex;
        flex-direction: column;
        width: 288px;
        height: 100vh;
        padding: var(--spacing-xl);
        background-color: var(--white);
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
        overflow-y: auto;
        transition: right 0.3s ease;
    }

    .main-nav.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-sm);
        width: 100%;
        margin-top: var(--spacing-xl);
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: var(--spacing-md) 0;
        font-size: 1rem;
        border-bottom: 1px solid var(--gray-200);
    }

    .nav-links a::after {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 288px;
        bottom: 0;
        z-index: 1000;
        background-color: rgba(20, 26, 38, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .header-actions .btn {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: calc(var(--header-height) + var(--spacing-2xl)) 0 var(--spacing-2xl);
    }

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

    .hero-description {
        font-size: 1rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: var(--spacing-md);
        padding: var(--spacing-md);
    }

    .stat-item {
        flex: 1 1 40%;
    }

    .stat-value {
        font-size: 1.6rem;
    }

    .card-grid,
    .card-grid-4 {
        grid-template-columns: 1fr;
    }

    .section {
        padding: var(--spacing-2xl) 0;
    }

    h1 {
        font-size: 1.9rem;
    }

    h2 {
        font-size: 1.55rem;
    }

    /* The two link groups share a row; stacked, the footer ran over a
       thousand pixels before the copyright line. */
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--spacing-lg);
    }

    .footer-brand,
    .footer-contact {
        grid-column: 1 / -1;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-brand p {
        margin-bottom: var(--spacing-md);
    }

    .footer-links li {
        margin-bottom: 8px;
    }

    .footer-links a {
        font-size: 0.9rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        /* The fixed WhatsApp bubble sits over the bottom-right corner; without
           this the copyright line ends up underneath it. */
        padding-bottom: 64px;
    }

    .cta-actions {
        flex-direction: column;
    }

    .cta-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-md);
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}
