.offer-page {
    --offer-category: var(--enaproc-control);
    --offer-action: var(--enaproc-control);
    --offer-deep: var(--enaproc-control-hover);
    --offer-surface: color-mix(in srgb, var(--offer-category) 3%, #fff);
    --offer-ink: #263440;
    --offer-muted: #526170;
    --offer-line: color-mix(in srgb, var(--offer-category) 10%, #e1e6ea);
    --offer-accent: color-mix(in srgb, var(--offer-category) 12%, #fff);
    --offer-surface-strong: color-mix(in srgb, var(--offer-category) 7%, #fff);
    --offer-gutter: clamp(1rem, 4vw, 3.5rem);
    --offer-width: 82rem;
    --offer-display: "Roboto Slab", Georgia, serif;
    color: var(--offer-ink);
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

.offer-page a[href^="mailto:"] {
    overflow-wrap: anywhere;
}

.offer-page :is(.pc-hero, .pp-hero, .dp-hero, .cp-hero, .es-hero, .program-hero, .catalog-hero) {
    background: repeating-radial-gradient(ellipse at 100% 105%, transparent 0 19px, rgb(255 255 255 / 7%) 20px 21px, transparent 22px 36px), var(--offer-deep);
    color: #fff;
    border-bottom: 4px solid var(--offer-category);
}

.offer-page .program-hero {
    background-position: center;
    background-size: cover;
}

.offer-page .catalog-hero::after {
    background: linear-gradient(90deg, var(--offer-deep) 12%, color-mix(in srgb, var(--offer-deep) 90%, transparent) 55%, color-mix(in srgb, var(--offer-deep) 70%, transparent));
}

.offer-page :is(.cp-hero, .es-hero)::before {
    content: none;
}

.offer-page h1 {
    max-width: 24ch;
    font-family: var(--offer-display);
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.025em;
}

.offer-page .catalog-hero h1 {
    font-family: var(--offer-display);
    font-size: clamp(2.35rem, 5vw, 4.75rem);
    line-height: 1.08;
}

.offer-page :is(.pc-display, .pp-display, .dp-display, .cp-display, .es-display, .catalog-group h2, .catalog-content__header h2) {
    font-family: var(--offer-display);
    line-height: 1.12;
}

.offer-page :is(.pc-shell, .pp-shell, .dp-shell, .cp-shell, .es-shell, .offer-index__inner) {
    width: 100%;
    max-width: var(--offer-width);
    margin-inline: auto;
    padding-inline: var(--offer-gutter);
}

.offer-page :is(.pc-hero-grid, .pp-hero__grid, .dp-hero-grid, .cp-hero-grid, .es-grid) {
    gap: clamp(1rem, 3vw, 2.5rem);
    align-items: center;
}

.offer-page :is(.pc-hero-copy, .pp-hero__copy, .dp-hero-copy, .cp-hero-copy, .es-copy) {
    min-width: 0;
    padding-inline-end: 0;
}

.offer-page :is(.pc-hero-media, .pp-hero__media, .dp-hero-media, .cp-media, .es-media) {
    margin: clamp(1rem, 3vw, 2.5rem) 0;
    min-width: 0;
    min-height: clamp(14rem, 30vw, 24rem);
    border: 1px solid rgb(255 255 255 / 45%);
    border-radius: .45rem;
    background-color: var(--offer-deep);
}

.offer-page :is(.pc-hero-subtitle, .pp-hero__summary, .dp-hero-summary, .cp-summary, .es-summary, .rich-copy) {
    max-width: 68ch;
    text-align: start;
    line-height: 1.65;
}

.offer-page :is(.pc-facts, .pp-facts, .dp-facts, .cp-facts, .es-facts) {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.5rem), 1fr));
}

.offer-page :is(.pc-fact, .pp-fact, .dp-fact, .cp-fact, .es-fact) {
    min-height: auto;
    border-color: rgb(255 255 255 / 30%);
    border-radius: .45rem;
    background: rgb(255 255 255 / 7%);
}

.offer-page :is(.pc-fact, .pp-fact, .dp-fact, .cp-fact, .es-fact) > i {
    color: var(--offer-accent);
}

.offer-page :is(.pc-pill, .pp-hero__media > span, .dp-hero-media > span, .cp-media__stamp, .es-stamp) {
    background: var(--offer-deep);
    color: #fff;
}

.offer-page :is(.pc-section--tint, .pp-section--surface, .dp-surface, .cp-surface, .es-surface) {
    background: var(--offer-surface);
}

.offer-page :is(.catalog-group h2, .catalog-content__header h2) {
    color: var(--group-action, var(--offer-deep));
}

.offer-page .catalog-filter__item.is-active {
    background: var(--filter-action, var(--offer-action));
    border-color: var(--filter-action, var(--offer-action));
    box-shadow: none;
}

.offer-page[data-offer-theme] :is(.pc-section-heading, .pp-heading, .dp-heading, .cp-heading, .es-heading) > :is(.pc-eyebrow, .pp-eyebrow, .dp-eyebrow, .cp-eyebrow, .es-eyebrow) {
    color: var(--offer-action);
}

.offer-page[data-offer-theme] :is(.pc-cta, .pp-cta, .dp-cta-stage, .cp-next, .es-next, .pc-contact-stage, .pp-contact-stage, .pp-lines__intro) {
    background: var(--offer-deep);
}

.offer-page[data-offer-theme] :is(.pc-contact-stage, .pp-contact-stage) :is(.pc-section-heading, .pp-heading) > :is(.pc-eyebrow, .pp-eyebrow),
.offer-page[data-offer-theme] .pp-lines__intro :is(.pp-eyebrow, .pp-lines__count strong) {
    color: var(--offer-accent);
}

.offer-page[data-offer-theme] .pp-contact {
    background: var(--offer-surface);
}

.offer-page[data-offer-theme] :is(.pc-contact-actions, .pp-contact__actions, .dp-contact, .cp-contact, .es-contact) a {
    color: var(--offer-action);
}

.offer-page[data-offer-theme] [data-registration-open] {
    background: var(--offer-action);
    border-color: var(--offer-action);
    color: #fff;
}

.offer-page[data-offer-theme] :is(.pc-cta, .pp-cta, .dp-cta, .cp-next__top, .es-next-top) [data-registration-open] {
    background: var(--offer-accent);
    color: var(--offer-deep);
}

.offer-page[data-offer-theme] [data-registration-open]:is(:hover, :focus-visible) {
    text-decoration: underline;
}

.offer-index {
    background: var(--offer-surface);
    border-bottom: 1px solid var(--offer-line);
}

.offer-index__inner,
.offer-index ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem .75rem;
}

.offer-index__inner {
    padding-block: .55rem;
}

.offer-index ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.offer-index a {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 44px;
    padding-inline: .65rem;
    border-radius: .3rem;
    color: var(--offer-action);
    font-weight: 700;
}

.offer-index a:hover {
    background: #fff;
    text-decoration: underline;
}

.offer-index .offer-index__back {
    background: var(--offer-action);
    color: #fff;
    white-space: nowrap;
}

.offer-index .offer-index__back:is(:hover, :focus-visible) {
    background: var(--offer-deep);
    color: #fff;
    text-decoration: underline;
}

.offer-page :focus-visible {
    outline: 2px solid var(--offer-action);
    outline-offset: 3px;
    box-shadow: 0 0 0 3px #fff;
}

.offer-page [id^="oferta-"] {
    scroll-margin-block-start: 7rem;
}

@media (max-width: 767.98px) {
    .offer-page :is(.pc-hero-media, .pp-hero__media, .dp-hero-media, .cp-media, .es-media) {
        margin-top: 0;
    }

    .offer-page .catalog-hero__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    .offer-page .catalog-filter__item {
        transition: none;
    }
}
