/* ==========================================================================
   Hoogendijk Full Service Car Center - Stylesheet
   ========================================================================== */

/* 1. CSS Variables
   ========================================================================== */
:root {
    /* Colors */
    --color-bg: #1A1A1A;
    --color-surface: #2D2D2D;
    --color-surface-light: #3A3A3A;
    --color-primary: #D32F2F;
    --color-primary-dark: #B71C1C;
    --color-primary-light: #EF5350;
    --color-secondary: #FFC107;
    --color-secondary-dark: #FFA000;
    --color-text: #FFFFFF;
    --color-text-muted: #A3A3A3;
    --color-border: #404040;
    --color-success: #4CAF50;
    --color-error: #F44336;
    --color-info: #2196F3;

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', 'Open Sans', sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;

    /* Spacing (8px grid) */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 80px;

    /* Layout */
    --container-max: 1280px;
    --top-bar-height: 36px;
    --header-height: 80px;

    /* Borders */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    /* Transitions */
    --transition: all 0.2s ease-in-out;
}

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

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: var(--line-height-base);
    color: var(--color-text);
    background-color: var(--color-bg);
}

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

a {
    color: var(--color-primary-light);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-primary);
}

a:focus-visible {
    outline: 2px solid var(--color-secondary);
    outline-offset: 2px;
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

/* Skip to content */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-md);
    background: var(--color-primary);
    color: var(--color-text);
    padding: var(--space-sm) var(--space-md);
    z-index: 1000;
    border-radius: var(--radius-sm);
    font-weight: 700;
}

.skip-link:focus {
    top: var(--space-md);
}

/* 3. Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 900;
    line-height: 1.2;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: var(--space-lg);
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: var(--space-lg);
}

h3 {
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    margin-bottom: var(--space-md);
}

h4 {
    font-size: 1.125rem;
    margin-bottom: var(--space-sm);
}

p {
    margin-bottom: var(--space-md);
    color: var(--color-text-muted);
}

strong {
    color: var(--color-text);
}

/* 4. Layout Components
   ========================================================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section {
    padding: var(--space-4xl) 0;
}

.section--dark {
    background-color: var(--color-surface);
}

.section--primary {
    background-color: var(--color-primary);
}

.grid {
    display: grid;
    gap: var(--space-xl);
}

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

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

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

/* 5. UI Components
   ========================================================================== */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}

.btn:focus-visible {
    outline: 2px solid var(--color-secondary);
    outline-offset: 2px;
}

.btn--primary {
    background-color: var(--color-primary);
    color: var(--color-text);
    border: 2px solid var(--color-primary);
}

.btn--primary:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: var(--color-text);
}

.btn--outline {
    background-color: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-text);
}

.btn--outline:hover {
    background-color: var(--color-text);
    color: var(--color-bg);
}

.btn--outline-primary {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn--outline-primary:hover {
    background-color: var(--color-primary);
    color: var(--color-text);
}

.btn--secondary {
    background-color: var(--color-secondary);
    color: var(--color-bg);
    border: 2px solid var(--color-secondary);
}

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

.btn--lg {
    padding: var(--space-md) var(--space-2xl);
    font-size: 1.0625rem;
}

.btn--sm {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.8125rem;
}

.btn--block {
    display: flex;
    width: 100%;
}

/* Cards */
.card {
    background-color: var(--color-surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-4px);
}

.card__image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card__image {
    transform: scale(1.05);
}

.card__content {
    padding: var(--space-lg);
}

.card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-md);
    border-radius: 50%;
    background-color: var(--color-primary);
    color: var(--color-text);
}

.card__icon svg {
    width: 32px;
    height: 32px;
}

.card__title {
    text-align: center;
    margin-bottom: var(--space-sm);
}

.card__text {
    text-align: center;
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.card__footer {
    text-align: center;
    padding-bottom: var(--space-sm);
}

/* Service cards (icon style from design) */
.service-card {
    background-color: var(--color-surface);
    border-radius: var(--radius-md);
    padding: var(--space-2xl) var(--space-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--color-border);
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-primary);
}

.service-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    color: var(--color-primary);
}

.service-card__icon svg {
    width: 56px;
    height: 56px;
}

.service-card__title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.125rem;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
    color: var(--color-text);
}

.service-card__text {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.service-card__link {
    display: inline-block;
}

/* Forms */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: var(--space-md);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23A3A3A3' viewBox='0 0 16 16'%3E%3Cpath d='M4.646 6.646a.5.5 0 0 1 .708 0L8 9.293l2.646-2.647a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-md) center;
    padding-right: var(--space-2xl);
}

/* Alerts */
.alert {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-lg);
    font-size: 0.9375rem;
}

.alert--success {
    background-color: rgba(76, 175, 80, 0.15);
    border: 1px solid var(--color-success);
    color: var(--color-success);
}

.alert--error {
    background-color: rgba(244, 67, 54, 0.15);
    border: 1px solid var(--color-error);
    color: var(--color-error);
}

.alert--error ul {
    list-style: disc;
    padding-left: var(--space-lg);
}

.alert--info {
    background-color: rgba(33, 150, 243, 0.15);
    border: 1px solid var(--color-info);
    color: var(--color-info);
}

/* Badges */
.badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
}

.badge--primary {
    background-color: var(--color-primary);
    color: var(--color-text);
}

.badge--secondary {
    background-color: var(--color-secondary);
    color: var(--color-bg);
}

/* Top USP / Quick Contact Bar */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--top-bar-height);
    background-color: var(--color-primary);
    z-index: 101;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.top-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.top-bar__usps {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.top-bar__item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-text);
    text-transform: uppercase;
}

.top-bar__item svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.top-bar__contact {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.top-bar__link {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-text);
    font-weight: 600;
}

.top-bar__link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.top-bar__link svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* 6. Header & Navigation
   ========================================================================== */
.site-header {
    position: fixed;
    top: var(--top-bar-height);
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(8px);
    z-index: 100;
    border-bottom: 1px solid var(--color-border);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.site-header__logo {
    display: flex;
    align-items: center;
}

.site-header__logo img {
    height: 56px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
}

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

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text);
    padding: var(--space-sm) 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Dropdown */
.nav-item--dropdown {
    position: relative;
}

.nav-item--dropdown .nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.nav-link__arrow {
    width: 12px;
    height: 12px;
    transition: transform 0.2s ease;
}

.nav-item--dropdown:hover .nav-link__arrow {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-sm) 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.nav-item--dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown__link {
    display: block;
    padding: var(--space-sm) var(--space-lg);
    color: var(--color-text-muted);
    font-size: 0.875rem;
    transition: var(--transition);
}

.nav-dropdown__link:hover {
    background-color: var(--color-surface-light);
    color: var(--color-primary);
}

/* CTA button in nav */
.nav-cta {
    margin-left: var(--space-md);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 32px;
    padding: var(--space-sm);
    cursor: pointer;
}

.nav-toggle__bar {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-text);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active .nav-toggle__bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .nav-toggle__bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle__bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile overlay */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 98;
}

.nav-overlay.active {
    display: block;
}

/* 7. Footer
   ========================================================================== */
.site-footer {
    background-color: var(--color-surface);
    border-top: 3px solid var(--color-primary);
}

.footer-main {
    padding: var(--space-3xl) 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
}

.footer-brand {
    margin-bottom: var(--space-lg);
}

.footer-brand img {
    height: 48px;
    margin-bottom: var(--space-md);
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer-heading {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    margin-bottom: var(--space-lg);
    color: var(--color-text);
    position: relative;
    padding-bottom: var(--space-sm);
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-primary);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--color-primary);
}

.footer-contact-item a {
    color: var(--color-text-muted);
}

.footer-contact-item a:hover {
    color: var(--color-primary);
}

.footer-hours-table {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.footer-hours-row {
    display: flex;
    justify-content: space-between;
    padding: var(--space-xs) 0;
    border-bottom: 1px solid var(--color-border);
}

.footer-hours-row:last-child {
    border-bottom: none;
}

.footer-hours-day {
    color: var(--color-text);
    font-weight: 500;
}

.footer-nav-list li {
    margin-bottom: var(--space-sm);
}

.footer-nav-list a {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    transition: var(--transition);
}

.footer-nav-list a:hover {
    color: var(--color-primary);
    padding-left: var(--space-sm);
}

/* Certification marquee bar */
.cert-bar {
    background-color: #FFFFFF;
    padding: var(--space-lg) 0;
    overflow: hidden;
    position: relative;
}

.cert-bar__track {
    display: flex;
    width: max-content;
    animation: certScroll 30s linear infinite;
}

.cert-bar__track:hover {
    animation-play-state: paused;
}

.cert-bar__slide {
    display: flex;
    align-items: center;
    gap: var(--space-3xl);
    padding: 0 var(--space-3xl);
    flex-shrink: 0;
}

.cert-bar__slide img {
    height: 48px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.cert-bar__slide img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes certScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Social icons */
.footer-social {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-surface-light);
    color: var(--color-text-muted);
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--color-primary);
    color: var(--color-text);
}

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

/* Footer mascot */
.footer-mascot {
    display: block;
    margin-top: var(--space-xl);
    width: 140px;
    height: auto;
    transform: scaleX(-1);
}

/* Footer bottom bar */
.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding: var(--space-lg) 0;
}

.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

/* CTA bar above footer */
.footer-cta {
    background-color: var(--color-primary);
    padding: var(--space-xl) 0;
    position: relative;
    overflow: hidden;
}

.footer-cta .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.footer-cta__text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    text-transform: uppercase;
    color: var(--color-text);
    margin-bottom: 0;
}

.footer-cta__mascot {
    position: absolute;
    right: 10%;
    bottom: 0;
    height: 120px;
    width: auto;
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
}

/* 8. Page-Specific Styles
   ========================================================================== */

/* Hero section */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    margin-top: calc(var(--header-height) + var(--top-bar-height));
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 26, 0.85) 0%,
        rgba(26, 26, 26, 0.5) 60%,
        rgba(26, 26, 26, 0.3) 100%
    );
    z-index: 2;
}

.hero__content {
    position: relative;
    z-index: 3;
    max-width: 700px;
}

.hero__title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: var(--space-lg);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-xl);
    max-width: 500px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Services overview section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

/* "Waarom" section with image cards */
.reason-card {
    text-align: center;
}

.reason-card__image {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
}

.reason-card__title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.125rem;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
    text-decoration: underline;
    text-decoration-color: var(--color-primary);
    text-underline-offset: 4px;
}

.reason-card__text {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* Lease CTA section */
.lease-cta {
    background-color: var(--color-primary);
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}

.lease-cta__content {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.lease-cta__mascot {
    position: absolute;
    right: 5%;
    bottom: 0;
    height: 85%;
    max-height: 280px;
    width: auto;
    opacity: 0.12;
    pointer-events: none;
    z-index: 1;
}

.lease-cta h2 {
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

.lease-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-lg);
    font-size: 1.0625rem;
}

/* Stats section */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    text-align: center;
}

.stat__number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-primary);
    display: block;
}

.stat__label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
}

/* About page */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-intro__image {
    border-radius: var(--radius-lg);
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

/* Contact page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
}

.contact-info-card {
    background-color: var(--color-surface);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    margin-bottom: var(--space-lg);
    border: 1px solid var(--color-border);
}

.contact-info-card h3 {
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.contact-item__icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--color-primary);
    margin-top: 2px;
}

.contact-item__content h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-xs);
}

.contact-item__content p {
    font-size: 0.9375rem;
    margin-bottom: 0;
}

.contact-item__content a {
    color: var(--color-text-muted);
}

.contact-item__content a:hover {
    color: var(--color-primary);
}

/* Service detail pages */
.service-hero {
    position: relative;
    padding: var(--space-4xl) 0;
    background-color: var(--color-surface);
}

/* Only add top margin when service-hero is the first element (no breadcrumb) */
.service-hero:first-child,
main > .service-hero:first-child {
    margin-top: calc(var(--header-height) + var(--top-bar-height));
}

.service-hero__content {
    max-width: 700px;
}

.service-hero .badge {
    margin-bottom: var(--space-md);
}

.service-content {
    padding: var(--space-3xl) 0;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
}

.service-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-lg);
    background-color: var(--color-surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.service-feature__icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--color-primary);
}

.service-feature h4 {
    margin-bottom: var(--space-xs);
}

.service-feature p {
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* Breadcrumb */
.breadcrumb {
    padding: var(--space-md) 0;
    margin-top: calc(var(--header-height) + var(--top-bar-height));
}

.breadcrumb__list {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.8125rem;
}

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

.breadcrumb__item a {
    color: var(--color-text-muted);
}

.breadcrumb__item a:hover {
    color: var(--color-primary);
}

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

/* Map container */
.map-container {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-top: var(--space-lg);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* 404 page */
.error-page {
    text-align: center;
    padding: var(--space-3xl) 0 var(--space-4xl);
    margin-top: calc(var(--header-height) + var(--top-bar-height));
}

.error-page__mascot {
    width: 180px;
    height: auto;
    margin: 0 auto var(--space-lg);
    display: block;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.3));
}

.error-page h1 {
    font-size: 6rem;
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
}

/* Page header (non-hero pages) */
.page-header {
    padding: var(--space-3xl) 0 var(--space-xl);
    margin-top: calc(var(--header-height) + var(--top-bar-height));
    background-color: var(--color-surface);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header h1 {
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 2;
}

.page-header p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.0625rem;
    position: relative;
    z-index: 2;
}

.page-header__mascot {
    position: absolute;
    right: 5%;
    bottom: 0;
    height: 100%;
    max-height: 140px;
    width: auto;
    opacity: 0.08;
    pointer-events: none;
    z-index: 1;
}

/* Service CTA mascot */
.service-cta {
    position: relative;
    overflow: hidden;
}

.service-cta__mascot {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 80%;
    max-height: 200px;
    width: auto;
    opacity: 0.1;
    pointer-events: none;
}

/* Hero mascot group (mascot + badge) */
.hero__mascot-group {
    position: absolute;
    right: 5%;
    bottom: 0;
    z-index: 3;
    height: 85%;
    max-height: 600px;
    animation: mascotFlyIn 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
    pointer-events: none;
}

.hero__mascot {
    height: 100%;
    width: auto;
    filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.4));
}

.hero__badge {
    position: absolute;
    top: 5%;
    left: -30px;
    width: 120px;
    height: 120px;
    animation: badgePop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1s both;
    filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.3));
}

@keyframes mascotFlyIn {
    0% {
        opacity: 0;
        transform: translateX(120px) translateY(40px) scale(0.7) rotate(8deg);
    }
    60% {
        opacity: 1;
        transform: translateX(-10px) translateY(-5px) scale(1.02) rotate(-1deg);
    }
    100% {
        opacity: 1;
        transform: translateX(0) translateY(0) scale(1) rotate(0deg);
    }
}

@keyframes badgePop {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-20deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* WhatsApp FAB */
.fab-whatsapp {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #FFFFFF;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fab-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
    color: #FFFFFF;
}

.fab-whatsapp:focus-visible {
    outline: 2px solid var(--color-secondary);
    outline-offset: 4px;
}

.fab-whatsapp svg {
    width: 32px;
    height: 32px;
}

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

.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-muted { color: var(--color-text-muted); }

.fw-bold { font-weight: 700; }
.fw-black { font-weight: 900; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }
.mb-5 { margin-bottom: var(--space-2xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }
.mt-5 { margin-top: var(--space-2xl); }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

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

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

    .hero__mascot-group {
        height: 70%;
        max-height: 450px;
        right: 3%;
    }

    .hero__badge {
        width: 100px;
        height: 100px;
        left: -20px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 64px;
        --top-bar-height: 32px;
    }

    /* Top bar mobile */
    .top-bar {
        font-size: 0.6875rem;
    }

    .top-bar__item--hide-mobile {
        display: none;
    }

    .top-bar__link--hide-mobile {
        display: none;
    }

    .top-bar__usps {
        gap: var(--space-md);
    }

    .site-header__logo img {
        height: 40px;
    }

    /* Mobile navigation */
    .nav-toggle {
        display: flex;
        z-index: 101;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--color-surface);
        flex-direction: column;
        padding: calc(var(--header-height) + var(--top-bar-height) + var(--space-lg)) var(--space-lg) var(--space-lg);
        transition: right 0.3s ease;
        z-index: 99;
        overflow-y: auto;
    }

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

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
    }

    .nav-list li {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: var(--space-md) 0;
        border-bottom: 1px solid var(--color-border);
    }

    .nav-link::after {
        display: none;
    }

    .nav-cta {
        margin-left: 0;
        margin-top: var(--space-lg);
        width: 100%;
    }

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

    /* Dropdown on mobile */
    .nav-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background-color: transparent;
        padding: 0 0 0 var(--space-md);
        display: none;
        max-height: 300px;
        overflow-y: auto;
    }

    .nav-item--dropdown.active .nav-dropdown {
        display: block;
    }

    .nav-dropdown__link {
        padding: var(--space-sm) 0;
        font-size: 0.8125rem;
    }

    /* Layout adjustments */
    .section {
        padding: var(--space-2xl) 0;
    }

    .grid--2,
    .grid--3 {
        grid-template-columns: 1fr;
    }

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

    .about-intro {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .service-features {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }

    .footer-cta .container {
        flex-direction: column;
        text-align: center;
        gap: var(--space-lg);
    }

    .hero {
        min-height: 70vh;
    }

    .hero__mascot-group {
        height: 55%;
        right: 2%;
        max-height: 320px;
    }

    .hero__badge {
        width: 80px;
        height: 80px;
        left: -15px;
        top: 0;
    }

    .hero__title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero__subtitle {
        max-width: 60%;
    }

    .fab-whatsapp {
        bottom: var(--space-md);
        right: var(--space-md);
        width: 52px;
        height: 52px;
    }

    .fab-whatsapp svg {
        width: 28px;
        height: 28px;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }

    /* Service card adjustments */
    .service-card {
        padding: var(--space-xl) var(--space-md);
    }

    .service-card__icon {
        width: 56px;
        height: 56px;
        margin-bottom: var(--space-md);
    }

    .service-card__icon svg {
        width: 40px;
        height: 40px;
    }

    /* Page header spacing */
    .page-header {
        padding: var(--space-2xl) 0 var(--space-lg);
    }

    .service-hero {
        padding: var(--space-2xl) 0;
    }

    .service-hero__description {
        font-size: 1rem;
    }

    /* Breadcrumb wrapping */
    .breadcrumb__list {
        flex-wrap: wrap;
    }

    /* Map */
    .map-container {
        height: 280px;
    }

    /* Lease CTA */
    .lease-cta {
        padding: var(--space-2xl) 0;
        text-align: center;
    }

    .lease-cta__content {
        max-width: 100%;
    }

    /* Reason cards */
    .reason-card__image {
        aspect-ratio: 16/9;
    }
}

@media (max-width: 480px) {
    :root {
        --top-bar-height: 28px;
    }

    .container {
        padding: 0 var(--space-md);
    }

    /* Top bar very small screens */
    .top-bar {
        font-size: 0.625rem;
    }

    .top-bar__usps {
        gap: var(--space-sm);
    }

    .hero {
        min-height: 60vh;
    }

    .hero__mascot-group {
        height: 40%;
        max-height: 220px;
        right: 0;
    }

    .hero__badge {
        width: 60px;
        height: 60px;
        left: -10px;
        top: -5px;
    }

    .hero__subtitle {
        max-width: 70%;
    }

    .hero__content .btn {
        font-size: 0.8125rem;
        padding: var(--space-sm) var(--space-lg);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

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

    .stat__number {
        font-size: 2rem;
    }

    .cert-bar__slide {
        gap: var(--space-xl);
        padding: 0 var(--space-xl);
    }

    .cert-bar__slide img {
        height: 36px;
        max-width: 120px;
    }

    /* Buttons full width on small screens */
    .service-cta .btn {
        width: 100%;
    }

    /* Footer spacing */
    .footer-main {
        padding: var(--space-2xl) 0;
    }

    .footer-heading {
        margin-bottom: var(--space-md);
    }

    /* Contact cards */
    .contact-info-card {
        padding: var(--space-lg);
    }

    /* Error page */
    .error-page h1 {
        font-size: 4rem;
    }

    .error-page__mascot {
        width: 130px;
    }

    /* Hide decorative mascots on small screens */
    .footer-cta__mascot,
    .page-header__mascot,
    .service-cta__mascot {
        display: none;
    }

    .footer-mascot {
        width: 100px;
        margin-top: var(--space-lg);
    }

    .lease-cta__mascot {
        max-height: 180px;
        opacity: 0.08;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .cert-bar__track {
        animation: none;
    }

    .hero__mascot-group {
        animation: none;
    }

    .hero__badge {
        animation: none;
    }
}
