/**
 * Estilos Cliente ErreCars - UNIFICADO Y LIMPIO
 */
 
/* ===================================
   COLORES CORPORATIVOS - DEGRADADO
   =================================== */

.top-bar {
    background: linear-gradient(135deg, #e1211e 50%, #8b0000 100%) !important;
}

.categories-menu {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
}

.site-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
}

.footer-bottom {
    background: linear-gradient(135deg, #e1211e 50%, #e1211e 100%) !important;
}

/* ===================================
   VARIABLES Y RESET
   =================================== */

:root {
    --primary-color: #e1211e;
    --primary-dark: #b31b19;
    --secondary-color: #2c3e50;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #f8f9fa;
    --white: #ffffff;
    --border-color: #dee2e6;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-hover: 0 4px 16px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --max-width: 1400px;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

button {
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

/* ===================================
   HEADER HERO CON CARRUSEL
   =================================== */

.hero-header {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #000;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    width: 90%;
    max-width: 800px;
}

.carousel-content.left {
    left: 20%;
    transform: translate(0, -50%);
    text-align: left;
}

.carousel-content.right {
    left: 80%;
    transform: translate(-100%, -50%);
    text-align: right;
}

.banner-text {
    padding: 2rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(5px);
}

.banner-text.no-background {
    backdrop-filter: none !important;
    background-color: transparent !important;
}

.banner-text h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.banner-text p {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.banner-link {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(225, 33, 30, 0.3);
}

.banner-link:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(225, 33, 30, 0.4);
}

.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

/* ===================================
   TOP BAR
   =================================== */

.top-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent);
    padding: 1rem 2rem;
}

.top-bar-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.site-logo {
    height: 60px;
    width: auto;
}

.top-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.action-btn {
    background: rgba(255, 255, 255, 0.9);
    color: var(--secondary-color);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.action-btn:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* ===================================
   MENÚ CATEGORÍAS
   =================================== */

.categories-menu {
    background: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 50;
}

.categories-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scrollbar-width: thin;
}

.categories-container::-webkit-scrollbar {
    height: 6px;
}

.categories-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.category-btn {
    background: var(--bg-color);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    white-space: nowrap;
    font-weight: 600;
    color: var(--text-color);
    transition: var(--transition);
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary-color);
    color: white;
}

/* ============================================
   FILTROS - VERSIÓN MEJORADA
   ============================================ */

.filters-section {
    background: #f8f9fa;
    padding: 2rem 0;
    margin-top: 2rem; /* Espacio después del menú categorías */
    margin-bottom: 2rem;
}

.filters-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.filters-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.results-count {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Grid de filtros - RESPONSIVE */
.filters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* Búsqueda ocupa todo el ancho */
.filter-full {
    grid-column: 1 / -1;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2b2d42;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group label i {
    color: var(--primary-color);
    width: 16px;
}

.filter-group input,
.filter-group select {
    padding: 0.75rem;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
    background: white;
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(225, 33, 30, 0.1);
}

/* Fila de acciones */
.filters-actions-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 2px solid #dee2e6;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-checkbox-bottom {
    display: flex;
    align-items: center;
}

.filter-checkbox-bottom label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    color: #2b2d42;
    padding: 0.5rem 0;
}

.filter-checkbox-bottom input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.filters-actions {
    display: flex;
    gap: 0.5rem;
}

/* Botones */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: #c41e1b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(225, 33, 30, 0.3);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

/* ============================================
   RESPONSIVE - MÓVILES
   ============================================ */

/* Tablets (768px - 1024px) */
@media (max-width: 1024px) {
    .filters-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablets pequeñas (576px - 768px) */
@media (max-width: 768px) {
    .filters-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .filters-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Móviles (hasta 576px) - COLUMNA VERTICAL */
@media (max-width: 576px) {
    .filters-section {
        padding: 1rem 0;
    }
    
    .filters-grid {
        grid-template-columns: 1fr; /* UNA SOLA COLUMNA */
        gap: 1rem;
    }
    
    .filters-title {
        font-size: 1.2rem;
    }
    
    .results-count {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
    
    .filters-actions-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-checkbox-bottom {
        justify-content: center;
        width: 100%;
    }
    
    .filters-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .filters-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
/* ===================================
   GRID DE PRODUCTOS
   =================================== */

.products-section {
    max-width: var(--max-width);
    margin: 2rem auto;
    padding: 0 2rem;
    width: 100%;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    width: 100%;
}

.product-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.product-image-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--bg-color);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.product-info {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
    flex: 1; /* Ocupa espacio disponible */
    align-content: flex-start; /* Alinea contenido arriba */
}

.product-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    margin-top: auto;
}

/* Precio con descuento */
.product-price {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-items: flex-start;
    margin: 1rem 0;
}

.price-original {
    font-size: 0.9rem;
    color: #6c757d;
    text-decoration: line-through;
}

.price-final {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.price-discount {
    display: inline-block;
    background: #28a745;
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.btn-interest {
    background: var(--primary-color);
    color: white;
    padding: 0.875rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
}

.btn-interest:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ===================================
   PAGINACIÓN
   =================================== */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 0.75rem 1rem;
    background: white;
    color: var(--text-color);
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.pagination-btn:hover:not(.disabled) {
    background: var(--primary-color);
    color: white;
}

.pagination-btn.active {
    background: var(--primary-color);
    color: white;
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===================================
   MODALES
   =================================== */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: var(--border-radius);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.modal-close {
    background: none;
    font-size: 1.5rem;
    color: var(--text-light);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--bg-color);
    color: var(--text-color);
}

.modal-body {
    padding: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(225, 33, 30, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info {
    background: var(--bg-color);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
}

.contact-info h3 {
    margin-bottom: 0.75rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: var(--primary-color);
    font-weight: 600;
}

/* ===================================
   FOOTER
   =================================== */

.site-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    color: white;
    margin-top: auto;
    padding-top: 3rem;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    line-height: 1.6;
}

.footer-section p i {
    color: var(--primary-color);
    min-width: 20px;
    text-align: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.footer-section p span,
.footer-section p a {
    color: rgba(255, 255, 255, 0.9);
    flex: 1;
}

.footer-section a:hover {
    color: white;
    text-decoration: underline;
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 1.5rem 0;
}

.footer-map {
    width: 100%;
    height: 325px;
    border-radius: var(--border-radius);
    border: none;
}

.footer-bottom {
    background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 100%);
    padding: 1.5rem 2rem;
    text-align: center;
    font-size: 0.9rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.footer-bottom strong {
    color: white;
}

/* ===================================
   FOOTER RESPONSIVE
   =================================== */

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        font-size: 0.85rem;
        padding: 1.25rem 1rem;
    }
}
/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1.5rem;
    }
    
    .filters-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .banner-text {
        min-width: 280px; /* Ancho mínimo para textos con letter-spacing */
        max-width: 90vw; /* No exceder el 90% del ancho de la pantalla */
    }
    
    /* Solo el primer banner (con letter-spacing) no rompe líneas */
    .banner-text.banner-nowrap h2,
    .banner-text.banner-nowrap p {
        white-space: nowrap;
    }
    
    .banner-text h2 {
        font-size: 2rem;
    }
    
    .banner-text p {
        font-size: 1.1rem;
    }
    
    .categories-container {
        padding: 0.75rem 1rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .filters-grid {
        grid-template-columns: 1fr;
    }
    
    .filters-section {
        padding: 0 1rem;
        margin-top: 2rem; /* Más espacio después del menú categorías */
    }
    
    .products-section {
        padding: 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .top-bar {
        padding: 0.75rem 1rem;
    }
    
    .site-logo {
        height: 45px;
    }
    
    .action-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .banner-text {
        min-width: 260px; /* Ancho mínimo para pantallas muy pequeñas */
        max-width: 90vw; /* No exceder el 90% del ancho de la pantalla */
    }
    
    /* Solo el primer banner (con letter-spacing) no rompe líneas */
    .banner-text.banner-nowrap h2,
    .banner-text.banner-nowrap p {
        white-space: nowrap;
    }
    
    .banner-text h2 {
        font-size: 1.5rem;
    }
    
    .banner-text p {
        font-size: 1rem;
    }
}
/* ===================================
   POSICIONAMIENTO BANNER - 9 POSICIONES
   =================================== */

.carousel-content {
    position: absolute;
    z-index: 2;
    width: auto;
    max-width: 85%;
    padding: 2rem;
}

/* ===== FILA CENTRAL (Centro vertical) ===== */
.carousel-content.left {
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
    text-align: left;
}

.carousel-content.center {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.carousel-content.right {
    right: 5%;
    left: auto;
    top: 50%;
    transform: translateY(-50%);
    text-align: right;
}

/* ===== FILA SUPERIOR ===== */
.carousel-content.top-left {
    left: 5%;
    top: 10%;
    right: auto;
    bottom: auto;
    transform: none;
    text-align: left;
}

.carousel-content.top-center {
    left: 50%;
    top: 10%;
    right: auto;
    bottom: auto;
    transform: translateX(-50%);
    text-align: center;
}

.carousel-content.top-right {
    right: 5%;
    top: 10%;
    left: auto;
    bottom: auto;
    transform: none;
    text-align: right;
}

/* ===== FILA INFERIOR ===== */
.carousel-content.bottom-left {
    left: 5%;
    bottom: 10%;
    right: auto;
    top: auto;
    transform: none;
    text-align: left;
}

.carousel-content.bottom-center {
    left: 50%;
    bottom: 10%;
    right: auto;
    top: auto;
    transform: translateX(-50%);
    text-align: center;
}

.carousel-content.bottom-right {
    right: 5%;
    bottom: 10%;
    left: auto;
    top: auto;
    transform: none;
    text-align: right;
}

/* Responsive móviles */
@media (max-width: 768px) {
    .carousel-content {
        padding: 1rem;
        max-width: 92%;
        font-size: 0.9rem;
    }
    
    .carousel-content.left,
    .carousel-content.top-left,
    .carousel-content.bottom-left {
        left: 4%;
    }
    
    .carousel-content.right,
    .carousel-content.top-right,
    .carousel-content.bottom-right {
        right: 4%;
    }
    
    .carousel-content.top-left,
    .carousel-content.top-center,
    .carousel-content.top-right {
        top: 8%;
    }
    
    .carousel-content.bottom-left,
    .carousel-content.bottom-center,
    .carousel-content.bottom-right {
        bottom: 8%;
    }
}

/* ===================================
   PÁGINAS DE CONTENIDO ESTÁTICO
   =================================== */

.content-page {
    max-width: 900px;
    margin: 2rem auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

/* Header de la página con fondo */
.content-page-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-bottom: 3px solid var(--color-accent);
}

.content-page h1 {
    color: var(--color-dark);
    font-size: 2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.content-page h1 i {
    color: var(--color-accent);
    font-size: 1.8rem;
}

/* Contenido */
.content-page-body {
    padding: 2rem;
}

.content-page h2 {
    color: var(--color-dark);
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(225, 33, 30, 0.05);
    border-left: 4px solid var(--color-accent);
    border-radius: 4px;
}

.content-page h2:first-child {
    margin-top: 0;
}

.content-page p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #555;
    font-size: 1rem;
}

.content-page p strong {
    color: var(--color-dark);
    font-weight: 600;
}

.content-page ul {
    margin: 1.5rem 0;
    padding-left: 0;
    list-style: none;
}

.content-page ul li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.8;
    color: #555;
}

.content-page ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--color-accent);
    position: absolute;
    left: 0;
    top: 0;
}

.content-page ul li strong {
    color: var(--color-dark);
    font-weight: 600;
}

/* Sección de contacto destacada */
.content-page .contact-highlight {
    background: linear-gradient(135deg, rgba(225, 33, 30, 0.05), rgba(225, 33, 30, 0.1));
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--color-accent);
    margin: 2rem 0;
}

.content-page .contact-highlight p {
    margin-bottom: 0.5rem;
}

.content-page .contact-highlight p:last-child {
    margin-bottom: 0;
}

/* Botón de regreso */
.content-page .back-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #f0f0f0;
    text-align: center;
}

.content-page .btn,
.content-page .btn-primary {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, #e1211e, #b71c1a) !important;
    color: white !important;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(225, 33, 30, 0.3);
    border: none;
}

.content-page .btn:hover,
.content-page .btn-primary:hover {
    background: linear-gradient(135deg, #b71c1a, #e1211e) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225, 33, 30, 0.4);
    color: white !important;
}

.content-page .btn i {
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .content-page {
        margin: 1rem;
        border-radius: 8px;
    }
    
    .content-page-header {
        padding: 1.5rem;
    }
    
    .content-page h1 {
        font-size: 1.5rem;
    }
    
    .content-page h1 i {
        font-size: 1.4rem;
    }
    
    .content-page-body {
        padding: 1.5rem;
    }
    
    .content-page h2 {
        font-size: 1.2rem;
        padding: 0.6rem 0.8rem;
    }
    
    .content-page ul li {
        padding-left: 1.5rem;
        font-size: 0.95rem;

/* ===================================
   ESTILOS CAPTCHA
   =================================== */

/* Label captcha (para footer con fondo oscuro) - SELECTOR REFORZADO */
.site-footer .footer-section .captcha-label,
.site-footer .footer-section .captcha-label i,
.site-footer .captcha-label,
.site-footer .captcha-label i,
.footer-section .captcha-label,
.footer-section .captcha-label i {
    color: #ffffff !important;
}

/* Pregunta captcha */
.captcha-question {
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border: 1px solid #dee2e6;
    font-weight: 600;
    color: #000 !important; /* Negro para contraste */
}

/* Input respuesta captcha */
.captcha-input {
    min-width: 140px !important;
    max-width: 180px;
}

/* Responsive móvil */
@media (max-width: 480px) {
    .captcha-input {
        min-width: 120px !important;
    }
}
