/* Variables - Dark & Gold Luxury Theme */
:root {
    --primary-color: #FACC15;
    /* Bright Gold / Yellow */
    --primary-dark: #CA8A04;
    /* Darker Gold */
    --secondary-color: #000000;
    /* Deep Black */
    --accent-color: #FBBF24;
    /* Soft Gold */
    --text-color: #F9FAFB;
    /* Off White */
    --text-light: #9CA3AF;
    /* Light Gray */
    --bg-light: #111827;
    /* Dark Gray */
    --bg-white: #1F2937;
    /* Lighter Dark Gray for cards */
    --bg-dark: #000000;
    /* Pitch Black */

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.6), 0 2px 4px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.8), 0 4px 6px -2px rgba(0, 0, 0, 0.6);

    --border-radius: 8px;
    --border-radius-lg: 16px;

    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-dark);
    /* Entire background is dark */
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-color);
}

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
    /* Actually dark gray */
}

.bg-dark {
    background-color: var(--bg-dark);
    /* Black */
}

.text-white {
    color: #FFFFFF !important;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 1.5rem;
}

/* Typography Utility */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    /* Titles in Gold */
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 1.5rem auto;
}

.slogan-highlight {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 2rem;
    font-style: italic;
    border-left: 3px solid var(--primary-color);
    padding-left: 1rem;
}

.slogan-italic {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-style: italic;
    font-weight: 500;
    margin-bottom: 2rem;
}

.badge {
    display: inline-block;
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-light {
    background: var(--primary-color);
    color: var(--bg-dark);
    border: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--border-radius);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-transform: uppercase;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-dark);
    box-shadow: 0 0 15px rgba(250, 204, 21, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(250, 204, 21, 0.5);
}

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

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

.btn-whatsapp {
    background-color: #FACC15;
    /* Changing whatsapp button to fit theme */
    color: var(--bg-dark);
    box-shadow: 0 0 15px rgba(250, 204, 21, 0.3);
}

.btn-whatsapp:hover {
    background-color: #EAB308;
    transform: translateY(-2px);
}

/* Header */
.header {
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(250, 204, 21, 0.2);
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 56px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    font-size: 2rem;
    color: var(--primary-color);
}

.logo h1 {
    font-size: 1rem;
    margin: 0;
    line-height: 1.1;
    color: var(--primary-color);
    text-transform: uppercase;
}

.logo span {
    font-size: 0.7rem;
    color: var(--text-light);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-menu ul {
    display: flex;
    gap: 16px;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Botón CTA del nav más compacto para el header reducido */
.nav-menu .btn {
    padding: 8px 16px;
    font-size: 0.8rem;
}

/* ============================================================
   HERO SECTION — VIDEO RESPONSIVE
   Estrategia:
   · Desktop (>992px): video cubre 100% pantalla (cover)
   · Tablet (768-992px): video cover centrado
   · Móvil (<768px): hero se adapta al video completo (contain)
     para que el LOGO AL FINAL del video siempre sea visible.
============================================================ */

/* --- DESKTOP BASE --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #000000;
}

.hero-video-wrapper {
    position: absolute;
    inset: 0;                       /* top/right/bottom/left: 0 */
    z-index: 0;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 0.65;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,0.60) 0%,
        rgba(0,0,0,0.18) 45%,
        rgba(0,0,0,0.55) 100%
    );
    pointer-events: none;
}

/* El contenido textual va sobre el overlay */
.hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-color);
    max-width: 800px;
    margin-top: 56px;              /* Evita solapar el header fijo */
}

.hero-badge {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--bg-dark);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 4.5rem;
    color: var(--text-color);
    margin-bottom: 16px;
    line-height: 1.1;
    text-transform: uppercase;
}

.hero-title span {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: #D1D5DB;
}

.hero-slogan {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--primary-color);
    margin-bottom: 32px;
    font-weight: 600;
}

.hero-bullets {
    margin-bottom: 40px;
}

.hero-bullets li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.hero-bullets i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Social Proof */
.social-proof-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.sp-text .section-title {
    text-align: left;
}

.sp-text .section-desc {
    margin-left: 0;
}

.sp-stats {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.stat-card {
    background: transparent;
    padding: 32px;
    border-radius: var(--border-radius);
    border: 1px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateX(10px);
    box-shadow: inset 0 0 15px rgba(250, 204, 21, 0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-top: 8px;
}

/* Servicios Bento Grid */
.servicios-bento {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.servicio-card {
    background: var(--bg-dark);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(250, 204, 21, 0.3);
}

.servicio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(250, 204, 21, 0.2);
    border-color: var(--primary-color);
}

.servicio-icon {
    width: 60px;
    height: 60px;
    background-color: transparent;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 3rem;
    margin-bottom: 24px;
}

.servicio-tag {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 0.75rem;
    font-weight: 600;
    background: transparent;
    border: 1px solid var(--primary-color);
    padding: 4px 12px;
    border-radius: 50px;
    color: var(--primary-color);
}

.servicio-card h4 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-color);
}

.servicio-card p {
    color: var(--text-light);
    font-size: 1rem;
}

/* Tarifas */
.formula-box {
    background: rgba(250, 204, 21, 0.05);
    border: 1px solid var(--primary-color);
    padding: 24px;
    border-radius: var(--border-radius);
    margin: 32px auto;
    max-width: 800px;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--primary-color);
}

.table-responsive {
    overflow-x: auto;
    margin-top: 40px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(250, 204, 21, 0.2);
}

.tarifas-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-light);
    min-width: 900px;
}

.tarifas-table th,
.tarifas-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tarifas-table th {
    background-color: var(--bg-dark);
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    border-bottom: 2px solid var(--primary-color);
}

.tarifas-table .highlight-col {
    background-color: rgba(250, 204, 21, 0.05);
    font-weight: 700;
    color: var(--primary-color);
}

.tarifas-table th.highlight-col {
    background-color: var(--primary-color);
    color: var(--bg-dark);
}

.nota-tarifas {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 16px;
    text-align: center;
}

/* Flota */
.flota-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 48px;
}

.flota-card {
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid rgba(250, 204, 21, 0.2);
    transition: var(--transition);
}

.flota-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(250, 204, 21, 0.15);
    border-color: var(--primary-color);
}

.flota-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    filter: brightness(0.9) contrast(1.1);
}

.flota-content {
    padding: 32px;
}

.flota-content h4 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.flota-specs {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    color: var(--text-color);
    font-weight: 600;
}

.flota-specs span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.flota-specs i {
    color: var(--primary-color);
}

.flota-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.flota-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
}

.flota-features i {
    color: var(--primary-color);
}

/* Objetos Olvidados */
.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.step {
    text-align: center;
    padding: 40px 24px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    border: 1px solid rgba(250, 204, 21, 0.2);
    position: relative;
    z-index: 1;
}

.step-number {
    width: 64px;
    height: 64px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
}

.step h4 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-color);
}

.step p {
    color: var(--text-light);
}

/* Testimoniales */
.testimoniales-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.testimonial-card {
    background: transparent;
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(250, 204, 21, 0.3);
    position: relative;
}

.quote-icon {
    position: absolute;
    top: -20px;
    left: 40px;
    width: 48px;
    height: 48px;
    background: var(--bg-dark);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    font-size: 3rem;
    font-family: serif;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.testimonio-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-top: 16px;
    margin-bottom: 24px;
    color: var(--text-color);
}

.testimonio-author {
    border-top: 1px solid rgba(250, 204, 21, 0.2);
    padding-top: 16px;
    display: flex;
    flex-direction: column;
}

.testimonio-author strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.testimonio-author span {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Ubicacion */
.ubicacion-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid rgba(250, 204, 21, 0.2);
}

.ubicacion-info {
    padding: 48px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
}

.contact-item i {
    color: var(--primary-color);
    font-size: 2rem;
}

.ubicacion-map {
    min-height: 400px;
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    border-top: 1px solid rgba(250, 204, 21, 0.2);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo h2 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--primary-color);
}

.footer-brand p {
    margin-top: 16px;
    color: var(--text-light);
}

.footer h4 {
    color: var(--text-color);
    font-size: 1.25rem;
    margin-bottom: 24px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.footer-contact p {
    margin-bottom: 12px;
    color: var(--text-light);
}

.footer-bottom {
    border-top: 1px solid rgba(250, 204, 21, 0.1);
    padding: 24px 0;
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   RESPONSIVE MEDIA QUERIES
============================================================ */

/* ===== TABLET (max 992px) ===== */
@media (max-width: 992px) {

    .social-proof-grid,
    .flota-grid,
    .ubicacion-grid {
        grid-template-columns: 1fr;
    }

    .sp-stats {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .stat-card {
        flex: 1;
        min-width: 200px;
    }

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

    .steps-container,
    .testimoniales-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

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

    /* VIDEO HERO – TABLET
       Mantiene cover pero con opacidad un poco mayor */
    .hero {
        min-height: 100svh;
    }

    .hero-video {
        object-fit: cover;
        object-position: center center;
        opacity: 0.68;
    }
}

/* ===== MÓVIL (max 768px) ===== */
@media (max-width: 768px) {

    /* Nav */
    .nav-menu {
        position: absolute;
        top: 56px;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 24px;
        border-bottom: 1px solid rgba(250, 204, 21, 0.2);
        display: none;
    }
    .nav-menu.active  { display: flex; }
    .nav-menu ul      { flex-direction: column; text-align: center; width: 100%; }
    .nav-menu .btn    { width: 100%; }
    .mobile-menu-btn  { display: block; }

    /* General */
    .section-title    { font-size: 2rem; }
    .sp-stats         { flex-direction: column; }
    .ubicacion-map    { min-height: 300px; }
    .hero-ctas        { flex-direction: column; }
    .btn              { width: 100%; }

    /* -----------------------------------------------------------
       VIDEO HERO – MÓVIL
       En móvil el hero deja de tener altura fija.
       El video se muestra SIN recortar (contain) dentro de un
       wrapper que ocupa el 100% de la pantalla. El fondo negro
       rellena las franjas laterales. El logo final del video
       siempre es visible.
    ----------------------------------------------------------- */
    .hero {
        /* Altura mínima = alto de pantalla en móvil real */
        min-height: 100svh;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding-top: 0;
    }

    /* El wrapper ocupa toda la pantalla */
    .hero-video-wrapper {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #000000;
        overflow: hidden;
    }

    /* Video: contain = sin recortes, el logo siempre visible */
    .hero-video {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center center;
        opacity: 0.80;
    }

    /* Overlay más suave para no tapar el logo al final */
    .hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(0,0,0,0.55) 0%,
            rgba(0,0,0,0.08) 30%,
            rgba(0,0,0,0.08) 70%,
            rgba(0,0,0,0.55) 100%
        );
    }

    /* Contenido textual: en la parte superior sobre el video */
    .hero-content {
        position: relative;
        z-index: 2;
        margin-top: 68px;
        padding: 0 16px 32px;
    }

    .hero-title        { font-size: 2.2rem; }
    .hero-subtitle,
    .hero-slogan       { font-size: 1rem; }
    .hero-bullets li   { font-size: 0.95rem; }
}

/* ===== MÓVIL PEQUEÑO (max 480px) ===== */
@media (max-width: 480px) {

    .hero-title   { font-size: 1.75rem; }
    .hero-subtitle,
    .hero-slogan  { font-size: 0.9rem; }

    .hero-video {
        object-fit: contain;   /* Sigue mostrando el video completo */
        opacity: 0.80;
    }

    .hero-bullets         { margin-bottom: 20px; }
    .hero-bullets li      { font-size: 0.875rem; gap: 8px; }
    .hero-bullets i       { font-size: 1.2rem; }
    .hero-slogan          { margin-bottom: 16px; }
}