/* ── VARIABLES ── */
:root {
    --red: #D32F2F;
    --red-dark: #9B1B1B;
    --red-light: #FF5252;
    --black: #0A0A0A;
    --dark: #111111;
    --dark-2: #1A1A1A;
    --grey: #2C2C2C;
    --grey-light: #9AA0AA;
    --white: #F8F8F8;
    --wa-green: #25D366;
}

/* ── RESET ── */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Barlow', sans-serif;
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
}

/* ── NAVBAR ── */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    height: 72px;
    background: rgba(10,10,10,0.85);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-logo img {
    height: 48px;
    background: transparent;

    
}

.nav-logo {
    background: transparent;
}

.nav-links {
    display: flex;
    gap: 36px;
    align-items: center;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(248,248,248,0.7);
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--red-light); }

.nav-cta {
    background: var(--red) !important;
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 700 !important;
    transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--red-dark) !important; }

/* ── HERO ── */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../img/hero-banner.png');
    background-size: cover;
    background-position: center 40%;
    transform: scale(1.03);
    animation: heroZoom 12s ease-out forwards;
}

@keyframes heroZoom {
    from { transform: scale(1.08); }
    to   { transform: scale(1.0); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(10,10,10,0.92) 0%,
        rgba(10,10,10,0.75) 45%,
        rgba(10,10,10,0.15) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: 0 48px;
    animation: fadeUp 0.9s ease both;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--red);
    color: white;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 2px;
    margin-bottom: 24px;
}

.hero h1 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 900;
    line-height: 0.95;
    text-transform: uppercase;
    letter-spacing: -1px;
    color: var(--white);
    margin-bottom: 24px;
}

.hero h1 span { color: var(--red); }

.hero p {
    font-size: 1.15rem;
    color: rgba(248,248,248,0.75);
    line-height: 1.65;
    max-width: 500px;
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.4);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'Barlow Condensed', sans-serif;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(6px); }
}

/* ── BUTTONS ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--red);
    color: white;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: white;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 4px;
    border: 1.5px solid rgba(255,255,255,0.4);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: var(--red); background: rgba(211,47,47,0.1); }

.btn-wa {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--wa-green);
    color: white;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
}
.btn-wa:hover { opacity: 0.88; transform: translateY(-2px); }

/* ── SECTION COMMONS ── */
section { padding: 100px 48px; }

.section-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 14px;
}

.section-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: -0.5px;
    color: var(--white);
    margin-bottom: 16px;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--grey-light);
    max-width: 560px;
    line-height: 1.6;
    margin-bottom: 60px;
}

/* ── SERVICIOS ── */
#servicios { background: var(--dark); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    position: relative;
    height: 420px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.service-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}
.service-card:hover .service-card-bg { transform: scale(1.06); }

.service-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.95) 0%,
        rgba(0,0,0,0.6) 50%,
        rgba(0,0,0,0.15) 100%
    );
}

.service-card-content {
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    padding: 32px 28px;
    z-index: 2;
}

.service-icon {
    width: 48px;
    height: 48px;
    background: var(--red);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    margin-bottom: 16px;
}

.service-card h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    text-transform: uppercase;
    color: white;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.service-card p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.55;
    margin-bottom: 20px;
}

/* ── WHY CHOOSE US ── */
#why { background: var(--black); }

.why-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-visual { position: relative; }

.why-visual-box {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--dark-2);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
}

.why-visual-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.75;
}

.why-stat {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: var(--red);
    padding: 24px 28px;
    border-radius: 8px;
    text-align: center;
}

.why-stat strong {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: white;
    line-height: 1;
}

.why-stat span {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.why-features { display: flex; flex-direction: column; gap: 28px; }

.why-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px;
    background: var(--dark-2);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: border-color 0.2s, transform 0.2s;
}
.why-item:hover { border-color: var(--red); transform: translateX(4px); }

.why-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: rgba(211,47,47,0.12);
    border: 1px solid rgba(211,47,47,0.3);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--red);
}

.why-text h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--white);
    margin-bottom: 6px;
}

.why-text p {
    font-size: 0.9rem;
    color: var(--grey-light);
    line-height: 1.6;
}

/* ── DONDE ENCONTRARNOS ── */
#ubicacion { background: var(--dark); }

.map-wrapper {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.07);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    margin-bottom: 40px;
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    height: 460px;
    border: none;
    filter: grayscale(30%) contrast(1.05);
}

.location-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.loc-card {
    background: var(--dark-2);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    padding: 28px 24px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    transition: border-color 0.2s;
}
.loc-card:hover { border-color: var(--red); }

.loc-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--red);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.loc-info h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
    margin-bottom: 6px;
}

.loc-info p, .loc-info a {
    font-size: 0.9rem;
    color: var(--grey-light);
    line-height: 1.55;
    text-decoration: none;
}
.loc-info a:hover { color: var(--red-light); }

/* ── FOOTER ── */
footer {
    background: #050505;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 64px 48px 32px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand img {
    height: 60px;
    opacity: 0.85;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(154,160,170,0.8);
    line-height: 1.7;
    max-width: 320px;
}

.footer-col h5 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 20px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-col li a, .footer-col li span {
    font-size: 0.9rem;
    color: rgba(154,160,170,0.8);
    text-decoration: none;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-col li a:hover { color: var(--white); }

.footer-col li i {
    width: 18px;
    color: var(--red);
    font-size: 0.85rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 28px;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(154,160,170,0.5);
}

.social-links { display: flex; gap: 14px; }

.social-links a {
    width: 38px;
    height: 38px;
    background: var(--dark-2);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--grey-light);
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.social-links a:hover { background: var(--red); color: white; border-color: var(--red); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .why-inner { grid-template-columns: 1fr; gap: 50px; }
    .why-stat { right: 0; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    nav { padding: 0 24px; }
    .nav-links { display: none; }
    section { padding: 72px 24px; }
    footer { padding: 48px 24px 24px; }
    .footer-top { grid-template-columns: 1fr; gap: 36px; }
    .hero-content { padding: 0 24px; }
    .hero h1 { font-size: 3rem; }
}

/* ── MOTOS ── */
#motos {
    background: var(--black);
}

.motos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.moto-card {
    background: var(--dark-2);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    transition: transform 0.3s, border-color 0.3s;
    cursor: pointer; /* 👈 AGREGAR */
    position: relative; /* 👈 AGREGAR */
}

.moto-card::after {
    content: "Ver financiamiento";
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0,0,0,0.7);
    padding: 6px 10px;
    font-size: 0.7rem;
    border-radius: 4px;
    opacity: 0;
    transition: 0.2s;
}

.moto-card:hover::after {
    opacity: 1;
}

.moto-card:hover {
    transform: translateY(-6px);
    border-color: var(--red);
}

.moto-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.moto-content {
    padding: 24px;
}

.moto-content h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.4rem;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.moto-content p {
    font-size: 0.9rem;
    color: var(--grey-light);
    margin-bottom: 16px;
}

.moto-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.moto-tags span {
    font-size: 0.75rem;
    padding: 5px 10px;
    border-radius: 4px;
    background: rgba(211,47,47,0.12);
    border: 1px solid rgba(211,47,47,0.3);
    color: var(--red-light);
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}

.modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: var(--dark);
    padding: 40px;
    border-radius: 10px;
    width: 90%;
    max-width: 420px;
    border: 1px solid rgba(255,255,255,0.08);
    text-align: center;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    cursor: pointer;
}

.modal-precio {
    font-size: 1.2rem;
    margin: 15px 0;
}

.cuotas {
    margin: 20px 0;
}

.cuota {
    font-size: 1.4rem;
    color: var(--red);
    margin-top: 10px;
}

.moto-cuota {
    font-size: 0.95rem;
    margin-bottom: 14px;
    color: var(--grey-light);
}

.moto-cuota span {
    color: var(--red);
    font-weight: 700;
    font-size: 1.1rem;
}


.brand-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.brand-badge img {
    height: 28px;
    object-fit: contain;
    filter: brightness(0) invert(1); /* 👈 blanco para fondo oscuro */
    opacity: 0.9;
}

.brand-badge span {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--grey-light);
}

.badge-pill {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    letter-spacing: 1px;
}

/* ── REVIEWS ── */

#reviews {
    background: var(--black);
    position: relative;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.review-card {
    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.03) 0%,
        rgba(255,255,255,0.015) 100%
    );

    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 28px;
    transition: 0.25s ease;
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        130deg,
        rgba(211,47,47,0.12),
        transparent 40%
    );

    opacity: 0;
    transition: 0.25s;
}

.review-card:hover::before {
    opacity: 1;
}

.review-card:hover {
    transform: translateY(-6px);
    border-color: rgba(211,47,47,0.5);
}

.review-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 18px;
    color: #FFD54F;
    font-size: 0.95rem;
}

.review-text {
    color: rgba(255,255,255,0.78);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 26px;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 14px;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--red);

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: white;

    flex-shrink: 0;
}

.review-user h4 {
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1rem;
    margin-bottom: 3px;
    color: white;
}

.review-user span {
    font-size: 0.8rem;
    color: var(--grey-light);
}

.reviews-cta {
    margin-top: 48px;
    display: flex;
    justify-content: center;
}