:root {
    --rojo-zanella: #E30613;
    --negro-puro: #000000;
    --blanco: #ffffff;
    --gris-texto: #cccccc;
    --verde-dni: #28a745;
}

/* 1. RESET Y REGLAS GENERALES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

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

body {
    background-color: var(--negro-puro);
    color: var(--blanco);
    overflow-x: hidden;
}

/* 2. HEADER Y NAVEGACIÓN */
.main-header {
    width: 100%;
    background: linear-gradient(90deg, 
        rgba(0,0,0,1) 0%, 
        rgba(0,0,0,1) 30%, 
        #4a0000 70%, 
        var(--rojo-zanella) 100%);
    border-bottom: 2px solid rgba(255,255,255,0.1);
    position: relative;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    height: 80px;
}

.logo-texto {
    font-weight: 900;
    font-size: 24px;
    letter-spacing: -1px;
    color: var(--blanco);
    flex: 1;
}
.logo-texto span { color: var(--rojo-zanella); }

.menu {
    list-style: none;
    display: flex;
    gap: 45px;
    flex: 2;
    justify-content: center;
}

.menu a {
    text-decoration: none;
    color: var(--blanco);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s;
}
.menu a:hover { color: var(--rojo-zanella); }

.nav-btn-dni {
    background-color: var(--verde-dni);
    color: white !important;
    padding: 8px 15px !important;
    border-radius: 5px;
    font-weight: 900 !important;
}

/* 3. HERO SECTION (General) */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

/* 4. HOME PAGE WRAPPER (EL PARCHE ES ACÁ) */
.home-page-wrapper {
    background: url('../assets/tu-foto-ceccato.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    width: 100%;
}

/* SOLUCIÓN LÍNEA NEGRA: Solo afecta si está dentro de home-page-wrapper */
.home-page-wrapper .hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.2)) !important;
}

.home-page-wrapper .hero::after {
    display: none !important; /* Chau línea negra espantosa */
}

.hero-content { position: relative; z-index: 10; }
.hero-content h1 {
    font-size: 4rem;
    font-weight: 900;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
    margin-bottom: 10px;
    letter-spacing: -2px;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--rojo-zanella);
    color: white !important;
    text-decoration: none;
    font-weight: bold;
    border-radius: 2px;
    transition: 0.3s;
    text-transform: uppercase;
}

/* 5. SECCIÓN BENEFICIOS / FINANCIACIÓN */
.financiacion-content {
    padding: 100px 5%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 20;
}

.info-block {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.info-block.reverse { flex-direction: row-reverse; }
.block-image { flex: 1; }
.block-image img {
    width: 100%;
    height: 400px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.block-text { flex: 1; }
.block-text h2 { font-size: 2.5rem; font-weight: 900; margin-bottom: 15px; }

/* 6. HISTORIA Y CARDS */
.historia-content { padding: 60px 5%; max-width: 1200px; margin: 0 auto; }
.grid-marketing { display: flex; gap: 20px; }
.card-historia { 
    flex: 1; 
    background: #111; 
    padding: 25px; 
    border-left: 3px solid var(--rojo-zanella); 
}

/* 7. CONTACTO (RESTAURADO) */
.contacto-section {
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    background-color: var(--negro-puro);
}

.form-container {
    background-color: #151515;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    border-top: 4px solid var(--rojo-zanella);
}

.form-group { margin-bottom: 20px; }
input, textarea {
    width: 100%;
    padding: 12px;
    background-color: #222;
    border: 1px solid #333;
    color: white;
}

/* 8. ELEMENTOS EXCLUSIVOS DE LA HOME (FLOTANTES) */
.home-page-wrapper .financiacion-content { background-color: transparent !important; }
.home-page-wrapper .block-text, 
.home-page-wrapper .card-historia {
    background: rgba(0, 0, 0, 0.75) !important;
    backdrop-filter: blur(8px);
    padding: 30px;
}

/* 9. FOOTER Y OTROS */
.cta-final { display: flex; justify-content: center; padding: 60px 0; background-color: var(--negro-puro); }
.main-footer {
    background-color: var(--negro-puro);
    border-top: 2px solid var(--rojo-zanella);
    padding: 40px 5%;
    text-align: center;
}

@media (max-width: 768px) {
    .navbar { flex-direction: column; height: auto; padding: 20px; }
    .menu { gap: 15px; margin-top: 20px; }
    .info-block, .info-block.reverse { flex-direction: column; text-align: center; }
    .grid-marketing { flex-direction: column; }
}
/* ESTILOS ESPECÍFICOS PARA EL FORMULARIO DE CONTACTO */
.contacto-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    background: transparent; /* Para que se vea el fondo de la moto */
}

.form-container {
    background: rgba(0, 0, 0, 0.85); /* Fondo oscuro traslúcido */
    backdrop-filter: blur(10px);
    padding: 50px;
    max-width: 600px;
    width: 100%;
    border-top: 4px solid var(--rojo-zanella);
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.form-container h2 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.form-container p {
    color: var(--gris-texto);
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 15px;
    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    border-radius: 2px;
    outline: none;
    transition: 0.3s;
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: var(--rojo-zanella);
    background-color: rgba(255,255,255,0.1);
}

/* EL BOTÓN "ESTILO MOTOZUNI" */
.btn-enviar {
    width: 100%;
    padding: 18px;
    background-color: var(--rojo-zanella);
    color: white;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 2px;
    margin-top: 10px;
}

.btn-enviar:hover {
    background-color: #ff0000;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(227, 6, 19, 0.4);
}
/* Wrapper específico para Cuenta DNI */
.dni-page-wrapper {
    background: linear-gradient(rgba(0,40,0,0.7), rgba(0,0,0,0.8)), 
                url('../assets/fondo-ciudad-zanella.jpg'); /* Buscá una foto urbana */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    width: 100%;
    min-height: 100vh;
}

/* Estilo para los bloques de Cuenta DNI para que resalten */
.dni-page-wrapper .card-dni {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(40, 167, 69, 0.3); /* Bordes verdes sutiles */
    transition: 0.3s;
}

.dni-page-wrapper .card-dni:hover {
    border-color: var(--verde-dni);
    background: rgba(40, 167, 69, 0.1);
}
.beneficios-wrapper {
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    color: white;
}

/* La capa del fondo con el blur */
.beneficios-wrapper::before {
    content: "";
    position: fixed; /* Mantiene el fondo fijo al scrollear */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Ruta a tu nueva imagen */
    background-image: url('../assets/fondobeneficio.jpg'); 
    background-size: cover;
    background-position: center;
    
    /* AJUSTES DE DIFUMINADO */
    filter: blur(8px); /* Ajustá los px para más o menos desenfoque */
    transform: scale(1.1); /* Evita bordes blancos por el blur */
    
    /* Capa de contraste oscura */
    background-color: rgba(0, 0, 0, 0.6); 
    background-blend-mode: darken;
    
    z-index: -1; /* Lo manda al fondo de todo */
}

/* Ajuste opcional para que tus cuadros de texto se vean mejor */
.beneficios-content {
    position: relative;
    z-index: 1;
    padding: 50px 5%;
}
/* Mejora para los bloques de texto */
.info-block {
    background: linear-gradient(90deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    border-left: 4px solid #e31e24; /* Una línea roja vertical que guía el ojo */
    backdrop-filter: blur(10px);
    transition: all 0.5s ease;
}

.info-block:hover {
    background: linear-gradient(90deg, rgba(227, 30, 36, 0.15) 0%, rgba(255,255,255,0) 100%);
    transform: translateX(10px); /* Sutil movimiento hacia la derecha al pasar el mouse */
}
h2 {
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(to right, #fff, #ccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; /* Esto le da un brillo metálico muy Zanella */
}

/* Contenedor principal */
.contacto-flotante {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px; /* Espacio entre botones */
  z-index: 9999;
}

/* Estilo base de los botones */
.btn-flotante {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Contenedor principal */
.contacto-flotante {
  position: fixed;
  bottom: 25px; /* Un poco más de espacio */
  right: 25px;
  display: flex;
  flex-direction: column-reverse; /* Cambia el orden: WSP abajo, Tel arriba */
  gap: 15px; /* Espacio entre botones */
  z-index: 9999;
}

/* Estilo base de los botones - Ajustado para iconos */
.btn-flotante {
  width: 65px; /* Un poco más grande */
  height: 65px;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px; /* Iconos más grandes */
  box-shadow: 0px 6px 12px rgba(0,0,0,0.3); /* Sombra más definida */
  text-decoration: none;
  transition: all 0.4s ease; /* Transición más suave */
}

/* Colores específicos de la marca Motozuni/Zanella */
.f-wsp { 
  background-color: #25d366; 
}
.f-tel { 
  background-color: #ED1C24; /* Rojo Zanella nítido */
}

/* Efecto Hover Mejorado */
.btn-flotante:hover {
  transform: translateY(-5px) scale(1.1); /* Efecto de "levitación" */
  color: white;
  box-shadow: 0px 10px 20px rgba(0,0,0,0.4);
}

/* Asegurar que el icono esté centrado en todas las pantallas */
.btn-flotante i {
  line-height: 1; /* Centrado vertical perfecto */
  display: block;
}

/* Animación de entrada suave (fade-in) */
@keyframes entradaSoft {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.contacto-flotante {
  animation: entradaSoft 0.6s ease-out;
}

/* --- ESTILOS CATÁLOGO ZUNIZANELLA 2026 --- */

body { 
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #000;
    color: #fff; 
    overflow-x: hidden;
    background-image: linear-gradient(rgba(20, 20, 20, 0.4), rgba(0, 0, 0, 0.6)), url('../assets/catalogo.png'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Header & Hero */
.historia-hero {
    padding: 10px 0 !important;
    background: rgba(255, 255, 255, 0.01) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 20px;
}

.historia-overlay h1 {
    font-size: 1.5rem !important;
    font-weight: 900 !important;
    letter-spacing: 6px;
    margin: 0;
    text-align: center;
    background: linear-gradient(to right, #ffffff, #888888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

/* Categorías */
.categoria-header {
    font-size: 1rem;
    font-weight: 900;
    color: #fff;
    border-bottom: 2px solid #E30613; 
    padding: 8px 20px;
    margin: 70px auto 40px auto;
    text-transform: uppercase;
    text-align: center;
    max-width: fit-content;
    letter-spacing: 5px;
}

/* Grilla y Tarjetas */
.container-motos {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 100px;
}

.moto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.moto-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.moto-card:hover {
    background: rgba(227, 6, 19, 0.05);
    border-color: rgba(227, 6, 19, 0.5);
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.7);
}

/* Nombres de Motos y Cilindrada */
.moto-card h4 {
    margin: 25px 0 10px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    color: #ffffff;
    text-transform: uppercase;
}

.moto-card h4 span {
    font-size: 1.4rem; /* Cilindrada más grande */
    font-weight: 900;
    color: #E30613; /* Rojo distintivo */
    margin: 0 2px;
}

/* Selector de Colores con Flechas */
.color-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
    position: relative;
    z-index: 2;
}

.nav-arrow {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}

.nav-arrow:hover {
    color: #fff;
    transform: scale(1.2);
}

.current-color-dot {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.5);
}

/* Botón Ver Ficha (Hover) */
.moto-card::after {
    content: "VER FICHA TÉCNICA";
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    background: #E30613;
    color: white;
    padding: 12px 0;
    font-weight: 900;
    font-size: 0.7rem;
    transition: 0.4s;
    letter-spacing: 2px;
}

.moto-card:hover::after {
    bottom: 0;
}

/* Imagen Placeholder */
.img-placeholder {
    background: rgba(0, 0, 0, 0.5);
    height: 180px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 900;
    box-shadow: inset 5px 5px 15px #050505;
}

/* Mobile */
@media (max-width: 768px) {
    .moto-grid { grid-template-columns: 1fr 1fr; gap: 15px; }
    .moto-card h4 { font-size: 0.85rem; }
    .moto-card h4 span { font-size: 1.1rem; }
}

/* Contacto Flotante */
.contacto-flotante { position: fixed; bottom: 25px; right: 25px; display: flex; flex-direction: column; gap: 15px; z-index: 9999; }
.btn-flotante { width: 60px; height: 60px; border-radius: 50%; color: white !important; display: flex; align-items: center; justify-content: center; font-size: 28px; box-shadow: 0px 4px 10px rgba(0,0,0,0.3); text-decoration: none; transition: all 0.3s ease; }
.f-wsp { background-color: #25d366; }
.f-tel { background-color: #ED1C24; }
.btn-flotante:hover { transform: scale(1.1); }
/* FORZADO ABSOLUTO DEL COLOR DEL SEGUNDO TÍTULO */
.titulo-simulador {
    text-align: center !important;
    margin-bottom: 5px !important;
    font-weight: 900 !important;
    /* Si lo querés NEGRO (no se verá sobre fondo negro): */
    color: #000000 !important; 
    /* Si lo querés PLATEADO como el de arriba (recomendado): */
    /* background: linear-gradient(to bottom, #FFFFFF 0%, #BDBDBD 50%, #828282 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important; */
    display: block !important;
}   