

/* ============================= */
/* VARIABLES GENERALES */
/* ============================= */

:root {
    --black: #050505;
    --black-2: #0c0c0c;
    --dark: #111111;
    --dark-card: #151515;
    --orange: #ff7a00;
    --orange-2: #ff9a25;
    --white: #ffffff;
    --gray: #d4d4d4;
    --gray-2: #9b9b9b;
    --border: rgba(255, 122, 0, 0.35);
}

/* ============================= */
/* RESET BÁSICO */
/* ============================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* ============================= */
/* CONTENEDOR PRINCIPAL */
/* ============================= */

.site-wrapper {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 75% 20%, rgba(255, 122, 0, 0.18), transparent 30%),
        linear-gradient(90deg, #020202 0%, #080808 35%, #111 100%);
}

/* Efecto oscuro sobre todo el fondo */
.site-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.65) 38%, rgba(0,0,0,0.22) 100%),
        linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.9) 95%);
    z-index: 1;
    pointer-events: none;
}

/* Todo el contenido queda encima del overlay */
.main-header,
.hero-section,
.models-section {
    position: relative;
    z-index: 2;
}

/* ============================= */
/* DECORACIÓN DE PUNTOS */
/* ============================= */

.decor {
    position: absolute;
    width: 130px;
    height: 260px;
    background-image: radial-gradient(var(--orange) 1.3px, transparent 1.3px);
    background-size: 18px 18px;
    opacity: 0.55;
    z-index: 2;
}

.decor-left {
    top: 25px;
    left: 0;
}

.decor-right {
    right: 0;
    bottom: 25px;
}

/* ============================= */
/* HEADER */
/* ============================= */

.main-header {
    width: 100%;
    height: 120px;
    padding: 24px 56px;
    display: grid;
    grid-template-columns: 260px 1fr auto;
    align-items: center;
    gap: 35px;
}

/* Logo */
.brand-area {
    display: flex;
    align-items: center;
    gap: 18px;
    border-right: 2px solid rgba(255, 122, 0, 0.7);
    padding-right: 28px;
}

.brand-logo {
    width: 92px;
    height: auto;
    object-fit: contain;
}

.brand-text h1 {
    font-family: 'Anton', sans-serif;
    color: var(--orange);
    font-size: 34px;
    letter-spacing: 1px;
    line-height: 1;
}

.brand-text p {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--white);
    line-height: 1.4;
}

/* Menú */
.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 46px;
}

.main-nav a {
    position: relative;
    text-transform: uppercase;
    font-family: 'Anton', sans-serif;
    font-size: 20px;
    letter-spacing: 1.7px;
    color: var(--white);
    transition: 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--orange);
}

.main-nav a.active::after {
    content: "";
    position: absolute;
    width: 48px;
    height: 3px;
    background: var(--orange);
    left: 0;
    bottom: -18px;
    border-radius: 10px;
}

/* Botón superior WhatsApp */
.quote-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid var(--orange);
    color: var(--orange);
    padding: 12px 24px;
    border-radius: 40px;
    font-family: 'Anton', sans-serif;
    font-size: 18px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: 0.3s ease;
}

.quote-btn i {
    font-size: 24px;
}

.quote-btn:hover {
    background: var(--orange);
    color: #000;
    box-shadow: 0 0 25px rgba(255, 122, 0, 0.45);
}

/* Botón celular */
.menu-toggle {
    display: none;
    background: transparent;
    color: var(--orange);
    border: none;
    font-size: 34px;
    cursor: pointer;
}

/* ============================= */
/* HERO */
/* ============================= */

.hero-section {
    min-height: 560px;
    display: grid;
    grid-template-columns: 34% 66%;
    align-items: center;
    padding: 20px 56px 0;
}

/* Indicadores del lado izquierdo */
.hero-dots {
    position: absolute;
    left: 28px;
    top: 42%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-dots span {
    width: 14px;
    height: 14px;
    background: #777;
    border-radius: 50%;
}

.hero-dots span.active {
    background: var(--orange);
    box-shadow: 0 0 15px rgba(255, 122, 0, 0.7);
}

/* Texto principal */
.hero-content {
    max-width: 560px;
    padding-left: 34px;
}

.separator-line {
    width: 300px;
    height: 3px;
    background: var(--orange);
    margin-bottom: 22px;
    box-shadow: 0 0 18px rgba(255, 122, 0, 0.7);
}

.hero-content h2 {
    font-family: 'Anton', sans-serif;
    text-transform: uppercase;
    font-size: clamp(54px, 6.6vw, 118px);
    line-height: 0.93;
    letter-spacing: 2px;
    color: var(--white);
}

.hero-content h2 span {
    display: block;
    color: var(--orange);
}

.hero-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(30px, 3vw, 58px);
    color: var(--white);
    margin: 10px 0 8px;
    position: relative;
}

.hero-content h3::after {
    content: "";
    display: block;
    width: 360px;
    height: 3px;
    background: var(--orange);
    margin-top: 8px;
    box-shadow: 0 0 18px rgba(255, 122, 0, 0.7);
}

.hero-content p {
    font-size: clamp(17px, 1.3vw, 24px);
    line-height: 1.4;
    color: var(--white);
    max-width: 520px;
    margin: 20px 0 28px;
}

.hero-content p strong {
    color: var(--orange);
}

/* Botón principal */
.main-cta {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    background: linear-gradient(90deg, var(--orange), var(--orange-2));
    color: #111;
    padding: 16px 12px 16px 34px;
    border-radius: 50px;
    font-family: 'Anton', sans-serif;
    font-size: clamp(17px, 1.5vw, 25px);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s ease;
}

.main-cta span {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #050505;
    color: var(--white);
    display: grid;
    place-items: center;
    border: 2px solid var(--orange);
}

.main-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 35px rgba(255, 122, 0, 0.55);
}

/* Imagen principal */
.hero-image {
    position: relative;
    height: 590px;
    overflow: hidden;
    border-radius: 4px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Oscurece un poco la imagen para mezclar con el diseño */
.hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,0.45), transparent 35%),
        linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.65));
}

/* ============================= */
/* SECCIÓN MODELOS */
/* ============================= */

.models-section {
    padding: 0 48px 34px;
    margin-top: -8px;
}

/* Título modelos */
.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin-bottom: -2px;
}

.section-title span {
    width: 180px;
    height: 3px;
    background: var(--orange);
    box-shadow: 0 0 20px rgba(255, 122, 0, 0.95);
}

.section-title h2 {
    font-family: 'Anton', sans-serif;
    text-transform: uppercase;
    letter-spacing: 12px;
    font-size: 24px;
    color: var(--white);
    font-weight: 400;
}

/* Contenedor tarjetas */
.models-grid {
    background: rgba(15, 15, 15, 0.95);
    border-radius: 26px;
    padding: 22px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 -20px 45px rgba(0,0,0,0.7);
}

/* Tarjeta modelo */
.model-card {
    position: relative;
    height: 270px;
    overflow: hidden;
    border-radius: 18px;
    background: var(--dark-card);
    border: 1px solid rgba(255, 122, 0, 0.12);
    transition: 0.3s ease;
}

.model-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 122, 0, 0.8);
    box-shadow: 0 0 28px rgba(255, 122, 0, 0.22);
}

.model-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sombra sobre cada imagen */
.model-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 35%, rgba(0,0,0,0.96) 100%),
        linear-gradient(90deg, rgba(0,0,0,0.3), transparent);
}

/* Información inferior de la tarjeta */
.model-overlay {
    position: absolute;
    z-index: 2;
    left: 22px;
    right: 18px;
    bottom: 18px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.model-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.model-icon {
    color: var(--orange);
    font-size: 44px;
    line-height: 1;
    text-shadow:
        2px 2px 0 #fff,
        -2px -2px 0 #fff,
        0 0 14px rgba(255, 122, 0, 0.7);
}

.model-info h3 {
    font-family: 'Anton', sans-serif;
    text-transform: uppercase;
    font-size: 38px;
    letter-spacing: 1px;
    line-height: 1;
    color: var(--white);
}

.model-info p {
    color: var(--white);
    font-size: 14px;
    line-height: 1.2;
    max-width: 210px;
}

/* Botón circular de cada tarjeta */
.model-btn {
    min-width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--orange);
    color: var(--white);
    display: grid;
    place-items: center;
    font-size: 24px;
    transition: 0.3s ease;
}

.model-btn:hover {
    background: var(--orange);
    color: #000;
}

/* ============================= */
/* RESPONSIVE TABLET */
/* ============================= */

@media (max-width: 1200px) {

    .main-header {
        grid-template-columns: 230px 1fr auto;
        padding: 24px 32px;
        gap: 20px;
    }

    .main-nav {
        gap: 24px;
    }

    .main-nav a {
        font-size: 17px;
    }

    .quote-btn {
        padding: 10px 18px;
        font-size: 16px;
    }

    .hero-section {
        grid-template-columns: 40% 60%;
        padding: 20px 32px 0;
    }

    .hero-image {
        height: 520px;
    }

    .models-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .model-card {
        height: 300px;
    }
}

/* ============================= */
/* RESPONSIVE CELULAR */
/* ============================= */

@media (max-width: 768px) {

    .site-wrapper::before {
        background:
            linear-gradient(180deg, rgba(0,0,0,0.93) 0%, rgba(0,0,0,0.82) 45%, rgba(0,0,0,0.95) 100%);
    }

    .main-header {
        height: auto;
        padding: 18px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .brand-area {
        border-right: none;
        padding-right: 0;
    }

    .brand-logo {
        width: 60px;
    }

    .brand-text h1 {
        font-size: 24px;
    }

    .brand-text p {
        font-size: 7px;
    }

    .main-nav {
        position: absolute;
        top: 92px;
        left: 18px;
        right: 18px;
        background: rgba(5,5,5,0.96);
        border: 1px solid rgba(255, 122, 0, 0.35);
        border-radius: 18px;
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        display: none;
    }

    .main-nav.show {
        display: flex;
    }

    .main-nav a.active::after {
        display: none;
    }

    .quote-btn {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-section {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 20px 18px 0;
    }

    .hero-dots {
        display: none;
    }

    .hero-content {
        padding-left: 0;
        max-width: 100%;
        order: 2;
        margin-top: -80px;
        z-index: 3;
    }

    .separator-line {
        width: 190px;
    }

    .hero-content h3::after {
        width: 220px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .main-cta {
        width: 100%;
        justify-content: space-between;
        padding-left: 24px;
    }

    .hero-image {
        order: 1;
        height: 360px;
        border-radius: 20px;
        opacity: 0.85;
    }

    .models-section {
        padding: 36px 18px 30px;
        margin-top: 0;
    }

    .section-title {
        gap: 14px;
        margin-bottom: 14px;
    }

    .section-title span {
        width: 60px;
    }

    .section-title h2 {
        font-size: 17px;
        letter-spacing: 6px;
        text-align: center;
    }

    .models-grid {
        grid-template-columns: 1fr;
        padding: 14px;
        border-radius: 22px;
    }

    .model-card {
        height: 260px;
    }

    .model-info h3 {
        font-size: 32px;
    }
}

/* =========================================================
   AVISO DE MANTENCIÓN FIJO - RESPONSIVE
========================================================= */

.maintenance-floating {
    position: fixed;
    z-index: 9999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: min(940px, 70vw);
    max-height: 90vh;

    pointer-events: none;
}

.maintenance-floating::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(1px);
}

.maintenance-floating img {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    display: block;
    border-radius: 10px;

    box-shadow:
        0 35px 90px rgba(0, 0, 0, 0.85),
        0 0 45px rgba(255, 122, 0, 0.25);
}

/* Tablet */
@media (max-width: 992px) {
    .maintenance-floating {
        width: 82vw;
        top: 50%;
    }
}

/* Celular */
@media (max-width: 576px) {
    .maintenance-floating {
        width: 94vw;
        top: 50%;
        max-height: 80vh;
    }

    .maintenance-floating img {
        max-height: 80vh;
        border-radius: 8px;
    }
}

/* Celular muy pequeño */
@media (max-width: 390px) {
    .maintenance-floating {
        width: 96vw;
    }
}

/* Celular horizontal */
@media (max-height: 500px) {
    .maintenance-floating {
        width: 70vw;
        max-height: 88vh;
    }

    .maintenance-floating img {
        max-height: 88vh;
    }
}