@font-face {
    font-family: 'Century Gothic';
    src: url('../fonts/century-gothic.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Century Gothic';
    src: url('../fonts/century-gothic-bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
:root {
    --orange: #ff6a00;
    --orange-dark: #ed5700;
    --black: #151515;
    --white: #ffffff;
    --paper: #f6f6f3;
    --gray: #6c6c6c;
    --container: 1440px;
    --shadow: 0 18px 45px rgba(0,0,0,.13);
    --header-dark: #111111;
    --header-dark-soft: #1c1c1c;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;

}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    font-family: 'Century Gothic', Helvetica, sans-serif;
    color: var(--black);
   background-image:
        linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)),
        url("../../images/textura.png");

    background-repeat: no-repeat, repeat;
    background-position: center, center;
    background-size: cover, auto;
}

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

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

.container {
    width: min(calc(100% - 48px), var(--container));
    margin-inline: auto;
}




/* =========================================================
   HERO BASE
========================================================= */

.hero {
    position: relative;
    min-height: 100svh;
    padding-top: 125px;
    padding-bottom: 130px;
    overflow: hidden;
    isolation: isolate;
}

.hero__orange {
    position: absolute;
    z-index: -10;
    inset: 0 auto 0 0;
    width: 50%;

    background:
        radial-gradient(circle at 12% 22%, rgba(255,255,255,.12), transparent 30%),
        linear-gradient(130deg, #ff791e 0%, #ff6816 52%, #ed5700 100%);
}

.hero__white {
    position: absolute;
    z-index: -10;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: #f7f7f5;
}



.hero__texture {
    position: absolute;
    z-index: -6;
    inset: 0;
    opacity: .17;
    pointer-events: none;

    background-image:
        radial-gradient(circle, rgba(0,0,0,.16) 0 1px, transparent 1.4px);

    background-size: 17px 17px;
    mix-blend-mode: multiply;
}

.hero__container {
    position: relative;

    width: min(calc(100% - 100px), var(--container));
    min-height: calc(100svh - 250px);

    margin: 0 auto;

    display: grid;
    grid-template-columns: .82fr 1.18fr;
    align-items: center;
}

/* =========================================================
   TEXTO
========================================================= */
.why-asso2 {font-size: 25px;}
.hero__content {
    position: relative;
    z-index: 20;

    max-width: 510px;
    padding-bottom: 92px;

    color: #fff;
}

.hero__content h1 {
    margin: 0;

    font-size: clamp(2.15rem, 2.85vw, 3.45rem);
    line-height: 1.04;
    letter-spacing: -.04em;

    font-weight: 400;
}

.hero__content h1 strong {
    display: inline;
    font-weight: 900;
}

.hero__content p {
    max-width: 500px;
    margin: 26px 0 0;

    color: rgba(255,255,255,.95);

    font-size: clamp(.9rem, .95vw, 1rem);
    line-height: 1.65;
}

.hero__button {
    min-height: 57px;
    margin-top: 32px;
    padding: 0 28px;

    display: inline-flex;
    align-items: center;
    gap: 32px;

    border: 2px solid rgba(255,255,255,.95);
    border-radius: 15px;

    color: #fff;
    font-weight: 800;

    transition: background .25s ease, color .25s ease, transform .25s ease;
}

.hero__button:hover {
    color: var(--orange);
    background: #fff;
    transform: translateY(-3px);
}

/* =========================================================
   PERSONA
   Punto medio entre las dos versiones anteriores.
   Se desplaza hacia el centro visual de la página.
========================================================= */

.hero__visual {
    position: relative;
    min-height: 700px;
    align-self: end;

}

.hero__person {
    position: absolute;
    z-index: 10;

    left: 30%;
    bottom: 2px;

    width: min(32vw, 530px);

    transform: translateX(-50%);

    filter:
        drop-shadow(
            0 28px 30px rgba(0,0,0,.15)
        );

    animation: personFloat 5.5s ease-in-out infinite;
}

/* =========================================================
   HOJA
   Grande y desplazada a la izquierda.
   El lado derecho queda limpio.
========================================================= */

.hero__leaf {
    position: absolute;
    z-index: 1;

    top: 30%;
    left: 30%;

    width: clamp(420px, 35vw, 700px);

    opacity: .94;
    pointer-events: none;

    /* Sólo dejamos visible aproximadamente el 68% izquierdo */
 

    transform-origin: bottom center;
    animation: leafFloat 7s ease-in-out infinite;
}

/* =========================================================
   BANDA OVALADA
========================================================= */

.hero__company {
    position: absolute;
    z-index: 30;

    left: 50%;
    bottom: 52px;

    width: min(1450px, 88vw);

    transform: translateX(-50%);
}

.hero__company-inner {
    min-height: 110px;

    padding: 18px 54px 28px;

    display: grid;
    place-items: center;

    color: #fff;

    background:
        linear-gradient(
            180deg,
            #0d0d0d 0%,
            #222222 55%,
            #3a3a3a 100%
        );

    border-radius:
        50% 50% 0 0 / 100% 100% 0 0;

    overflow: hidden;

    box-shadow:
        0 18px 34px rgba(0,0,0,.25);
}

.hero__company span { padding-top: 30px;
    font-size: clamp(1.2rem, 2.15vw, 2.35rem);
    font-weight: 300;
    letter-spacing: .015em;
    text-align: center;
}

/* =========================================================
   SCROLL
========================================================= */

.hero__scroll {
    position: absolute;
    z-index: 40;

    left: 50%;
    bottom: 15px;

    transform: translateX(-50%);

    display: flex;
    align-items: center;
    gap: 9px;

    color: #666;
    font-size: .9rem;
}

.hero__scroll span {
    color: var(--orange);
    font-size: 1.9rem;
    animation: bounce 1.5s ease-in-out infinite;
}

/* =========================================================
   ANIMACIONES
========================================================= */

@keyframes personFloat {
    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-8px);
    }
}

@keyframes leafFloat {
    0%,
    100% {
        transform: rotate(-7deg) translateY(0);
    }

    50% {
        transform: rotate(-2deg) translateY(-12px);
    }
}

@keyframes bounce {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(7px);
    }
}

/* =========================================================
   TABLET / MENÚ
========================================================= */

@media (max-width: 1100px) {

    .hero__person {
        left: 50%;
        width: min(44vw, 540px);
    }

    .hero__leaf {
        left: 39%;
        width: min(56vw, 650px);
    }
}

/* =========================================================
   CELULAR
========================================================= */

@media (max-width: 820px) {

    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 145px;
    }

    .hero__orange {
        width: 100%;
        height: 61%;
    }

    .hero__white {
        top: auto;
        bottom: 0;
        width: 100%;
        height: 43%;
    }

    .hero::before {
        display: none;
    }

    .hero__container {
        width: calc(100% - 30px);
        min-height: auto;
        grid-template-columns: 1fr;
    }

    .hero__content {
        max-width: none;
        padding: 52px 0 0;
    }

    .hero__content h1 {
        font-size: clamp(2.35rem, 8.8vw, 4rem);
    }

    .hero__visual {
        min-height: 620px;
    }

    .hero__person {
        left: 50%;
        width: min(68vw, 560px);
    }

    .hero__leaf {
        top: 50%;
        left: 41%;

        width: min(86vw, 560px);

        opacity: .68;
        clip-path: inset(0 30% 0 0);
    }

    .hero__company {
        width: 91vw;
    }

    .hero__company-inner {
        min-height: 86px;
        padding: 18px 30px;
    }
}

/* =========================================================
   MOBILE PEQUEÑO
========================================================= */

@media (max-width: 520px) {

    .hero__content h1 {
        font-size: clamp(2.1rem, 10vw, 3.25rem);
    }

    .hero__content p {
        font-size: .95rem;
    }

    .hero__visual {
        min-height: 490px;
    }

    .hero__person {
        left: 50%;
        width: min(84vw, 490px);
    }

    .hero__leaf {
        left: 42%;
        width: 440px;
        opacity: .58;
        clip-path: inset(0 30% 0 0);
    }

    .hero__company {
        width: 94vw;
    }

    .hero__company-inner {
        min-height: 75px;
        padding: 16px 20px;
    }

    .hero__company span {
        font-size: clamp(1.35rem, 7vw, 2rem);
    }
}

/* =========================================================
   SECCIÓN SIGUIENTE TEMPORAL
========================================================= */

.section-placeholder {
    padding: 120px 0;
    background: #fff;
}

.section-placeholder span {
    color: var(--orange);
    font-weight: 800;
}

.section-placeholder h2 {
    margin: 15px 0 0;
    font-size: clamp(3rem, 6vw, 6rem);
    letter-spacing: -.05em;
}

/* =========================================================
   ACCESIBILIDAD
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}






/* =========================================================
   ¿POR QUÉ ASSO? + TESTIMONIO DESLIZABLE
========================================================= */

.why-asso-slider {
    width: 100%;
    overflow: hidden;
    background: #050505;
    touch-action: pan-y;
}

.why-asso-slider__track {
    width: 200%;
    display: flex;
    transform: translateX(0);
    transition: transform .72s cubic-bezier(.77, 0, .18, 1);
    will-change: transform;
}

.why-asso-slider__track.is-dragging {
    transition: none;
}

.why-asso-slider {
    cursor: grab;
}

.why-asso-slider:has(.why-asso-slider__track.is-dragging) {
    cursor: grabbing;
}

.why-asso-slider video,
.why-asso-slider button,
.why-asso-slider a {
    cursor: auto;
}

.why-asso-slider button {
    cursor: pointer;
}

.why-asso-slider.is-video .why-asso-slider__track {
    transform: translateX(-50%);
}

.why-asso-slide {
    width: 50%;
    flex: 0 0 50%;
    min-height: 560px;
}

/* PANEL 1 */

.why-asso-slide--about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #050505;
}

.why-asso__media {
    position: relative;
    min-height: 560px;
    overflow: hidden;
}

.why-asso__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .8s ease, filter .8s ease;
}

.why-asso__media:hover .why-asso__image {
    transform: scale(1.025);
}

.why-asso__content {
    position: relative;
    min-height: 560px;
    padding: clamp(55px, 6vw, 95px) clamp(45px, 6vw, 90px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(255, 104, 22, .05),
            transparent 35%
        ),
        #050505;
}

.why-asso__text {
    max-width: 720px;
}

.why-asso__text h2 {
    margin: 0 0 30px;
    font-size: clamp(2rem, 3vw, 3.5rem);
    line-height: 1.05;
    letter-spacing: -.035em;
}

.why-asso__text p {
    margin: 0;
    max-width: 720px;
    color: rgba(255, 255, 255, .88);
    font-size: clamp(1.05rem, 1.35vw, 1.35rem);
    line-height: 1.55;
}

button.why-asso__testimonials {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    font: inherit;
    cursor: pointer;
}

.why-asso__testimonials {
    align-self: flex-end;
    display: inline-flex;
    align-items: center;
    gap: clamp(20px, 3vw, 42px);
    color: #fff;
    font-size: clamp(1rem, 1.3vw, 1.25rem);
    text-align: left;
    transition: color .25s ease, transform .25s ease;
}

.why-asso__testimonials:hover {
    color: #ff6816;
    transform: translateX(4px);
}

.why-asso__arrows {
    display: inline-flex;
    align-items: center;
    color: #ff6816;
    font-size: clamp(3.4rem, 5vw, 5.5rem);
    line-height: .5;
    letter-spacing: -.18em;
}

.why-asso__arrows span {
    display: inline-block;
    animation: testimonialArrow 1.5s ease-in-out infinite;
}

.why-asso__arrows span:nth-child(2) {
    animation-delay: .12s;
}

.why-asso__arrows span:nth-child(3) {
    animation-delay: .24s;
}

@keyframes testimonialArrow {
    0%,
    100% {
        opacity: .35;
        transform: translateX(0);
    }

    50% {
        opacity: 1;
        transform: translateX(8px);
    }
}

/* PANEL 2: VIDEO */

.why-asso-slide--video {
    height: 560px;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 78% 18%,
            rgba(255, 104, 22, .12),
            transparent 30%
        ),
        #050505;
    color: #fff;
}

.why-asso-video__inner {
    width: min(calc(100% - 80px), 1240px);
    height: 100%;
    margin: 0 auto;
    padding: 32px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.why-asso-video__back {
    align-self: flex-start;
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    padding: 0;
    margin: 0 0 28px;
    display: inline-flex;
    align-items: center;
    gap: 18px;
    color: #fff;
    background: transparent;
    font: inherit;
    font-size: clamp(1rem, 1.3vw, 1.25rem);
    cursor: pointer;
    transition: color .25s ease, transform .25s ease;
}

.why-asso-video__back:hover {
    color: #ff6816;
    transform: translateX(-4px);
}

.why-asso-video__back-arrows {
    display: inline-flex;
    align-items: center;
    color: #ff6816;
    font-size: clamp(3rem, 4vw, 4.5rem);
    line-height: .5;
    letter-spacing: -.18em;
}

.why-asso-video__back-arrows span {
    display: inline-block;
    animation: testimonialArrowBack 1.5s ease-in-out infinite;
}

.why-asso-video__back-arrows span:nth-child(2) {
    animation-delay: .12s;
}

.why-asso-video__back-arrows span:nth-child(3) {
    animation-delay: .24s;
}

@keyframes testimonialArrowBack {
    0%,
    100% {
        opacity: .35;
        transform: translateX(0);
    }

    50% {
        opacity: 1;
        transform: translateX(-8px);
    }
}

.why-asso-video__heading {
    width: 100%;
    margin-bottom: 18px;
    text-align: center;
}

.why-asso-video__eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #ff6816;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.why-asso-video__heading h2 {
    margin: 0;
    font-size: clamp(2rem, 3.2vw, 3.7rem);
    line-height: 1.05;
    letter-spacing: -.035em;
}

.why-asso-video__player {
    width: min(100%, 760px);
    max-height: 365px;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 18px;
    background: #000;
    box-shadow: 0 28px 70px rgba(0, 0, 0, .42);
}

.why-asso-video__player video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

/* RESPONSIVE */

@media (max-width: 900px) {
    .why-asso-slide--about {
        grid-template-columns: 1fr;
    }

    .why-asso-slide {
        min-height: auto;
    }

    .why-asso-slide--video {
        height: auto;
        min-height: 560px;
    }

    .why-asso__media {
        min-height: 430px;
    }

    .why-asso__content {
        min-height: auto;
        padding: 55px 30px;
    }

    .why-asso__testimonials {
        margin-top: 55px;
    }

    .why-asso-video__inner {
        width: min(calc(100% - 50px), 1240px);
        min-height: 560px;
        padding: 32px 0;
    }

    .why-asso-video__player {
        width: min(100%, 720px);
        max-height: 350px;
    }
}

@media (max-width: 560px) {
    .why-asso__media {
        min-height: 320px;
    }

    .why-asso__content {
        padding: 42px 22px;
    }

    .why-asso__text h2 {
        margin-bottom: 22px;
    }

    .why-asso__testimonials {
        width: 100%;
        justify-content: space-between;
        gap: 15px;
        margin-top: 45px;
    }

    .why-asso__arrows {
        font-size: 3.2rem;
    }

    .why-asso-video__inner {
        width: calc(100% - 32px);
        min-height: 520px;
        padding: 28px 0 36px;
    }

    .why-asso-video__player {
        border-radius: 12px;
    }

    .why-asso-video__back {
        margin-bottom: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .why-asso-slider__track,
    .why-asso__image {
        transition: none;
    }

    .why-asso__arrows span,
    .why-asso-video__back-arrows span {
        animation: none;
    }
}


/* =========================================================
   NUESTROS SERVICIOS
========================================================= */

.services-home {
    position: relative;
    overflow: hidden;

    padding: clamp(90px, 9vw, 145px) 0 clamp(110px, 10vw, 170px);

    background-color: #f7f7f4;

    /* Sustituye esta ruta por tu textura real */
    background-image:
        linear-gradient(rgba(255,255,255,.4), rgba(255,255,255,.4)),
        url("../../images/textura.png");

    background-repeat: no-repeat, repeat;
    background-position: center, center;
    background-size: cover, auto;
}


.services-home__inner {
    width: min(calc(100% - 48px), 1240px);
    margin: 0 auto;
}


/* =========================================================
   ENCABEZADO
========================================================= */

.services-home__heading {
    max-width: 900px;
    margin: 0 auto 48px;
    text-align: center;
}


.services-home__heading h2 {
    margin: 0;

    color: #ff6816;

    font-size: clamp(2.6rem, 4vw, 4.4rem);
    line-height: 1;
    letter-spacing: -.045em;
    font-weight: 800;
}


.services-home__heading p {
    max-width: 820px;
    margin: 18px auto 0;

    color: #3f3f3f;

    font-size: clamp(.95rem, 1.1vw, 1.08rem);
    line-height: 1.5;
    font-style: italic;
}


/* =========================================================
   GRID
========================================================= */

.services-home__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(18px, 2vw, 28px);
}


/* =========================================================
   TARJETA
========================================================= */

.service-card {
    display: block;
    min-width: 0;
    color: inherit;
}


.service-card__name {
    display: block;
    min-height: 28px;
    margin-bottom: 14px;

    color: #232323;

    font-size: clamp(1rem, 1.3vw, 1.15rem);
    font-weight: 700;
    text-align: center;
}


/* =========================================================
   CUERPO
========================================================= */

.service-card__body {
    position: relative;

    min-height: 220px;

    display: grid;
    place-items: center;

    padding: 30px;

    overflow: hidden;

    border-radius: 24px;

    color: #fff;

    box-shadow: 0 12px 24px rgba(0,0,0,.07);

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        background .45s ease;
}


/* COLORES SÓLIDOS */

.service-card--orange .service-card__body {
    background: #ff6a00;
}

.service-card--dark .service-card__body {
    background: #000000;
}

.service-card--blue .service-card__body {
    background: #4c5e99;
}

.service-card--green .service-card__body {
    background: #3a4d41;
}


/* =========================================================
   TEXTO NORMAL / HOVER
========================================================= */

.service-card__front,
.service-card__hover {
    grid-area: 1 / 1;

    max-width: 190px;

    text-align: center;

    font-size: clamp(1rem, 1.25vw, 1.22rem);
    line-height: 1.35;

    transition:
        opacity .35s ease,
        transform .35s ease;
        font-weight: 700;
}


.service-card__front {
    opacity: 1;
    transform: translateY(0);
}


.service-card__hover {
    opacity: 0;
    transform: translateY(8px);
    font-weight: 300;
}


/* =========================================================
   HOVER MÁS SUTIL
========================================================= */

.service-card__body {
    position: relative;
    min-height: 220px;
    display: grid;
    place-items: center;
    padding: 30px;
    overflow: hidden;
    border-radius: 24px;
    color: #fff;

    box-shadow: 0 12px 24px rgba(0,0,0,.07);

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}


/* COLORES SÓLIDOS */

.service-card--orange .service-card__body {
    background: #ff6a00;
}

.service-card--dark .service-card__body {
    background: #000000;
}

.service-card--blue .service-card__body {
    background: #4c5e99;
}

.service-card--green .service-card__body {
    background: #1A8A39;
}


/* CAPA DEL GRADIENTE */

.service-card__body::before {
    content: "";

    position: absolute;
    inset: 0;

    opacity: 0;

    transition: opacity .45s ease;

    pointer-events: none;
}


/* GRADIENTES */

.service-card--orange .service-card__body::before {
    background: linear-gradient(
        135deg,
        #f57a3a 0%,
        #ef8d61 65%,
        #d7d3cf 100%
    );
}

.service-card--dark .service-card__body::before {
    background: linear-gradient(
        135deg,
        #282828 0%,
        #303030 65%,
        #3a3a3a 100%
    );
}

.service-card--blue .service-card__body::before {
    background: linear-gradient(
        135deg,
        #536aa8 0%,
        #4e6695 65%,
        #405a58 100%
    );
}

.service-card--green .service-card__body::before {
    background: linear-gradient(
        135deg,
        #22a86f 0%,
        #2eae87 65%,
        #67a8c4 100%
    );
}


/* MOSTRAR GRADIENTE */

.service-card:hover .service-card__body::before,
.service-card:focus-visible .service-card__body::before {
    opacity: 1;
}


/* LOS TEXTOS DEBEN QUEDAR SOBRE EL GRADIENTE */

.service-card__front,
.service-card__hover {
    position: relative;
    z-index: 2;

    grid-area: 1 / 1;

    max-width: 190px;

    text-align: center;

    font-size: clamp(1rem, 1.25vw, 1.22rem);
    line-height: 1.35;

    transition:
        opacity .4s ease,
        transform .4s ease;
}


/* TEXTO NORMAL */

.service-card__front {
    opacity: 1;
    transform: translateY(0);
}


/* PREGUNTA */

.service-card__hover {
    opacity: 0;
    transform: translateY(5px);
}


.service-card:hover .service-card__front,
.service-card:focus-visible .service-card__front {
    opacity: 0;
    transform: translateY(-5px);
}


.service-card:hover .service-card__hover,
.service-card:focus-visible .service-card__hover {
    opacity: 1;
    transform: translateY(0);
}


/* MOVIMIENTO DE LA TARJETA MUY SUTIL */

.service-card:hover .service-card__body,
.service-card:focus-visible .service-card__body {
    transform: translateY(-2px);

    box-shadow: 0 15px 26px rgba(0,0,0,.09);
}

/* =========================================================
   SOLICITAR ASESORÍA
========================================================= */

.services-home__cta-wrap {
    margin-top: clamp(80px, 9vw, 130px);
    text-align: center;
}


.services-home__cta {
    position: relative;

    display: inline-block;

    color: #6e6e6e;

    font-size: clamp(1.4rem, 3.5vw, 3.8rem);
    line-height: 1;
    letter-spacing: -.04em;
    font-weight: 600;

    transition:
        color .25s ease,
        transform .25s ease;
}


.services-home__cta::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: -14px;

    width: 0;
    height: 3px;

    background: #ff6816;

    transform: translateX(-50%);

    transition: width .3s ease;
}


.services-home__cta:hover {
    color: #ff6816;
    transform: translateY(-2px);
}


.services-home__cta:hover::after {
    width: 38%;
}


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

@media (max-width: 1020px) {

    .services-home__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 24px;
    }

}


@media (max-width: 620px) {

    .services-home {
        padding: 78px 0 100px;
    }


    .services-home__inner {
        width: min(calc(100% - 30px), 1240px);
    }


    .services-home__heading {
        margin-bottom: 38px;
    }


    .services-home__grid {
        grid-template-columns: 1fr;
    }


    .service-card__body {
        min-height: 180px;
    }


    .services-home__cta-wrap {
        margin-top: 70px;
    }

}


/* =========================================================
   ACCESIBILIDAD
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .service-card__body,
    .service-card__front,
    .service-card__hover,
    .services-home__cta {
        transition: none;
    }

}
/* Compensa la altura del menú fijo al navegar por anclas */
#nosotros,
#servicios,
#contacto {
    scroll-margin-top: 110px;
}

@media (max-width: 768px) {
    #nosotros,
    #servicios,
    #contacto {
        scroll-margin-top: 85px;
    }
}

/* =========================================================
   HERO RESPONSIVE FINAL - 01/10/2026
   Sin texto, sin full-height, fondo 50/50 y persona elevada
========================================================= */
@media (max-width: 820px) {
    .hero {
        min-height: 0;
        height: 650px;
        padding-top: 95px;
        padding-bottom: 0;
        overflow: hidden;
    }

    .hero__orange {
        inset: 0 auto 0 0;
        width: 50%;
        height: 100%;
    }

    .hero__white {
        top: 0;
        right: 50%;
        bottom: auto;
        width: 0%;
        height: 100%;
    }

    .hero__container {
        width: 100%;
        height: 555px;
        min-height: 0;
        margin: 0;
        display: block;
    }

    .hero__content {
        display: none;
    }

    .hero__visual {
        position: relative;
        width: 100%;
        min-height: 700px;
        height: 700px;
    }

    .hero__person {
        left: 70%;
         bottom: 250px;
        width: min(82vw, 350px);
    }

    .hero__leaf {
        top: 31%;
        left: 0%;
        width: min(88vw, 520px);
        opacity: .82;
        clip-path: none;
    }

     .hero__company span {
        padding-top: 20px;
        font-size: clamp(.72rem, 3vw, .95rem);
        line-height: 1.25;
        white-space: normal;
        text-align: center;
    }
}

@media (max-width: 520px) {
      .hero {
        min-height: 0;
        height: 650px;
        padding-top: 95px;
        padding-bottom: 0;
        overflow: hidden;
    }

   
    .hero__container {
        width: 100%;
        height: 555px;
        min-height: 0;
        margin: 0;
        display: block;
    }

    .hero__visual {
        height: 520px;
        min-height: 0;
    }

    
    .hero__person {
        left: 70%;
         bottom: 70px;
        width: min(82vw, 350px);
    }

     .hero__leaf {
        top: 31%;
        left: 0%;
        width: min(88vw, 520px);
        opacity: .82;
        clip-path: none;
    }
}
