:root {
    --gpo-green: #84b813;
}

body {
    background: #f1f3f5;
}

body .container {
    max-width: 1140px;
}

.landing-hero {
    min-height: 0;
    background: #171f2b;
}

.landing-hero-slide {
    min-height: 720px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.landing-hero-slide-platform {
    background-image: url('/landing/img/fondo_gpo-min.png');
}

.landing-hero-slide-advice {
    background-image: url('/landing/img/fondo_gpo_2.jpeg');
}

.landing-hero .landing-hero-overlay {
    background: linear-gradient(90deg, rgba(8, 13, 22, .12), rgba(8, 13, 22, .62) 55%, rgba(8, 13, 22, .12));
}

.hero-copy {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 720px;
    max-width: 760px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-top: 70px;
}

.hero-copy p {
    margin-bottom: 8px;
    font-size: clamp(1.25rem, 2.2vw, 1.9rem);
    text-shadow: 0 2px 5px rgba(0, 0, 0, .65);
}

.landing-hero .hero-copy h1 {
    margin-bottom: 30px;
    color: var(--gpo-green);
    font-size: clamp(3rem, 5vw, 4.2rem);
    line-height: .98;
    letter-spacing: -.035em;
    text-shadow: 0 3px 12px rgba(0, 0, 0, .35);
}

.landing-hero .hero-copy h1 span {
    color: var(--gpo-green);
}

.landing-hero .carousel-control-prev,
.landing-hero .carousel-control-next {
    width: 7%;
}

.landing-hero .carousel-indicators {
    bottom: 25px;
}

.landing-proposal {
    position: relative;
    z-index: 3;
    padding: 0 0 75px;
    background: #edf0f2;
}

.landing-proposal .landing-feature-grid {
    position: relative;
    transform: translateY(-72px);
}

.landing-proposal .landing-feature {
    position: relative;
    min-height: 320px;
    padding: 34px 32px;
    border: 0;
    border-radius: 30px;
    color: #fff;
    text-align: center;
    box-shadow: 0 18px 35px rgba(17, 24, 39, .14);
}

.landing-proposal .landing-feature:hover {
    box-shadow: 0 22px 45px rgba(17, 24, 39, .2);
}

.landing-feature-red { background: #e82f48 !important; }
.landing-feature-green { background: #80bf00 !important; }
.landing-feature-slate { background: #4f5261 !important; }

.landing-proposal .landing-feature > i {
    display: block;
    width: auto;
    height: auto;
    margin: 0 0 23px;
    color: #fff;
    background: transparent;
    font-size: 2.65rem;
}

.landing-proposal .landing-feature h3 {
    margin-bottom: 24px;
    color: #fff;
    font-size: 1.55rem;
    line-height: 1.15;
}

.landing-proposal .landing-feature p {
    color: rgba(255, 255, 255, .96);
    line-height: 1.55;
}

.landing-dt {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    width: 82px;
    flex-direction: column;
    align-items: center;
    color: #ffed00;
    font-size: .64rem;
    line-height: 1.05;
}

.landing-dt img {
    width: 58px;
    height: 58px;
    margin: 3px 0;
    object-fit: contain;
}

.landing-validator {
    margin-top: -25px;
    padding: 42px 25px 34px;
    border: 2px dashed #e5313a;
    border-radius: 20px;
    background: #f7f8f9;
    box-shadow: 0 8px 24px rgba(17, 24, 39, .06);
}

.landing-validator > i {
    color: var(--gpo-red);
    font-size: 2.5rem;
}

.landing-validator h2 {
    margin: 8px 0 5px;
    color: #737b87;
    font-size: clamp(1.55rem, 3vw, 2rem);
    font-weight: 750;
}

.landing-validator p {
    color: #858b95;
    font-size: 1.12rem;
}

.landing-validator small {
    display: block;
    margin-top: 17px;
    color: #68707d;
}

.landing-platform-title {
    margin-top: 68px;
}

.landing-platform-title h2 {
    color: #454b59;
    font-size: 1.65rem;
    font-weight: 800;
}

.landing-platform-title p {
    color: #e82f48;
    font-size: 1.35rem;
    font-weight: 800;
}

.landing-about {
    background-color: #f5f6f7 !important;
}

#clientes.bg-white {
    background-color: #fff !important;
}

.landing-about .landing-image-stack {
    max-width: 440px;
}

.landing-about .landing-image-stack > img:first-child {
    height: 390px;
    border-radius: 22px;
}

.landing-about .landing-image-stack .landing-mascot {
    width: 145px;
    right: -12px;
    bottom: -14px;
}

.landing-about h2 {
    font-size: clamp(2.35rem, 4.3vw, 4rem);
}

.about-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.about-benefits span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border-radius: 999px;
    color: #414958;
    background: #fff;
    box-shadow: 0 5px 16px rgba(17, 24, 39, .07);
    font-size: .88rem;
    font-weight: 650;
}

.about-benefits i {
    color: var(--gpo-green);
}

.landing-instagram {
    background: #fff;
}

.landing-instagram .section-heading h2 {
    color: #202838;
}

.landing-instagram .section-heading p {
    color: #667085;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 300px));
    justify-content: center;
    gap: 28px;
}

.instagram-item {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border-radius: 16px;
    background: #111827;
    box-shadow: 0 16px 38px rgba(17, 24, 39, .16);
}

.instagram-item .instagram-media,
.instagram-item iframe {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 100% !important;
    margin: 0 !important;
    border-radius: 16px !important;
}

.landing-modules {
    position: relative;
    overflow: hidden;
    padding: 40px 0 65px;
    background: #f6f7f8;
}

.landing-modules::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('/landing/img/bg-cta.jpg') center / cover no-repeat;
    opacity: .1;
}

.landing-modules .container {
    position: relative;
    z-index: 1;
}

.module-heading {
    margin-bottom: 68px;
}

.module-heading h2 {
    margin-bottom: 14px;
    color: #454b59;
    font-size: clamp(2.4rem, 4vw, 3.35rem);
    font-weight: 800;
    letter-spacing: -.02em;
}

.module-heading p {
    color: #111827;
    font-size: 1.1rem;
}

.module-v1-grid > div {
    display: flex;
}

.module-v1-item {
    position: relative;
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 17px;
    min-height: 140px;
    align-items: start;
    width: 100%;
    height: 100%;
}

.module-v1-icon {
    display: grid;
    width: 80px;
    height: 80px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    font-size: 2rem;
    transition: transform .45s ease, background-color .3s ease;
}

.module-icon-green { background: #80bf00; }
.module-icon-red { background: #e82f48; }
.module-v1-item:hover .module-v1-icon { transform: rotateY(180deg); }
.module-v1-item:hover .module-icon-green { background: #e82f48; }
.module-v1-item:hover .module-icon-red { background: #80bf00; }

.module-v1-item h3 {
    margin: 2px 0 10px;
    color: #303746;
    font-size: 1.26rem;
    font-weight: 800;
    line-height: 1.18;
}

.module-v1-item strong {
    display: block;
    margin-bottom: 4px;
    color: #747b87;
}

.module-v1-item p {
    margin: 0;
    color: #737b88;
    line-height: 1.65;
}

.module-dt {
    position: absolute;
    top: 2px;
    right: -2px;
    display: flex;
    width: 72px;
    flex-direction: column;
    align-items: center;
    color: #00028e;
    font-size: .62rem;
    line-height: 1.05;
    text-align: center;
}

.module-dt > div {
    color: #fff000;
    letter-spacing: 1px;
    text-shadow: 0 0 2px #000;
}

.module-dt img {
    width: 55px;
    height: 55px;
    margin: 3px 0;
    object-fit: contain;
}

.module-v1-grid > div:first-child .module-v1-item:first-child > div:not(.module-dt) {
    padding-right: 68px;
}

.landing-services {
    padding: 0;
}

.landing-services::before {
    background: rgba(12, 18, 25, .4);
}

.landing-services .section-heading h2 {
    color: #fff !important;
    font-size: clamp(2.3rem, 4vw, 3.25rem);
    text-shadow: 0 2px 8px rgba(0, 0, 0, .45);
}

.landing-services .section-heading p {
    color: #fff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, .75);
}

.landing-downloads .section-heading h2,
.landing-downloads .section-heading p,
.landing-downloads .section-heading .landing-eyebrow {
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .65);
}

.client-grid img,
.client-grid img:hover {
    filter: none;
    opacity: 1;
}

.landing-calendar {
    background: #eef1f4;
}

.landing-calendar h2 {
    color: #202838;
    max-width: 100%;
    font-size: clamp(2.15rem, 3.2vw, 3rem);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.08;
    overflow-wrap: anywhere;
}

.landing-calendar .row > div {
    min-width: 0;
}

.landing-calendar-copy {
    position: relative;
    z-index: 2;
}

.landing-calendar p {
    color: #667085;
    font-size: 1.08rem;
    line-height: 1.7;
}

.calendar-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.calendar-benefits span {
    padding: 8px 12px;
    border-radius: 7px;
    color: #fff;
    background: #d52f3d;
    font-size: .86rem;
    font-weight: 700;
}

.calendar-benefits span:nth-child(2) { background: #69a900; }
.calendar-benefits span:nth-child(3) { background: #3d4654; }

.calendly-frame {
    position: relative;
    z-index: 1;
    overflow: hidden;
    min-height: 680px;
    border-radius: 18px;
    background: #eef1f4;
    box-shadow: 0 18px 50px rgba(17, 24, 39, .12);
}

.calendly-frame iframe {
    display: block;
    width: 100%;
    height: 680px;
    border: 0;
}

.landing-contact h2 {
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .55);
}

.landing-contact .col-lg-6.text-white > p {
    color: rgba(255, 255, 255, .86);
}

.contact-lines a {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 12px;
}

.contact-lines i {
    display: inline-grid;
    width: 24px;
    flex: 0 0 24px;
    place-items: center;
    margin: 0;
}

.folder-download-modal .modal-content,
.download-registration-card {
    border: 1px solid #d8dde5;
    border-radius: 16px;
    background: #eef1f4;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .25);
}

.folder-download-modal .modal-header,
.download-registration-card .modal-header {
    padding: 24px 26px 18px;
    border-bottom-color: #d8dde5;
}

.folder-download-modal .modal-body,
.download-registration-card .modal-body {
    padding: 24px 26px;
}

.folder-download-modal .list-group {
    overflow: hidden;
    border: 1px solid #d8dde5;
    border-radius: 12px;
}

.folder-download-modal .list-group-item {
    background: #fff;
}

.download-registration-card .form-control {
    min-height: 48px;
    background: #fff;
}

.download-registration-card .modal-footer {
    padding: 18px 26px 24px;
    border-top-color: #d8dde5;
}

#downloadRegistrationModal.show {
    padding: 22px !important;
}

.landing-footer img {
    filter: none !important;
}

.services-v1-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(5, minmax(96px, auto));
    gap: 22px 28px;
    align-items: stretch;
}

.services-v1-grid .service-item {
    position: relative;
    z-index: 2;
    justify-content: space-between;
    min-height: 96px;
    padding: 18px 13px 18px 16px;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    color: #1e2735;
    background: #fff;
    backdrop-filter: none;
}

.services-v1-grid .service-item::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 86px;
    height: 86px;
    background: #a6ff00;
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.services-v1-grid .service-item span {
    position: relative;
    z-index: 2;
    max-width: calc(100% - 35px);
    font-size: .88rem;
    font-weight: 750;
    line-height: 1.2;
}

.services-v1-grid .service-item img {
    position: relative;
    z-index: 3;
    align-self: flex-end;
    width: 30px;
    height: 30px;
}

.service-pos-1 { grid-column: 1; grid-row: 1; }
.service-pos-2 { grid-column: 2; grid-row: 1; }
.service-pos-3 { grid-column: 3; grid-row: 1; }
.service-pos-4 { grid-column: 4; grid-row: 1; }
.service-pos-5 { grid-column: 1; grid-row: 2; }
.service-pos-6 { grid-column: 4; grid-row: 2; }
.service-pos-7 { grid-column: 1; grid-row: 3; }
.service-pos-8 { grid-column: 4; grid-row: 3; }
.service-pos-9 { grid-column: 1; grid-row: 4; }
.service-pos-10 { grid-column: 4; grid-row: 4; }
.service-pos-11 { grid-column: 1; grid-row: 5; }
.service-pos-12 { grid-column: 2; grid-row: 5; }
.service-pos-13 { grid-column: 3; grid-row: 5; }
.service-pos-14 { grid-column: 4; grid-row: 5; }

.services-mascot {
    position: relative;
    z-index: 1;
    grid-column: 2 / 4;
    grid-row: 2 / 5;
    align-self: end;
    justify-self: center;
    max-width: 410px;
    width: 92%;
    max-height: 350px;
    object-fit: contain;
    object-position: center bottom;
}

@media (max-width: 991.98px) {
    body .container { max-width: 820px; }
    .landing-hero-slide-platform { background-image: url('/landing/img/gpo_fondo_responsive.png'); }
    .landing-hero-slide { min-height: 650px; }
    .hero-copy { min-height: 650px; align-items: center; margin: auto; text-align: center; }
    .landing-proposal .landing-feature-grid { transform: translateY(-45px); }
    .landing-proposal .landing-feature { min-height: 355px; padding: 30px 22px; }
    .landing-dt { display: none; }
    .module-v1-grid > div { gap: 28px; }
    .module-v1-item { min-height: 125px; }
    .module-dt { right: 0; }
    .instagram-grid { grid-template-columns: repeat(2, minmax(0, 300px)); }
    .instagram-item:last-child { grid-column: 1 / -1; justify-self: center; width: 300px; }
    .services-v1-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; }
    .services-v1-grid .service-item { grid-column: auto; grid-row: auto; }
    .services-mascot { display: none; }
}

@media (max-width: 767.98px) {
    .landing-hero-slide { min-height: 590px; }
    .hero-copy { min-height: 590px; padding: 85px 35px 35px; }
    .landing-hero .hero-copy h1 { font-size: clamp(2.6rem, 12vw, 4rem); }
    .landing-proposal { padding-bottom: 55px; }
    .landing-proposal .landing-feature-grid { transform: translateY(-24px); }
    .landing-proposal .landing-feature { min-height: auto; }
    .services-v1-grid { grid-template-columns: 1fr; gap: 14px; }
    .landing-validator { margin-top: 5px; }
    .landing-modules { padding-top: 15px; }
    .module-heading { margin-bottom: 42px; }
    .module-v1-item { grid-template-columns: 68px minmax(0, 1fr); gap: 14px; }
    .module-v1-icon { width: 68px; height: 68px; font-size: 1.7rem; }
    .module-dt { display: none; }
    .module-v1-grid > div:first-child .module-v1-item:first-child > div:not(.module-dt) { padding-right: 0; }
    .landing-about .landing-image-stack { margin: auto; }
    .landing-about .landing-image-stack > img:first-child { height: 310px; }
    .instagram-grid { grid-template-columns: minmax(0, 300px); }
    .instagram-item:last-child { grid-column: auto; width: 100%; }
    .calendly-frame, .calendly-frame iframe { min-height: 620px; height: 620px; }
    #downloadRegistrationModal.show { padding: 10px !important; }
    .folder-download-modal .modal-header,
    .folder-download-modal .modal-body,
    .download-registration-card .modal-header,
    .download-registration-card .modal-body,
    .download-registration-card .modal-footer { padding-left: 18px; padding-right: 18px; }
}

/* Ajustes transversales de ancho y responsive del landing. */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

body .container {
    width: 100%;
    padding-right: clamp(20px, 3.2vw, 32px);
    padding-left: clamp(20px, 3.2vw, 32px);
}

main,
main > section,
.landing-nav,
.landing-footer {
    width: 100%;
    max-width: 100%;
}

img,
video,
iframe,
blockquote {
    max-width: 100%;
}

.landing-nav .container {
    gap: 12px;
}

.landing-nav .nav-link {
    padding: 10px 12px;
}

.landing-mobile-access {
    margin-left: auto;
    padding: 9px 18px;
    border-radius: 999px;
    font-weight: 650;
}

.hero-copy,
.hero-copy h1,
.hero-copy p {
    max-width: 100%;
}

.folder-download-modal .modal-dialog,
#downloadRegistrationModal .modal-dialog {
    max-width: min(760px, calc(100% - 32px));
    margin-right: auto;
    margin-left: auto;
}

@media (max-width: 991.98px) {
    .landing-nav {
        padding: 10px 0;
    }

    .landing-nav.is-scrolled {
        padding: 7px 0;
    }

    .landing-nav .navbar-brand {
        flex: 0 1 auto;
        margin: 0;
    }

    .landing-nav .navbar-brand img {
        display: block;
        width: auto;
        height: 54px;
        max-width: 155px;
    }

    .landing-nav .navbar-toggler {
        flex: 0 0 auto;
        padding: 8px 10px;
        border-color: rgba(255, 255, 255, .28);
    }

    .landing-nav .navbar-collapse {
        flex-basis: 100%;
        margin-top: 4px;
        padding: 12px 14px 16px;
        border: 1px solid rgba(255, 255, 255, .1);
        border-radius: 12px;
        background: rgba(9, 15, 25, .98);
        box-shadow: 0 18px 35px rgba(0, 0, 0, .2);
    }

    .landing-nav .navbar-nav {
        gap: 2px;
    }

    .landing-nav .nav-link {
        padding: 10px 12px;
        border-radius: 8px;
    }

    .landing-nav .nav-link:hover,
    .landing-nav .nav-link:focus {
        background: rgba(255, 255, 255, .08);
    }

    .landing-image-stack .landing-mascot {
        right: 0;
    }

    .calendly-frame,
    .instagram-item,
    .contact-card,
    .download-folder {
        max-width: 100%;
    }
}

@media (max-width: 575.98px) {
    body .container {
        padding-right: 20px;
        padding-left: 20px;
    }

    .landing-nav .container {
        gap: 8px;
    }

    .landing-nav .navbar-brand img {
        height: 48px;
        max-width: 138px;
    }

    .landing-mobile-access {
        padding: 8px 14px;
        font-size: .88rem;
    }

    .landing-nav .navbar-toggler {
        padding: 6px 8px;
    }

    .landing-hero-slide,
    .hero-copy {
        min-height: 610px;
    }

    .hero-copy {
        width: 100%;
        padding: 92px 16px 52px;
    }

    .hero-copy p {
        max-width: 290px;
        margin-right: auto;
        margin-left: auto;
        font-size: 1.1rem;
        line-height: 1.45;
    }

    .landing-hero .hero-copy h1 {
        width: 100%;
        margin-right: auto;
        margin-left: auto;
        font-size: clamp(2.2rem, 10.5vw, 2.85rem);
        line-height: 1.04;
        letter-spacing: -.02em;
        overflow-wrap: anywhere;
    }

    .landing-hero .carousel-control-prev,
    .landing-hero .carousel-control-next {
        width: 38px;
    }

    .landing-proposal .landing-feature-grid {
        margin-right: 0;
        margin-left: 0;
    }

    .landing-proposal .landing-feature-grid > * {
        padding-right: 0;
        padding-left: 0;
    }

    .landing-validator,
    .contact-card {
        padding-right: 22px;
        padding-left: 22px;
    }

    .module-v1-item,
    .service-item,
    .list-group-item {
        min-width: 0;
    }

    .client-grid {
        gap: 18px;
    }

    .landing-footer .container {
        flex-direction: column;
        justify-content: center !important;
        text-align: center;
    }

    .landing-footer a {
        margin: 0 8px;
    }

    .folder-download-modal .modal-dialog,
    #downloadRegistrationModal .modal-dialog {
        width: calc(100% - 20px);
        max-width: calc(100% - 20px);
        margin: 10px auto;
    }

    .folder-download-modal .list-group-item {
        flex-wrap: wrap;
    }

    .folder-download-modal .list-group-item .btn {
        width: 100%;
        margin-top: 4px;
    }
}

@supports not (overflow: clip) {
    html,
    body {
        overflow-x: hidden;
    }
}
