/* Importar Fuentes de Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&family=Pacifico&display=swap');

/* --- Variables CSS --- */
:root {
    --color-primary-dark: #184891;
    /* Azul pizarra violeta */
    --color-primary-light: #483D8B;
    /* Púrpura oscuro */
    --color-accent-coral: #FF6B6B;
    /* Coral vibrante */
    --color-accent-yellow: #FFD166;
    /* Amarillo soleado */
    --color-accent-mint: #06D6A0;
    /* Verde menta */
    --color-text-dark: #2c3e50;
    /* Gris azulado oscuro */
    --color-text-light: #f5f5f5;
    --color-background-light: #f8f8f8;
    --shadow-subtle: 0 5px 20px rgba(0, 0, 0, 0.08);
}

/* --- Reseteo y Base Global --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--color-text-dark);
    background-color: var(--color-background-light);
    overflow-x: hidden;
    /* Previene scroll horizontal */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--color-text-dark);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-family: 'Pacifico', cursive;
    /* Fuente juguetona para el hero */
    font-size: 3.5rem;
    color: #fff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

h2 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--color-text-dark);
    font-weight: 700;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--color-text-dark);
    font-weight: 600;
}

p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

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

.section-description {
    font-size: 1.2rem;
    color: #777;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Botones Generales --- */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    /* Muy redondeados */
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--color-accent-coral);
    color: #fff;
    border: 2px solid var(--color-accent-coral);
}

.btn-primary:hover {
    background-color: #FF4B4B;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* === Ajuste para Botón Secundario === */
/* Estilo para el botón secundario en fondos claros */
.btn-secondary {
    background-color: #fff;
    color: var(--primary-color, #8a2be2); /* Usa el color primario para el texto */
    border: 2px solid var(--primary-color, #8a2be2); /* Borde con el color primario */
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

/* Efecto hover para el botón secundario */
.btn-secondary:hover {
    background-color: var(--primary-color, #8a2be2);
    color: #fff;
    transform: translateY(-2px);
}

/* --- Hero Section --- */
.hero-section {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary-light) 100%);
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    /* Para móviles */
}

.hero-image {
    position: absolute;
    bottom: -50px;
    /* Ajusta la posición vertical de la imagen */
    right: -50px;
    /* Ajusta la posición horizontal */
    width: 500px;
    /* Tamaño de la imagen */
    height: auto;
    z-index: 1;
    opacity: 0.8;
    /* Transparencia sutil */
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: rotate(5deg);
    /* Ligera rotación para dinamismo */
}

/* --- Features Section --- */
.features-section {
    background-color: var(--color-background-light);
    padding: 80px 0;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-subtle);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid var(--color-accent-coral);
    /* Borde de acento superior */
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, var(--color-accent-mint), var(--color-accent-yellow));
    /* Degradado en el icono */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.icon-wrapper i {
    font-size: 2.2rem;
    color: #fff;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--color-primary-dark);
}

.feature-card p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 0;
}

/* --- Process Section --- */
.process-section {
    background: linear-gradient(135deg, var(--color-accent-coral) 0%, #FF8C6B 100%);
    /* Degradado cálido */
    padding: 80px 0;
    color: #fff;
    text-align: center;
}

.process-section h2 {
    color: #fff;
}

.process-section .section-description {
    color: rgba(255, 255, 255, 0.9);
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    /* Para móviles */
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.step-card {
    background-color: rgba(255, 255, 255, 0.15);
    /* Fondo semitransparente */
    backdrop-filter: blur(5px);
    /* Efecto de desenfoque */
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    max-width: 350px;
    transition: transform 0.3s ease;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

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

.step-number {
    width: 60px;
    height: 60px;
    background-color: #fff;
    color: var(--color-accent-coral);
    font-size: 2.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.step-card h3 {
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

/* --- Gallery Section --- */
.gallery-section {
    background-color: #fff;
    padding: 80px 0;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow-subtle);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    /* Altura fija para uniformidad */
    object-fit: cover;
    display: block;
    border-radius: 15px;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
    /* Efecto de zoom al pasar el mouse */
}

.more-designs-btn {
    margin-top: 50px;
    background-color: var(--color-primary-dark);
    color: #fff;
    border-color: var(--color-primary-dark);
}

.more-designs-btn:hover {
    background-color: var(--color-primary-light);
    border-color: var(--color-primary-light);
}

/* --- Contact Section --- */
.contact-section {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary-dark) 100%);
    padding: 80px 0;
    color: #fff;
    text-align: center;
}

.contact-section h2 {
    color: #fff;
}

.contact-section .section-description {
    color: rgba(255, 255, 255, 0.9);
}

.contact-form {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 15px;
    max-width: 600px;
    margin: 40px auto 0;
    box-shadow: var(--shadow-subtle);
    text-align: left;
}

.contact-form label {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--color-text-dark);
    font-weight: 600;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    color: var(--color-text-dark);
    background-color: #fcfcfc;
}

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

.form-submit-btn {
    width: 100%;
    margin-top: 20px;
    background-color: var(--color-accent-coral);
    border-color: var(--color-accent-coral);
}

.form-submit-btn:hover {
    background-color: #FF4B4B;
    border-color: #FF4B4B;
}

/* --- Footer --- */
footer {
    background-color: var(--color-text-dark);
    /* Color de fondo oscuro para el footer */
    color: var(--color-text-light);
    /* Color de texto claro */
    padding: 40px 20px;
    text-align: center;
    border-top: 5px solid var(--color-accent-mint);
    /* Un borde superior de acento */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    /* Por defecto apilado para móviles */
    align-items: center;
    gap: 30px;
    /* Espacio entre los bloques del footer */
}

.footer-logo img {
    max-width: 150px;
    /* Tamaño máximo para tu logo */
    height: 150px;
    /* Asegura que la altura sea igual al ancho para un círculo perfecto */
    object-fit: cover;
    /* Recorta la imagen para que quepa en el círculo sin distorsionarse */
    border-radius: 50%;
    /* ¡Esto lo hace circular! */
    border: 3px solid #fff;
    /* Opcional: un borde blanco alrededor del logo */
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    /* Opcional: una sombra sutil */
    margin-bottom: 15px;
}

.footer-logo p {
    font-size: 0.9rem;
    color: #bbb;
    margin: 0;
}

.footer-social h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    /* Consistencia con la fuente de tu diseño */
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    /* Espacio entre los iconos */
}

.social-icons a {
    color: #fff;
    font-size: 1.8rem;
    /* Tamaño de los iconos */
    width: 45px;
    height: 45px;
    border: 2px solid #fff;
    border-radius: 50%;
    /* Iconos circulares */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--color-accent-mint);
    /* Color de acento al pasar el mouse */
    border-color: var(--color-accent-mint);
    transform: translateY(-5px);
    /* Pequeña elevación */
}

/* --- Botón Flotante de WhatsApp --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    /* Distancia desde la parte inferior */
    right: 30px;
    /* Distancia desde la parte derecha */
    background-color: #25d366;
    /* Color de WhatsApp */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    /* Asegura que esté por encima de otros elementos */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #1DA851;
    /* Un poco más oscuro al pasar el mouse */
    transform: scale(1.1);
    /* Efecto de crecimiento sutil */
    box-shadow: 3px 3px 5px #777;
}

/* === Seccion de Paquetes (Pricing) === */
.pricing-section {
    padding: 80px 0;
    background-color: #fff; /* Fondo blanco para esta sección */
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    background-color: #f9f9f9;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.pricing-card .card-header h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.pricing-card .price {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.pricing-card .price .currency {
    font-size: 1rem;
    font-weight: 400;
    color: #777;
    margin-left: 5px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
}

.features-list li {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 12px;
    color: #555;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.features-list li .fa-check-circle {
    color: #28a745;
    margin-right: 10px;
    font-size: 1.1rem;
}

.features-list li.disabled {
    color: #aaa;
    text-decoration: line-through;
}

.features-list li.disabled .fa-times-circle {
    color: #dc3545;
    margin-right: 10px;
    font-size: 1.1rem;
}

/* Estilo para el paquete recomendado */
.pricing-card.recommended {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.recommended-badge {
    position: absolute;
    top: 15px;
    right: -45px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 40px;
    font-size: 0.9rem;
    font-weight: 700;
    transform: rotate(45deg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .pricing-card.recommended {
        transform: scale(1); /* Quitar el zoom en móvil para mejor visualización */
    }
}

/* ===== Estilos para la Nueva Sección de Portafolio ===== */
.portfolio-section {
    padding: 80px 0;
    background-color: #fdfaf6; /* Un fondo suave */
}

.slider-container {
    position: relative;
    width: 100%;
    margin-top: 40px;
}

.slider-wrapper {
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.portfolio-card {
    flex: 0 0 100%; /* En móvil, una tarjeta a la vez */
    max-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
    text-align: center;
}

.portfolio-card .card-image {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.portfolio-card .card-image img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
}

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

.portfolio-card .card-content {
    padding: 25px 10px;
}

.portfolio-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.btn-portfolio {
    display: inline-block;
    background-color: #5a2d5c; /* Color vino/morado oscuro */
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-portfolio:hover {
    background-color: #422143;
}

.slider-arrow {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
    color: #333;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-arrow:hover {
    background-color: #fff;
    color: #5a2d5c;
}

.prev-arrow {
    left: -20px;
}

.next-arrow {
    right: -20px;
}

/* Media Query para Escritorio (3 tarjetas visibles) */
@media (min-width: 768px) {
    .portfolio-card {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
}

/* ===== Estilos para la Sección de Beneficios ===== */
.benefits-section {
    padding: 80px 20px;
    background-color: #fff;
    text-align: center;
}

.benefits-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    color: #1e2a3a;
    margin-bottom: 50px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.benefit-icon {
    font-size: 2.5rem; /* Tamaño del ícono */
    color: #ff6b81; /* Color coral/rosa como en la imagen */
    margin-bottom: 15px;
}

.benefit-item p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #ff6b81;
    font-size: 1rem;
}

/* Ajuste para pantallas más grandes */
@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .benefits-section h2 {
        font-size: 2.5rem;
    }
}

@media (min-width: 992px) {
    .benefits-grid {
       gap: 40px;
    }
}

/* --- Responsividad --- */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    h3 {
        font-size: 1.6rem;
    }

    p {
        font-size: 1rem;
    }

    .section-description {
        font-size: 1rem;
    }

    .hero-section {
        height: auto;
        min-height: 70vh;
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .hero-image {
        position: relative;
        /* Ajusta la imagen a la posición normal en el flujo */
        bottom: auto;
        right: auto;
        margin-top: 40px;
        width: 80%;
        /* Más pequeña en móvil */
        order: -1;
        /* Mueve la imagen arriba del texto en móviles */
    }

    .features-grid,
    .process-steps,
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .feature-card,
    .step-card,
    .gallery-item {
        max-width: 450px;
        /* Limita el ancho de las tarjetas */
        margin-left: auto;
        margin-right: auto;
    }

    .process-section {
        padding: 60px 0;
    }

    .gallery-item img {
        height: 220px;
    }

    .contact-form {
        padding: 30px;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-social h3 {
        margin-top: 20px;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        /* Ancho máximo para botones apilados */
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 25px;
        right: 25px;
        font-size: 28px;
    }

    .footer-logo img {
        max-width: 120px;
        /* Ajuste para que el logo se vea bien en pantallas muy pequeñas */
        height: 120px;
    }
}

/* Estilos para el mensaje de retroalimentación del formulario de contacto */
.form-feedback-message {
    margin-top: 25px;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    opacity: 0; /* Inicialmente oculto para la transición */
    transition: opacity 0.5s ease-in-out; /* Transición suave para aparecer/desaparecer */
}

.form-feedback-message.success {
    background-color: #d4edda; /* Verde claro */
    color: #155724; /* Verde oscuro */
    border: 1px solid #c3e6cb;
    opacity: 1; /* Hace visible el mensaje de éxito */
}

.form-feedback-message.error {
    background-color: #f8d7da; /* Rojo claro */
    color: #721c24; /* Rojo oscuro */
    border: 1px solid #f5c6cb;
    opacity: 1; /* Hace visible el mensaje de error */
}

.form-feedback-message.sending {
    background-color: #ffeeba; /* Amarillo claro */
    color: #856404; /* Amarillo oscuro */
    border: 1px solid #ffdf7e;
    opacity: 1;
}

.button-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
    justify-items: center;
}

.btn-gallery {
    display: block;
    padding: 20px 30px;
    background: var(--color-primary-light);
    color: #fff;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 15px;
    box-shadow: var(--shadow-subtle);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-gallery:hover {
    background: var(--color-primary-dark);
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* ===== ESTILOS PARA LA SECCIÓN DE PREGUNTAS FRECUENTES (FAQ) ===== */
.faq-section {
    padding: 80px 20px;
    background-color: #fdfaf6; /* Fondo suave y cálido */
}

.faq-section h2 {
    color: #5a2d5c; /* Tono vino/morado oscuro */
}

.faq-accordion {
    max-width: 800px;
    margin: 40px auto 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.faq-item {
    background-color: #fff;
    border-bottom: 1px solid #f0e9f2;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 25px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #fdf8ff; /* Un lila muy sutil al pasar el mouse */
}

.faq-question span {
    display: flex;
    align-items: center;
}

.faq-question span .fas {
    color: #5a2d5c;
    margin-right: 15px;
    font-size: 1.2rem;
}

.faq-question .icon-toggle {
    font-size: 1rem;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), padding 0.5s ease;
    background-color: #fff;
}

.faq-answer p {
    padding: 0 25px 20px 65px; /* Alineado con el texto de la pregunta */
    margin: 0;
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
}

/* Estilos para cuando el acordeón está activo */
.faq-item.active .faq-question .icon-toggle {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    /* El max-height se establece con JS, aquí solo es un fallback */
    max-height: 300px; 
}

/* ===== SCRIPT PARA EL CARRUSEL DEL PORTAFOLIO ===== */
<script>
    document.addEventListener('DOMContentLoaded', function () {
        const track = document.querySelector('.slider-track');
        const slides = Array.from(track.children);
        const nextButton = document.querySelector('.next-arrow');
        const prevButton = document.querySelector('.prev-arrow');
        const dotsNav = document.querySelector('.carousel-nav');
        const dots = Array.from(dotsNav.children);

        let currentSlide = 0;
        let autoSlideInterval;

        const setSlidePosition = (slide, index) => {
            slide.style.left = `${index * 100}%`;
        };

        slides.forEach(setSlidePosition);

        const moveToSlide = (track, currentSlide, targetSlide) => {
            track.style.transform = `translateX(-${targetSlide.style.left})`;
            currentSlide.classList.remove('current-slide');
            targetSlide.classList.add('current-slide');
        };

        const updateDots = (currentDot, targetDot) => {
            currentDot.classList.remove('active');
            targetDot.classList.add('active');
        };

        const nextSlide = () => {
            const currentSlideElement = slides[currentSlide];
            const nextSlideElement = slides[(currentSlide + 1) % slides.length];
            moveToSlide(track, currentSlideElement, nextSlideElement);
            updateDots(dots[currentSlide], dots[(currentSlide + 1) % dots.length]);
            currentSlide = (currentSlide + 1) % slides.length;
        };

        const prevSlide = () => {
            const currentSlideElement = slides[currentSlide];
            const prevSlideElement = slides[(currentSlide - 1 + slides.length) % slides.length];
            moveToSlide(track, currentSlideElement, prevSlideElement);
            updateDots(dots[currentSlide], dots[(currentSlide - 1 + dots.length) % dots.length]);
            currentSlide = (currentSlide - 1 + slides.length) % slides.length;
        };

        nextButton.addEventListener('click', () => {
            nextSlide();
            resetAutoSlide();
        });

        prevButton.addEventListener('click', () => {
            prevSlide();
            resetAutoSlide();
        });

        const resetAutoSlide = () => {
            clearInterval(autoSlideInterval);
            autoSlideInterval = setInterval(nextSlide, 5000);
        };

        autoSlideInterval = setInterval(nextSlide, 5000);

        // ===== SCRIPT PARA EL ACORDEÓN DE FAQ (NUEVO) =====
        document.addEventListener('DOMContentLoaded', function () {
            const faqItems = document.querySelectorAll('.faq-item');

            faqItems.forEach(item => {
                const question = item.querySelector('.faq-question');
                question.addEventListener('click', () => {
                    const answer = item.querySelector('.faq-answer');
                    const wasActive = item.classList.contains('active');

                    // Cierra todos los demás
                    faqItems.forEach(otherItem => {
                        otherItem.classList.remove('active');
                        otherItem.querySelector('.faq-answer').style.maxHeight = null;
                    });

                    // Abre o cierra el actual
                    if (!wasActive) {
                        item.classList.add('active');
                        answer.style.maxHeight = answer.scrollHeight + 'px';
                    }
                });
            });
        });
    </script>