
/* ======================================================
   PÁGINA DE CONTACTO
   Este archivo modifica únicamente el contenido del main.
====================================================== */

.contacto-body {
    background: #f7f6f3;
    font-family: "Inter", Arial, sans-serif;
}

.contacto-main {
    overflow: hidden;
    background: #f7f6f3;
}

/* ======================================================
   ENCABEZADO INTERIOR
====================================================== */

.contacto-hero {
    position: relative;
    padding: 82px 0 105px;
    overflow: hidden;
    background: #fff;
}

.contacto-hero::before {
    content: "";
    position: absolute;
    top: -150px;
    right: -120px;
    width: 460px;
    height: 460px;
    border: 1px solid rgba(62, 165, 158, 0.22);
    border-radius: 50%;
}

.contacto-hero::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 66px;
    background: #f7f6f3;
    clip-path: polygon(0 100%, 100% 42%, 100% 100%);
}

.contacto-hero__contenido {
    position: relative;
    z-index: 1;
    max-width: 1180px;
}

.contacto-eyebrow,
.contacto-info__eyebrow,
.contacto-formulario__eyebrow {
    display: block;
    color: #000;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1.8px;
}
.contacto-info__eyebrow2 {
    display: block;
    color: #FFF;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1.8px;
}

.contacto-hero h1 {
    max-width: 720px;
    margin: 12px 0 20px;
    color: #202020;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 58px;
    font-weight: 400;
    line-height: 1.04;
}

.contacto-hero p {
    max-width: 590px;
    margin: 0;
    color: #333;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
}

/* ======================================================
   CONTENEDOR PRINCIPAL
====================================================== */

.contacto-seccion {
    position: relative;
    padding: 35px 0 100px;
}

.contacto-container {
    max-width: 1180px;
}

.contacto-panel {
    display: grid;
    grid-template-columns: minmax(300px, 0.85fr) minmax(520px, 1.55fr);
    min-height: 650px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 18px 50px rgba(25, 36, 35, 0.1);
}

/* ======================================================
   PANEL DE INFORMACIÓN
====================================================== */

.contacto-info {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 68px 55px 55px;
    overflow: hidden;
    background: linear-gradient(145deg, #192a28 0%, #101d1c 100%);
    color: #fff;
}

.contacto-info::before {
    content: "";
    position: absolute;
    right: -115px;
    bottom: -145px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(82, 170, 164, 0.23);
    border-radius: 50%;
}

.contacto-info::after {
    content: "";
    position: absolute;
    top: 0;
    right: -55px;
    width: 115px;
    height: 100%;
    background: rgba(255, 255, 255, 0.025);
    transform: skewX(-8deg);
}

.contacto-info > * {
    position: relative;
    z-index: 1;
}

.contacto-info h2,
.contacto-formulario h2 {
    margin: 12px 0 18px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 39px;
    font-weight: 400;
    line-height: 1.12;
}

.contacto-info h2 {
    color: #fff;
}

.contacto-info__intro {
    margin: 0;
    color: #FFF;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.75;
}

.contacto-datos {
    margin-top: 55px;
}

.contacto-dato {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 17px;
    align-items:center;
    margin-bottom: 32px;
}

.contacto-dato__icono {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: rgba(82, 170, 164, 0.14);
    border: 1px solid #CDB991;
    border-radius: 4px;
}

.contacto-dato__icono svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: #FFF;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.contacto-dato strong {
    display: block;
    margin: 2px 0 7px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.contacto-dato span,
.contacto-dato a {
    color: #FFF;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.6;
    text-decoration: none;
}

.contacto-dato a:hover,
.contacto-dato a:focus {
    color: #68bdb7;
    text-decoration: none;
}

.contacto-info__detalle {
    display: flex;
    flex-direction: column;
    margin-top: auto;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.52);
    font-size: 9px;
    line-height: 1.4;
    letter-spacing: 1.1px;
}

.contacto-info__detalle strong {
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    font-weight: 600;
}

/* ======================================================
   FORMULARIO
====================================================== */

.contacto-formulario {
    padding: 65px 70px 70px;
}

.contacto-formulario h2 {
    color: #242424;
}

.contacto-formulario__intro {
    margin: 0 0 36px;
    color: #333;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.65;
}

.contacto-form__fila {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.contacto-form__fila--completa {
    grid-template-columns: 1fr;
}

.contacto-campo {
    margin-bottom: 23px;
}

.contacto-campo label {
    display: block;
    margin: 0 0 9px;
    color: #333;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.45px;
    text-transform: uppercase;
}

.contacto-campo input,
.contacto-campo select,
.contacto-campo textarea {
    display: block;
    width: 100%;
    padding: 13px 15px;
    background: #fbfbfa;
    border: 1px solid #dededb;
    border-radius: 3px;
    color: #333;
    font-family: "Inter", Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.contacto-campo input,
.contacto-campo select {
    height: 50px;
}

.contacto-campo textarea {
    min-height: 132px;
    resize: vertical;
}

.contacto-campo input::placeholder,
.contacto-campo textarea::placeholder {
    color: #a1a3a2;
}

.contacto-campo input:focus,
.contacto-campo select:focus,
.contacto-campo textarea:focus {
    outline: none;
    background: #fff;
    border-color: #CDB991;
    box-shadow: 0 0 0 3px rgba(82, 170, 164, 0.12);
}

.contacto-select {
    position: relative;
}

.contacto-select::after {
    content: "";
    position: absolute;
    top: 20px;
    right: 18px;
    width: 8px;
    height: 8px;
    border-right: 1px solid #5c6463;
    border-bottom: 1px solid #5c6463;
    pointer-events: none;
    transform: rotate(45deg);
}

.contacto-select select {
    padding-right: 45px;
    appearance: none;
    cursor: pointer;
}

.contacto-form__acciones {
    margin-top: 6px;
}

.contacto-boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 230px;
    min-height: 50px;
    padding: 13px 25px;
    background: #CDB991;
    border: 0;
    border-radius: 3px;
    color: #000;
    font-family: "Inter", Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.65px;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.contacto-boton span {
    margin-left: 15px;
    font-size: 18px;
    font-weight: 400;
    transition: transform 0.25s ease;
}

.contacto-boton:hover,
.contacto-boton:focus {
    outline: none;
    background: #CDB991;
    color: #FFF;
    box-shadow: 0 8px 18px rgba(50, 139, 133, 0.2);
    transform: translateY(-2px);
}

.contacto-boton:hover span,
.contacto-boton:focus span {
    transform: translateX(4px);
}

/* ======================================================
   RESPONSIVE
====================================================== */

@media (max-width: 1199px) {
    .contacto-hero__contenido,
    .contacto-container {
        width: 90%;
    }

    .contacto-panel {
        grid-template-columns: minmax(290px, 0.85fr) minmax(470px, 1.4fr);
    }

    .contacto-info {
        padding: 58px 42px 48px;
    }

    .contacto-formulario {
        padding: 58px 50px 62px;
    }
}

@media (max-width: 991px) {
    .contacto-hero {
        padding: 65px 0 88px;
    }

    .contacto-hero h1 {
        font-size: 50px;
    }

    .contacto-seccion {
        padding: 25px 0 80px;
    }

    .contacto-panel {
        grid-template-columns: 1fr;
    }

    .contacto-info {
        min-height: 470px;
    }

    .contacto-info__detalle {
        margin-top: 25px;
    }
}

@media (max-width: 767px) {
    .contacto-hero {
        padding: 52px 0 74px;
    }

    .contacto-hero::after {
        height: 42px;
        clip-path: polygon(0 100%, 100% 65%, 100% 100%);
    }

    .contacto-hero__contenido,
    .contacto-container {
        width: 100%;
        padding-right: 20px;
        padding-left: 20px;
    }

    .contacto-hero h1 {
        margin-top: 10px;
        font-size: 42px;
    }

    .contacto-hero p {
        font-size: 15px;
    }

    .contacto-seccion {
        padding: 18px 0 60px;
    }

    .contacto-info {
        min-height: auto;
        padding: 45px 30px;
    }

    .contacto-info h2,
    .contacto-formulario h2 {
        font-size: 34px;
    }

    .contacto-datos {
        margin-top: 38px;
    }

    .contacto-formulario {
        padding: 45px 30px 50px;
    }

    .contacto-form__fila {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 480px) {
    .contacto-hero h1 {
        font-size: 38px;
    }

    .contacto-info,
    .contacto-formulario {
        padding-right: 23px;
        padding-left: 23px;
    }

    .contacto-info h2,
    .contacto-formulario h2 {
        font-size: 31px;
    }

    .contacto-dato {
        grid-template-columns: 46px 1fr;
        gap: 14px;
    }

    .contacto-dato__icono {
        width: 46px;
        height: 46px;
    }

    .contacto-boton {
        width: 100%;
        min-width: 0;
    }
}
