/* ============================
   BODY Y FONDO
============================ */
body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    background-color: #ffffff;
    background-image: url("../fotosWeb/salvaPrincipal.png");
    background-size: cover;
    color: #0d3b66;
    line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}


/* =========================
   MAPA BLOQUEADO POR COOKIES
========================= */

.map-placeholder{
    text-align: center;
    
}

.map-placeholder p{
    margin-bottom: 10px;
}

.map-cookie-button{
    margin-top: 10px;
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    background: #2bb673;
    color: white;
    cursor: pointer;
    margin-bottom: 40px;
}

.map-cookie-button:hover{
    background: #24a363;
}


/* ============================
   MAPA DE LOCALIZACIÓN
============================ */
.map-container {
    max-width: 900px;
    margin: 120px auto 50px auto; /* margen superior para que no tape el header */
    padding: 10px;
    background: rgba(255,255,255,0.85); /* semitransparente para que resalte sobre el fondo */
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.map-container h1 {
    text-align: center;
    font-size: 42px;
    color: #0d3b66;
    font-weight: 600;
    margin-bottom: 20px;
}



/* ============================
   BANNER CONTACTO
============================ */

.contact-form-container {
    max-width: 800px;
    margin: 50px auto;
    background: rgba(255,255,255,0.9);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
   
}

.contact-form h1 {
    font-size: 2rem;
    color: #0d3b66;
    text-align: center;
    margin-bottom: 25px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    color: #1e3a5f;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 1rem;
    resize: none;
}

.contact-form textarea {
    height: 150px;
}

.btn-submit {
    background-color: #0d3b66;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-submit:hover {
    background-color: #115293;
}

.privacy-checkbox {
    margin: 20px 0;
}

.privacy-checkbox label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1e3a5f;
    font-size: 0.95rem;
    font-weight: 400;
    cursor: pointer;
    margin-bottom: 0;
}

.privacy-checkbox input[type="checkbox"] {
    width: auto !important;
    height: auto;
    margin: 0;
    padding: 0;
    border: none;
    flex-shrink: 0;
}

.privacy-checkbox span {
    line-height: 1.4;
}

.privacy-checkbox a {
    color: #007bff;
    text-decoration: underline;
}

.privacy-checkbox a:hover {
    text-decoration: none;
}


/* ============================
   ACORDEÓN MODERNO
============================ */
.accordion {
    max-width: 900px;
    margin: 50px auto;
    background: rgba(255,255,255,0.85); /* semi-transparente para ver la imagen */
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.accordion h1 {
    font-size: 42px;
    color: #0d3b66;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
}

.accordion-item {
    border: none;
    margin-bottom: 10px;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.accordion-item:hover {
    transform: scale(1.02);
}

.accordion-button {
    background: rgba(13, 59, 102, 0.9);
    color: #fff;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 18px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.accordion-button:hover {
    background: rgba(17, 82, 147, 0.9);
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-button.collapsed {
    background: #386194;
    color: #fff;
}

.accordion-button .accordion-icon {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.accordion-button:not(.collapsed) .accordion-icon {
    transform: rotate(45deg);
}

.accordion-body {
    background: rgba(248, 249, 250, 0.9); /* semi-transparente para el fondo */
    padding: 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: #1e293b;
    border-radius: 0 0 12px 12px;
}

.text-center {
    margin-top: 20px;
    color: white;
    font-size: 42px;
    color: #1e3a5f;
    font-weight: 600;
    letter-spacing: 1px;
}


/* ============================
   RESPONSIVE
============================ */
@media (max-width: 768px) {
    .accordion {
        margin: 100px 15px;
        padding: 20px;
    }

    .accordion-button {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .map-container, .contact-form-container, .accordion {
        margin: 80px 10px;
        padding: 15px;
    }

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

    .accordion-button {
        font-size: 0.95rem;
        padding: 14px;
    }
}

