/* ===================================================================
   SIR MOTORS - Hoja de estilos principal
   Paleta de marca: Blanco #ffffff | Negro #212121 | Rojo #c00303
=================================================================== */

:root {
    --red: #c00303;
    --red-dark: #960202;
    --dark: #212121;
    --black: #161616;
    --white: #ffffff;
    --grey: #f4f4f4;
    --grey-2: #e6e6e6;
    --muted: #6c6c6c;
    --shadow: 0 10px 30px rgba(0, 0, 0, .12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: 'Jost', sans-serif;
    color: var(--dark);
    text-transform: uppercase;
}

h1, .h1, h2, .h2, .fw-bold { font-weight: 700 !important; }
h3, .h3, h4, .h4, .fw-medium { font-weight: 600 !important; }
h5, .h5, h6, .h6, .fw-semi-bold { font-weight: 500 !important; }

a { text-decoration: none; transition: all .3s ease; }

/* ---------- Helpers de peso tipográfico ---------- */
.wg-200 { font-weight: 200 !important; }
.wg-300 { font-weight: 300 !important; }
.wg-400 { font-weight: 400 !important; }
.wg-500 { font-weight: 500 !important; }
.wg-600 { font-weight: 600 !important; }
.wg-700 { font-weight: 700 !important; }
.wg-800 { font-weight: 800 !important; }

/* ---------- Colores utilitarios ---------- */
.text-red    { color: var(--red) !important; }
.text-dark   { color: var(--dark) !important; }
.text-white  { color: var(--white) !important; }
.text-muted2 { color: var(--muted) !important; }
.text-grey   { color: #b4b4b4 !important; }
.bg-red      { background-color: var(--red) !important; }
.bg-dark2    { background-color: var(--dark) !important; }
.bg-black    { background-color: var(--black) !important; }
.bg-grey     { background-color: var(--grey) !important; }

.text-primary { color: var(--red) !important; }
.bg-dark { background-color: var(--dark) !important; }

/* ---------- Etiqueta de sección (eyebrow) ---------- */
.section-tag {
    display: inline-block;
    background-color: var(--red);
    color: var(--white) !important;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: .8rem;
    padding: 6px 16px;
    border-radius: 4px;
    margin-bottom: 18px;
}

.title-bar {
    width: 60px;
    height: 4px;
    background-color: var(--red);
    border: none;
    opacity: 1;
    border-radius: 4px;
}

/* ===================================================================
   Spinner de carga
=================================================================== */
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}
#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
.spinner-border.text-primary { color: var(--red) !important; }

/* ===================================================================
   Botones
=================================================================== */
.btn {
    transition: all .35s ease;
    font-weight: 600;
    border-radius: 50px;
    padding: 12px 32px;
}
.btn-red {
    background-color: var(--red);
    color: var(--white);
    border: 2px solid var(--red);
}
.btn-red:hover {
    background-color: var(--dark);
    border-color: var(--dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(192, 3, 3, .3);
}
.btn-dark2 {
    background-color: var(--dark);
    color: var(--white);
    border: 2px solid var(--dark);
}
.btn-dark2:hover {
    background-color: var(--red);
    border-color: var(--red);
    color: var(--white);
    transform: translateY(-2px);
}
.btn-outline-white {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}
.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--dark);
}

.btn-square    { width: 38px; height: 38px; }
.btn-sm-square { width: 34px; height: 34px; }
.btn-lg-square { width: 50px; height: 50px; }
.btn-square, .btn-sm-square, .btn-lg-square {
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* ===================================================================
   Top bar + Navbar
=================================================================== */
.top-bar {
    background-color: var(--black);
    height: 44px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    font-size: .85rem;
}
.top-bar small { color: var(--white); }
.top-bar a { color: var(--white); }
.top-bar a:hover { color: var(--red); }
.top-bar i { color: var(--red); }

.fixed-top { transition: .4s; }

.navbar {
    background-color: var(--dark);
    transition: .4s;
}
.navbar-brand img {
    height: 46px;
    width: auto;
    /* logo a color sobre fondo oscuro -> se fuerza a blanco */
    /*filter: brightness(0) invert(1);*/
    transition: .3s;
}
.navbar .navbar-nav .nav-link {
    padding: 28px 16px;
    color: var(--white);
    font-weight: 500;
    font-family: 'Jost', sans-serif;
    letter-spacing: .5px;
    text-transform: uppercase;
    position: relative;
}
.navbar .dropdown-item { text-transform: uppercase; }
.navbar .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 20px;
    height: 2px;
    background-color: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}
.navbar .navbar-nav .nav-link:hover::after,
.navbar .navbar-nav .nav-link.active::after { transform: scaleX(1); }
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active { color: var(--red); }

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}
.navbar .dropdown-menu {
    background-color: var(--black);
    border: none;
    border-radius: 0 0 8px 8px;
    border-top: 3px solid var(--red);
    margin-top: 0;
}
.navbar .dropdown-item {
    color: var(--white) !important;
    font-weight: 500;
    padding: 10px 20px;
}
.navbar .dropdown-item:hover,
.navbar .dropdown-item.active {
    background-color: var(--red);
    color: var(--white) !important;
}

.social-btn {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-left: 8px;
}
.social-btn:hover {
    background-color: var(--red);
    border-color: var(--red);
    color: var(--white);
}

.navbar-toggler {
    border: none;
    color: var(--white);
    font-size: 1.5rem;
}
.navbar-toggler:focus { box-shadow: none; }

@media (max-width: 991.98px) {
    /* Padding horizontal en mobile: logo, toggler y links no quedan pegados al borde.
       Se anulan los márgenes ms-3/me-3 para que no se sumen al padding del navbar. */
    .navbar { padding-left: 1.5rem; padding-right: 1.5rem; }
    .navbar-brand.ms-3 { margin-left: 0 !important; }
    .navbar-toggler.me-3 { margin-right: 0 !important; }
    .navbar .navbar-nav {
        margin-top: 12px;
        padding: 12px 0;
        border-top: 1px solid rgba(255, 255, 255, .1);
    }
    .navbar .navbar-nav .nav-link { padding: 10px 0; }
    .navbar .navbar-nav .nav-link::after { display: none; }
    .navbar .dropdown-menu { margin-left: 12px; }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        opacity: 0;
        top: 100%;
        transform: translateY(15px);
        transition: .35s;
    }
    .navbar .nav-item:hover .dropdown-menu {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================================================
   Hero / Carrusel
=================================================================== */
.hero-carousel{
    top: 55px;
}
.hero-carousel .carousel-item .container .row {
    padding-top: 75px;
}
.hero-carousel .carousel-item {
    position: relative;
    min-height: 92vh;
    background-color: var(--dark);
}
.hero-slide {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(22,22,22,.85) 0%, rgba(33,33,33,.65) 45%, rgba(33,33,33,.4) 100%);
    z-index: 1;
}
.hero-slide::after {
    content: "";
    position: absolute;
    top: 0;
    right: -120px;
    width: 420px;
    height: 100%;
    background-color: var(--red);
    transform: skewX(-20deg);
    opacity: .9;
    z-index: 1;
    mix-blend-mode: color;
}
.hero-slide .container { position: relative; z-index: 3; }
.hero-slide-img {
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-eyebrow {
    display: inline-block;
    color: var(--white);
    background-color: var(--red);
    padding: 6px 18px;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: .85rem;
    margin-bottom: 22px;
}
.hero-title {
    color: var(--white);
    font-size: clamp(2.4rem, 4vw, 5rem);
    line-height: 1.05;
    font-weight: 700;
    margin-bottom: 18px;
}
.hero-title span { color: var(--red); }
.hero-text {
    color: rgba(255, 255, 255, .85);
    font-size: 1.15rem;
    max-width: 560px;
    margin-bottom: 32px;
}
.hero-img {
    position: absolute;
    right: 4%;
    bottom: 0;
    max-width: 42%;
    z-index: 2;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,.5));
}

.carousel-control-prev, .carousel-control-next {
    width: 4rem;
    z-index: 4;
    opacity: 1;
}
.carousel-control-prev-icon, .carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(192, 3, 3, .85);
    background-size: 45%;
    border-radius: 50%;
    transition: .3s;
}
.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: var(--red);
}
.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, .5);
    border: none;
}
.carousel-indicators .active { background-color: var(--red); }

@media (max-width: 991.98px) {
    .hero-slide::after { display: none; }
    .hero-img { display: none; }
    .hero-slide, .hero-carousel .carousel-item { min-height: 80vh; }
    /* En mobile se navega por swipe / indicadores: se ocultan las flechas prev/next */
    .hero-carousel .carousel-control-prev,
    .hero-carousel .carousel-control-next { display: none; }
}

/* ===================================================================
   Encabezado de páginas internas
=================================================================== */
.page-header {
    position: relative;
    padding: 11rem 0 5rem;
    background-color: var(--dark);
    background-image:
        linear-gradient(110deg, rgba(22,22,22,.92) 0%, rgba(33,33,33,.72) 45%, rgba(33,33,33,.5) 100%),
        url('../assets/images/carbon.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}
/* Barra roja inclinada (mismo efecto que el hero del index) */
.page-header::after {
    content: "";
    position: absolute;
    top: 0;
    right: -120px;
    width: 420px;
    height: 100%;
    background-color: var(--red);
    transform: skewX(-20deg);
    opacity: .9;
    z-index: 1;
    mix-blend-mode: color;
}
.page-header .container { position: relative; z-index: 2; }
.page-header h1 { color: var(--white); }
.page-header .breadcrumb-item,
.page-header .breadcrumb-item a { color: rgba(255, 255, 255, .8); font-weight: 500; }
.page-header .breadcrumb-item a:hover { color: var(--red); }
.page-header .breadcrumb-item.active { color: var(--red); }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, .5); }

/* ===================================================================
   Sección Marcas (home)
=================================================================== */
.brand-card {
    position: relative;
    display: block;
    background-color: var(--white);
    border: 1px solid var(--grey-2);
    border-radius: 14px;
    padding: 48px 30px;
    text-align: center;
    overflow: hidden;
    transition: all .4s ease;
    height: 100%;
}
.brand-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 5px;
    width: 100%;
    background-color: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
}
.brand-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: transparent;
}
.brand-card:hover::before { transform: scaleX(1); }
.brand-name {
    font-family: 'Jost', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 700;
    letter-spacing: 0px;
    line-height: 95%;
    color: var(--dark);
    margin: 0;
}
.brand-card:hover .brand-name { color: var(--red); }
.brand-sub { color: var(--muted); font-weight: 500; margin-top: 6px; }
.brand-logo-wrap {
    height: 180px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .4s;
}
.brand-logo {
    max-height: 180px;
    max-width: 100%;
    width: auto;
    transition: transform .4s ease;
}
.brand-card:hover .brand-logo { transform: scale(1.06); }

/* Insignia de logo de marca sobre fondo oscuro (bloque destacado) */
.brand-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    border-radius: 12px;
    padding: 14px 24px;
    margin-bottom: 22px;
}
.brand-badge img { height: 50px; width: auto; }
.brand-card .btn-link-arrow {
    display: inline-block;
    margin-top: 22px;
    color: var(--red);
    font-weight: 600;
}
.brand-card .btn-link-arrow i { transition: transform .3s ease; }
.brand-card:hover .btn-link-arrow i { transform: translateX(6px); }

/* ===================================================================
   Sección de beneficios (3 cards: envíos, atención, pagos)
=================================================================== */
.benefits-section { background-color: var(--dark); }
.benefit-card {
    background-color: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    padding: 40px 30px;
    height: 100%;
    transition: all .4s ease;
}
.benefit-card:hover {
    background-color: var(--red);
    border-color: var(--red);
    transform: translateY(-8px);
}
.benefit-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: .4s;
}
.benefit-icon i { font-size: 1.8rem; color: var(--white); }
.benefit-card:hover .benefit-icon { background-color: var(--white); }
.benefit-card:hover .benefit-icon i { color: var(--red); }
.benefit-card h4 { color: var(--white); margin-bottom: 12px; }
.benefit-card p { color: rgba(255, 255, 255, .7); margin: 0; }
.benefit-card:hover p { color: rgba(255, 255, 255, .92); }

/* ===================================================================
   Grilla de productos (marcas)
=================================================================== */
.product-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
    background-color: var(--white);
}
.product-item img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: transform .5s ease;
}
.product-item:hover img { transform: scale(1.08); }
.product-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(22,22,22,.9) 0%, rgba(22,22,22,.1) 60%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 22px;
    transition: .4s;
}
.product-overlay h5 {
    color: var(--white);
    margin: 0;
    font-weight: 600;
    transform: translateY(0);
    transition: .4s;
}
.product-item:hover .product-overlay {
    background: linear-gradient(to top, rgba(192,3,3,.92) 0%, rgba(192,3,3,.35) 60%, transparent 100%);
}

/* ---------- Banda de modelos ---------- */
.models-band {
    background-color: var(--grey);
    border-left: 6px solid var(--red);
    border-radius: 10px;
    padding: 36px 40px;
}
.model-chip {
    display: inline-block;
    background-color: var(--white);
    border: 1px solid var(--grey-2);
    color: var(--dark);
    border-radius: 50px;
    padding: 8px 20px;
    margin: 6px 6px 0 0;
    font-weight: 500;
    font-size: .95rem;
    transition: .3s;
}
.model-chip:hover {
    background-color: var(--red);
    border-color: var(--red);
    color: var(--white);
    transform: translateY(-3px);
}

/* ---------- Bloque destacado de marca ---------- */
.brand-feature {
    background-color: var(--dark);
    border-radius: 16px;
    padding: 50px;
    position: relative;
    overflow: hidden;
}
.brand-feature::after {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 180px;
    height: 180px;
    background-color: var(--red);
    border-radius: 50%;
    opacity: .15;
}
.brand-feature h2, .brand-feature p { color: var(--white); position: relative; z-index: 2; }
.brand-feature .feature-list li {
    color: rgba(255, 255, 255, .85);
    margin-bottom: 14px;
    list-style: none;
    position: relative;
    padding-left: 32px;
}
.brand-feature .feature-list li i {
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--red);
    background-color: var(--white);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
}

/* Destacado de marca ampliado (honda / toyota) */
.brand-feature-xl { padding: 64px 60px; }
.brand-feature-xl::after { width: 240px; height: 240px; top: -60px; right: -60px; }
.bf-img {
    max-width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 22px 34px rgba(0, 0, 0, .55));
}
.bf-title {
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    font-size: clamp(1.9rem, 3.4vw, 2.7rem);
    line-height: 1.15;
}
.bf-lead { color: rgba(255, 255, 255, .82); font-size: 1.12rem; line-height: 1.8; }
.bf-points {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 28px;
    position: relative;
    z-index: 2;
}
.bf-point { display: flex; align-items: center; gap: 16px; color: var(--white); font-weight: 500; }
.bf-point i {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background-color: rgba(192, 3, 3, .22);
    color: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}

/* Marca animada que alterna Honda / Toyota (index) */
.brand-swap {
    display: inline-block;
    transition: opacity .4s ease, transform .4s ease;
}
.brand-swap.is-swapping { opacity: 0; transform: translateY(-10px); }

/* ===================================================================
   Sección "La empresa"
=================================================================== */
.about-img-wrap { position: relative; }
.about-img-wrap img { border-radius: 14px; box-shadow: var(--shadow); }
.about-img-wrap .exp-badge {
    position: absolute;
    bottom: -24px;
    right: -10px;
    background-color: var(--red);
    color: var(--white);
    padding: 20px 28px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    text-transform: uppercase;
}
.about-img-wrap .exp-badge .num { font-size: 2.4rem; font-weight: 700; line-height: 1; font-family: 'Jost', sans-serif; }

.value-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 26px;
}
.value-item .v-icon {
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background-color: var(--grey);
    color: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: .3s;
}
.value-item:hover .v-icon { background-color: var(--red); color: var(--white); }

/* ===================================================================
   Formulario de contacto
=================================================================== */

.contact-section{
    position: relative;
    overflow: hidden;
}
.contact-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: -250px;
    width: 820px;
    height: 100%;
    background-color: var(--muted);
    transform: skewX(-20deg);
    opacity: .2;
    z-index: 0;
    mix-blend-mode: multiply;
    pointer-events: none;
}
.contact-card {
    background-color: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 44px;
}
.form-floating > label { color: var(--muted); }
.form-control {
    border: 1px solid var(--grey-2);
    border-radius: 8px;
    padding: 14px 16px;
}
.form-control:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 .2rem rgba(192, 3, 3, .12);
}
.form-control.is-invalid {
    border-color: var(--red);
    background-image: none;
}
.invalid-feedback { color: var(--red); font-weight: 500; }
.form-control.is-valid {
    border-color: #2e9e4f;
    background-image: none;
}

.info-box {
    display: flex;
    gap: 18px;
    align-items: center;
    background-color: var(--white);
    border: 1px solid var(--grey-2);
    border-radius: 12px;
    padding: 22px 24px;
    margin-bottom: 18px;
    transition: .3s;
}
.info-box:hover { box-shadow: var(--shadow); transform: translateX(4px); }
.info-box .ib-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background-color: var(--red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}
.info-box h6 { margin: 0 0 4px; font-weight: 600; }
.info-box p, .info-box a { margin: 0; color: var(--muted); }
.info-box a:hover { color: var(--red); }

.map-wrap {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    line-height: 0;
}
.map-wrap iframe { width: 100%; border: 0; }

/* ===================================================================
   Toast / Alertas de estado del formulario
=================================================================== */
.form-toast {
    border-radius: 10px;
    overflow: hidden;
    border: none;
    box-shadow: var(--shadow);
}
.form-toast .toast-header { border: none; font-weight: 600; }
.form-toast.toast-success .toast-header { background-color: #1f8f43; color: #fff; }
.form-toast.toast-error .toast-header { background-color: var(--red); color: #fff; }
.form-toast .toast-body { background-color: #fff; color: var(--dark); }

/* ===================================================================
   Footer
=================================================================== */
.footer {
    background-color: var(--dark);
    color: rgba(255, 255, 255, .75);
    padding: 70px 0 30px;
}
.footer .footer-logo {
    height: 56px;
    filter: brightness(0) invert(1);
    margin-bottom: 22px;
}
.footer h5 {
    color: var(--white);
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
}
.footer h5::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--red);
}
.footer p, .footer li { color: rgba(255, 255, 255, .7); }
.footer a { color: rgba(255, 255, 255, .7); }
.footer a:hover { color: var(--red); }
.footer .f-contact li {
    list-style: none;
    margin-bottom: 14px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.footer .f-contact li i { color: var(--red); margin-top: 4px; }
.footer .f-links li { list-style: none; margin-bottom: 12px; }
.footer .f-links li a::before {
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
    color: var(--red);
}
.footer .f-social a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    color: var(--white);
}
.footer .f-social a:hover { background-color: var(--red); border-color: var(--red); }

/* ---------- Sub-footer / Copyright ---------- */
.copyright {
    background-color: var(--black);
    color: rgba(255, 255, 255, .65);
    padding: 22px 0;
    border-top: 3px solid var(--red);
}
.copyright a { color: rgba(255, 255, 255, .8); }
.copyright a:hover { color: var(--red); }

/* ===================================================================
   Botón flotante de WhatsApp
=================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 26px;
    right: 26px;
    z-index: 9999;
}
.whatsapp-float a {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
    animation: wa-pulse 2.2s infinite;
}
.whatsapp-float a:hover {
    background-color: #1ebe57;
    transform: scale(1.08);
    color: var(--white);
}
@keyframes wa-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); }
    70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Oculta el badge de reCAPTCHA (queda el aviso legal por texto) */
.grecaptcha-badge { visibility: hidden; }

/* ===================================================================
   Back to top
=================================================================== */
.back-to-top {
    position: fixed;
    right: 26px;
    bottom: 96px;
    width: 46px;
    height: 46px;
    background-color: var(--dark);
    color: var(--white);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9998;
}
.back-to-top:hover { background-color: var(--red); color: var(--white); }

/* ===================================================================
   Utilidades varias
=================================================================== */
.section-py { padding: 90px 0; }
.lead-muted { color: var(--muted); font-size: 1.05rem; line-height: 1.8; }

/* ===================================================================
   Reveal al hacer scroll: lo maneja la librería AOS (atributos data-aos).
   Si el usuario prefiere movimiento reducido, se muestran sin animación.
=================================================================== */
@media (prefers-reduced-motion: reduce) {
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

@media (max-width: 991.98px) {
    .brand-feature-xl { padding: 44px 36px; }
    /* Ajustes mobile del encabezado interno. Deben ir DESPUÉS de la definición base
       de .page-header::after (línea ~431) para no ser pisados por el orden del CSS. */
    .page-header { background-attachment: scroll; }
    .page-header::after { width: 200px; right: -90px; }
}
@media (max-width: 575.98px) {
    .contact-card { padding: 26px; }
    .brand-feature { padding: 32px 24px; }
    .brand-feature-xl { padding: 32px 24px; }
    .models-band { padding: 26px; }
    /* Evita el desborde horizontal de 12px que genera el gutter g-5 con el container fluido
       (footer y otras secciones). En mobile las columnas se apilan, así que el gutter
       horizontal no aporta nada visual y se reduce al valor por defecto. */
    .row.g-5 { --bs-gutter-x: 1.5rem; }
    /* Diagonal gris del formulario más angosta en mobile */
    .contact-section::before { width: 470px; }
}
