/* =============================================
   CONTACTO - TODO KEFIR
   ============================================= */

/* Contenedor principal */
.contacto-page {
    max-width: 880px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

/* Hero */
.contacto-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.contacto-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e2a1c;
    margin-bottom: 0.5rem;
}

.contacto-linea {
    width: 80px;
    height: 4px;
    background: #4caf50;
    margin: 1rem auto 1.5rem;
    border-radius: 2px;
}

.contacto-hero p {
    font-size: 1.1rem;
    color: #556b52;
    max-width: 600px;
    margin: 0 auto;
}

/* Tarjeta del formulario */
.contacto-card {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #e8ede6;
    overflow: hidden;
    margin-bottom: 3rem;
}

.card-header {
    background: #f8faf6;
    padding: 1.5rem;
    border-bottom: 1px solid #e8ede6;
}

.card-header h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2e7d32;
    margin: 0;
	text-align: center;
}

.card-body {
    padding: 1.8rem;
}

.wpcf7-form {
    margin: 0;
}

.wpcf7-form p {
    margin-bottom: 1.2rem;
}

.wpcf7-form label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: #4a6741;
    margin-bottom: 6px;
}

.wpcf7-form input,
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #e0e8dc;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    border-color: #4caf50;
    outline: none;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.wpcf7-submit {
    background: #4caf50;
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
}

.wpcf7-submit:hover {
    background: #2e7d32;
    transform: translateY(-2px);
}

/* Mensaje de éxito de CF7 */
.wpcf7-response-output {
    margin-top: 1rem;
    padding: 12px;
    border-radius: 12px;
    text-align: center;
}

/* Email directo */
.contacto-email {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #556b52;
}

.contacto-email a {
    color: #4caf50;
    text-decoration: none;
}

.contacto-email a:hover {
    text-decoration: underline;
}

/* FAQ Section */
.faq-section {
    background: #f8faf6;
    border-radius: 24px;
    padding: 2rem;
    margin-top: 1rem;
}

.faq-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2e7d32;
    margin-bottom: 1.5rem;
    text-align: center;
}

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid #e8ede6;
}

.faq-pregunta {
    padding: 1rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: background 0.2s;
    font-size: 1rem;
}

.faq-pregunta:hover {
    background: #f8faf6;
}

.faq-icono {
    font-size: 1.3rem;
    transition: transform 0.3s;
    color: #4caf50;
    font-weight: bold;
}

.faq-item.activo .faq-icono {
    transform: rotate(45deg);
}

.faq-respuesta {
    max-height: 0;
    padding: 0 1.5rem;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.2s;
    color: #556b52;
    line-height: 1.6;
    font-size: 0.95rem;
}

.faq-item.activo .faq-respuesta {
    max-height: 300px;
    padding: 0 1.5rem 1rem 1.5rem;
}

/* Placeholder del formulario (si no tienes CF7 aún) */
.formulario-placeholder {
    text-align: center;
    padding: 2rem;
    background: #f8faf6;
    border-radius: 16px;
    border: 1px dashed #4caf50;
}

.formulario-placeholder p {
    margin: 0.5rem 0;
    color: #556b52;
}

.formulario-placeholder a {
    color: #4caf50;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .contacto-page {
        padding: 2rem 1rem;
    }
    .contacto-hero h1 {
        font-size: 2rem;
    }
    .card-header {
        padding: 1.2rem;
    }
    .card-body {
        padding: 1.2rem;
    }
    .faq-section {
        padding: 1.5rem;
    }
    .faq-pregunta {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .contacto-hero h1 {
        font-size: 1.6rem;
    }
    .contacto-hero p {
        font-size: 0.95rem;
    }
}