html {
    font-size: 15px;
}

body {
    font-family: "Montserrat", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

.header {
    display: flex;
    align-items: stretch;
    color: white;
    padding: 20px;
    max-width: 1280px;
    margin: auto;
    border: 3px solid #f5f5f5;
}

.header__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 10px solid rgb(32, 82, 115);
    margin-right: 20px;
    height: 100%;
    background-color: transparent;
    /* Elimina el fondo detrás del logo */
}

.header__logo img {
    width: 247px;
    height: 100%;
    object-fit: contain;
}

.header__banner {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background-color: rgb(32, 82, 115);
    height: 100%;
}

.banner__title {
    font-size: 4.4rem;
    font-weight: bold;
    font-weight: 900;
    line-height: 0.9;
    color: #FDEC01;
    text-transform: uppercase;
    padding: 10px;
    margin: 10px;
    text-align: left;
    text-shadow: 5px 5px 8px rgba(0, 0, 0, 0.5);
}

.banner__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
    text-align: center;
    padding: 20px;
}

.banner__content p {
    margin: 10px 0;
    font-weight: bold;
    text-align: center;
}

.banner__content p:first-child {
    font-size: 1.4rem;
}

.banner__phone {
    font-weight: bold;
    background-color: rgb(51, 121, 165);
    padding: 10px 20px;
    display: inline-block;
    font-size: 2rem;
    color: #FDEC01;
    border-radius: 15px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
    width: fit-content;
    text-align: center;
    margin: 10px auto;
}

.banner__phone a {
    text-decoration: none;
    color: #FDEC01;
    display: flex;
    align-items: center;
    gap: 8px;
}

.banner__phone svg {
    width: 24px;
    height: 24px;
}

.banner__notice {
    font-size: 1rem;
    font-weight: bold;
    color: #FDEC01;
    text-align: center;
}

.content {
    max-width: 1280px;
    margin: auto;
    padding: 20px;
}

.service {
    display: flex;
    overflow: hidden;
    color: white;
}

.service__info {
    flex: 35%;
    padding: 20px;
    position: relative;
}

.service__info ul li:first-child {
    list-style-type: none;
}

.service__title {
    font-size: 5.5rem;
    font-weight: bold;
    color: #FDEC01;
    text-shadow: 5px 5px 8px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service__title span {
    font-size: 2.3rem;
    font-weight: bold;
    color: #FDEC01;
    position: relative;
    display: inline-block;
    margin-bottom: 35px;
}

.service__title span::after {
    content: "";
    display: block;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, orange 20%, transparent 80%);
    position: absolute;
    bottom: -5px;
    left: 0;
}

ul {
    padding: 10px;
}

ul li {
    margin-bottom: 10px;
    margin-left: 10px;
}

.service__prices {
    flex: 65%;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 0;
}

.price-card {
    flex: 1;
    background-color: rgb(32, 82, 115);
    padding: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    margin: 0;
    padding-top: 3%;
}

.price-card h3 {
    font-size: 5rem;
    color: #FDEC01;
    margin: 0;
    text-shadow: 5px 5px 8px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;

}

.price-card h3 span {
    font-size: 2rem;
    /* Reduce el tamaño del símbolo € */
    align-self: flex-start;
}

.price-card hr {
    width: 50%;
    border: 2px solid #f5f5f5;
    margin: 10px 0;
    opacity: 0.7;
}

.price-card span {
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0.7;
}

.price-card span strong {
    font-size: 3.2rem;
}

.price-card .distance {
    display: block;
}

.whatsapp-btn {
    background-color: #FDEC01;
    /* Color amarillo */
    color: #1c1c1c;
    /* Texto oscuro para contraste */
    border: none;
    padding: 12px 25px;
    margin-top: 20px;
    /* Espaciado con el contenido superior */
    border-radius: 30px;
    /* Bordes redondeados */
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    width: auto;
    /* Se adapta al contenido */
    display: inline-block;
    /* Solo ocupa el espacio del texto */
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.3);
    /* Sombra más pronunciada */
    opacity: 0.9;
}

.whatsapp-btn:hover {
    background-color: #fdd835;
    /* Un tono más oscuro al pasar el ratón */
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.3);
    /* Sombra más marcada al pasar el ratón */
}

.service--interior {
    background-color: rgb(32, 82, 115);
}

.service--integral {
    background-color: rgb(64, 130, 177);
}

.service--integral-extra {
    background-color: rgb(32, 82, 115);
}

.service--premium {
    background-color: rgb(64, 130, 177);
}

.service--express {
    background-color: rgb(254, 237, 0);
}

/* Colores para las secciones 01 y 03 */
.service--interior .price-card:nth-child(odd),
.service--integral-extra .price-card:nth-child(odd) {
    background-color: #1e6797;
}

.service--express .price-card:nth-child(odd) {
    background-color: #f4c506;
}

.service--interior .price-card:nth-child(even),
.service--integral-extra .price-card:nth-child(even) {
    background-color: #1c5a94;
}

/* Colores para las secciones 02 y 04 */
.service--integral .price-card:nth-child(odd),
.service--premium .price-card:nth-child(odd) {
    background-color: #448ac2;
}

.service--integral .price-card:nth-child(even),
.service--premium .price-card:nth-child(even) {
    background-color: #346dad;
}

.service--express .price-card:nth-child(even) {
    background-color: #eb9e0f;
}

.service--express .service__subtitle {
    margin-top: 20px;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #303d87;
    margin-bottom: 10px;
    font-style: italic;
}

.service--express .service__title {
    font-size: 2.3rem;
    font-weight: 900;
    line-height: 1.2;
    color: #303d87;
    text-transform: uppercase;
    font-style: italic;
}

.service--express .service__decoration {
    width: 100%;
    height: 10px;
    margin-top: 15px;
    background-image: repeating-linear-gradient(-45deg,
            #d32f2f,
            #d32f2f 10px,
            transparent 10px,
            transparent 20px);
}

.service--express .price-card {
    flex: 1;
    padding: 20px;
    color: #303d87;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
}

.service--express .price-card hr {
    border-color: #303d87;
    /* azul fuerte */
    width: 60%;
    /* opcional: cambia el ancho si quieres diferenciarlo más */
    opacity: 1;
    /* más visible */
    border-width: 2px;
}


.express-columns {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
}

.express-left {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.express-left h3 {
    margin-bottom: 5px;
    color: #303d87;
}

.express-right {
    flex: 2;
}

.express-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.express-list li {
    font-size: 0.95rem;
    margin-top: 20px;
    margin-bottom: 8px;
    line-height: 1.4;
    color: #303d87;
}

span.express-time strong {
    font-weight: bold;
    font-size: 1.6rem !important;
    font-weight: 900;
    color: #303d87;
    font-style: italic;
}

.price-card .whatsapp-btn {
    align-self: center;
}


/* Estilos para el formulario de contacto */
/* ✅ Contenedor principal */
.contact-section {
    display: flex;
    justify-content: center;
    align-items: stretch;
    /* Fuerza que ambos elementos tengan el mismo alto */
    gap: 20px;
    margin-top: 20px;
    padding: 0;
    flex-wrap: wrap;
    box-sizing: border-box;
    min-height: 400px;
    /* Asegura una altura mínima para evitar solapamientos */
}

/* ✅ Contenedor del formulario */
.form-container {
    flex: 1;
    min-width: 350px;
    max-width: 500px;
    display: flex;
    flex-direction: column;
}

/* ✅ Formulario */
#contact-form {
    flex: 1;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    box-sizing: border-box;
    height: 100%;
    /* 🔥 Forzar que el formulario tenga el mismo alto que el mapa */
}

#contact-form h3 {
    margin-bottom: 20px;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    /* Usar 100% en lugar de calc para evitar desbordamientos */
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

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

#contact-form button {
    background-color: #1e6797;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    /* Hace que el botón ocupe todo el ancho disponible */
}

#contact-form button:hover {
    background-color: #1c5a94;
}

/* ✅ Contenedor del mapa */
.map-container {
    flex: 1;
    min-width: 350px;
    max-width: 500px;
    box-sizing: border-box;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    height: auto;
}

/* ✅ Hacemos que el iframe iguale la altura del formulario */
.map-container iframe {
    width: 100%;
    height: 100%;
    /* 🔥 Igualamos la altura al formulario automáticamente */
    min-height: 100%;
    /* 🔥 Para que coincida con el alto del formulario */
    border: 0;
}


/* Estilos para el footer */
.footer {
    text-align: center;
    padding: 20px;
    background-color: #1e6797;
    color: white;
    margin-top: 40px;
    opacity: 0.6;
}

.footer a {
    color: white;
    text-decoration: none;
    opacity: 0.6;
}

/* Aviso de cookies */
#cookieConsent {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 10px 0;
    z-index: 1000;
    display: none;
}

.cookie-container {
    max-width: 1170px;
    margin: auto;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-container p {
    margin: 0;
    padding-right: 10px;
}

.cookie-container a {
    color: #f1c40f;
    text-decoration: underline;
}

.cookie-container a:hover {
    color: #d4ac0d;
}

.cookie-container .btn {
    padding: 5px 20px;
    margin-left: 10px;
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.cookie-container .btn:hover {
    color: #fff;
    background-color: #0056b3;
    border-color: #004085;
}

/* Responsive */

@media screen and (max-width: 1000px) {
    .header {
        flex-direction: column;
        text-align: center;
    }

    .header__logo {
        margin-right: 0;
        margin-bottom: 20px;
        background-color: transparent;
        /* Mantiene el fondo transparente en móviles */
    }

    .header__banner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 10px;
    }

    .banner__content {
        text-align: center;
    }

    .service {
        flex-direction: column;
    }

    .service__prices {
        flex-direction: column;
        align-items: center;
    }

    .price-card {
        width: 100%;
    }

    .service--express .price-card {
        padding: 20px;
    }

    .express-columns {
        padding: 20px;
    }

    .whatsapp-btn {
        font-size: 14px;
        padding: 10px;
        margin-bottom: 5px;
    }

    .contact-section {
        flex-direction: column;
        gap: 20px;
    }

    .form-container,
    .map-container {
        width: 100%;
        /* Aseguramos que ambos ocupen el ancho completo */
        max-width: 100%;
        box-sizing: border-box;
    }

    #contact-form {
        padding: 15px;
    }

    .map-container iframe {
        height: 300px;
        /* Altura menor en dispositivos móviles */
    }
}

/* Responsive */