/* ============================================
   CONTACTO - ESTILOS ESPECÍFICOS
   HELADOS CARRETERO
   ============================================ */

/* ----- HERO ----- */
.contacto-hero {
    padding: 160px 0 100px;
    text-align: center;
    margin-top: 74px;
    background: linear-gradient(135deg, #1a3a2e 0%, #2d6a4f 50%, #40916c 100%);
    position: relative;
    overflow: hidden;
}

.contacto-hero .hero-decoracion {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.contacto-hero .deco-icono {
    position: absolute;
    font-size: 3rem;
    opacity: 0.08;
    animation: flotar 6s ease-in-out infinite;
}

.contacto-hero .deco-icono:nth-child(1) { top: 10%; left: 5%; font-size: 4rem; }
.contacto-hero .deco-icono:nth-child(2) { top: 70%; left: 90%; animation-delay: 1s; font-size: 3.5rem; }
.contacto-hero .deco-icono:nth-child(3) { top: 40%; left: 92%; animation-delay: 2s; font-size: 2.5rem; }
.contacto-hero .deco-icono:nth-child(4) { top: 85%; left: 8%; animation-delay: 0.5s; font-size: 3rem; }

@keyframes flotar {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.contacto-hero .hero-content {
    position: relative;
    z-index: 2;
}

.contacto-hero .hero-tag {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    margin-bottom: 16px;
}

.contacto-hero h1 {
    font-size: 3.8rem;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
}

.contacto-hero .highlight {
    color: #d8e9e0;
    position: relative;
}

.contacto-hero .highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #d8e9e0;
    opacity: 0.3;
    border-radius: 4px;
}

.contacto-hero p {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 30px;
}

/* ----- INFORMACIÓN DE CONTACTO ----- */
.contacto-info {
    padding: 60px 0;
    background: #ffffff;
}

.contacto-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.contacto-info-card {
    text-align: center;
    padding: 30px 20px;
    background: #faf8f5;
    border-radius: 16px;
    border: 1px solid #eef5f2;
    transition: all 0.4s ease;
}

.contacto-info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(45, 106, 79, 0.08);
    border-color: #2d6a4f;
}

.contacto-info-icono {
    width: 60px;
    height: 60px;
    background: #fdf6ed;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.5rem;
    color: #2d6a4f;
    transition: all 0.3s ease;
}

.contacto-info-card:hover .contacto-info-icono {
    background: #2d6a4f;
    color: #ffffff;
    transform: rotate(-5deg) scale(1.05);
}

.contacto-info-card h3 {
    font-size: 1rem;
    color: #2d2d2d;
    margin-bottom: 4px;
}

.contacto-info-card p {
    color: #666666;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.btn-small {
    padding: 6px 16px;
    font-size: 0.8rem;
}

/* ----- FORMULARIO ----- */
.contacto-formulario {
    padding: 80px 0;
    background: #ffffff;
}

.contacto-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-tag {
    display: inline-block;
    background: #2d6a4f;
    color: #ffffff;
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.contacto-header h2 {
    font-size: 2.5rem;
    color: #2d2d2d;
}

.contacto-header .highlight {
    color: #2d6a4f;
}

.contacto-header p {
    color: #888888;
    font-size: 1.1rem;
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

/* ----- FORMULARIO ----- */
.contacto-form-container {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.04);
    border: 1px solid #eef5f2;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-weight: 500;
    font-size: 0.85rem;
    color: #2d2d2d;
    margin-bottom: 4px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #eef5f2;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #faf8f5;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #2d6a4f;
    outline: none;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

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

.form-legal {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 4px;
}

.form-legal input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #2d6a4f;
    flex-shrink: 0;
}

.form-legal label {
    font-weight: 400;
    font-size: 0.85rem;
    color: #888888;
}

.form-legal label a {
    color: #2d6a4f;
    font-weight: 500;
}

.mensaje-form {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    display: none;
}

.mensaje-form.exito {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.mensaje-form.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.mensaje-form.cargando {
    display: block;
    background: #e8f0ee;
    color: #2d6a4f;
    border: 1px solid #d8e9e0;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ----- MAPA ----- */
.contacto-mapa-container {
    display: flex;
    align-items: stretch;
}

.mapa-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.04);
    border: 1px solid #eef5f2;
    overflow: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.mapa-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: #faf8f5;
    border-bottom: 1px solid #eef5f2;
}

.mapa-header i {
    color: #2d6a4f;
    font-size: 1.2rem;
}

.mapa-header h3 {
    font-size: 1rem;
    color: #2d2d2d;
    margin: 0;
}

.mapa-iframe {
    flex: 1;
}

.mapa-iframe iframe {
    display: block;
    width: 100%;
    height: 300px;
    border: none;
}

.mapa-info {
    padding: 14px 20px;
    background: #faf8f5;
    border-top: 1px solid #eef5f2;
}

.mapa-info p {
    font-size: 0.85rem;
    color: #666666;
    margin: 4px 0;
}

.mapa-info i {
    color: #2d6a4f;
    margin-right: 6px;
    width: 16px;
}

/* ----- HORARIO ----- */
.contacto-horario {
    padding: 80px 0;
}

.horario-header {
    text-align: center;
    margin-bottom: 40px;
}

.horario-header h2 {
    font-size: 2.5rem;
    color: #2d2d2d;
}

.horario-header .highlight {
    color: #2d6a4f;
}

.horario-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.horario-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #eef5f2;
    transition: all 0.3s ease;
}

.horario-card:hover {
    border-color: #2d6a4f;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.horario-dia {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.horario-dia span:first-child {
    font-weight: 600;
    color: #2d2d2d;
    font-size: 0.95rem;
}

.horario-horas {
    font-size: 0.9rem;
    color: #2d6a4f;
    font-weight: 500;
}

.horario-nota {
    text-align: center;
    margin-top: 24px;
    color: #888888;
    font-size: 0.9rem;
}

.horario-nota i {
    color: #2d6a4f;
    margin-right: 6px;
}

/* ----- FAQ ----- */
.contacto-faq {
    padding: 80px 0;
    background: #ffffff;
}

.faq-header {
    text-align: center;
    margin-bottom: 40px;
}

.faq-header h2 {
    font-size: 2.5rem;
    color: #2d2d2d;
}

.faq-header .highlight {
    color: #2d6a4f;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #eef5f2;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #d8e9e0;
}

.faq-pregunta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    font-weight: 500;
    color: #2d2d2d;
    transition: all 0.3s ease;
}

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

.faq-pregunta i {
    color: #2d6a4f;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-pregunta i {
    transform: rotate(180deg);
}

.faq-respuesta {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-respuesta {
    max-height: 200px;
    padding: 0 20px 16px;
}

.faq-respuesta p {
    color: #666666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.faq-respuesta a {
    color: #2d6a4f;
    font-weight: 500;
}

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

@media (max-width: 992px) {
    .contacto-hero h1 { font-size: 2.8rem; }
    
    .contacto-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .contacto-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .horario-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contacto-hero {
        padding: 120px 0 60px;
        margin-top: 64px;
    }
    
    .contacto-hero h1 {
        font-size: 2.2rem;
    }
    
    .contacto-header h2,
    .horario-header h2,
    .faq-header h2 {
        font-size: 1.8rem;
    }
    
    .contacto-info-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        max-width: 400px;
    }
    
    .contacto-info-card {
        padding: 20px 14px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contacto-form-container {
        padding: 20px;
    }
    
    .horario-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        max-width: 350px;
    }
    
    .horario-card {
        padding: 14px;
    }
    
    .mapa-iframe iframe {
        height: 220px;
    }
}

@media (max-width: 480px) {
    .contacto-hero h1 {
        font-size: 1.8rem;
    }
    
    .contacto-info-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        max-width: 320px;
    }
    
    .contacto-info-card {
        padding: 16px 12px;
    }
    
    .contacto-info-icono {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
    
    .contacto-info-card h3 {
        font-size: 0.85rem;
    }
    
    .contacto-info-card p {
        font-size: 0.8rem;
    }
    
    .horario-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
    }
    
    .contacto-form-container {
        padding: 16px;
    }
}