/* Páginas institucionales y de servicios (Quiénes somos, Servicios, Contacto). */

.page-hero {
    background: linear-gradient(135deg, var(--mist), #ffffff);
    border-bottom: 1px solid var(--line);
    padding: 3rem 0 2.5rem;
}

.page-hero .eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-dark);
    margin-bottom: 12px;
}

.page-hero h1 {
    font-size: clamp(1.8rem, 4.5vw, 2.6rem);
    line-height: 1.15;
    color: var(--navy);
    margin: 0 0 1rem;
    max-width: 20ch;
}

.page-hero .page-lead {
    max-width: 68ch;
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--muted);
}

.page-breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--muted);
}

.page-breadcrumb a {
    color: var(--brand-dark);
    text-decoration: none;
    font-weight: 600;
}

.page-breadcrumb a:hover {
    text-decoration: underline;
}

.page-section {
    padding: 3rem 0;
    scroll-margin-top: 90px;
}

.page-section + .page-section {
    border-top: 1px solid var(--line);
}

.page-section.is-muted {
    background: var(--mist);
}

.page-section h2 {
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    color: var(--navy);
    margin: 0 0 0.75rem;
}

.page-section .section-lead {
    max-width: 70ch;
    color: var(--muted);
    line-height: 1.7;
    margin: 0 0 2rem;
}

.page-prose {
    max-width: 72ch;
    line-height: 1.8;
}

.page-prose p {
    margin: 0 0 1.1rem;
}

.page-prose p:last-child {
    margin-bottom: 0;
}

.page-quote {
    margin: 2rem 0 0;
    padding: 1.1rem 1.4rem;
    background: var(--mist);
    border-left: 4px solid var(--brand);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-weight: 700;
    color: var(--navy);
}

/* Tarjetas de valores y de servicios. */
.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.value-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem;
    border-top: 3px solid var(--brand);
}

.value-card h3 {
    margin: 0 0 0.6rem;
    font-size: 1.1rem;
    color: var(--navy);
}

.value-card p {
    margin: 0 0 0.75rem;
    color: var(--muted);
    line-height: 1.65;
}

.value-card p:last-child {
    margin-bottom: 0;
}

/* Bloque de submarca de servicio (Executive / Professional / Talent Search). */
.service-block {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.75rem;
    margin-bottom: 1.5rem;
}

.service-block:last-child {
    margin-bottom: 0;
}

.service-block-head {
    border-bottom: 1px solid var(--line);
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
}

.service-block-head h3 {
    margin: 0 0 0.4rem;
    font-size: 1.35rem;
    color: var(--navy);
}

.service-block-tagline {
    margin: 0;
    color: var(--brand-dark);
    font-weight: 700;
}

.service-block h4 {
    margin: 1.5rem 0 0.6rem;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.service-block h4:first-of-type {
    margin-top: 0;
}

.service-block p {
    margin: 0 0 0.9rem;
    line-height: 1.7;
}

/* Fases numeradas del proceso. */
.phase-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0.85rem;
}

.phase-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.85rem 1rem;
    background: var(--mist);
    border-radius: var(--radius);
    line-height: 1.55;
}

.phase-num {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--brand);
    color: var(--ink);
    font-size: 0.8rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.phase-name {
    font-weight: 700;
    color: var(--navy);
}

.phase-desc {
    color: var(--muted);
}

/* Listado simple con viñeta de marca. */
.check-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.check-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.7rem;
    line-height: 1.65;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand);
}

/* Llamada a la acción reutilizable. */
.cta-band {
    background: var(--navy);
    color: #fff;
    padding: 2.5rem 0;
}

.cta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cta-text {
    max-width: 62ch;
}

.cta-text h2 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.25rem, 3vw, 1.6rem);
    color: #fff;
}

.cta-text p {
    margin: 0;
    color: #d7dde4;
    line-height: 1.65;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn-whatsapp {
    background: #25d366;
    color: #0b2e18;
    border-color: #25d366;
}

.btn-whatsapp:hover {
    background: #1fb855;
}

/* Página de contacto. */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.contact-form .form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.contact-form .form-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.contact-form .form-field.is-full {
    grid-column: 1 / -1;
}

.contact-form label {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--navy);
}

.contact-form .field-error {
    color: #c0392b;
    font-size: 0.85rem;
    margin: 0;
}

.contact-aside h3 {
    margin: 0 0 0.75rem;
    font-size: 1.05rem;
    color: var(--navy);
}

.contact-aside p {
    color: var(--muted);
    line-height: 1.65;
    margin: 0 0 1rem;
}

.contact-channel {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
}

.contact-channel:last-child {
    border-bottom: none;
}

.contact-channel:hover {
    color: var(--brand-dark);
}

/* El honeypot debe quedar fuera de la vista y del foco, pero presente. */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 860px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .page-hero {
        padding: 2rem 0 1.75rem;
    }

    .page-section {
        padding: 2rem 0;
    }

    .service-block {
        padding: 1.25rem;
    }

    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
