/* /assets/css/style.css - GP Pro Racing (Taller) */

/* --- PALETA --- */
:root {
    --primary-color: #FF6B00; /* Naranja vibrante */
    --primary-700: #e65f00;
    --text-color: #0f172a;
    --muted-text: #475569;
    --surface: #ffffff;
    --surface-alt: #F8FAFC; /* bg-gray-50-ish */
    --border: rgba(15, 23, 42, 0.10);
    --dark-900: #0b0f14;
    --dark-800: #111827;
    --metal: #9CA3AF;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
    --glass-dark: rgba(17,24,39,0.58);
    --glass-border: rgba(255,255,255,0.10);
    --shadow-orange: 0 18px 50px rgba(255,107,0,0.22);
}

body {
    font-family: var(--font-body);
    padding-top: 75px;
    background-color: var(--surface);
    color: var(--text-color);
}

/* Evita scroll horizontal en mobile por media/shadows */
html, body { overflow-x: hidden; }

h1, h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}
h3, h4, h5, h6 {
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.section-title { font-weight: 700; margin-bottom: 0.5rem; }
.title-underline { width: 86px; height: 3px; margin: 0.75rem auto 0; background: linear-gradient(90deg, var(--primary-color), rgba(255,255,255,0.15)); border-radius: 999px; }
.py-6 { padding-top: 5rem !important; padding-bottom: 5rem !important; }
.section-light { background: var(--surface-alt); }

/* --- NAVBAR / BOTONES --- */
.navbar .brand-logo { height: 48px; width: auto; }

.navbar-tech{
    background: #020617; /* sólido para evitar bleed blanco */
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: background 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.navbar-tech.is-glass{
    background: var(--glass-dark);
    border-bottom-color: var(--glass-border);
    box-shadow: 0 16px 46px rgba(0,0,0,0.35);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

/* Navbar alto fijo (estado cerrado) */
.navbar.navbar-tech{
    min-height: 75px;
    padding-top: 0;
    padding-bottom: 0;
}
.navbar.navbar-tech > .container{
    min-height: 75px;
}
.navbar.navbar-tech .navbar-brand{
    display: inline-flex;
    align-items: center;
    height: 75px;
}
.navbar.navbar-tech .navbar-toggler{
    align-self: center;
}
.navbar-tech .navbar-nav .nav-link{
    color: rgba(255,255,255,0.82);
    padding: 0.55rem 0.75rem;
    border-radius: 0.75rem;
    position: relative;
    transition: color 180ms ease, background 180ms ease;
}
.navbar-tech .navbar-nav .nav-link:hover{
    color: #fff;
    background: rgba(255,255,255,0.06);
}
.navbar-tech .navbar-nav .nav-link.active{
    color: #fff;
}
.navbar-tech .navbar-nav .nav-link.active::after{
    content:"";
    position:absolute;
    left: 12px;
    right: 12px;
    bottom: 6px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 999px;
    box-shadow: 0 0 0 6px rgba(255,107,0,0.08);
}

.brand-text{
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: #fff;
}

.btn-primary { background-color: var(--primary-color); border-color: var(--primary-color); color: #ffffff; }
.btn-primary:hover, .btn-primary:focus { background-color: var(--primary-700); border-color: var(--primary-700); color: #ffffff; }

.btn-whatsapp{
    background-color: #16a34a; /* verde */
    border-color: #16a34a;
    color: #ffffff;
}
.btn-whatsapp:hover, .btn-whatsapp:focus{
    background-color: #15803d;
    border-color: #15803d;
    color: #ffffff;
}
.btn-whatsapp.btn-cta{
    box-shadow: 0 18px 50px rgba(22,163,74,0.22);
}
.btn-whatsapp.btn-cta:hover{
    box-shadow: 0 22px 64px rgba(22,163,74,0.26);
}

.btn-cta{
    border-radius: 999px;
    box-shadow: var(--shadow-orange);
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}
.btn-cta:hover{ transform: translateY(-2px); filter: brightness(1.02); box-shadow: 0 22px 64px rgba(255,107,0,0.26); }
.btn-cta-outline{
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.48);
}
.btn-cta-outline:hover{
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.62);
}

/* --- HERO --- */
.hero-section {
    position: relative;
    background: radial-gradient(80% 60% at 35% 30%, #1f2937, #111827 55%, #000 100%);
    color: #fff;
}
.hero-section::before{
    content:"";
    position:absolute;
    inset:0;
    background:
      radial-gradient(900px 420px at 20% 0%, rgba(255,107,0,0.20), transparent 55%),
      radial-gradient(700px 360px at 80% 10%, rgba(156,163,175,0.12), transparent 60%),
      repeating-linear-gradient(135deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 10px);
    opacity: 0.9;
    pointer-events:none;
}
.hero-section > .container{ position: relative; z-index: 1; }
.hero-illustration { max-width: 520px; }
.hero-section h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); text-shadow: 0 16px 60px rgba(0,0,0,0.45); }
.hero-section p { max-width: 760px; margin: 0.75rem auto 1.25rem; color: rgba(255,255,255,0.92); }
.kicker{
    display:inline-flex;
    align-items:center;
    gap: 0.5rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.80);
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.hero-media{
    position: relative;
    display: inline-block;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 22px 70px rgba(0,0,0,0.45);
}
.hero-media::after{
    content:"";
    position:absolute;
    inset:0;
    background: radial-gradient(70% 70% at 30% 30%, rgba(255,107,0,0.12), transparent 55%),
                linear-gradient(180deg, rgba(0,0,0,0.10), rgba(0,0,0,0.46));
    pointer-events:none;
}

/* Hero: asegurar que la imagen no rompa el ancho en mobile */
@media (max-width: 575.98px){
    .hero-media{
        display: block;
        width: 100%;
        max-width: 100%;
    }
    .hero-illustration{
        width: 100%;
        max-width: 100%;
        height: auto;
        display: block;
    }
}

/* --- CARDS DE SERVICIO --- */
.service-card {
    background: #ffffff;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(31,45,42,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(31,45,42,0.12); }
.service-card-tech{
    position: relative;
    box-shadow: 0 18px 46px rgba(15,23,42,0.10);
}
.service-card-tech::after{
    content:"";
    position:absolute;
    left: 16px;
    right: 16px;
    bottom: 12px;
    height: 3px;
    background: rgba(255,107,0,0);
    border-radius: 999px;
    transition: background 180ms ease;
}
.service-card-tech:hover{ transform: translateY(-8px); }
.service-card-tech:hover::after{ background: var(--primary-color); }
.icon-tech{
    width: 70px; min-width: 70px; height: 70px;
    border-radius: 16px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    background: rgba(255,107,0,0.10);
    border: 1px solid rgba(255,107,0,0.22);
}

/* Título con ícono al lado */
.card-title-row{
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

/* Ajustes de tamaño para layout horizontal */
.service-card-tech .icon-tech{
    width: 54px;
    min-width: 54px;
    height: 54px;
    border-radius: 14px;
    font-size: 1.55rem;
}
.trust-card .trust-icon{
    width: 54px;
    height: 54px;
    border-radius: 14px;
    font-size: 1.55rem;
}

/* --- TRUST / NOSOTROS (sección oscura) --- */
.section-trust{
    background: linear-gradient(180deg, var(--dark-800) 0%, #070a0f 100%);
    position: relative;
    overflow: hidden;
}
.section-trust::before{
    content:"";
    position:absolute;
    inset:0;
    background: radial-gradient(900px 420px at 20% 0%, rgba(255,107,0,0.18), transparent 60%);
    opacity: 0.9;
    pointer-events:none;
}
.section-trust > .container{ position: relative; z-index: 1; }
.trust-card{
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 18px 60px rgba(0,0,0,0.35);
}
.trust-icon{
    width: 68px; height: 68px;
    border-radius: 18px;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--primary-color);
    background: rgba(255,107,0,0.10);
    border: 1px solid rgba(255,107,0,0.22);
    font-size: 2rem;
}

/* --- CROSS SELL (botón rojo) --- */
.section-cross-sell{
    background: linear-gradient(180deg, #05070a 0%, #0b1220 100%);
}
.section-cross-sell .kicker{
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.10);
}
.btn-repuestos{
    border-radius: 999px;
    padding-left: 1.1rem;
    padding-right: 1.1rem;
    box-shadow: 0 18px 50px rgba(220,38,38,0.25);
}

/* --- CONTACT / MAP --- */
.form-control-modern{
    background: #f1f5f9;
    border: 1px solid rgba(15,23,42,0.10);
    border-radius: 14px;
    padding: 0.9rem 1rem;
}
.form-control-modern:focus{
    background: #ffffff;
    border-color: rgba(255,107,0,0.55);
    box-shadow: 0 0 0 0.25rem rgba(255,107,0,0.14);
}
.map-panel{
    background: #0b1220;
}

/* Contact: chip de dirección + botón WA más prolijo */
.address-chip{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid rgba(15,23,42,0.10);
    color: rgba(15,23,42,0.78);
    font-size: 0.95rem;
    line-height: 1.2;
}
.address-chip i{ color: rgba(255,107,0,0.9); }
.contact-wa-btn{
    padding: 0.8rem 1.15rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}
@media (max-width: 575.98px){
    .contact-wa-btn{ width: 100%; justify-content: center; }
    .address-chip{ width: 100%; }
}

/* --- FOOTER --- */
.footer-minimal{
    background: #000;
}

/* --- WHATSAPP FLOAT & REVEAL --- */
.whatsapp-float { position: fixed; width: 52px; height: 52px; bottom: 20px; right: 20px; background-color: #25d366; color: #FFF; border-radius: 50px; text-align: center; font-size: 26px; box-shadow: 0 8px 20px rgba(31,45,42,0.15); z-index: 100; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: transform 0.3s ease; }
.whatsapp-float:hover { transform: scale(1.08); color: #FFF; }
[data-reveal] { opacity: 0; transition: opacity 600ms ease, transform 600ms ease; }
[data-reveal].revealed { opacity: 1; }

