/* ===== ESTILOS TARWEB - EXTRA RÁPIDO LOS MOTILONES ===== */
/* Versión con más espaciado y aire en los elementos */

:root {
    --rojo-corporativo: #e31e24;
    --rojo-oscuro: #b71c1c;
    --gris-oscuro: #111;
    --gris-claro: #f8f9fa;
    --texto-oscuro: #333;
    --sombra-suave: 0 15px 35px rgba(0,0,0,0.1);
    --sombra-intensa: 0 20px 40px rgba(227,30,36,0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #fafafa;
    color: var(--texto-oscuro);
    line-height: 1.6;
}

/* ===== NAVBAR ===== */
.navbar {
    background: var(--gris-oscuro);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand img {
    transition: transform 0.3s;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    padding: 8px 18px !important;
    margin: 0 5px;
    border-radius: 30px;
    transition: all 0.3s;
    font-size: 15px;
    letter-spacing: 0.3px;
}

.navbar-nav .nav-link:hover {
    color: var(--rojo-corporativo) !important;
    background: rgba(255,255,255,0.1);
}

.navbar-nav .nav-link.active {
    color: var(--rojo-corporativo) !important;
    font-weight: 600;
}

.navbar-nav .btn-nav {
    background: var(--rojo-corporativo);
    padding: 8px 25px !important;
    border-radius: 30px;
    font-weight: 600;
}

.navbar-nav .btn-nav:hover {
    background: var(--rojo-oscuro);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(227,30,36,0.4);
}

/* ===== HERO ===== */
.hero-cotizador {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(227,30,36,0.7)), url('../slide/slider2.png');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-cotizador::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1), transparent 70%);
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    animation: fadeInDown 1s ease;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 300;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 1s ease;
}

/* ===== SECCIÓN COTIZADOR ===== */
.cotizador-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f5f5, #ffffff);
}

.cotizador-card {
    background: white;
    border-radius: 30px;
    box-shadow: var(--sombra-intensa);
    overflow: hidden;
    border: 1px solid rgba(227,30,36,0.1);
    animation: fadeIn 1.2s ease;
}

.cotizador-header {
    background: var(--gris-oscuro);
    color: white;
    padding: 30px;
    text-align: center;
    border-bottom: 4px solid var(--rojo-corporativo);
}

.cotizador-header i {
    font-size: 48px;
    color: var(--rojo-corporativo);
    margin-bottom: 15px;
    display: block;
}

.cotizador-header h2 {
    font-size: 28px;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.5px;
}

/* ===== FORMULARIO CON MÁS ESPACIADO ===== */
.cotizador-card form {
    padding: 40px 50px;
}

.form-label {
    font-weight: 600;
    color: var(--gris-oscuro);
    margin-bottom: 10px;
    font-size: 15px;
}

.form-label i {
    color: var(--rojo-corporativo);
    margin-right: 5px;
}

.form-select, .form-control {
    height: auto !important;
    padding: 14px 22px !important;
    border-radius: 14px;
    border: 2px solid #e0e0e0;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.3s;
    background-color: white;
}

.form-select:focus, .form-control:focus {
    border-color: var(--rojo-corporativo);
    box-shadow: 0 0 0 0.2rem rgba(227,30,36,0.15);
    outline: none;
}

/* Espaciado entre filas */
.row.g-4 {
    --bs-gutter-x: 2rem;
    margin-bottom: 2rem !important;
}

/* Campos sugeridos (para sobre) */
input.sugerido {
    background-color: #fff9e6;
    border-left: 6px solid var(--rojo-corporativo);
}

/* Tooltips */
.tooltip-sugerencia {
    font-size: 13px;
    color: var(--rojo-corporativo);
    margin-top: 8px;
    margin-left: 5px;
}

.tooltip-sugerencia i {
    margin-right: 6px;
}

/* ===== IMAGEN CAJA ===== */
.caja-imagen-container {
    background: #f8f9fa;
    padding: 35px;
    border-radius: 20px;
    border: 2px dashed var(--rojo-corporativo);
    display: inline-block;
    margin: 10px 0;
}

.caja-imagen-container img {
    max-width: 240px;
    filter: drop-shadow(0 10px 15px rgba(227,30,36,0.2));
}

/* ===== DIMENSIONES ===== */
.dimensiones-container {
    background: #f8f9fa;
    padding: 35px 35px;
    border-radius: 20px;
    border-left: 6px solid var(--rojo-corporativo);
    margin: 25px 0 15px;
}

.dimensiones-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--gris-oscuro);
    margin-bottom: 25px;
}

.dimensiones-title i {
    color: var(--rojo-corporativo);
    margin-right: 10px;
    font-size: 22px;
}

/* ===== BOTONES ===== */
.btn-cotizar, .btn-cancelar {
    padding: 18px 30px !important;
    font-size: 18px;
    font-weight: 700;
    border-radius: 60px;
    border: none;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-cotizar {
    background: var(--rojo-corporativo);
    color: white;
    box-shadow: 0 8px 20px rgba(227,30,36,0.3);
}

.btn-cotizar:hover {
    background: var(--rojo-oscuro);
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(227,30,36,0.4);
    color: white;
}

.btn-cancelar {
    background: #6c757d;
    color: white;
    box-shadow: 0 8px 20px rgba(108,117,125,0.3);
}

.btn-cancelar:hover {
    background: #5a6268;
    transform: translateY(-4px);
    color: white;
}

/* ===== FOOTER ===== */
.footer-cotizador {
    background: var(--gris-oscuro);
    color: #bbb;
    padding: 70px 0 40px;
    border-top: 4px solid var(--rojo-corporativo);
}

.footer-cotizador p {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.8;
}

.footer-cotizador .copyright {
    margin-top: 40px;
    color: #777;
    font-size: 14px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
}

.logo-footer {
    margin: 30px 0 20px;
    max-width: 200px !important;
}

/* ===== ANIMACIONES ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .cotizador-section {
        padding: 60px 0;
    }
    
    .cotizador-card form {
        padding: 30px 35px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-cotizador {
        padding: 70px 0;
    }
    
    .cotizador-card form {
        padding: 25px 30px;
    }
    
    .form-select, .form-control {
        padding: 12px 18px !important;
    }
    
    .dimensiones-container {
        padding: 25px 20px;
    }
    
    .caja-imagen-container {
        padding: 25px;
    }
    
    .caja-imagen-container img {
        max-width: 200px;
    }
    
    .btn-cotizar, .btn-cancelar {
        padding: 16px 25px !important;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 30px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .cotizador-card form {
        padding: 20px 20px;
    }
    
    .row.g-4 {
        --bs-gutter-x: 1rem;
        margin-bottom: 1.5rem !important;
    }
    
    .form-select, .form-control {
        padding: 10px 15px !important;
        font-size: 15px;
    }
    
    .cotizador-header h2 {
        font-size: 22px;
    }
    
    .cotizador-header i {
        font-size: 40px;
    }
    
    .footer-cotizador {
        padding: 50px 0 30px;
    }
}