/* ESTILOS ESPECÍFICOS PÁGINA CONTACTO */

.contacto-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

@media (max-width: 900px) {
    .contacto-container {
        grid-template-columns: 1fr;
    }
}

.contacto-form {
    background: var(--w);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(15, 40, 71, 0.08);
    border: 2px solid var(--mint);
}

.contacto-form h2 {
    color: var(--deep);
    font-family: 'Sora', sans-serif;
    margin-bottom: 1.5rem;
}

.contacto-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

form {
    display: grid;
    gap: 1.3rem;
}

label {
    display: grid;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--ink);
    font-size: 0.95rem;
}

input,
select,
textarea {
    padding: 0.8rem 1rem;
    border: 2px solid #b8bde8;
    border-radius: 8px;
    font: inherit;
    background: var(--mint);
    color: var(--ink);
    transition: all 0.3s ease;
    font-size: 1rem;
}

input::placeholder,
select::placeholder,
textarea::placeholder {
    color: rgba(15, 40, 71, 0.5);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--deep);
    outline: none;
    box-shadow: 0 0 0 4px rgba(93, 206, 215, 0.2);
    background: var(--w);
}

.info-card {
    background: linear-gradient(135deg, var(--deep) 0%, var(--teal) 100%);
    color: var(--w);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(15, 40, 71, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(15, 40, 71, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.info-card h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    font-family: 'Sora', sans-serif;
    font-weight: 800;
}

.info-card p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.95;
}

.info-value {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    margin-top: 0.8rem;
    font-family: 'Sora', sans-serif;
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: #25d366;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.whatsapp-link:hover {
    background: #20ba61;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.horarios {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    backdrop-filter: blur(10px);
}

.horarios h4 {
    margin: 0 0 0.8rem 0;
    color: var(--w);
    font-weight: 700;
}

.horario-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
}

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

.horario-dia {
    font-weight: 600;
}

.horario-hora {
    opacity: 0.9;
}

/* BOTÓN ENVIAR */
.btn {
    background: linear-gradient(135deg, var(--deep) 0%, var(--teal) 100%);
    color: var(--w);
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    font-family: inherit;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 40, 71, 0.3);
}

.btn:active {
    transform: translateY(0);
}

/* MENSAJES */
#msg {
    font-weight: 700;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    display: none;
    margin-top: 1rem;
    border: 2px solid transparent;
}

#msg.err {
    color: #b3261e;
    background: #faddd1;
    border-color: #b3261e;
}

#msg.ok {
    color: #3f8fa6;
    background: #d4e8f0;
    border-color: #3f8fa6;
}

/* MÉTODOS DE CONTACTO */
.metodos-contacto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--gray);
}

.metodo {
    text-align: center;
    padding: 1.5rem;
    background: var(--w);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(15, 40, 71, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.metodo:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(15, 40, 71, 0.12);
    border-color: var(--sky);
}

.metodo-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
}

.metodo h4 {
    margin: 0.5rem 0;
    color: var(--deep);
    font-family: 'Sora', sans-serif;
}

.metodo p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--teal);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .contacto-container {
        gap: 1.5rem;
    }

    .contacto-form,
    .contacto-info {
        padding: 1.5rem;
    }

    .metodos-contacto {
        grid-template-columns: repeat(2, 1fr);
    }

    label {
        font-size: 0.9rem;
    }

    input,
    select,
    textarea {
        padding: 0.7rem 0.9rem;
        font-size: 16px; /* Evita zoom en móvil */
    }
}

@media (max-width: 480px) {
    .metodos-contacto {
        grid-template-columns: 1fr;
    }

    .info-value {
        font-size: 1.1rem;
    }

    .whatsapp-link {
        width: 100%;
    }
}
