/* ==========================================================================
   1. CONFIGURACIÓN GENERAL Y VARIABLES
   ========================================================================== */
:root {
    --primary-color: #008f9a;
    --dark-color: #1d1d1b;
    --dark-color-2: #666;
    --light-gray-color: #f4f4f4;
    --light-gray-color-2: #adadad;
    --white-color: #ffffff;
    --text-color: #333;
    --header-height: 80px; /* Ajustado a la altura real del logo */
    --clip-size: 20px;
    --clip-size-sm: 8px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white-color);
}

/* ==========================================================================
   2. CLASES DE UTILIDAD (UTILITIES)
   ========================================================================== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.content-container {
    max-width: 800px;
}

.bg-light {
    background-color: var(--light-gray-color);
}

.bg-dark {
    background-color: var(--dark-color);
}

.bg-dark .section-title,
.bg-dark h4 {
    color: var(--white-color);
}

.bg-dark p,
.bg-dark .section-subtitle {
    color: #ccc;
}

.highlight {
    color: var(--primary-color);
}

.no-margin {
    margin: 0 !important;
}

/* ==========================================================================
   3. COMPONENTES REUTILIZABLES
   ========================================================================== */
/* --- Estructura base para todos los botones --- */
.btn {
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

/* --- Botones con forma picada --- */
.btn-clipped {
    padding: 0.7rem 1.5rem;
    clip-path: polygon(var(--clip-size-sm) 0%, 100% 0%, 100% calc(100% - var(--clip-size-sm)), calc(100% - var(--clip-size-sm)) 100%, 0% 100%, 0% var(--clip-size-sm));
}

.btn-clipped:hover {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 100%, 0 0); /* Animación a cuadrado */
}

/* Modificador de botón primario (Hero) */
.btn-primary {
    padding: 1rem 2rem;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    clip-path: polygon(var(--clip-size) 0%, 100% 0%, 100% calc(100% - var(--clip-size)), calc(100% - var(--clip-size)) 100%, 0% 100%, 0% var(--clip-size));
}

.btn-primary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-3px);
}

/* Modificador de botón outline (Saber Más) */
.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

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

/* Modificador de botón relleno (Ver Todos) */
.btn-filled {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.btn-filled:hover {
    background-color: #007a85;
}


/* --- Botón Flotante de WhatsApp --- */
.whatsapp-flotante {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.25);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.whatsapp-flotante:hover {
    transform: scale(1.1);
}

/* ==========================================================================
   4. LAYOUT (HEADER, FOOTER, NAV)
   ========================================================================== */
.header {
    background-color: var(--white-color);
    border-bottom: 1px solid #eee;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
    width: 90%;
    margin: 0 auto;
}

.nav-logo img {
    height: 80px;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-item {
    margin-left: 1.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--dark-color);
    transition: all 0.3s ease-in-out;
}

.footer {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 2rem 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--white-color);
    text-decoration: none;
    margin-left: 1rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* ==========================================================================
   5. ESTILOS DE SECCIONES
   ========================================================================== */
/* --- Estilos Generales de Sección --- */
.content-section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin: 0 auto 2rem auto;
}

/* --- Hero --- */
/* .hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white-color);
    padding: 0 1rem;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: -1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
} */

/* --- ESTILOS PARA EL NUEVO SLIDER DEL HERO --- */

/* 1. Asegurar que el hero siga siendo el contenedor principal */
.hero {
    position: relative; /* Necesario para posicionar el contenido y los dots */
    overflow: hidden;   /* Oculta las partes de la imagen que se salgan */
    height: 800px;
}

/* 2. Capa oscura (opcional, pero recomendada) */
/* La necesitarás para que el texto blanco sea legible sobre las fotos */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Ajusta la opacidad (0.5 = 50%) */
    z-index: 1; /* Se ubica entre el slider y el contenido */
}

/* 3. Contenedor del slider y slides */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Detrás de todo */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0; /* Oculto por defecto */
    transition: opacity 1s ease-in-out; /* Animación de fundido */
}

.slide.active {
    opacity: 1; /* Visible */
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que la imagen cubra todo el espacio sin deformarse */
}

/* 4. Posicionar el contenido de texto por encima */
.hero-content {
    position: relative; /* Cambiado de absolute a relative */
    z-index: 2; /* Por encima de la capa oscura y el slider */
    /* El resto de tus estilos para centrarlo (display: flex, etc.) deben seguir funcionando */
    height: 800px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.5); /* Capa oscura para mejorar la legibilidad */
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #fff; /* Asegura que el texto sea blanco */
    text-align: center;
}
.hero-content p{
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    color: #fff; /* Asegura que el texto sea blanco */
}
/* 5. Estilos para los puntos de navegación */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3; /* Por encima de todo */
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.dot.active {
    opacity: 1;
}

/*media query para pantallas pequeñas */
@media (max-width: 768px) {
    .hero-content {
        height: 650px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero::after,.hero-slider, .slide, .slide img {
        height: 650px;
    }
    .hero{
        height: 650px;
    }
}

/* --- FIN DE ESTILOS DEL SLIDER --- */

/* --- Servicios (Homepage) --- */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: #2a2a2a;
    padding: 2.5rem 2rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    clip-path: polygon(var(--clip-size) 0%, 100% 0%, 100% calc(100% - var(--clip-size)), calc(100% - var(--clip-size)) 100%, 0% 100%, 0% var(--clip-size));
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.service-card p {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

/* --- Sobre Nosotros y Calidad --- */
.about-us-grid,
.quality-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-us-text h3 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.about-us-image {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 2rem;
    border-radius: 10px;
}
.about-us-image p {
    font-size: 1.1rem;
}

.about-us-intro{
    margin-bottom: 2rem;
    text-align: center;
    width: 80%;
    margin: auto;
}

.quality-text {
    flex: 2;
}

.quality-stats {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.quality-stats p{
    border-top: none !important;
}

.stat-item {
    background-color: var(--light-gray-color);
    padding: 1.5rem;
    text-align: center;
    /* border-radius: 10px; */
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--primary-color);
}

/* --- Marcas Aliadas --- */
.brands-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.brand-item {
    background-color: var(--white-color);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 250px;
    text-align: center;
}

.brand-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.brand-item h3 {
    font-size: 2rem;
    color: var(--dark-color);
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0;
}

.brand-item img {
    height: 60px;
    max-width: 100%;
    /* filter: grayscale(100%); */
    transition: filter 0.3s ease;
}

.brand-item:hover img {
    filter: grayscale(0%);
}

/* --- FAQ --- */
.faq-accordion {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #ddd;
}

.faq-question {
    width: 100%;
    background-color: transparent;
    border: none;
    text-align: left;
    padding: 1.5rem 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    color: var(--dark-color);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1rem;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding: 0 1rem 1.5rem;
}
.faq-answer ul {
    padding: 0 2rem 1.5rem 3rem;
}

/* --- Contacto --- */
#contacto {
    text-align: center;
}
.contact-info {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}
.contact-info p {
    margin-bottom: 0.5rem;
}

/* --- Páginas Interiores (Servicios, Términos) --- */
.page-header {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../imgs/services/suspension.jpg') no-repeat center center/cover;
    color: var(--white-color);
    padding: 6rem 0;
    text-align: center;
    margin-top: var(--header-height);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.services-detailed-container {
    max-width: 1100px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.service-detail-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 5rem;
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-detail-text h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.service-detail-text p {
    margin-bottom: 2rem;
    line-height: 1.8;
}

.service-detail-item.reverse .service-detail-image {
    grid-column: 2;
    grid-row: 1;
}

.service-detail-item.reverse .service-detail-text {
    grid-column: 1;
    grid-row: 1;
}

.terms-article {
    margin-bottom: 2.5rem;
}

.terms-article h2 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.terms-article p {
    line-height: 1.8;
}

/* ==========================================================================
   6. ANIMACIONES
   ========================================================================== */
.animate-on-load {
    animation: fadeIn 1s ease-in forwards;
    opacity: 0;
}
.animate-on-load:nth-child(2) { animation-delay: 0.2s; }
.animate-on-load:nth-child(3) { animation-delay: 0.4s; }

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-words span {
    display: inline-block; /* Permite transformar cada palabra */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ==========================================================================
   7. DISEÑO RESPONSIVE (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 768px) {
    /* --- Layout --- */
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: var(--header-height);
        flex-direction: column;
        background-color: var(--white-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1.5rem 0;
    }

    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    /* --- Secciones --- */
    .hero-content h1,
    .page-header h1 {
        font-size: 2.5rem;
    }

    .about-us-grid,
    .quality-container,
    .service-detail-item,
    .service-detail-item.reverse {
        grid-template-columns: 1fr;
    }

    .service-detail-item.reverse .service-detail-image,
    .service-detail-item.reverse .service-detail-text {
        grid-column: 1;
    }

    .service-detail-text h2 {
        font-size: 1.8rem;
    }
}

/* hacemos un media query para evitar el reverse en movil */
@media (max-width: 700px) {
    .service-detail-item.reverse .service-detail-image,
    .service-detail-item.reverse .service-detail-text {
        grid-column: 1;
        grid-row: auto;
    }
}

/* --- Sección de Estadísticas (Counter) --- */
.stats-section {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 3rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.stat-item p {
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-color);
    border-top: 2px solid #ccc;
    padding-top: 0.5rem;
}

/* --- Hacemos la sección de stats responsive --- */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablet */
    }
    .stat-number {
        font-size: 2.8rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr; /* 1 columna en móvil */
        gap: 2rem;
    }
    .stats-section {
        padding: 4rem 0;
    }
}

/* --- Sección de Instagram --- */
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.instagram-post {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1; /* Mantiene los posts cuadrados */
    clip-path: polygon(var(--clip-size) 0%, 100% 0%, 100% calc(100% - var(--clip-size)), calc(100% - var(--clip-size)) 100%, 0% 100%, 0% var(--clip-size));
}

.instagram-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.instagram-post:hover img {
    transform: scale(1.1);
}

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 143, 154, 0.8); /* Overlay con el color primario */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.instagram-post:hover .instagram-overlay {
    opacity: 1;
}

.instagram-overlay i {
    color: var(--white-color);
    font-size: 3rem;
}

/* --- Hacemos la sección de Instagram responsive --- */
@media (max-width: 768px) {
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablet */
    }
}

@media (max-width: 480px) {
    .instagram-grid {
        grid-template-columns: 1fr; /* 1 columna en móvil */
    }
}

/* letra delineada */
.outlined-text {
    color: transparent;
    -webkit-text-stroke: 1px var(--dark-color-2);
    text-stroke: 1px var(--dark-color-2);
    line-height: 0px;
    position: relative;
    top: 10px;
    font-size: 4rem;
}

.outlined-text-dark {
    color: transparent;
    -webkit-text-stroke: 1px var(--light-gray-color-2);
    text-stroke: 1px var(--light-gray-color-2);
    line-height: 0px;
    position: relative;
    top: 10px;
    font-size: 4rem;
}

@media (max-width: 992px) {
    .outlined-text, .outlined-text-dark {
        font-size: 3rem;
    }
}

.center{
    text-align: center;
}

/* --- Página de Contacto --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Columna de formulario un poco más ancha */
    gap: 3rem;
    align-items: flex-start;
}

.contact-form-container h3, .contact-info-container h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.contact-form-container p, .contact-info-container p {
    margin-bottom: 2rem;
}

/* Estilos del formulario */
.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(0, 143, 154, 0.5);
}

.contact-form textarea {
    resize: vertical;
}

/* Estilos de la información de contacto */
.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
    margin-top: 5px;
    width: 25px; /* Ancho fijo para alineación */
}

.info-item h4 {
    margin-bottom: 0.2rem;
}

.info-item p {
    margin-bottom: 0;
}

.info-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--primary-color);
}

.map-container {
    margin-top: 2rem;
    border-radius: 10px;
    overflow: hidden; /* Asegura que el mapa respete el borde redondeado */
}

/* --- Hacemos la página de contacto responsive --- */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr; /* Apila las columnas en tabletas y móviles */
    }
}

/* --- Página de Productos (Marcas) --- */
.product-brand-section {
    min-height: 80vh; /* Altura de cada sección de marca */
    position: relative;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    color: var(--white-color);
}

/* Efecto Parallax */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Overlay oscuro para legibilidad */
.product-brand-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

/* Imágenes de fondo para cada marca */
#kaizen-section {
    background-image: url('../../assets/imgs/products/kaizen.png');
}
#tomita-section {
    background-image: url('../../assets/imgs/products/tomita.png');
}
#cardone-section {
    background-image: url('../../assets/imgs/products/cardone.png');
}

/* Tarjeta de contenido */
.brand-content-card {
    position: relative; /* Para que esté sobre el overlay */
    z-index: 2;
    background-color: rgba(29, 29, 27, 0.8); /* --dark-color con transparencia */
    padding: 3rem;
    max-width: 550px;
    border-left: 5px solid var(--primary-color);
    backdrop-filter: blur(10px); /* Efecto de vidrio esmerilado */
    -webkit-backdrop-filter: blur(10px); /* Soporte para Safari */
}

.brand-content-card.left {
    margin-left: 10%;
}

.brand-content-card.right {
    margin-left: auto;
    margin-right: 10%;
    border-left: none;
    border-right: 5px solid var(--primary-color);
}

.brand-content-card h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.brand-content-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* --- Hacemos la página de productos responsive --- */
@media (max-width: 768px) {
    .parallax {
        background-attachment: scroll; /* Desactivamos parallax en móvil por rendimiento */
    }

    .brand-content-card.left,
    .brand-content-card.right {
        margin: 0 auto; /* Centramos las tarjetas */
        max-width: 90%;
        border-left: 5px solid var(--primary-color);
        border-right: none;
    }

    .brand-content-card h2 {
        font-size: 2.5rem;
    }
}

/* --- Estilos para Mensajes del Formulario de Contacto --- */
.form-message {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 5px;
    display: none; /* Oculto por defecto */
    text-align: center;
    font-weight: 600;
}
.form-message.sending,
.form-message.success,
.form-message.error {
    display: block; /* Se muestra cuando tiene una clase de estado */
}
.form-message.sending {
    background-color: #e0e0e0;
    color: #333;
}
.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}


.cta-section {
    padding: 5rem 0;
    text-align: center;
}

.cta-section .section-subtitle {
    margin-bottom: 2.5rem;
}