@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    color-scheme: light;
}

html {
    scroll-behavior: smooth;
}

body.expo-page {
    margin: 0;
    background: #fff;
    color: var(--expo-dark, #464646);
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

.expo,
.expo * {
    box-sizing: border-box;
}

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

.expo-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.expo-container--narrow {
    width: min(860px, calc(100% - 40px));
}

.expo-hero {
    --expo-divider-color: #ececec;
    position: relative;
    z-index: 5;
    isolation: isolate;
    min-height: 470px;
    padding: 45px 20px 90px;
    background: #ececec var(--expo-hero-bg, none) center / cover no-repeat;
    overflow: visible;
}

.expo-hero:not([style]) {
    background:
        radial-gradient(ellipse at 15% 10%, transparent 0 17%, rgba(255,255,255,.42) 17.5% 23%, transparent 23.5%),
        radial-gradient(ellipse at 90% 38%, transparent 0 25%, rgba(255,255,255,.36) 25.5% 31%, transparent 31.5%),
        linear-gradient(135deg, transparent 30%, rgba(255,255,255,.16) 30% 48%, transparent 48%),
        #ececec;
}

.expo-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.expo-hero__logo {
    width: min(430px, 70vw);
    max-height: 190px;
    object-fit: contain;
}

.expo-hero__title,
.expo-heading,
.expo-closing__title,
.expo-form-card__title {
    margin: 0;
    font-weight: 900;
    font-style: italic;
    line-height: .95;
}

.expo-hero__title {
    max-width: 1100px;
    font-size: clamp(2.5rem, 5vw, 4.6rem);
    letter-spacing: -.055em;
    background: linear-gradient(90deg, var(--expo-gradient-start), var(--expo-gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.expo-hero__subtitle {
    max-width: 980px;
    margin-top: 30px;
    font-size: clamp(1.25rem, 2.15vw, 2.15rem);
    font-weight: 650;
    font-style: italic;
    line-height: 1.2;
}

.expo-hero__subtitle strong {
    font-weight: 900;
}

.expo-hero__subtitle p,
.expo-richtext p,
.expo-schedule__item p {
    margin: 0;
}

.expo-divider {
    box-shadow: 0 5px 8px -4px rgba(0, 0, 0, .22);
}

.expo-divider::before,
.expo-divider::after {
    position: absolute;
    left: 50%;
    width: 190px;
    height: 60px;
    content: "";
    clip-path: polygon(
        0 0,
        100% 0,
        66% 79%,
        62% 87%,
        57% 96%,
        52% 100%,
        48% 100%,
        43% 96%,
        38% 87%,
        34% 79%
    );
    transform: translateX(-50%);
}

.expo-divider::before {
    z-index: 3;
    bottom: -61px;
    background: rgba(45, 45, 45, .22);
    filter: blur(5px);
}

.expo-divider::after {
    z-index: 4;
    bottom: -58px;
    background: var(--expo-divider-color, #fff);
}

.expo-intro {
    position: relative;
    z-index: 4;
    padding: 105px 0 0;
    background: var(--expo-secondary);
}

.expo-intro__grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: clamp(35px, 7vw, 95px);
    align-items: center;
}

.expo-richtext {
    font-size: clamp(1rem, 1.6vw, 1.32rem);
    line-height: 1.35;
}

.expo-richtext p + p {
    margin-top: 1em;
}

.expo-intro__image,
.expo-placeholder--photo {
    width: 100%;
    aspect-ratio: 1.55;
    border-radius: 42px;
    object-fit: cover;
}

.expo-placeholder {
    display: grid;
    place-items: center;
    border: 2px dashed rgba(70, 70, 70, .25);
    background: rgba(255, 255, 255, .35);
    color: rgba(70, 70, 70, .7);
    font-weight: 700;
}

.expo-placeholder--logo {
    width: min(430px, 70vw);
    min-height: 130px;
    margin: 0 auto 45px;
}

.expo-registration-block {
    --expo-divider-color: #fff;
    position: relative;
    z-index: 5;
    width: 100%;
    margin-top: 70px;
    padding: 78px 0 75px;
    border-radius: 68px 68px 0 0;
    background: #fff;
}

.expo-form-card {
    position: static;
}

.expo-form-card__title {
    position: absolute;
    top: 0;
    left: 50%;
    padding: 16px 38px;
    border-radius: 999px;
    background: linear-gradient(#61d342, #20a83f);
    box-shadow: 0 4px 8px rgba(27, 104, 31, .3);
    color: #fff;
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.1;
    white-space: nowrap;
    transform: translate(-50%, -50%);
}

.expo-form-card__embed input:not([type="submit"]),
.expo-form-card__embed select,
.expo-form-card__embed textarea {
    width: 100%;
    min-height: 48px;
    padding: 10px 18px;
    border: 1px solid #bbb;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 7px 15px rgba(0,0,0,.12);
}

/*
 * WPForms Anti-Spam v3 agrega un campo señuelo fuera del layout y lo oculta
 * con JavaScript. Este respaldo evita que se vea si un optimizador bloquea
 * o demora ese script en producción.
 */
.expo-form-card__embed .wpforms-field-container > .wpforms-field-text {
    position: absolute !important;
    z-index: -1000 !important;
    display: inline !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.expo-form-card__embed .wpforms-field-container > .wpforms-field-text input {
    visibility: hidden !important;
}

.expo-form-card__embed input[type="submit"],
.expo-form-card__embed button {
    min-width: 150px;
    padding: 12px 25px;
    border: 0;
    border-radius: 999px;
    background: var(--expo-primary);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.expo-form-card__embed .wpforms-container .wpforms-submit-container {
    display: flex;
    margin-top: 20px;
    align-items: center;
    justify-content: center;
}

.expo-form-card__embed .wpforms-container .wpforms-submit-container button.wpforms-submit {
    width: auto !important;
    min-width: 118px !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 10px 28px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, #61d342 0%, #20a83f 100%) !important;
    box-shadow: 0 4px 8px rgba(27, 104, 31, .3) !important;
    color: #fff !important;
    font-size: .95rem !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-shadow: none !important;
}

.expo-form-card__embed .wpforms-container .wpforms-submit-container button.wpforms-submit:hover,
.expo-form-card__embed .wpforms-container .wpforms-submit-container button.wpforms-submit:focus {
    background: linear-gradient(180deg, #6cdc4e 0%, #168f34 100%) !important;
    box-shadow: 0 5px 10px rgba(27, 104, 31, .38) !important;
    transform: translateY(-1px);
}

.expo-admin-note {
    margin: 0;
    padding: 18px;
    border: 1px dashed #888;
    border-radius: 12px;
    text-align: center;
}

.expo-facts {
    --expo-fact-color: #39b54a;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    width: min(820px, 100%);
    margin: 95px auto 75px;
}

.expo-fact {
    position: relative;
    display: flex;
    min-height: 175px;
    padding: 52px 18px 22px;
    border-radius: 28px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--expo-fact-color);
    color: #fff;
    text-align: center;
}

.expo-fact--link {
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.expo-fact--link:hover {
    color: #fff;
    box-shadow: 0 10px 22px rgba(15, 121, 49, .25);
    filter: brightness(1.04);
    transform: translateY(-4px);
}

.expo-fact--link:focus-visible {
    color: #fff;
    outline: 3px solid var(--expo-dark);
    outline-offset: 5px;
}

.expo-fact__icon {
    position: absolute;
    top: -32px;
    display: grid;
    width: 68px;
    height: 68px;
    place-items: center;
    border: 5px solid #fff;
    border-radius: 50%;
    background: var(--expo-fact-color);
}

.expo-fact__icon svg {
    width: 37px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.expo-fact strong {
    font-size: clamp(2rem, 3.4vw, 2.2rem);
    font-weight: 900;
    line-height: .98;
}

.expo-fact span:last-child {
    margin-top: 10px;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.15;
}

.expo-heading {
    color: var(--expo-dark);
    font-size: clamp(1.75rem, 3.2vw, 3rem);
    text-align: center;
}

.expo-highlights {
    padding-bottom: 0;
}

.expo-highlights__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 40px;
}

.expo-highlight {
    padding: 17px 25px;
    border-radius: 18px;
    background: rgba(32, 183, 72, .25);
    color: #08783a;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

.expo-highlight:nth-child(4n + 2),
.expo-highlight:nth-child(4n + 3) {
    background: rgba(205, 222, 205, .9);
}

.expo-schedule {
    --expo-divider-color: var(--expo-schedule);
    position: relative;
    z-index: 3;
    padding: 115px 0 90px;
    background: var(--expo-schedule);
}

.expo-schedule__list {
    width: min(420px, 100%);
    margin: 45px auto 0;
}

.expo-schedule__item {
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 22px;
    padding: 17px 10px;
    border-bottom: 1px solid rgba(4, 119, 61, .3);
    font-size: 1.15rem;
}

.expo-schedule__item time {
    color: #08783a;
    font-size: 1.35rem;
    font-weight: 900;
    text-align: right;
}

.expo-brands {
    position: relative;
    z-index: 2;
    padding: 115px 0 100px;
    background: #fff;
}

.expo-brands__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px 35px;
    align-items: center;
    margin-top: 65px;
}

.expo-brand img {
    width: 100%;
    height: 95px;
    object-fit: contain;
}

.expo-benefits {
    position: relative;
    z-index: 1;
    margin-top: 10px;
    padding: 85px 0 125px;
    border-radius: 65px 65px 0 0;
    background: linear-gradient(
        180deg,
        var(--expo-schedule) 0%,
        var(--expo-schedule) 72%,
        #fff 100%
    );
    text-align: center;
}

.expo-heading--light {
    color: #fff;
}

.expo-benefits__intro {
    margin: 45px 0 22px;
    color: #fff;
    font-size: 1.5rem;
}

.expo-benefits__list {
    display: inline-flex;
    margin: 0;
    padding: 0;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    text-align: left;
}

.expo-benefits__list li {
    position: relative;
    padding-left: 28px;
    color: #fff;
    font-size: clamp(1.25rem, 1.7vw, 1.45rem);
    line-height: 1.3;
}

.expo-benefits__list li::before {
    position: absolute;
    left: 0;
    content: "✓";
    color: #08783a;
    font-size: 1.35em;
    font-weight: 900;
}

.expo-closing {
    padding: 25px 0 100px;
    background: #fff;
    text-align: center;
}

.expo-closing__title {
    color: #04a84e;
    font-size: clamp(2rem, 3.6vw, 3.25rem);
    white-space: pre-line;
}

.expo-closing__text {
    max-width: 650px;
    margin: 35px auto 40px;
}

.expo-closing__logo {
    width: min(430px, 75vw);
    max-height: 180px;
    margin: 0 auto;
    object-fit: contain;
}

@media (max-width: 780px) {
    .expo-container,
    .expo-container--narrow {
        width: min(100% - 28px, 620px);
    }

    .expo-hero {
        min-height: auto;
        padding: 38px 14px 80px;
    }

    .expo-hero__logo,
    .expo-placeholder--logo {
        margin-bottom: 10px;
    }

    .expo-hero__title {
        font-size: clamp(2.35rem, 10vw, 4rem);
    }

    .expo-hero__subtitle {
        margin-top: 22px;
    }

    .expo-intro {
        padding-top: 85px;
    }

    .expo-intro__grid {
        grid-template-columns: 1fr;
    }

    .expo-intro__image,
    .expo-placeholder--photo {
        border-radius: 28px;
    }

    .expo-registration-block {
        padding: 70px 0 40px;
        border-radius: 42px 42px 0 0;
    }

    .expo-form-card__title {
        width: max-content;
        max-width: calc(100% - 30px);
        padding: 14px 22px;
        white-space: normal;
        text-align: center;
    }

    .expo-facts {
        grid-template-columns: 1fr;
        gap: 65px;
        width: min(270px, 100%);
    }

    .expo-highlights__grid,
    .expo-brands__grid {
        grid-template-columns: 1fr;
    }

    .expo-schedule__item {
        grid-template-columns: 95px 1fr;
        gap: 15px;
    }

    .expo-schedule__item time {
        font-size: 1.08rem;
    }

    .expo-brands__grid {
        width: min(310px, 100%);
        margin-inline: auto;
    }

    .expo-benefits {
        border-radius: 42px 42px 0 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
