/* =========================================================
   PÁGINA DE CONTACTO - ECO-QUIM
   ========================================================= */

.eco-contact-page {
    background: var(--ecoquim-white);
    color: var(--ecoquim-text);
}

/* =========================================================
   HERO / CABECERA
   ========================================================= */

.eco-contact-hero {
    padding: clamp(96px, 10vw, 128px) 0 clamp(52px, 6vw, 72px);
    background: var(--ecoquim-surface);
    text-align: center;
}

.eco-contact-hero__wrap {
    width: min(100% - 48px, 800px);
    margin: 0 auto;
}

.eco-contact-hero h1 {
    margin: 0 0 18px;
    font-size: clamp(40px, 5.5vw, 64px);
    line-height: 0.96;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: var(--ecoquim-navy-deep);
}

.eco-contact-hero h1 span {
    color: var(--ecoquim-primary);
}

.eco-contact-hero p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.8;
    color: rgba(34, 54, 73, 0.76);
    text-align: center !important;
}

/* =========================================================
   LAYOUT PRINCIPAL
   ========================================================= */

.eco-contact-main {
    padding: clamp(72px, 8vw, 100px) 0;
}

.eco-contact-main__wrap {
    width: min(100% - 48px, 1140px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 70px;
    align-items: start;
}

.eco-contact-card {
    border: 1px solid rgba(2, 52, 102, 0.06);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow-xs);
}

/* =========================================================
   BARRA LATERAL
   ========================================================= */

.eco-contact-info {
    padding: 34px 30px;
}

.eco-sidebar-label {
    display: block;
    margin: 0 0 24px;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ecoquim-gray);
}

.eco-contact-info__item.is-single {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 26px;
}

.eco-contact-info__icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 14px;
    background: var(--ecoquim-primary);
    color: var(--ecoquim-white);
    box-shadow: 0 12px 24px rgba(141, 198, 63, 0.18);
}

.eco-contact-info__icon svg {
    width: 24px;
    height: 24px;
}

.eco-contact-info__content h3 {
    margin: 0 0 10px;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ecoquim-gray);
}

.eco-contact-info__content p {
    margin: 0;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 700;
    color: var(--ecoquim-navy-deep);
}

.eco-info-extra-text p {
    margin: 0;
    font-size: 15px;
    line-height: 1.78;
    color: var(--ecoquim-gray);
    text-align: justify;
    text-justify: inter-word;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
    -webkit-hyphens: none;
    -ms-hyphens: none;
}

/* =========================================================
   FORMULARIO
   ========================================================= */

.eco-contact-form {
    padding: 38px 38px 34px;
}

.eco-contact-form__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.eco-contact-form__row--two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.eco-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.eco-field label {
    font-size: 13px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--ecoquim-navy);
}

.eco-field input,
.eco-field select {
    width: 100%;
    height: 52px;
    padding: 0 18px;
    box-sizing: border-box;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8f9fb;
    font-size: 14px;
    line-height: 1.4;
    color: var(--ecoquim-navy);
    transition:
        border-color var(--transition-smooth),
        box-shadow var(--transition-smooth),
        background var(--transition-smooth);
}

.eco-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23023466'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 14px;
}

.eco-field textarea {
    width: 100%;
    height: 160px;
    min-height: 160px;
    max-height: 160px;
    resize: none !important;
    padding: 18px;
    box-sizing: border-box;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8f9fb;
    font-size: 14px;
    line-height: 1.7;
    color: var(--ecoquim-navy);
    transition:
        border-color var(--transition-smooth),
        box-shadow var(--transition-smooth),
        background var(--transition-smooth);
}

.eco-field input:focus,
.eco-field select:focus,
.eco-field textarea:focus {
    outline: none;
    background: #ffffff;
    border-color: var(--ecoquim-primary);
    box-shadow: 0 0 0 4px rgba(141, 198, 63, 0.10);
}

.eco-contact-form__actions {
    margin-top: 4px;
}

.eco-contact-form__button {
    width: 100%;
    height: 56px;
    border: none;
    border-radius: 14px;
    background: var(--ecoquim-navy);
    color: var(--ecoquim-white);
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
    cursor: pointer;
    transition:
        background var(--transition-smooth),
        transform var(--transition-smooth),
        box-shadow var(--transition-smooth);
}

.eco-contact-form__button:hover {
    background: var(--ecoquim-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(141, 198, 63, 0.2);
}

/* =========================================================
   NOTIFICACIONES
   ========================================================= */

.eco-contact-form__notice.is-success {
    margin-bottom: 30px;
    padding: 22px 24px;
    border-left: 4px solid var(--ecoquim-primary);
    border-radius: 12px;
    background: #f4f9ed;
    color: #3e5a1b;
    font-size: 14px;
    line-height: 1.75;
}

.eco-contact-form__notice.is-success p {
    color: inherit;
    text-align: left !important;
}

.eco-contact-form__notice.is-success strong {
    display: block;
    margin-top: 15px;
    color: var(--ecoquim-navy);
}

.eco-contact-form__notice.is-error {
    margin-bottom: 30px;
    padding: 18px 20px;
    border-left: 4px solid #f56c6c;
    border-radius: 12px;
    background: #fef0f0;
    color: #f56c6c;
    font-size: 14px;
    line-height: 1.7;
}

/* =========================================================
   COBERTURA LATAM
   ========================================================= */

.eco-contact-coverage {
    padding: clamp(80px, 9vw, 110px) 0;
    background: var(--ecoquim-surface);
    text-align: center;
}

.eco-contact-coverage__wrap {
    width: min(100% - 48px, 1000px);
    margin: 0 auto;
}

.eco-contact-coverage h2 {
    margin: 0 0 42px;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 0.98;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ecoquim-navy-deep);
}

.eco-contact-coverage h2 span {
    color: var(--ecoquim-primary);
}

.eco-contact-coverage__countries {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 22px 40px;
}

.eco-contact-country {
    position: relative;
    padding: 0 0 14px;
    font-size: clamp(24px, 2.6vw, 32px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ecoquim-navy-deep);
    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.eco-contact-country::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 42px;
    height: 3px;
    border-radius: 999px;
    background: var(--ecoquim-primary);
    transform: translateX(-50%);
    transition: width 0.25s ease;
}

.eco-contact-country:hover {
    transform: translateY(-1px);
}

.eco-contact-country:hover::after {
    width: 56px;
}


.eco-contact-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
    height: 0;
    overflow: hidden;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {
    .eco-contact-hero__wrap {
        width: min(100% - 40px, 800px);
    }

    .eco-contact-main__wrap {
        width: min(100% - 40px, 1140px);
        grid-template-columns: 280px minmax(0, 1fr);
        gap: 42px;
    }

    .eco-contact-coverage__wrap {
        width: min(100% - 40px, 1000px);
    }
}

@media (max-width: 991px) {
    .eco-contact-hero {
        padding: 88px 0 54px;
    }

    .eco-contact-hero h1 {
        font-size: clamp(38px, 6vw, 54px);
    }

    .eco-contact-hero p {
        font-size: 16px;
        line-height: 1.75;
    }

    .eco-contact-main {
        padding: 72px 0;
    }

    .eco-contact-main__wrap {
        width: min(100% - 36px, 1140px);
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .eco-contact-card {
        border-radius: 22px;
    }

    .eco-contact-info {
        padding: 30px 26px;
    }

    .eco-contact-info__item.is-single {
        gap: 16px;
        margin-bottom: 22px;
    }

    .eco-contact-info__content p {
        font-size: 21px;
    }

    .eco-contact-form {
        padding: 32px 28px 30px;
    }

    .eco-contact-form__form {
        gap: 18px;
    }

    .eco-contact-form__row--two {
        gap: 18px;
    }

    .eco-contact-coverage {
        padding: 80px 0;
    }

    .eco-contact-coverage h2 {
        margin-bottom: 34px;
    }

    .eco-contact-coverage__countries {
        gap: 18px 28px;
    }

    .eco-contact-country {
        font-size: clamp(21px, 3vw, 28px);
        padding-bottom: 12px;
    }

    .eco-contact-country::after {
        width: 34px;
    }

    .eco-contact-country:hover::after {
        width: 46px;
    }
}

@media (max-width: 767px) {
    .eco-contact-hero__wrap,
    .eco-contact-main__wrap,
    .eco-contact-coverage__wrap {
        width: min(100% - 24px, 1140px);
    }

    .eco-contact-hero {
        padding: 76px 0 46px;
    }

    .eco-contact-hero h1 {
        font-size: clamp(34px, 9vw, 44px);
        line-height: 0.98;
        margin-bottom: 14px;
    }

    .eco-contact-hero p {
        font-size: 15px;
        line-height: 1.72;
    }

    .eco-contact-main {
        padding: 60px 0;
    }

    .eco-contact-main__wrap {
        gap: 22px;
    }

    .eco-contact-card {
        border-radius: 20px;
    }

    .eco-contact-info {
        padding: 24px 20px;
    }

    .eco-sidebar-label {
        margin-bottom: 20px;
    }

    .eco-contact-info__icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }

    .eco-contact-info__content p {
        font-size: 19px;
        line-height: 1.35;
    }

    .eco-info-extra-text p {
        font-size: 15px;
        line-height: 1.72;
        text-align: left;
    }

    .eco-contact-form {
        padding: 24px 20px;
    }

    .eco-contact-form__form {
        gap: 16px;
    }

    .eco-contact-form__row--two {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .eco-field {
        gap: 7px;
    }

    .eco-field label {
        font-size: 12px;
    }

    .eco-field input,
    .eco-field select {
        height: 50px;
        padding: 0 16px;
        font-size: 14px;
        border-radius: 11px;
    }

    .eco-field select {
        background-position: right 16px center;
    }

    .eco-field textarea {
        height: 150px;
        min-height: 150px;
        max-height: 150px;
        padding: 16px;
        font-size: 14px;
        border-radius: 11px;
    }

    .eco-contact-form__notice.is-success,
    .eco-contact-form__notice.is-error {
        margin-bottom: 22px;
        padding: 16px 18px;
        border-radius: 10px;
        font-size: 13px;
        line-height: 1.65;
    }

    .eco-contact-form__button {
        height: 54px;
        border-radius: 12px;
        font-size: 15px;
    }

    .eco-contact-coverage {
        padding: 68px 0;
    }

    .eco-contact-coverage h2 {
        margin-bottom: 28px;
        font-size: clamp(28px, 8vw, 38px);
    }

    .eco-contact-coverage__countries {
        gap: 14px 18px;
    }

    .eco-contact-country {
        font-size: 20px;
        padding-bottom: 10px;
    }

    .eco-contact-country::after {
        width: 28px;
        height: 2px;
    }

    .eco-contact-country:hover::after {
        width: 38px;
    }
}

@media (max-width: 520px) {
    .eco-contact-hero__wrap,
    .eco-contact-main__wrap,
    .eco-contact-coverage__wrap {
        width: min(100% - 20px, 1140px);
    }

    .eco-contact-hero {
        padding: 70px 0 40px;
    }

    .eco-contact-hero h1 {
        font-size: 30px;
    }

    .eco-contact-hero p {
        font-size: 14px;
    }

    .eco-contact-main {
        padding: 52px 0;
    }

    .eco-contact-info,
    .eco-contact-form {
        padding: 20px 16px;
        border-radius: 18px;
    }

    .eco-contact-info__item.is-single {
        gap: 14px;
        margin-bottom: 18px;
    }

    .eco-contact-info__content h3 {
        font-size: 11px;
    }

    .eco-contact-info__content p {
        font-size: 17px;
    }

    .eco-info-extra-text p {
        font-size: 14px;
    }

    .eco-contact-form__form {
        gap: 14px;
    }

    .eco-field input,
    .eco-field select {
        height: 48px;
        padding: 0 14px;
        font-size: 13px;
    }

    .eco-field textarea {
        height: 136px;
        min-height: 136px;
        max-height: 136px;
        padding: 14px;
        font-size: 13px;
    }

    .eco-contact-form__button {
        height: 52px;
        font-size: 14px;
    }

    .eco-contact-coverage {
        padding: 60px 0;
    }

    .eco-contact-coverage h2 {
        margin-bottom: 24px;
        font-size: 26px;
    }

    .eco-contact-coverage__countries {
        flex-direction: column;
        gap: 16px;
    }

    .eco-contact-country {
        font-size: 18px;
    }
}