.pagina-contacto {
    margin: 0;
    background: #f5f5f4;
    color: #000;
}

.pagina-contacto,
.pagina-contacto button,
.pagina-contacto input,
.pagina-contacto select,
.pagina-contacto textarea {
    font-family: 'Montserrat', Arial, sans-serif;
}

.pagina-contacto #top {
    border-bottom-color: #d52830;
}

.pagina-contacto #top > ul > li > a,
.pagina-contacto #top .menu-desplegable-boton,
.pagina-contacto #top .submenu a {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
}

.pagina-contacto #top > ul > li > a,
.pagina-contacto #top .menu-desplegable-boton {
    padding-right: 16px;
    padding-left: 16px;
    font-size: 16px;
}

.contacto-pagina {
    overflow: hidden;
}

.contacto-contenedor {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.contacto-hero {
    position: relative;
    display: flex;
    min-height: 390px;
    align-items: center;
    background: linear-gradient(90deg, rgba(0, 0, 0, .94), rgba(87, 89, 91, .72)), url('../images/fondos/fondo8.jpg') center/cover;
}

.contacto-hero::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 6px;
    background: #d52830;
}

.contacto-hero .contacto-contenedor {
    padding: 72px 0 78px;
}

.contacto-eyebrow {
    margin: 0 0 11px;
    color: #d52830;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.contacto-hero h1,
.contacto-introduccion h2 {
    font-family: Impact, 'Arial Narrow', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
}

.contacto-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(54px, 7vw, 82px);
    line-height: .98;
}

.contacto-hero p:not(.contacto-eyebrow) {
    max-width: 720px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, .84);
    font-size: 19px;
    line-height: 1.65;
}

.contacto-seccion {
    padding: 88px 0 96px;
    background: #f5f5f4;
}

.contacto-layout {
    display: grid;
    grid-template-columns: minmax(270px, .72fr) minmax(520px, 1.28fr);
    gap: clamp(48px, 7vw, 88px);
    align-items: start;
}

.contacto-introduccion {
    padding-top: 16px;
}

.contacto-introduccion h2 {
    max-width: 430px;
    margin: 0 0 22px;
    color: #000;
    font-size: clamp(36px, 4.2vw, 54px);
    line-height: 1.04;
}

.contacto-introduccion > p:not(.contacto-eyebrow) {
    margin: 0;
    color: #57595b;
    font-size: 16px;
    line-height: 1.75;
}

.contacto-apoyo {
    margin-top: 34px;
    padding: 24px 26px;
    border-left: 5px solid #d52830;
    background: #fff;
    box-shadow: 0 10px 28px rgba(25, 27, 28, .08);
}

.contacto-apoyo strong {
    display: block;
    font-size: 16px;
    line-height: 1.3;
}

.contacto-apoyo p {
    margin: 8px 0 17px;
    color: #57595b;
    font-size: 13px;
    line-height: 1.55;
}

.contacto-apoyo a {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: #d52830;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 700;
}

.contacto-apoyo a span,
.contacto-enviar span {
    transition: transform .2s ease;
}

.contacto-apoyo a:hover span,
.contacto-apoyo a:focus-visible span,
.contacto-enviar:hover span,
.contacto-enviar:focus-visible span {
    transform: translateX(4px);
}

.contacto-formulario {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    padding: clamp(28px, 4vw, 46px);
    border-top: 6px solid #d52830;
    background: #fff;
    box-shadow: 0 18px 46px rgba(25, 27, 28, .12);
}

.contacto-campo {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 9px;
}

.contacto-campo-ancho,
.contacto-enviar {
    grid-column: 1 / -1;
}

.contacto-campo label {
    color: #000;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.contacto-campo input,
.contacto-campo select,
.contacto-campo textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #c9cbcc;
    border-radius: 0;
    background: #f7f7f6;
    color: #000;
    font-size: 15px;
    line-height: 1.45;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.contacto-campo input,
.contacto-campo select {
    height: 52px;
    padding: 0 15px;
}

.contacto-campo textarea {
    min-height: 132px;
    padding: 14px 15px;
    resize: vertical;
}

.contacto-campo input:focus,
.contacto-campo select:focus,
.contacto-campo textarea:focus {
    border-color: #d52830;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(213, 40, 48, .1);
    outline: 0;
}

.contacto-campo input::placeholder,
.contacto-campo textarea::placeholder {
    color: #737577;
    opacity: 1;
}

.contacto-enviar {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 4px;
    padding: 14px 24px;
    border: 0;
    background: #d52830;
    color: #fff;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.contacto-enviar:hover,
.contacto-enviar:focus-visible {
    background: #b61f27;
    transform: translateY(-2px);
    outline: 0;
}

.contacto-enviar:disabled {
    background: #9a9b9d;
    cursor: not-allowed;
    opacity: .75;
    transform: none;
}

.contacto-enviar:disabled:hover,
.contacto-enviar:disabled:focus-visible {
    background: #9a9b9d;
    transform: none;
}

.contacto-redes-seccion {
    padding: 58px 0 68px;
    border-top: 1px solid #dedfdf;
    background: #fff;
}

.contacto-redes-contenido {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 42px;
}

.contacto-redes-intro {
    max-width: 490px;
}

.contacto-redes-intro h2 {
    margin: 0 0 12px;
    color: #000;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.15;
}

.contacto-redes-intro > p:last-child {
    margin: 0;
    color: #57595b;
    font-size: 14px;
    line-height: 1.65;
}

.contacto-redes-lista {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contacto-redes-lista a {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    gap: 10px;
    padding: 7px 12px 7px 7px;
    border: 1px solid #dedfdf;
    background: #f5f5f4;
    color: #252525;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: border-color .2s ease, transform .2s ease;
}

.contacto-redes-lista a:hover,
.contacto-redes-lista a:focus-visible {
    border-color: #d52830;
    transform: translateY(-2px);
    outline: 2px solid #d52830;
    outline-offset: 2px;
}

.contacto-redes-icono {
    display: inline-flex;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #3d3e40;
}

.contacto-redes-icono img {
    display: block;
    width: 20px;
    height: 20px;
}

.pagina-contacto .footer-identidad,
.pagina-contacto .footer-identidad * {
    font-family: 'Montserrat', Arial, sans-serif;
}

.pagina-contacto .footer-identidad-marca strong,
.pagina-contacto .footer-identidad-sucursales > span {
    font-weight: 700;
}

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

    .contacto-redes-contenido {
        flex-direction: column;
        align-items: flex-start;
        gap: 26px;
    }

    .contacto-introduccion {
        padding-top: 0;
    }
}

@media (max-width: 767px) {
    .contacto-contenedor {
        width: min(100% - 32px, 1180px);
    }

    .contacto-hero {
        min-height: 330px;
    }

    .contacto-hero .contacto-contenedor {
        padding: 58px 0 64px;
    }

    .contacto-hero p:not(.contacto-eyebrow) {
        font-size: 16px;
        line-height: 1.6;
    }

    .contacto-seccion {
        padding: 62px 0 70px;
    }

    .contacto-redes-seccion {
        padding: 48px 0 56px;
    }

    .contacto-layout {
        gap: 38px;
    }

    .contacto-formulario {
        grid-template-columns: 1fr;
        gap: 19px;
        padding: 26px 20px 24px;
    }

    .contacto-campo,
    .contacto-campo-ancho,
    .contacto-enviar {
        grid-column: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contacto-apoyo a span,
    .contacto-enviar,
    .contacto-enviar span {
        transition: none;
    }
}
