:root {
    --ink: #102d29;
    --ink-soft: #55706a;
    --muted: #6f8480;
    --green-950: #072b24;
    --green-900: #0b3f34;
    --green-800: #0e5a48;
    --green-700: #14765c;
    --green-500: #20a879;
    --mint: #72e0b2;
    --turquoise: #31c8c2;
    --sky: #eaf8f4;
    --surface: rgba(255, 255, 255, 0.82);
    --surface-strong: #ffffff;
    --line: rgba(10, 72, 58, 0.13);
    --shadow: 0 24px 70px rgba(13, 62, 51, 0.15);
    --shadow-strong: 0 34px 90px rgba(6, 42, 34, 0.22);
    --radius-xl: 30px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: Inter, "Plus Jakarta Sans", Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        linear-gradient(rgba(12, 72, 58, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(12, 72, 58, 0.03) 1px, transparent 1px),
        linear-gradient(180deg, #f7fbf9 0%, #eff8f4 42%, #f8fbfa 100%);
    background-size: 72px 72px, 72px 72px, auto;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid rgba(49, 200, 194, 0.8);
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
    transform: translateY(-140%);
    padding: 12px 16px;
    border-radius: 12px;
    background: var(--green-900);
    color: #ffffff;
    font-weight: 800;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 14% 18%, rgba(49, 200, 194, 0.28), transparent 26rem),
        radial-gradient(circle at 76% 8%, rgba(32, 168, 121, 0.2), transparent 28rem);
    pointer-events: none;
}

.navbar {
    position: fixed;
    top: 18px;
    left: 50%;
    z-index: 40;
    width: min(calc(100% - 32px), 1240px);
    min-height: 78px;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 18px 52px rgba(12, 72, 58, 0.13);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    font-weight: 900;
}

.brand img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 10px 24px rgba(12, 72, 58, 0.12);
}

.brand span {
    display: grid;
    gap: 2px;
}

.brand strong {
    font-size: 1.04rem;
    letter-spacing: 0;
    color: var(--green-900);
}

.brand small {
    color: var(--ink-soft);
    font-size: 0.76rem;
    font-weight: 800;
}

.nav-panel,
.nav-actions {
    display: flex;
    align-items: center;
}

.nav-panel {
    justify-content: center;
    gap: 4px;
}

.nav-panel a {
    padding: 12px 13px;
    border-radius: 14px;
    color: var(--ink-soft);
    font-size: 0.92rem;
    font-weight: 800;
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.nav-panel a:hover {
    color: var(--green-800);
    background: rgba(20, 118, 92, 0.08);
    transform: translateY(-1px);
}

.nav-actions {
    justify-content: flex-end;
    gap: 10px;
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #ffffff;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    border-radius: 99px;
    background: var(--green-900);
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 14px;
    font-weight: 900;
    line-height: 1;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--green-800), var(--green-500));
    box-shadow: 0 16px 34px rgba(20, 118, 92, 0.28);
}

.btn-ghost {
    color: var(--green-800);
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(20, 118, 92, 0.16);
}

.btn-light {
    color: var(--green-900);
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(5, 38, 31, 0.16);
}

.btn-large {
    min-height: 58px;
    padding: 0 24px;
    border-radius: 17px;
}

.hero {
    position: relative;
    z-index: 1;
    display: grid;
    align-items: center;
    min-height: min(100vh, 840px);
    padding: 118px 0 58px;
}

.hero-bg {
    position: absolute;
    z-index: 0;
    inset: 96px 24px 28px;
    border-radius: 36px;
    background: var(--green-950);
    box-shadow: var(--shadow-strong);
    overflow: hidden;
}

.hero-bg__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    background-position: center;
    background-size: cover;
    transition: opacity 900ms ease;
}

.hero-bg__slide.is-active {
    opacity: 1;
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(3, 28, 23, 0.88) 0%, rgba(3, 28, 23, 0.52) 48%, rgba(3, 28, 23, 0.14) 100%),
        linear-gradient(180deg, transparent 70%, rgba(3, 28, 23, 0.62) 100%);
}

.hero-content,
.section,
.process-inner,
.metric-strip,
.contact-card,
.footer-grid,
.footer-bottom {
    width: min(calc(100% - 32px), var(--max));
    margin: 0 auto;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
    align-items: center;
    gap: clamp(28px, 4vw, 56px);
}

.hero-copy {
    color: #ffffff;
}

.kicker {
    margin: 0 0 16px;
    color: var(--green-700);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero .kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #a9f1d2;
}

.hero .kicker::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 0 8px rgba(114, 224, 178, 0.18);
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1 {
    max-width: 690px;
    margin: 0;
    font-size: clamp(3.2rem, 5.2vw, 5.6rem);
    line-height: 0.94;
    letter-spacing: 0;
    overflow-wrap: normal;
    word-break: normal;
}

.hero-lead {
    max-width: 650px;
    margin: 26px 0 0;
    color: rgba(255, 255, 255, 0.83);
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.hero-visual {
    position: relative;
    min-height: 520px;
}

.hero-image {
    position: absolute;
    inset: 42px 0 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.26);
    transform: rotate(2deg);
}

.hero-image__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    opacity: 0;
    transition: opacity 700ms ease;
}

.hero-image__slide.is-active {
    opacity: 1;
}

.floating-card,
.image-badge {
    position: absolute;
    z-index: 2;
    width: min(260px, 70vw);
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(16px);
}

.floating-card span,
.image-badge span {
    display: block;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.floating-card strong,
.image-badge strong {
    display: block;
    font-size: 1.12rem;
    line-height: 1.25;
}

.floating-card-top {
    top: 2px;
    right: 20px;
}

.floating-card-bottom {
    bottom: 22px;
    left: -16px;
}

.visual-ring {
    position: absolute;
    top: 66px;
    left: -28px;
    width: 124px;
    height: 124px;
    border: 1px solid rgba(114, 224, 178, 0.48);
    border-radius: 50%;
}

.visual-ring::after {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: inherit;
}

.metrics-section {
    position: relative;
    z-index: 3;
    margin-top: -38px;
}

.metric-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 26px;
    background: linear-gradient(125deg, rgba(255, 255, 255, 0.92), rgba(223, 247, 238, 0.82));
    box-shadow: 0 22px 54px rgba(7, 62, 49, 0.2);
    backdrop-filter: blur(18px);
}

.metric-card {
    position: relative;
    min-height: 134px;
    padding: 22px;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.78);
    background: linear-gradient(135deg, #ffffff, #e9f8f1);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.95), 0 10px 22px rgba(7, 62, 49, 0.06);
    transition: transform 240ms ease, box-shadow 240ms ease;
}

.metric-card::before {
    content: "";
    position: absolute;
    width: 112px;
    height: 112px;
    right: -34px;
    bottom: -58px;
    border-radius: 50%;
    background: var(--metric-accent, rgba(32, 168, 121, 0.16));
    box-shadow: 0 0 0 17px color-mix(in srgb, var(--metric-accent, #20a879) 22%, transparent);
    animation: metricPulse 3.6s ease-in-out infinite;
}

.metric-card::after {
    content: "";
    position: absolute;
    top: 20px;
    right: 20px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--metric-solid, var(--green-500));
    box-shadow: 0 0 0 7px var(--metric-accent, rgba(32, 168, 121, 0.16));
}

.metric-card:nth-child(1) {
    --metric-solid: #1aa879;
    --metric-accent: rgba(26, 168, 121, 0.18);
}

.metric-card:nth-child(2) {
    --metric-solid: #2276df;
    --metric-accent: rgba(34, 118, 223, 0.16);
    background: linear-gradient(135deg, #ffffff, #eaf3ff);
}

.metric-card:nth-child(3) {
    --metric-solid: #f0aa1c;
    --metric-accent: rgba(240, 170, 28, 0.18);
    background: linear-gradient(135deg, #ffffff, #fff6df);
}

.metric-card:nth-child(4) {
    --metric-solid: #8b5bd6;
    --metric-accent: rgba(139, 91, 214, 0.16);
    background: linear-gradient(135deg, #ffffff, #f4edff);
}

.metric-card:nth-child(2)::before {
    animation-delay: 700ms;
}

.metric-card:nth-child(3)::before {
    animation-delay: 1400ms;
}

.metric-card:nth-child(4)::before {
    animation-delay: 2100ms;
}

.metric-card:hover {
    transform: translateY(-7px) rotate(-0.5deg);
    box-shadow: 0 20px 32px rgba(7, 62, 49, 0.16);
}

.metric-card strong {
    position: relative;
    z-index: 1;
    display: block;
    color: var(--green-900);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1;
}

.metric-card p {
    position: relative;
    z-index: 1;
    margin: 12px 0 0;
    color: var(--ink-soft);
    font-weight: 800;
}

@keyframes metricPulse {

    0%,
    100% {
        transform: scale(0.92);
    }

    50% {
        transform: scale(1.1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .metric-card::before {
        animation: none;
    }
}

.section {
    padding: 108px 0;
}

.section-grid,
.why-section {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: clamp(30px, 6vw, 76px);
    align-items: center;
}

.about-section {
    position: relative;
    width: 100%;
    max-width: none;
    overflow: hidden;
    border-radius: 0;
    background:
        linear-gradient(105deg, rgba(7, 43, 36, 0.92), rgba(14, 90, 72, 0.58)),
        url("../../../imagenes/galeria/Equipo_UNIR_%20Comunidad_colaboracion.png") center / cover;
    box-shadow: var(--shadow);
}

.about-section .section-grid {
    width: min(calc(100% - 48px), var(--max));
    margin: 0 auto;
}

.about-section .section-heading h2 {
    color: #ffffff;
}

.about-section .section-heading .kicker {
    color: #a9f1d2;
}

.about-section .about-copy {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-color: rgba(255, 255, 255, 0.52);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(239, 249, 246, 0.82)),
        rgba(255, 255, 255, 0.78);
    box-shadow: 0 30px 70px rgba(2, 31, 25, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
}

.about-section .about-copy::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: -100px;
    right: -80px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(49, 200, 194, 0.28), transparent 67%);
    animation: aboutGlow 6s ease-in-out infinite alternate;
}

.about-section .about-copy::after {
    content: "";
    position: absolute;
    z-index: 0;
    right: -90px;
    bottom: -120px;
    width: 270px;
    height: 270px;
    border: 1px solid rgba(20, 118, 92, 0.18);
    border-radius: 50%;
    box-shadow: 0 0 0 24px rgba(20, 118, 92, 0.045), 0 0 0 48px rgba(20, 118, 92, 0.035);
}

.about-section .about-copy>* {
    position: relative;
    z-index: 1;
}

.about-copy__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 8px 12px;
    border: 1px solid rgba(20, 118, 92, 0.16);
    border-radius: 999px;
    color: var(--green-800);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 10px 24px rgba(13, 62, 51, 0.08);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-copy__badge span {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, var(--green-500), var(--turquoise));
    font-size: 0.75rem;
    box-shadow: 0 5px 12px rgba(20, 118, 92, 0.22);
}

.about-section .about-copy p {
    position: relative;
    color: #315c53;
    font-size: clamp(1rem, 1.4vw, 1.12rem);
    line-height: 1.78;
}

.section-heading h2,
.why-copy h2,
.contact-card h2,
.impact-content h2 {
    margin: 0;
    color: var(--green-950);
    font-size: clamp(2.3rem, 5vw, 4.7rem);
    line-height: 0.98;
    letter-spacing: 0;
}

.section-heading.centered {
    max-width: 800px;
    margin: 0 auto 42px;
    text-align: center;
}

.about-copy {
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.about-copy p,
.contact-card p,
.testimonial-card p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 1.04rem;
    line-height: 1.85;
}

.value-grid,
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.value-grid span,
.benefits-grid span {
    padding: 14px 15px;
    border: 1px solid rgba(20, 118, 92, 0.14);
    border-radius: 14px;
    color: var(--green-900);
    background: rgba(255, 255, 255, 0.68);
    font-weight: 850;
}

.about-section .value-grid span {
    position: relative;
    overflow: hidden;
    padding-left: 42px;
    border-color: rgba(20, 118, 92, 0.14);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 8px 18px rgba(13, 62, 51, 0.05);
    transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
    animation: valueReveal 520ms cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

.about-section .value-grid span::before {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 14px;
    display: grid;
    width: 18px;
    height: 18px;
    place-items: center;
    border-radius: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    background: linear-gradient(135deg, var(--green-500), var(--turquoise));
    font-size: 0.69rem;
    font-weight: 900;
}

.about-section .value-grid span:hover {
    transform: translateY(-4px);
    border-color: rgba(20, 168, 121, 0.38);
    background: #ffffff;
    box-shadow: 0 15px 25px rgba(13, 62, 51, 0.12);
}

.about-section .value-grid span:nth-child(2) {
    animation-delay: 80ms;
}

.about-section .value-grid span:nth-child(3) {
    animation-delay: 160ms;
}

.about-section .value-grid span:nth-child(4) {
    animation-delay: 240ms;
}

.about-section .value-grid span:nth-child(5) {
    animation-delay: 320ms;
}

.about-section .value-grid span:nth-child(6) {
    animation-delay: 400ms;
}

@keyframes aboutGlow {
    from {
        transform: translate3d(-16px, 14px, 0) scale(0.9);
    }

    to {
        transform: translate3d(20px, -18px, 0) scale(1.15);
    }
}

@keyframes valueReveal {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.services-section {
    position: relative;
    width: 100%;
    max-width: none;
    padding: 116px 0;
    background:
        radial-gradient(circle at 12% 18%, rgba(49, 200, 194, 0.13), transparent 28rem),
        linear-gradient(112deg, rgba(249, 253, 251, 0.94), rgba(231, 246, 239, 0.78)),
        url("../../../imagenes/galeria/Colaboracion_profesional_oficina.png") center / cover;
    box-shadow: var(--shadow);
}

.services-section .section-heading h2 {
    max-width: none;
    margin-inline: auto;
    color: var(--green-950);
    font-size: clamp(2rem, 2.7vw, 3.15rem);
    line-height: 1.02;
    white-space: nowrap;
}

.services-section .section-heading.centered {
    width: min(calc(100% - 48px), 1540px);
    max-width: none;
}

.services-section .section-heading .kicker {
    color: var(--green-700);
}

.services-section .service-card:not(.service-featured) {
    border-color: rgba(255, 255, 255, 0.68);
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(12px);
}

@media (min-width: 761px) {

    .about-section,
    .services-section,
    .process-section {
        background-attachment: fixed;
    }
}

.services-content {
    width: min(calc(100% - 32px), var(--max));
    display: grid;
    grid-template-columns: minmax(290px, 0.78fr) minmax(0, 1.22fr);
    gap: 28px;
    margin: 0 auto;
    align-items: stretch;
}

.services-showcase {
    min-height: 650px;
    margin: 0;
    overflow: hidden;
    border-radius: 28px;
    background: var(--green-950);
    box-shadow: 0 26px 58px rgba(13, 62, 51, 0.18);
}

.services-showcase img {
    width: 100%;
    height: 100%;
    min-height: 650px;
    object-fit: cover;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    counter-reset: service;
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 300px;
    grid-column: auto;
    overflow: hidden;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 48px rgba(13, 62, 51, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    counter-increment: service;
}

.service-card::before {
    content: "0" counter(service);
    position: absolute;
    top: 22px;
    right: 24px;
    color: rgba(14, 90, 72, 0.12);
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1;
}

.service-card::after {
    content: "";
    position: absolute;
    right: -46px;
    bottom: -56px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(49, 200, 194, 0.12);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(32, 168, 121, 0.32);
    box-shadow: 0 24px 62px rgba(13, 62, 51, 0.14);
}

.service-card img {
    position: relative;
    z-index: 1;
    width: 54px;
    height: 54px;
    padding: 11px;
    border-radius: 16px;
    background: rgba(32, 168, 121, 0.12);
}

.service-card h3 {
    position: relative;
    margin: 26px 0 12px;
    color: var(--green-950);
    font-size: 1.34rem;
}

.service-card p {
    position: relative;
    margin: 0;
    color: var(--ink-soft);
    line-height: 1.72;
}

.service-card p::after {
    content: "";
    display: block;
    width: 42px;
    height: 3px;
    margin-top: 22px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--green-500), var(--turquoise));
}


.process-section {
    position: relative;
    overflow: hidden;
    padding: 112px 0;
    color: #ffffff;
    background:
        radial-gradient(circle at 12% 18%, rgba(49, 200, 194, 0.18), transparent 26rem),
        radial-gradient(circle at 88% 78%, rgba(114, 224, 178, 0.14), transparent 24rem),
        linear-gradient(135deg, rgba(7, 43, 36, 0.78), rgba(10, 63, 52, 0.70)),
        url("../../../imagenes/galeria/Equipo_UNIR_en_accion.png") center / cover,
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: auto, auto, auto, cover, 86px 86px;
}

@media (min-width: 761px) {
    .process-section {
        background-attachment: scroll, scroll, scroll, fixed, scroll;
    }
}

.process-section::before {
    content: "";
    position: absolute;
    inset: 34px auto auto -90px;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(114, 224, 178, 0.2);
    border-radius: 50%;
}

.process-section .kicker,
.process-section h2 {
    color: #ffffff;
}

.process-section p {
    overflow-wrap: normal;
    word-break: normal;
}

.process-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(24px, 4vw, 44px);
    align-items: stretch;
}

.process-heading {
    grid-column: 1 / -1;
    max-width: 860px;
    margin: 0 auto 18px;
    text-align: center;
}

.process-heading p {
    max-width: 720px;
    margin: 18px auto 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 1.05rem;
    line-height: 1.8;
}

.process-visual {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 30px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
}

.process-visual img {
    width: 100%;
    height: 100%;
    min-height: 560px;
    object-fit: cover;
}

.process-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(4, 31, 26, 0.82));
}

.process-visual-card {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    z-index: 2;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(16px);
}

.process-visual-card strong {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 1.2rem;
}

.process-visual-card span {
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.55;
}

.timeline {
    display: grid;
    gap: 12px;
    align-content: stretch;
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    min-width: 0;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.065));
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.12);
    transition: transform 0.24s ease, background-color 0.24s ease, border-color 0.24s ease;
}

.timeline-item:hover {
    transform: translateX(4px);
    border-color: rgba(114, 224, 178, 0.34);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
}

.timeline-item span {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    color: var(--mint);
    background: rgba(255, 255, 255, 0.12);
    font-weight: 950;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.timeline-item h3 {
    margin: 0 0 6px;
    color: #ffffff;
    font-size: 1.12rem;
    line-height: 1.25;
}

.timeline-item p {
    margin: 0;
    max-width: 560px;
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.58;
}

.why-section {
    position: relative;
    isolation: isolate;
    width: 100%;
    max-width: none;
    padding: 124px max(28px, calc((100% - var(--max)) / 2));
    align-items: center;
    background:
        linear-gradient(112deg, rgba(250, 253, 251, 0.93), rgba(238, 249, 244, 0.76)),
        url("../../../imagenes/galeria/Reunion_operativa_recepcion.png") center / cover;
    box-shadow: 0 28px 80px rgba(4, 45, 35, 0.16);
}

.why-visual {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 34px;
    box-shadow: 0 28px 62px rgba(0, 27, 21, 0.32);
}

.why-visual img {
    width: 100%;
    height: 100%;
    min-height: 560px;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 700ms ease;
}

.why-visual:hover img {
    transform: scale(1.08);
}

.why-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 31, 25, 0.04) 36%, rgba(4, 39, 31, 0.82));
}

.image-badge {
    right: 24px;
    bottom: 24px;
    width: min(282px, 72vw);
    padding: 20px;
    border-radius: 20px;
    background: rgba(5, 43, 35, 0.58);
}

.why-copy {
    padding: clamp(28px, 4vw, 48px);
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.91);
    box-shadow: 0 26px 64px rgba(0, 35, 28, 0.22);
    backdrop-filter: blur(18px);
}

.why-copy h2 {
    color: var(--green-950);
    font-size: clamp(2.5rem, 4.2vw, 4.35rem);
    line-height: 1.02;
}

.why-copy .kicker {
    color: var(--green-700);
}

.why-copy .benefits-grid {
    counter-reset: benefit;
    gap: 12px;
    margin-top: 32px;
}

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

.why-copy .benefits-grid span {
    position: relative;
    min-height: 62px;
    display: flex;
    align-items: center;
    padding: 15px 16px 15px 52px;
    overflow: hidden;
    border-color: rgba(20, 118, 92, 0.16);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 8px 20px rgba(3, 61, 47, 0.05);
    transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.why-copy .benefits-grid span::before {
    counter-increment: benefit;
    content: counter(benefit, decimal-leading-zero);
    position: absolute;
    left: 15px;
    color: var(--green-600);
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.04em;
}

.why-copy .benefits-grid span:hover {
    transform: translateY(-3px);
    border-color: rgba(32, 168, 121, 0.42);
    background: #ffffff;
}

@media (min-width: 761px) {
    .why-section {
        background-attachment: scroll, fixed;
    }
}

.experience-section {
    padding-top: 54px;
}

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

.client-marquee span {
    min-height: 96px;
    display: grid;
    place-items: center;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    color: var(--green-900);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 16px 40px rgba(13, 62, 51, 0.08);
    font-weight: 950;
    text-align: center;
}

.impact-section {
    position: relative;
    min-height: 480px;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: #ffffff;
}

.impact-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(4, 31, 26, 0.92), rgba(7, 43, 36, 0.48)),
        url("../img/espacios-comunes-premium.jpg") center/cover fixed;
}

.impact-content {
    position: relative;
    width: min(calc(100% - 32px), 920px);
    text-align: center;
}

.impact-content h2 {
    color: #ffffff;
    margin-bottom: 28px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 32px;
}

.testimonial-card {
    min-height: 210px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 18px 48px rgba(13, 62, 51, 0.08);
}

.testimonial-card::before {
    content: "";
    display: block;
    width: 42px;
    height: 4px;
    margin-bottom: 22px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--green-500), var(--turquoise));
}

.contact-section {
    padding: 86px 0;
}

.contact-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
    gap: 32px;
    align-items: center;
    padding: clamp(26px, 5vw, 52px);
    border-radius: 32px;
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(7, 43, 36, 0.98), rgba(14, 90, 72, 0.94)),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: auto, 68px 68px;
    box-shadow: var(--shadow-strong);
}

.contact-card .kicker,
.contact-card h2 {
    color: #ffffff;
}

.contact-card p {
    max-width: 610px;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.76);
}

.contact-actions {
    display: grid;
    gap: 12px;
}

.contact-link {
    display: flex;
    min-height: 52px;
    align-items: center;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    font-weight: 850;
}

.site-footer {
    padding: 72px 0 28px;
    color: rgba(255, 255, 255, 0.78);
    background: #06231e;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr repeat(3, minmax(0, 0.7fr));
    gap: 28px;
}

.footer-brand img {
    background: rgba(255, 255, 255, 0.92);
}

.footer-brand strong,
.footer-brand small {
    color: #ffffff;
}

.site-footer p {
    max-width: 390px;
    line-height: 1.75;
}

.site-footer h2 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: 1rem;
}

.site-footer a:not(.brand) {
    display: block;
    margin: 12px 0;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: var(--mint);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 48px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}