/* ==========================================================================
   ASISTE CONTRAINCENDIOS - CORE STYLES
   ========================================================================== */

/* --- CSS VARIABLES --- */
:root {
    /* Colors */
    --color-background: #121414;
    --color-surface: #1a1c1c;
    --color-surface-high: #282a2b;
    --color-surface-lowest: #0c0f0f;
    --color-on-background: #e2e2e2;
    --color-on-surface-variant: #c4c7c7;
    --color-primary: #c9c6c5;
    --color-secondary: #fe6400; /* Logo Orange */
    --color-secondary-container: #0001f1; /* Logo Blue */
    
    /* Typography */
    --font-headline: 'metropolis', sans-serif;
    --font-body: 'metropolis', sans-serif;
    --font-label: 'geist', monospace;
    
    /* Spacing & Sizes */
    --container-max: 1280px;
    --px-mobile: 20px;
    --px-desktop: 64px;
    
    /* Effects */
    --glass-bg: rgba(26, 26, 26, 0.6);
    --glass-border: rgba(255, 255, 255, 0.05);
}

/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    background-color: var(--color-background);
    color: white;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
}

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

/* --- UTILITIES --- */
.nav-container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--px-mobile);
}
@media (min-width: 768px) {
    .nav-container {
        padding: 0 var(--px-desktop);
    }
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.red-glow-hover {
    transition: box-shadow 0.5s ease;
}
.red-glow-hover:hover {
    box-shadow: 0 0 20px rgba(0, 1, 241, 0.3);
}

.technical-line {
    background: linear-gradient(90deg, transparent 0%, #0001f1 50%, transparent 100%);
    height: 1px;
    width: 100%;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 24;
}

/* --- HEADER --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    background: transparent;
    border-bottom: none;
    box-shadow: none;
    height: 80px; /* Mobile header height */
    transition: all 0.5s ease;
}
.main-header.scrolled {
    height: 70px; /* Mobile scrolled header height */
    background: rgba(18, 20, 20, 0.95);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.55);
}
@media (min-width: 768px) {
    .main-header {
        height: 120px; /* Desktop header height */
    }
    .main-header.scrolled {
        height: 80px; /* Desktop scrolled header height */
    }
}
.main-header .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
.logo-link {
    display: flex;
    align-items: center;
    height: 100%;
    flex-shrink: 0; /* Prevent logo from being squished in flex row */
}
.logo-img {
    height: 50px; /* Mobile initial logo height (larger when transparent) */
    width: 158px; /* Explicit width prevents layout squishing */
    object-fit: contain;
    transition: all 0.5s ease;
    filter: drop-shadow(0px 2px 8px rgba(0,0,0,0.9)) drop-shadow(0px 0px 16px rgba(0,0,0,0.7));
}
.main-header.scrolled .logo-img {
    height: 32px; /* Mobile scrolled logo height */
    width: 101px;
    filter: brightness(0) invert(1);
}
@media (min-width: 768px) {
    .logo-img {
        height: 76px; /* Desktop initial logo height (larger when transparent) */
        width: 239px;
    }
    .main-header.scrolled .logo-img {
        height: 42px; /* Desktop scrolled logo height */
        width: 132px;
    }
}
.menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0; /* Protect menu button from being squished to zero width */
    padding: 8px; /* Optimize tap target for mobile */
    background: transparent;
    border: none;
    cursor: pointer;
}
.menu-icon {
    color: white;
    font-size: 32px; /* Clean, balanced scale for mobile */
    transition: color 0.3s ease;
    display: block;
    filter: drop-shadow(0px 2px 6px rgba(0, 0, 0, 0.9)) drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.6));
}
@media (min-width: 768px) {
    .menu-icon {
        font-size: 36px; /* Balanced scale for desktop */
    }
}
.menu-btn:hover .menu-icon {
    color: var(--color-secondary);
}

/* --- NAV DRAWER --- */
.drawer-wrapper {
    position: fixed;
    inset: 0;
    z-index: 60;
    transition: opacity 0.5s ease;
    overflow: hidden; /* Prevents drawer panel translation from causing mobile overflow */
}
.drawer-wrapper.hidden {
    display: none;
}
.drawer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(18, 20, 20, 0.6);
    backdrop-filter: blur(12px);
    opacity: 1;
    transition: opacity 0.5s ease;
    cursor: pointer;
}
.drawer-wrapper.fade-out .drawer-overlay {
    opacity: 0;
}
.drawer-panel {
    position: fixed;
    right: 0;
    top: 0;
    height: 100%;
    width: 100%;
    max-width: 450px;
    background: rgba(12, 15, 15, 0.95);
    backdrop-filter: blur(60px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: -25px 0 50px rgba(0, 0, 0, 0.5);
    transform: translateX(0);
    transition: transform 0.5s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 48px 32px 32px 32px;
    z-index: 10;
    overflow-y: hidden;
}
@media (min-width: 640px) {
    .drawer-panel {
        padding: 56px 48px 40px 48px;
    }
}
.drawer-panel.hidden-panel {
    transform: translateX(100%);
}
.close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    color: var(--color-on-surface-variant);
    transition: color 0.3s ease;
}
.close-btn:hover {
    color: var(--color-secondary);
}
.close-btn span {
    font-size: 30px;
}
.drawer-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}
.drawer-nav-section {
    margin-top: 16px;
}
.drawer-title {
    font-family: var(--font-label);
    font-size: 13px;
    font-weight: 700;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
}
.drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}
.drawer-link {
    color: var(--color-on-surface-variant);
    font-family: var(--font-headline);
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}
.drawer-link:hover, .drawer-link:first-child {
    color: white;
}
.drawer-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    padding-bottom: 24px;
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.emergency-badge {
    display: flex;
    align-items: center;
    gap: 12px;
}
.pulse-dot {
    width: 12px;
    height: 12px;
    background-color: var(--color-secondary);
    border-radius: 50%;
    animation: simple-pulse 2s infinite;
}
@keyframes simple-pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}
.emergency-text {
    font-family: var(--font-label);
    font-size: 14px;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}
.emergency-phone {
    font-family: var(--font-headline);
    font-size: 24px;
    font-weight: 900;
    color: white;
    transition: color 0.3s ease;
}
.emergency-phone:hover {
    color: var(--color-secondary);
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #121414;
    padding: 120px 0 60px 0;
}
.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.overlay-gradient-top {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 25%, transparent 50%);
    z-index: 10;
}
.overlay-gradient-r {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--color-background), rgba(18,20,20,0.6), transparent);
    z-index: 10;
}
.overlay-gradient-t {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 50%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.2) 30%, rgba(0,0,0,0.7) 70%, #000000 100%);
    z-index: 10;
}
.overlay-radial {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0,1,241,0.15), transparent 50%);
    z-index: 10;
}
.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-content {
    position: relative;
    z-index: 20;
    padding-top: 40px;
}
@media (min-width: 768px) {
    .hero-content {
        padding-top: 80px;
    }
}
.hero-text-box {
    max-width: 768px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.hero-subtitle-box {
    display: flex;
    align-items: center;
    gap: 16px;
    animation: fadeIn 1s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-line {
    width: 48px;
    height: 1px;
    background-color: var(--color-secondary);
}
.hero-subtitle {
    font-family: var(--font-label);
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 14px;
}
.hero-title {
    font-family: var(--font-headline);
    font-size: 36px;
    line-height: 1.1;
    color: white;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    font-weight: 700;
}
@media (min-width: 768px) {
    .hero-title {
        font-size: clamp(48px, 6vw, 72px);
    }
}
.highlight-text {
    color: var(--color-secondary);
}
.hero-description {
    font-size: 18px;
    color: var(--color-on-surface-variant);
    max-width: 600px;
    border-left: 2px solid rgba(254, 100, 0, 0.3);
    padding-left: 24px;
}
.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 16px;
}
@media (min-width: 640px) {
    .hero-actions {
        flex-direction: row;
    }
}
.btn-primary {
    background-color: var(--color-secondary-container);
    color: white;
    padding: 20px 40px;
    font-family: var(--font-label);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    box-shadow: 0 0 30px rgba(0,1,241,0.3);
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
}
.btn-primary:hover {
    background-color: #0000a0;
    box-shadow: 0 0 40px rgba(0,1,241,0.5);
    transform: translateY(-2px);
}
.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 20px 40px;
    font-family: var(--font-label);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}
.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255,255,255,0.4);
}
.icon-phone {
    transition: transform 0.3s ease;
    display: inline-block;
}
.btn-primary:hover .icon-phone {
    animation: phone-ring 0.6s ease-in-out infinite;
}
@keyframes phone-ring {
    0% { transform: rotate(0deg) scale(1); }
    15% { transform: rotate(-15deg) scale(1.1); }
    30% { transform: rotate(15deg) scale(1.1); }
    45% { transform: rotate(-15deg) scale(1.1); }
    60% { transform: rotate(15deg) scale(1.1); }
    75% { transform: rotate(0deg) scale(1); }
    100% { transform: rotate(0deg) scale(1); }
}
.btn-secondary {
    color: white;
    padding: 20px 40px;
    font-family: var(--font-label);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
}
.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* --- SERVICES --- */
.services-section {
    padding: 350px 0 128px;
    background-color: var(--color-background);
    position: relative;
}
.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(to bottom, #000000 0%, rgba(0,0,0,0.8) 25%, rgba(0,0,0,0.3) 65%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}
.services-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 80px;
    gap: 32px;
}
@media (min-width: 768px) {
    .services-header {
        flex-direction: row;
    }
}
.services-title-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.section-title {
    font-family: var(--font-headline);
    font-size: 32px;
    color: white;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}
@media (min-width: 768px) {
    .section-title {
        font-size: 40px;
    }
}
.section-description {
    color: var(--color-on-surface-variant);
    max-width: 500px;
}
.view-all-link {
    font-family: var(--font-label);
    color: var(--color-secondary);
    border-bottom: 1px solid var(--color-secondary);
    padding-bottom: 4px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
}
.view-all-link:hover {
    color: white;
    border-color: white;
}

/* --- SERVICES CAROUSEL --- */
.services-nav-arrows {
    display: flex;
    gap: 12px;
}
.carousel-arrow {
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.03);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 2px;
}
.carousel-arrow:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    transform: scale(1.05);
}
.carousel-arrow .material-symbols-outlined {
    font-size: 28px;
}
.services-carousel {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}
.services-carousel:active {
    cursor: grabbing;
}
.services-carousel::-webkit-scrollbar {
    display: none;
}
.services-track {
    display: flex;
    gap: 24px;
    padding: 0 max(var(--px-mobile), calc((100vw - var(--container-max)) / 2 + var(--px-mobile)));
    padding-bottom: 8px;
}
@media (min-width: 768px) {
    .services-track {
        padding: 0 max(var(--px-desktop), calc((100vw - var(--container-max)) / 2 + var(--px-desktop)));
    }
}
.service-card {
    position: relative;
    flex: 0 0 calc(100vw - 48px);
    height: 480px;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
@media (min-width: 768px) {
    .service-card {
        flex: 0 0 420px;
        height: 560px;
    }
}
.service-card-img-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.service-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.7s ease;
    filter: brightness(0.7) saturate(0.9);
}
.service-card:hover .service-card-img {
    transform: scale(1.08);
    filter: brightness(0.5) saturate(1.1);
}
.service-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.95) 0%,
        rgba(0,0,0,0.6) 35%,
        rgba(0,0,0,0.1) 60%,
        transparent 100%
    );
    transition: background 0.5s ease;
}
.service-card:hover .service-card-overlay {
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.98) 0%,
        rgba(0,0,0,0.7) 40%,
        rgba(0,0,0,0.2) 65%,
        transparent 100%
    );
}
.service-card-content {
    position: relative;
    z-index: 2;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.service-card-number {
    font-family: var(--font-headline);
    font-size: 14px;
    color: var(--color-secondary);
    letter-spacing: 0.2em;
    font-weight: 700;
    opacity: 0.8;
}
.service-card-title {
    font-family: var(--font-headline);
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.2;
    color: white;
}
.service-card-desc {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.65);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.4s ease, margin 0.4s ease;
    margin-top: 0;
}
.service-card:hover .service-card-desc {
    max-height: 100px;
    opacity: 1;
    margin-top: 4px;
}
.service-card-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-label);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-secondary);
    margin-top: 8px;
    transform: translateY(10px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}
.service-card:hover .service-card-cta {
    transform: translateY(0);
    opacity: 1;
}
.service-card-cta .material-symbols-outlined {
    font-size: 18px;
    transition: transform 0.3s ease;
}
.service-card:hover .service-card-cta .material-symbols-outlined {
    transform: translateX(6px);
}
/* Orange accent line on top of card */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--color-secondary), var(--color-secondary-container));
    z-index: 3;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.service-card:hover::before {
    transform: scaleX(1);
}

/* Services footer with progress and CTA */
.services-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    margin-top: 56px;
}
@media (min-width: 768px) {
    .services-footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}
/* Carousel dot indicators */
.carousel-dots {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
    flex: 1;
    max-width: 480px;
}
.carousel-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
    position: relative;
    z-index: 2;
    cursor: pointer;
    transition: all 0.3s ease;
}
.carousel-dot:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 14px;
    left: 50%;
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.1);
    z-index: 1;
    transition: background 0.4s ease;
}
.dot-flame {
    font-size: 20px;
    color: rgba(255,255,255,0.15);
    transition: color 0.4s ease, transform 0.4s ease, filter 0.4s ease;
    font-variation-settings: 'FILL' 1;
    position: relative;
    z-index: 2;
}
.dot-num {
    font-family: var(--font-label);
    font-size: 10px;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.2);
    transition: color 0.4s ease;
}
/* Active state */
.carousel-dot.active .dot-flame {
    color: var(--color-secondary);
    transform: scale(1.3) translateY(-2px);
    filter: drop-shadow(0 0 8px rgba(254,100,0,0.7));
}
.carousel-dot.active .dot-num {
    color: var(--color-secondary);
}
/* Line that fills up to active dot */
.carousel-dot-line {
    display: none;
}
/* Hover state on non-active dots */
.carousel-dot:not(.active):hover .dot-flame {
    color: rgba(255,255,255,0.4);
    transform: scale(1.1);
}
.services-all-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    flex-shrink: 0;
}
.services-all-btn .material-symbols-outlined {
    font-size: 20px;
    transition: transform 0.3s ease;
}
.services-all-btn:hover .material-symbols-outlined {
    transform: translateX(6px);
}

/* --- TIMELINE --- */
.timeline-section {
    padding: 128px 0;
    background-color: white;
}
.timeline-section .section-title {
    color: #121414;
}
.timeline-header {
    text-align: center;
    margin-bottom: 96px;
}
.center-line {
    max-width: 320px;
    margin: 16px auto 0;
}
.timeline-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    position: relative;
}
@media (min-width: 768px) {
    .timeline-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}
.connector-line {
    display: none;
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 0;
}
@media (min-width: 768px) {
    .connector-line {
        display: block;
    }
}
.timeline-item {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
}
.timeline-number {
    width: 80px;
    height: 80px;
    background-color: var(--color-surface-high);
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-headline);
    font-size: 24px;
    color: white;
}
.timeline-number.highlight-number {
    background-color: var(--color-secondary-container);
    border-color: var(--color-secondary-container);
    box-shadow: 0 0 20px rgba(230, 0, 0, 0.4);
}
.timeline-title {
    font-family: var(--font-label);
    font-weight: 700;
    color: #121414;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.timeline-title.highlight-title {
    color: var(--color-secondary);
}
.timeline-desc {
    font-size: 14px;
    color: #2b2b2b;
}
.timeline-subtext {
    font-size: 12px;
    color: #555555;
    margin-top: 4px;
    display: block;
    line-height: 1.4;
}


/* --- ABOUT SECTION --- */
.about-section {
    padding: 350px 0 350px;
    background: linear-gradient(to bottom, transparent calc(100% - 250px), #000000 100%), var(--color-surface);
    position: relative;
    overflow: hidden;
}
.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(to bottom, #000000 0%, rgba(0,0,0,0.8) 25%, rgba(0,0,0,0.3) 65%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}
/* Subtle background texture glow */
.about-section::after {
    content: '';
    position: absolute;
    bottom: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(254,100,0,0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}
@media (min-width: 992px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
}
/* LEFT: Text block */
.about-text {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.about-lead {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-on-surface-variant);
    max-width: 520px;
}
.about-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.about-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-on-surface-variant);
    font-size: 15px;
}
.about-feature-item .material-symbols-outlined {
    color: var(--color-secondary);
    font-size: 20px;
    flex-shrink: 0;
    font-variation-settings: 'FILL' 1;
}
/* Stats row */
.about-stats-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 8px;
}
.about-stat {
    text-align: center;
    padding: 24px 16px;
    background: rgba(255,255,255,0.02);
    border-right: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.about-stat:last-child {
    border-right: none;
}
.stat-number {
    font-family: var(--font-headline);
    font-size: 36px;
    color: white;
    letter-spacing: -0.05em;
    font-weight: 700;
}
.stat-label {
    font-family: var(--font-label);
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 12px;
}
/* RIGHT: Image block */
.about-image-block {
    position: relative;
}
.about-img-frame {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}
.about-img-frame::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: 50%;
    bottom: 50%;
    border-top: 2px solid var(--color-secondary);
    border-left: 2px solid var(--color-secondary);
    z-index: 10;
    pointer-events: none;
}
.about-img-frame::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    right: -2px;
    bottom: -2px;
    border-bottom: 2px solid var(--color-secondary-container);
    border-right: 2px solid var(--color-secondary-container);
    z-index: 10;
    pointer-events: none;
}
.about-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
    filter: grayscale(20%) contrast(1.05);
    transition: filter 0.7s ease, transform 0.7s ease;
}
.about-img-frame:hover .about-img {
    filter: grayscale(0%) contrast(1.1);
    transform: scale(1.03);
}

/* --- REVIEWS --- */
.reviews-section {
    padding: 128px 0 350px;
    background: linear-gradient(to bottom, transparent calc(100% - 250px), #000000 100%), var(--color-background);
    position: relative;
    overflow: hidden;
}

/* Radial glow accent */
.reviews-section::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(254,100,0,0.04) 0%, transparent 70%);
    pointer-events: none;
}

/* Header */
.reviews-header {
    display: flex;
    flex-direction: column;
    gap: 48px;
    margin-bottom: 80px;
    align-items: flex-start;
}
@media (min-width: 900px) {
    .reviews-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}
.reviews-header-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 560px;
}

/* Rating Badge */
.reviews-rating-badge {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px 36px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(20px);
    flex-shrink: 0;
    position: relative;
}
.reviews-rating-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, var(--color-secondary), var(--color-secondary-container));
}
.rating-score {
    font-family: var(--font-headline);
    font-size: 64px;
    font-weight: 700;
    color: white;
    line-height: 1;
    letter-spacing: -0.04em;
}
.rating-detail {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.rating-stars-row {
    display: flex;
    gap: 3px;
    color: #FFD700;
}
.rating-stars-row .material-symbols-outlined {
    font-size: 18px;
    font-variation-settings: 'FILL' 1;
}
.rating-count {
    font-family: var(--font-label);
    font-size: 12px;
    color: var(--color-on-surface-variant);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.rating-source {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-label);
    font-size: 12px;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.rating-source-icon {
    font-size: 16px;
    font-variation-settings: 'FILL' 1;
    color: var(--color-secondary);
}

/* Marquee container -> now scrollable carousel */
.reviews-carousel {
    position: relative;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    margin-bottom: 24px;
}
.reviews-carousel:active {
    cursor: grabbing;
}
.reviews-carousel::-webkit-scrollbar {
    display: none;
}

/* Edge fade masks */
.reviews-section::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 180px;
    background: linear-gradient(to left, var(--color-background), transparent);
    z-index: 10;
    pointer-events: none;
}

.reviews-track {
    display: flex;
    gap: 24px;
    padding: 16px max(24px, calc((100vw - var(--container-max)) / 2 + var(--px-desktop)));
    width: max-content;
}

/* Review Card */
.review-card {
    width: 360px;
    flex-shrink: 0;
    padding: 32px 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    border-radius: 2px;
    /* Optional: prevent text selection while dragging */
    user-select: none;
}
.review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
/* Featured variant with orange top accent */
.review-card--featured {
    border-top: 2px solid var(--color-secondary);
    background: rgba(254, 100, 0, 0.04);
}

/* Top row: stars + Google tag */
.review-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.review-stars {
    color: #FFD700;
    display: flex;
    gap: 3px;
}
.review-stars .material-symbols-outlined {
    font-size: 16px;
    font-variation-settings: 'FILL' 1;
}
.review-google-tag {
    font-family: var(--font-label);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.35);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 3px 8px;
    border-radius: 2px;
}

.review-text {
    color: var(--color-on-surface-variant);
    font-style: italic;
    line-height: 1.65;
    flex-grow: 1;
    font-size: 14px;
}
.review-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.author-avatar {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    flex-shrink: 0;
}
.author-avatar .material-symbols-outlined {
    font-size: 20px;
}
.author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.author-name {
    color: white;
    font-weight: 700;
    font-family: var(--font-label);
    font-size: 13px;
    letter-spacing: 0.02em;
}
.author-role {
    color: var(--color-on-surface-variant);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
/* Legacy classes kept for compatibility */
.center-block {
    margin: 16px auto 0;
}

/* --- INFO SECTION (SCHEDULE & MAP) --- */
.info-section {
    padding: 350px 0 250px;
    background: linear-gradient(to bottom, transparent calc(100% - 250px), var(--color-surface-lowest) 100%), var(--color-surface);
    position: relative;
}
.info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(to bottom, #000000 0%, rgba(0,0,0,0.8) 25%, rgba(0,0,0,0.3) 65%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}
.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
@media (min-width: 992px) {
    .info-grid {
        grid-template-columns: 1fr 1.5fr;
    }
}
.schedule-box {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}
@media (min-width: 768px) {
    .schedule-box {
        padding: 48px;
    }
}
.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.schedule-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.info-icon-box {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.info-icon-box.highlight-box {
    background: rgba(254, 100, 0, 0.1);
}
.info-icon {
    color: white;
}
.info-icon.highlight-icon {
    color: var(--color-secondary);
}
.schedule-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.schedule-days {
    color: var(--color-on-surface-variant);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.schedule-hours {
    color: white;
    font-weight: 700;
    font-family: var(--font-headline);
    font-size: 20px;
    transition: color 0.3s ease;
}
a.schedule-hours:hover {
    color: var(--color-secondary);
}
.mt-4 {
    margin-top: 16px;
}
.map-container {
    height: 400px;
    padding: 0;
    overflow: hidden;
}
@media (min-width: 992px) {
    .map-container {
        height: 100%;
    }
}


/* --- FOOTER --- */
.main-footer {
    background-color: var(--color-surface-lowest);
    padding: 96px 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
    margin-bottom: 80px;
}
@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
    .footer-links-col:last-child {
        justify-self: end;
        align-items: flex-end;
        text-align: right;
    }
}
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.brand-header {
    display: flex;
    align-items: center;
    gap: 16px;
}
.footer-logo {
    height: 64px;
    width: auto;
}
.brand-name {
    font-family: var(--font-headline);
    font-size: 24px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: -0.05em;
}
.brand-desc {
    font-size: 14px;
    color: var(--color-on-surface-variant);
    line-height: 1.6;
}
.footer-links-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.footer-title {
    font-family: var(--font-label);
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 8px;
}
.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-link {
    color: var(--color-on-surface-variant);
    font-size: 14px;
    transition: color 0.3s ease;
}
.footer-link:hover {
    color: var(--color-secondary);
}
.footer-bottom {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    gap: 24px;
}
@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}
.copyright {
    font-family: var(--font-label);
    font-size: 12px;
    color: rgba(196, 199, 199, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.social-links {
    display: flex;
    gap: 24px;
}
.social-link {
    color: rgba(196, 199, 199, 0.6);
    transition: color 0.3s ease;
}
.social-link:hover {
    color: var(--color-secondary);
}

/* ==========================================================================
   MAP PLACEHOLDER (COOKIE CONSENT)
   ========================================================================== */
.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(18, 20, 20, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: center;
    padding: 24px;
    gap: 16px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}
.map-placeholder .material-symbols-outlined {
    font-size: 48px;
    color: var(--color-on-surface-variant);
    opacity: 0.5;
}
.map-placeholder p {
    color: var(--color-on-background);
    max-width: 400px;
    font-size: 15px;
    line-height: 1.5;
}

/* ==========================================================================
   COOKIE BANNER
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(18, 20, 20, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    padding: 24px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.cookie-banner.show {
    transform: translateY(0);
}
.cookie-banner.hidden {
    display: none;
}
.cookie-content {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}
.cookie-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}
.cookie-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}
.cookie-link {
    color: var(--color-secondary);
    font-size: 14px;
    text-decoration: underline;
}
@media (min-width: 768px) {
    .cookie-content {
        flex-direction: row;
        justify-content: space-between;
    }
    .cookie-content p {
        text-align: left;
    }
}
