/* Páginas: Sectores, Blog, Clientes, Contacto */
.extra-wrap {
    width: min(1180px,92%);
    margin: auto;
}

.extra-hero {
    padding: 75px 0 85px;
    background: linear-gradient(120deg,#eff7ec,#fafcf8);
}

.extra-crumb {
    font-size: 13px;
    color: #5c766e;
    margin-bottom: 22px;
}

.extra-crumb a {
    color: #08674d;
}

.extra-rule {
    display: block;
    background: #8fc53c;
    width: 52px;
    height: 4px;
    margin-bottom: 22px;
}

.extra-hero h1 {
    font-size: clamp(38px,5vw,64px);
    color: #064e3b;
    margin: 0 0 14px;
}

.extra-hero p:last-child {
    font-size: 19px;
    color: #526b6f;
    max-width: 760px;
}

.extra-section {
    padding: 65px 0;
}

.extra-section h2 {
    font-size: clamp(26px,3vw,38px);
    color: #064e3b;
    margin-bottom: 12px;
}

.extra-section>p {
    color: #526b6f;
    max-width: 800px;
}

.extra-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 22px;
    margin-top: 28px;
}

.extra-card {
    border: 1px solid #dce5de;
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 25px #064e3b0a;
}

.extra-card h3 {
    font-size: 22px;
    color: #064e3b;
}

.extra-card p {
    color: #526b6f;
}

.extra-card a {
    font-weight: 700;
    color: #087356;
}

.extra-icon {
    display: block;
    color: #0b684d;
    font-size: 36px;
    margin-bottom: 14px;
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 14px;
    margin-top: 26px;
}

.client-name {
    display: grid;
    place-items: center;
    text-align: center;
    min-height: 108px;
    padding: 18px;
    border: 1px solid #dce5de;
    background: #f7faf5;
    border-radius: 12px;
    font-weight: 650;
    color: #235b4b;
}

.extra-banner {
    padding: 32px;
    background: #edf6e8;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.extra-banner h2 {
    margin: 0;
}

.extra-post {
    padding: 0;
    overflow: hidden;
}

.extra-post img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.extra-post>div {
    padding: 26px;
}

.extra-kicker {
    font-size: 12px;
    color: #628d2b;
    font-weight: 700;
}

.extra-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 75px;
}

.contact-item {
    padding: 18px 0;
    border-bottom: 1px solid #dce5de;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-item a {
    color: #0b684d;
}

.contact-form {
    background: #f5f9f2;
    padding: 32px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.contact-form label {
    font-weight: 650;
    font-size: 14px;
}

.contact-form input,.contact-form select,.contact-form textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #cbd8ce;
    border-radius: 8px;
    background: white;
    color: #123b42;
}

.contact-form button {
    border: 0;
    cursor: pointer;
    margin-top: 14px;
    align-self: flex-start;
}

.form-note {
    font-size: 12px;
    color: #526b6f;
    margin-top: 8px;
}

@media (max-width:900px) {
    .extra-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .client-grid {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }

    .extra-contact {
        grid-template-columns: 1fr;
        gap: 30px;
    }

}

@media (max-width:600px) {
    .extra-grid,.client-grid {
        grid-template-columns: 1fr;
    }

    .extra-hero {
        padding: 42px 0;
    }

    .extra-section {
        padding: 35px 0;
    }

    .extra-banner {
        align-items: flex-start;
        flex-direction: column;
    }

}

/* Formulario: estados accesibles y campo antispam oculto */
.campo-trampa {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.contact-form :is(input,select,textarea,button):focus-visible {
    outline: 3px solid #527c21;
    outline-offset: 3px;
}

.contact-form button:disabled {
    opacity: .65;
    cursor: wait;
}

.form-status:empty {
    display: none;
}

.form-status {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 600;
}

.form-status[data-state="success"] {
    color: #08674d;
}

.form-status[data-state="error"] {
    color: #a12828;
}

/* El encabezado del formulario es h2 para respetar la jerarquía de la página. */
.contact-form > h2 {
    font-size: 1.17em;
    margin: 1em 0;
}
