﻿:root {
    --bg-dark: #243b92;
    --bg-mid: #1578ca;
    --bg-light: #2ab4ea;
    --bg-panel: #fcfcfb;
    --blue-pill: #1d8cd3;
    --blue-link: #1189d2;
    --border-yellow: #ffcb0d;
    --yellow: #ffd41a;
    --red: #ef2a28;
    --red-text: #ef1a19;
    --white: #ffffff;
    --text-dark: #1f1f1f;
    --shadow-lg: 0 24px 44px rgba(18, 39, 112, 0.28);
    --shadow-md: 0 12px 18px rgba(8, 39, 116, 0.18);
    --container: 1064px;
}

@font-face {
    font-family: 'Terfens';
    src: url('./fonts/terfens_bold.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

/* Base */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    font-family: 'Terfens', sans-serif;
    color: var(--white);
    background: #ffffff;
}

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

p,
li,
h1,
h2,
h3 {
    margin: 0;
}

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

.container {
    width: min(calc(100% - 2rem), var(--container));
    margin: 0 auto;
}

.page-shell {
    position: relative;
    overflow: clip;
    isolation: isolate;
    z-index: 0;
}

.page-shell::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-color: #2e376e;
    background-image: url("public/page/back_poppymania.svg");
    background-repeat: no-repeat;
    background-position: center -180rem;
    background-size: cover;
}

.page-content {
    position: relative;
    z-index: 2;
    isolation: isolate;
}

.page-content::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: none;
}

/* Hero */
.hero {
    position: relative;
    z-index: 1;
    padding: 1.4rem 0 1.75rem;
    background: transparent;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero::before {
    background: none;
    opacity: 1;
}

.hero::after {
    background: none;
}

@media (max-width: 2030px) {
    .page-shell::before {
        background-size: 100% auto;
        background-position: center -100rem;
    }
}


@media (max-width: 1024px) {
    .page-shell::before {
        background-size: 100% auto;
        background-position: center -50rem;
    }
}


@media (max-width: 720px) {
    .page-shell::before {
        background-size: 130% auto;
        background-position: center -50rem;
    }
}

@media (max-width: 480px) {
    .page-shell::before {
        background-size: 130% auto;
        background-position: center -50rem;
    }
}

@media (max-width: 400px) {
    .page-shell::before {
        background-size: 130% auto;
        background-position: center -30rem;
    }
}

.hero__paw {
    position: absolute;
    top: 0;
    right: 0.45rem;
    z-index: 3;
    width: min(12rem, 18vw);
    pointer-events: none;
}

@media (min-width: 1700px) {
    .hero__paw {
        right: calc((100vw - var(--container)) / 2.5 + 0.45rem);
    }
}

.hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.35fr 0.9fr;
    align-items: center;
    gap: 1rem;
}

.hero__brand,
.hero__copy {
    position: relative;
}

.hero__brand {
    min-height: 23rem;
}

.hero__dog {
    position: absolute;
    top: -0.35rem;
    right: 4rem;
    z-index: 1;
    width: min(20rem, 45%);
    pointer-events: none;
}

.hero__logo {
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    z-index: 2;
    margin: 0;
    width: min(39rem, 78%);
}

.hero__logo-image {
    width: 100%;
    height: auto;
}

.hero__copy {
    align-self: center;
    padding-top: 10rem;
    text-align: center;
}

.hero__copy {
    align-self: center;
    padding-top: 10rem;
    text-align: center;
    display: flex;
    justify-content: center;
}

.hero__headline-image {
    display: block;
    width: min(100%, 25rem);
    height: auto;
    object-fit: contain;
}

@media (max-width: 720px) {
    .hero__copy {
        padding-top: 0;
    }

    .hero__headline-image {
        width: min(100%, 18rem);
    }
}

@media (max-width: 480px) {
    .hero__headline-image {
        width: min(100%, 15rem);
    }
}

.hero__legal {
    position: relative;
    z-index: 2;
    margin-top: 1.3rem;
    font-size: 0.84rem;
    line-height: 1.4;
    color: #ebf7ff;
}

.highlight-yellow {
    color: var(--yellow);
}

/* Hero steps */
.steps {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 1.25rem;
}

.steps--hero {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 2.8rem;
}

.step-flower {
    position: relative;
    min-height: 18rem;
    padding: 1.2rem 1.1rem 1rem;
    text-align: center;
    isolation: isolate;
}

.step-flower__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 12px 18px rgba(8, 39, 116, 0.18));
    pointer-events: none;
}

.step-flower__number {
    display: inline-grid;
    place-items: center;
    width: 3.35rem;
    height: 3.35rem;
    margin: 0 auto 0.3rem;
    border-radius: 50%;
    background: var(--blue-pill);
    color: var(--yellow);
    font-family: "Baloo 2", cursive;
    font-size: 2.3rem;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(9, 48, 119, 0.25);
}

.step-flower h2 {
    position: absolute;
    top: 30%;
    left: 50%;
    z-index: 2;
    width: 85%;
    transform: translateX(-50%);
    font-family: "Chewy", cursive;
    font-size: clamp(2.2rem, 4vw, 3.1rem);
    font-weight: 400;
    line-height: 0.88;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--yellow);
    text-shadow: 0 4px 10px rgba(8, 20, 71, 0.35);
}

.step-flower p {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 82%;
    transform: translateX(-50%);
    font-family: "Baloo 2", cursive;
    font-size: clamp(0.95rem, 1.2vw, 1.2rem);
    font-weight: 800;
    line-height: 0.88;
    color: var(--white);
}

.step-flower--purple p {
    max-width: 16rem;
}

.step-flower--red p {
    max-width: 12rem;
}

.step-flower__object {
    position: absolute;
    z-index: 1;
    height: auto;
    pointer-events: none;
}

.step-flower__object--products {
    left: 15%;
    top: 60%;
    width: 62%;
}

.step-flower__object--points {
    left: 10%;
    top: 60%;
    width: 36%;
}

.step-flower__object--plus {
    left: 51%;
    top: 65%;
    width: 4.2%;
}

.step-flower__object--coins {
    right: 14%;
    top: 60%;
    width: 24%;
}

.step-flower__object--gifts {
    left: 15%;
    bottom: 10%;
    width: 62%;
}

/* Section nav */
.section-nav {
    position: sticky;
    width: 100%;
    top: 0.75rem;
    z-index: 15;
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.4rem;
    margin-bottom: 0.9rem;
}
.section-nav__link {
    position: relative;
    display: inline-block;
}

.nav-img {
    display: block;
    transition: opacity 0.25s ease;
}

/* hover oculto por default */
.nav-img.hover {
    position: absolute;
    inset: 0;
    opacity: 0;
}

/* al hacer hover */
.section-nav__link:hover .nav-img.hover {
    opacity: 1;
}

.section-nav__link:hover .nav-img.default {
    opacity: 0;
}
.section-nav__link {
    display: flex;
    justify-content: center;
    transition: transform 0.2s ease;
}

.section-nav__link img {
    display: block;

    height: auto;
}

.section-nav__link:hover {
    transform: scale(1.05);
}

.section-nav__link:active {
    transform: scale(0.95);
}

@media (max-width: 720px) {
    .section-nav {
        position: static;
        top: auto;
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .section-nav__link {
        width: 100%;
        display: flex;
        justify-content: center;
    }


    .section-nav__link img {
        width: auto;
        max-width: 200px;
        height: auto;
    }
}

/* Info panel */
.info-panel {
    margin-top: 0.75rem;
}

.info-panel__shell {
    position: relative;
    padding: 0 1rem 2rem;
    background: var(--bg-panel);
    border-radius: 6rem;
    box-shadow: var(--shadow-lg);
    color: #14478f;
    overflow: visible;
}

.info-panel__paw {
    position: absolute;
    z-index: 5;
    pointer-events: none;
}

/*patita premios izquierda supoerior*/
.info-panel__paw--left {
    top: 5rem;
    left: -8rem;
    width: 20rem;
}

.info-panel__paw--right {
    display: none;
}

.info-panel__paw--bottom-left {
    bottom: -1.75rem;
    left: -2rem;
    width: 8rem;
}

.info-panel__paw--bottom-right {
    right: -2.9rem;
    bottom: -13rem;
    width: 20rem;
}

.panel-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 0.95;
    color: #f51d1d;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 8px rgba(197, 28, 28, 0.18);
}

.prizes-section {
    position: relative;
    z-index: 2;
    padding: 1.6rem 1rem 1.4rem;
    margin: 0 -1rem;
    isolation: isolate;
}

.prizes-section::before {
    content: "";
    position: absolute;
    top: -0.15rem;
    right: -1.1rem;
    left: 0rem;
    height: calc(100% + 0.15rem);
    z-index: -1;
    background-image: url("public/page/section-premios_poppymania.svg");
    background-repeat: no-repeat;
    background-position: left top;
    background-size: 100% auto;
    pointer-events: none;
}

.prizes-section>.panel-title {
    width: 13rem;
    margin: 0 0 0 12rem;
    text-align: left;
    line-height: 1;
    text-shadow: none;
}

.prizes-section__title-image {
    display: block;
    width: clamp(13rem, 22vw, 21rem);
    height: auto;
}


/* Prizes */
.prizes-layout {
    --prize-dog-size: 12em;
    --prize-dog-offset-x: -0.05rem;
    --prize-dog-offset-y: 8rem;
    display: grid;
    grid-template-columns: 0.18fr 1.55fr 0.56fr;
    align-items: stretch;
    gap: 0;
    margin-top: 0.7rem;
}

.prizes-layout__dog {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: end;
    justify-content: flex-end;
    align-self: end;
    transform: translate(var(--prize-dog-offset-x), var(--prize-dog-offset-y));
}

.prizes-layout__dog-image {
    width: var(--prize-dog-size);
    max-width: none;
    flex: none;
}

.prize-card-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
    min-width: 0;
}

.prize-card {
    position: relative;
    overflow: visible;
    padding: 0.9rem 1.2rem 0.85rem;
    border: 5px solid var(--border-yellow);
    border-radius: 1.8rem;
    background: transparent;
}

.prize-card__title,
.prize-side-card__title {
    text-align: center;
    font-size: 1.05rem;
    font-weight: bolder;
    letter-spacing: -0.03em;
    color: var(--red-text);
}

.prize-card__title {
    margin-bottom: 0.15rem;
    font-size: 1.15rem;
    line-height: 0.9;
}
.prize-card__title img {
    width: 9rem; /* ajusta según diseño */
    height: auto;
    margin: 0 auto;
}
.prize-card__figure {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 20rem;
    margin-bottom: 0.15rem;
}

.prize-card__main-image {
    width: auto;
    max-height: 22rem;
}

.prize-card__coming-soon {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 800;
    line-height: 1;
    text-align: center;
    color: #ef2b2b !important;
    text-transform: uppercase;
}

.prize-card__coming-soon[hidden],
.prize-card__main-image[hidden],
.prize-card__thumbs[hidden] {
    display: none !important;
}

.prize-card.is-empty .prize-card__title,
.prize-card.is-empty .prize-card__thumbs {
    visibility: hidden;
    pointer-events: none;
}

.prize-card__thumbs {
    --prize-icon-size: 2rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 0.5rem;
    align-items: end;
    padding: 0 1.2rem;
    margin-top: 0.05rem;
}

.prize-variant {
    border: 0;
    outline: 0;
    box-shadow: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    display: flex;
    justify-content: flex-start;
    align-items: end;
    font: inherit;
    appearance: none;
    -webkit-appearance: none;
    transition: transform 0.2s ease;
}

.prize-variant__thumb {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: end;
}

.prize-variant__thumb img {
    width: var(--prize-icon-size);
    height: auto;
    display: block;
}

.prize-card__labels {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 0.5rem;
    padding: 0 1.2rem;
    margin-top: 0.5rem;
    align-items: center;
}
.important {
    color: var(--red);
    font-weight: 700;
}
.prize-card__label-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.prize-variant__label-image {
    width: 100%;
    max-width: none;
    height: auto;
    display: block;
}

.prize-variant.is-active {
    transform: scale(1.05);
}

.prize-side-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin-left: 1rem;
    padding: 0.9rem 0.75rem 1.15rem;
    border-radius: 1.5rem;
    background: linear-gradient(180deg, #ffcb0d 0%, #f6b303 100%);
    align-self: flex-start;
}

.prize-side-card__title {
    font-size: 1.9rem; !important;
    font-weight: 999;
    margin-top: 1rem;
    line-height: 0.88;
    text-transform: uppercase;
    word-break: break-word;
}

.prize-side-card__points {
    width: 7rem;
    margin-top: 33%;
}

.prize-side-card__plus {
    width: 3rem;
    margin-top: 0.95rem;
}

.prize-side-card__money {
    margin-top: 0.95rem;
    font-family: "Baloo 2", sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    color: #141414;
}

.prize-side-card__coins {
    width: 6rem;
    margin-top: -0.5rem;
}

.prizes-section__note {
    margin-top: 0.35rem;
    margin-left: 12.9rem;
    max-width: 41rem;
    text-align: left;
    line-height: 1.1;
}

.prizes-section__note-title {
    margin-top: 2rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.prizes-section__note-title img {
    width: 20rem;
    height: auto;
    display: block;
}
@media (max-width: 1024px) {


    .prizes-section__note-title img {
        width: 16rem;
    }
}

@media (max-width: 720px) {
    .prizes-section__note-title {
        justify-content: center;
    }
    .prizes-section__note-title img {
        width: 13rem;
    }
}

@media (max-width: 480px) {
    .prizes-section__note-title img {
        width: 11rem;
    }
}
.prizes-section__note p:nth-child(2),
.prizes-section__note p:last-child {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-dark);
}

.prizes-section__note p+p {
    margin-top: 0.08rem;
}

/* Tablet */
@media (max-width: 1024px) {
    .prizes-layout {
        --prize-dog-size: 9rem;
        --prize-dog-offset-x: 0.2rem;
        --prize-dog-offset-y: 6.5rem;
        grid-template-columns: 0.16fr 1.45fr 0.6fr;
        gap: 0;
    }

    .prize-card {
        padding: 0.85rem 1rem 0.8rem;
    }

    .prize-card__figure {
        min-height: 17rem;
    }

    .prize-card__main-image {
        max-height: 18rem;
    }

    .prize-card__thumbs,
    .prize-card__labels {
        padding: 0 0.9rem;
        column-gap: 0.45rem;
    }

    .prizes-section__note {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .prize-side-card {
        margin-left: 0.85rem;
        min-height: auto;
    }

    .prize-side-card h3 {
        font-size: 2.25rem;
    }

    .prize-side-card__points {
        width: 6rem;
    }

    .prize-side-card__plus {
        width: 2.5rem;
    }

    .prize-side-card__coins {
        width: 5rem;
    }
}

/* Mobile */
@media (max-width: 720px) {
    .prizes-layout {
        --prize-dog-size: 6.8rem;
        --prize-dog-offset-x: 0;
        --prize-dog-offset-y: 0;
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .prize-card-wrap {
        order: 1;
    }

    .prize-card {
        padding: 0.8rem 0.7rem 0.7rem;
        border-width: 4px;
        border-radius: 1.35rem;
    }

    .prize-card__title {
        font-size: 1rem;
        margin-bottom: 0.1rem;
    }

    .prize-card__figure {
        min-height: 13.5rem;
        margin-bottom: 0.2rem;
    }

    .prize-card__main-image {
        max-height: 11.8rem;
    }

    .prize-card__thumbs,
    .prize-card__labels {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 0.4rem;
        column-gap: 0.75rem;
        padding: 0 0.45rem;
    }

    .prize-card__thumbs {
        --prize-icon-size: 1.8rem;
    }

    .prize-side-card {
        order: 2;
        width: min(100%, 19rem);
        margin-left: auto;
        margin-right: auto;
        padding: 0.7rem 0.7rem 0.95rem;
    }

    .prize-side-card__title {
        font-size: 1.9rem;
        margin-top: 0.25rem;
    }

    .prize-side-card__points {
        width: 5.8rem;
        margin-top: 1rem;
    }

    .prize-side-card__plus {
        width: 2.4rem;
        margin-top: 0.6rem;
    }

    .prize-side-card__money {
        margin-top: 0.65rem;
    }

    .prize-side-card__coins {
        width: 5rem;
        margin-top: -0.35rem;
    }

    .prizes-layout__dog {
        order: 3;
        justify-content: center;
        transform: none;
        margin-top: -1rem;
    }

    .prizes-section__note {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        max-width: 100%;
    }

    .prizes-section__note-title {
        font-size: 1.75rem;
    }
}

/* Mobile pequeño */
@media (max-width: 480px) {
    .prize-card {
        padding: 0.7rem 0.55rem 0.65rem;
    }

    .prize-card__title {
        font-size: 0.92rem;
    }

    .prize-card__figure {
        min-height: 11.5rem;
    }

    .prize-card__main-image {
        max-height: 10rem;
    }

    .prize-card__thumbs {
        --prize-icon-size: 1.55rem;
    }

    .prize-card__thumbs,
    .prize-card__labels {
        column-gap: 0.55rem;
        row-gap: 0.35rem;
        padding: 0 0.25rem;
    }

    .prize-side-card h3 {
        font-size: 1.7rem;
    }

    .prize-side-card__points {
        width: 5.1rem;
        margin-top: 0.8rem;
    }

    .prize-side-card__plus {
        width: 2rem;
        margin-top: 0.5rem;
    }

    .prize-side-card__money {
        font-size: 1.9rem;
        font-family: 'Courier New', Courier, monospace;
        margin-top: 0.55rem;
    }

    .prize-side-card__coins {
        width: 4.4rem;
        margin-top: -0.25rem;
    }
}

.prize-label {
    position: relative;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    appearance: none;
    -webkit-appearance: none;
    transition: transform 0.2s ease;
}

/*hover premios*/
.prize-label__img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    transition: opacity 0.25s ease;
}

.prize-label__img.hover {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.prize-label__img--nivel-medio-hover {
    transform: scale(1);
    transform-origin: top;
}

.prize-label:hover .prize-label__img.hover,
.prize-label:focus-visible .prize-label__img.hover {
    opacity: 1;
}

.prize-label:hover .prize-label__img.default,
.prize-label:focus-visible .prize-label__img.default {
    opacity: 0;
}
/*fin de hover*/
.prize-label.is-active {
    transform: scale(1.05);
}

/* Cities */
.cities-section {
    position: relative;
    z-index: 1;
    margin-top: 0;
    padding: 1.8rem 1rem 2rem;
    margin: 0 -1rem -2rem;
    border-top: 0;
    border-bottom-left-radius: 2.9rem;
    border-bottom-right-radius: 2.9rem;
    background-image: url("public/page/section-ciudades_poppymania_2.svg");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 110% auto;
    overflow: hidden;
}

.panel-title--cities {
    margin-top: 2rem;
    color: #e42828;
}

.cities-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    width: 100%;
    margin-bottom: 2rem;
}

.cities-stats__image {
    display: block;
    width: min(100%, 52rem);
    margin: 0 auto;
    height: auto;
}

.cities-filters {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1.8rem;
    margin-top: 1.6rem;
    margin-left: auto;
    margin-right: auto;
    width: min(100%, 52rem);
    min-height: 0rem;
}

.cities-dropdown {
    width: 12rem;
}

.cities-dropdown summary {
    position: relative;
    list-style: none;
    padding: 0.6rem 2.2rem 0.6rem 1rem;
    border: 2px solid var(--border-yellow);
    border-radius: 999px;
    background: var(--white);
    box-shadow: 0 8px 18px rgba(18, 39, 112, 0.14);
    font-size: 0.95rem;
    font-weight: bolder;
    line-height: 1;
    color: #ef2b2b;
    cursor: pointer;
}

.cities-dropdown[open] summary {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.cities-dropdown summary::-webkit-details-marker {
    display: none;
}

.cities-dropdown summary::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0.95rem;
    width: 0.7rem;
    height: 0.7rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-65%) rotate(45deg);
}

.cities-dropdown[open] summary::after {
    transform: translateY(-35%) rotate(-135deg);
}

.cities-dropdown ul {
    margin: 0;
    padding: 0.6rem 0.8rem 0.35rem;
    list-style: none;
    border: 2px solid var(--border-yellow);
    border-top: 0;
    border-bottom-left-radius: 1.4rem;
    border-bottom-right-radius: 1.4rem;
    background: var(--white);
    box-shadow: 0 10px 18px rgba(18, 39, 112, 0.14);
}

.cities-dropdown li+li {
    border-top: 1px solid #8bc3ea;
}

.cities-dropdown a {
    display: block;
    padding: 0.38rem 0;
    font-family: "Dosis", sans-serif;
    font-size: 0.92rem;
    font-weight: 500;
    color: #1492da;
}

/* Mechanics */
.mechanics-section {
    position: relative;
    margin-top: 6rem;
    z-index: 5;

}

.mechanics-section__inner {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mechanics-full-image {
    display: block;
    width: 100%;
    max-width: 1100px;
    height: auto;
    bottom: -20px;
}

/* Tablet */
@media (max-width: 1024px) {}

/* Mobile */
@media (max-width: 720px) {
    .mechanics-section {
        margin-top: 2rem;
        padding-bottom: 1.5rem;
    }

    .mechanics-full-image {
        width: 100%;
    }
}


/* Terms */
.terms-section {
    position: relative;
    margin-top: -1rem;
    padding: 2.4rem 0 3.75rem;
    overflow: visible;
    background: linear-gradient(90deg, #0088BF 0%, #224984 100%);
}
#cityDropdown summary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.city-label {
  font-size: 14px;
}
#cityDropdown summary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.city-label {
  font-size: 14px;
}

.city-selected {
  font-weight: bold;
  color: red;
}
.city-selected {
  font-weight: bold;
  color: red; 
}
.terms-section__inner {
    position: relative;
    z-index: 2;
    overflow: visible;
}

.terms-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 0.7rem;
    background: var(--border-yellow);
    z-index: 1;
}

.terms-section::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 12px 14px, rgba(255, 255, 255, 0.05) 0 4px, transparent 5px),
        radial-gradient(circle at 10px 12px, rgba(255, 255, 255, 0.03) 0 3px, transparent 4px);
    background-size: 28px 28px, 32px 32px;
    opacity: 0.35;
    z-index: 1;
}


.terms-section__content {
    position: relative;
    max-width: 52rem;
    margin: 0 auto;
}

.terms-section__paw {
    position: absolute;
    z-index: 10;
    pointer-events: none;
}

.terms-section__paw--left {
    top: -1rem;
    left: -6rem;
    width: 14rem;
}

.terms-section__paw--right {
    top: -10rem;
    right: -10rem;
    width: 20rem;
}

@media (max-width: 720px) {
    .terms-section {
        padding: 5rem;
    }

    .terms-section__paw--left {
        top: -0.4rem;
        left: -1.2rem;
        width: 4.8rem;
        display: none;
    }

    .terms-section__paw--right {
        top: -3.6rem;
        right: -1.2rem;
        width: 8rem;
        display: none;
    }
}

.terms-section__title {
    margin-bottom: 1.5rem;
    font-family: "Dosis", sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 600;
    line-height: 1;
    color: var(--yellow);
}

.terms-section__list {
    max-width: 50rem;
    padding-left: 1.35rem;
}

.terms-section__list li {
    margin-bottom: 0.3rem;
    /*font-family: "Dosis", sans-serif;*/
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.2;
    color: var(--white);
}

.terms-section__more {
    display: inline-block;
    margin-top: 1.9rem;
    font-family: "Dosis", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--yellow);
}

.terms-section__backtop {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1.2rem auto 0;
}

.terms-section__backtop img {
    width: 3rem; /* ajusta si lo quieres más grande */
    height: auto;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.terms-section__backtop img:hover {
    transform: scale(1.05);
}
/* Footer */
.site-footer {
    background: var(--white);
}

.site-footer__inner {
    width: min(calc(100% - 2rem), var(--container));
    margin: 0 auto;
    padding: 2.2rem 0 2.6rem;
    text-align: center;
}

.site-footer__copy,
.site-footer__links a {
    font-family: "Dosis", sans-serif;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    font-weight: 500;
    line-height: 1.2;
    color: var(--blue-link);
}

.site-footer__links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 0.25rem;
    flex-wrap: wrap;
}

/* Responsive */

@media (max-width: 1024px) {
    .prizes-section>.panel-title {
        margin-left: 0;
        text-align: center;
        width: auto;
    }

    .prizes-section__title-image {
        margin: 0 auto;
    }

    .hero__inner {
        grid-template-columns: 1fr;
    }

    .hero__brand {
        min-height: 21rem;
    }

    .hero__dog {
        right: 5rem;
        width: min(15.5rem, 36%);
    }

    .hero__paw {
        top: -0.35rem;
        right: 0.35rem;
        width: min(9.5rem, 18vw);
    }

    .hero__copy {
        padding-top: 0;
    }

    .prizes-layout {
        --prize-dog-size: 9rem;
        --prize-dog-offset-x: 0.2rem;
        --prize-dog-offset-y: 6.5rem;
        grid-template-columns: 0.16fr 1.45fr 0.6fr;
        gap: 0;
    }

    .prizes-section__note {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .prize-side-card {
        margin-left: 0.85rem;
        min-height: auto;
    }

    .cities-stats__image {
        width: min(100%, 46rem);
    }

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

    .mechanics-section__dog-wrap {
        grid-column: 1 / -1;
        grid-row: auto;
        justify-self: center;
    }

    .mechanics-step--redeem,
    .mechanics-step--deliver {
        grid-column: auto;
        grid-row: auto;
    }

    .mechanics-step--buy .mechanics-step__asset--products {
        left: 25%;
        width: 50%;
    }

    .mechanics-step--cut .mechanics-step__asset--cut {
        left: 35%;
        top: 55%;
        width: 30%;
    }

    .mechanics-step--collect .mechanics-step__asset--points-only {
        left: 34%;
        top: 45%;
        width: 40%;
    }

    .mechanics-step--redeem .mechanics-step__asset--store {
        left: 35%;
        top: 60%;
        width: 35%;
    }

    .mechanics-step--deliver .mechanics-step__asset--deliver-gifts {
        left: 25%;
        width: 40%;
    }

    .mechanics-step--deliver .mechanics-step__asset--deliver-coins {
        right: 30%;
        top: auto;
        bottom: 12%;
        width: 15%;
    }

    .terms-section__paw--left {
        display: none;
    }

    .terms-section__paw--right {
        right: -0.5rem;
        width: 9rem;
    }
}

@media (max-width: 720px) {

    .container,
    .site-footer__inner {
        width: min(calc(100% - 1rem), var(--container));
    }

    .steps--hero,
    .mechanics-grid {
        grid-template-columns: 1fr;
    }

    .hero__brand {
        min-height: 15.5rem;
    }

    .hero__logo {
        position: relative;
        left: auto;
        bottom: auto;
        width: min(25rem, 84%);
    }

    .hero__dog {
        top: 0.1rem;
        right: 3rem;
        width: 10.5rem;
    }

    .hero__paw {
        top: -0.15rem;
        right: 0.2rem;
        width: 6.1rem;
    }

    .step-flower__object--products {
        left: 32%;
        top: 60%;
        width: 35%;
    }

    .step-flower__object--points {
        left: 30%;
        top: 55%;
        width: 20%;
    }

    .step-flower__object--plus {
        left: 51%;
        top: 65%;
        width: 4.2%;
    }

    .step-flower__object--coins {
        right: 28%;
        top: 60%;
        width: 14%;
    }

    .step-flower__object--gifts {
        left: 30%;
        top: 45%;
        bottom: 10%;
        width: 40%;
    }

    .section-nav {
        position: static;
        top: auto;
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        margin-top: 1.4rem;
        margin-bottom: 0.2rem;
    }

    .section-nav__link {
        width: 100%;
    }

    .info-panel__shell {
        padding: 1.2rem 0.75rem 1.5rem;
        border-radius: 2rem;
    }

    .prizes-section {
        padding: 1rem 0.5rem 1rem;
        margin: 0 -0.5rem;
    }

    .prizes-section::before {
        right: -0.5rem;
        left: -0.2rem;
        /*top: -rem;*/
        height: 100%;
        background-size: 0% auto;
    }

    .info-panel__paw--left,
    .info-panel__paw--right,
    .info-panel__paw--bottom-left,
    .info-panel__paw--bottom-right {
        transform: scale(0.7);
        transform-origin: center;
    }

    .info-panel__paw--left {
        top: -2rem;
        left: -3.9rem;
        width: 10rem;
    }

    .info-panel__paw--bottom-left {
        bottom: -2.5rem;
        left: -1.3rem;
        width: 5.4rem;
    }

    .info-panel__paw--bottom-right {
        right: -3rem;
        bottom: -6rem;
        width: 10rem;
    }

    .prizes-layout {
        --prize-dog-size: 6.8rem;
        --prize-dog-offset-x: 0;
        --prize-dog-offset-y: 0;
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .prize-card-wrap {
        order: 1;
    }

    .prize-side-card {
        order: 2;
        width: min(100%, 19rem);
        margin-left: auto;
        margin-right: auto;
    }

    .prizes-layout__dog {
        order: 3;
        justify-content: center;
        transform: none;
        margin-top: -0.35rem;
    }

    .prize-card__thumbs,
    .prize-card__labels {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 0.75rem;
        row-gap: 0.45rem;
        padding: 0 0.45rem;
    }
    .prizes-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
}

.prize-card-wrap {
    width: 100%;
}

.prize-card {
    padding: 0.8rem 0.7rem 0.7rem;
    border-width: 4px;
    border-radius: 1.35rem;
}

.prize-card__title {
    font-size: 1rem;
    margin-bottom: 0.1rem;
}

.prize-card__figure {
    min-height: 11.5rem;
    margin-bottom: 0.35rem;
}

.prize-card__main-image {
    max-height: 8.5rem;
    width: auto;
}

.prize-card__thumbs {
    --prize-icon-size: 1.55rem;
    margin-top: 0.15rem;
}

.prize-variant,
.prize-label {
    justify-content: center;
}

.prize-variant__thumb,
.prize-card__label-item {
    justify-content: center;
}

.prize-variant__label-image {
    width: 100%;
    max-width: 7rem;
}

.prizes-section__note {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    max-width: 100%;
}

    .cities-stats {
        margin-top: 1rem;
    }

    .cities-stats__image {
        width: 100%;
        max-width: 34rem;
    }

    .cities-filters {
        flex-direction: column;
        gap: 1rem;
        min-height: auto;
    }

    .cities-dropdown {
        width: 100%;
    }

    .mechanics-step {
        min-height: 14rem;
    }

    .mechanics-section__dog {
        width: 11rem;
    }

    .mechanics-step--buy .mechanics-step__asset--products {
        left: 35%;
        width: 30%;
    }

    .mechanics-step--cut .mechanics-step__asset--cut {
        left: 40%;
        top: auto;
        bottom: 10%;
        width: 18%;
    }

    .mechanics-step--collect .mechanics-step__asset--points-only {
        left: 40%;
        top: 49%;
        width: 20%;
    }

    .mechanics-step--redeem .mechanics-step__asset--store {
        left: 39%;
        top: auto;
        bottom: 8%;
        width: 24%;
    }

    .mechanics-step--deliver .mechanics-step__asset--deliver-gifts {
        left: 30%;
        top: auto;
        bottom: 10%;
        width: 25%;
    }

    .mechanics-step--deliver .mechanics-step__asset--deliver-coins {
        right: 30%;
        width: 15%;
    }

    .terms-section {
        padding: 2rem 0 3rem;
    }

    .terms-section__paw--right {
        top: -3.6rem;
        right: -0.4rem;
        width: 7rem;
    }

    .terms-section__content {
        padding: 0 0.3rem;
    }

    .site-footer__inner {
        padding: 1.8rem 0 2.1rem;
    }

    .site-footer__links {
        gap: 1rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero__brand {
        min-height: 12.5rem;
    }

    .hero__dog {
        top: 0.25rem;
        right: 3rem;
        width: 7.9rem;
    }

    .hero__paw {
        top: -0.1rem;
        right: 0.15rem;
        width: 4.9rem;
    }

    .hero__logo {
        width: min(18rem, 82%);
    }

    .hero__headline {
        font-size: 2.6rem;
        text-shadow: 6px 6px 0 rgba(28, 149, 209, 0.5);
    }

    .hero__headline span:first-child,
    .hero__headline span:last-child {
        transform: none;
    }

    .hero__headline span:last-child {
        transform: rotate(-10deg);
    }

    .step-flower {
        min-height: 16rem;
        padding: 1rem 0.8rem;
    }

    .step-flower__object--products {
        left: 25%;
        top: 60%;
        width: 50%;
    }

    .step-flower__object--points {
        left: 20%;
        top: 55%;
        width: 30%;
    }

    .step-flower__object--plus {
        left: 48%;
        top: 65%;
        width: 7%;
    }

    .step-flower__object--coins {
        right: 25%;
        top: 60%;
        width: 17%;
    }

    .step-flower__object--gifts {
        left: 25%;
        top: 55%;
        bottom: 10%;
        width: 50%;
    }

    .step-flower h2 {
        width: 88%;
    }

    .panel-title {
        font-size: 1.8rem;
    }

    .prize-card__figure {
        min-height: 13rem;
    }

    .prize-card__main-image {
        max-height: 11.5rem;
    }

    .prizes-layout__dog-image {
        width: 7rem;
    }

    .mechanics-section__title,
    .terms-section__title {
        font-size: 1.9rem;
    }

    .mechanics-step {
        min-height: 14rem;
    }

    .mechanics-step p {
        width: 72%;
    }

    .mechanics-step--buy .mechanics-step__asset--products {
        left: 27%;
        top: 55%;
        width: 45%;
    }

    .mechanics-step--cut .mechanics-step__asset--cut {
        left: 38%;
        top: 60%;
        width: 25%;
    }

    .mechanics-step--collect .mechanics-step__asset--points-only {
        left: 38%;
        top: 45%;
        width: 30%;
    }

    .mechanics-step--redeem .mechanics-step__asset--store {
        left: 34%;
        top: 60%;
        width: 40%;
    }

    .mechanics-step--deliver .mechanics-step__asset--deliver-gifts {
        left: 16%;
        width: 45%;
    }

    .mechanics-step--deliver .mechanics-step__asset--deliver-coins {
        right: 18%;
        width: 18%;
    }

    .terms-section__list {
        padding-left: 1.1rem;
    }

    .terms-section__list li {
        font-size: 0.96rem;
        line-height: 1.08;
    }

    .terms-section__paw--right {
        width: 6.5rem;
    }

    .terms-section__backtop-icon {
        font-size: 2.5rem;
    }

    .site-footer__copy,
    .site-footer__links a {
        font-size: 0.96rem;
    }
}

.prize-variant.is-active {
    transform: scale(1.05);
}

.terms-page {
    padding-top: 2rem;
}

.terms-page__content {
    max-width: 860px;
    margin: 2rem auto 0;
    color: var(--text-dark);
}

.terms-block+.terms-block {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(17, 137, 210, 0.18);
}

.terms-block__title {
    margin-bottom: 0.75rem;
    font-family: "Dosis", sans-serif;
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    font-weight: 600;
    line-height: 1.1;
    color: var(--red-text);
}

.terms-block p,
.terms-block li,
.terms-subblock h4 {
    font-family: "Dosis", sans-serif;
    color: var(--text-dark);
}

.terms-block p {
    font-size: 1rem;
    line-height: 1.45;
}

.terms-block p+p {
    margin-top: 0.6rem;
}

.terms-block__list {
    margin: 0.75rem 0 0;
    padding-left: 1.2rem;
}

.terms-block__list li {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 0.45rem;
}

.terms-block__list--ordered {
    padding-left: 1.4rem;
}

.terms-subblock {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(17, 137, 210, 0.08);
}

.terms-subblock h4 {
    margin-bottom: 0.35rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #14478f;
}

.terms-page__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

@media (max-width: 720px) {
    .terms-page__content {
        margin-top: 1.5rem;
    }

    .terms-block__title {
        font-size: 1.25rem;
    }

    .terms-block p,
    .terms-block li {
        font-size: 0.96rem;
    }

    .terms-subblock {
        padding: 0.85rem;
    }
}

.hero--simple {
    padding: 4.5rem 0 3rem;
    background:
        radial-gradient(circle at 50% 30%, rgba(68, 210, 255, 0.22) 0%, transparent 35%),
        linear-gradient(90deg, rgba(49, 62, 145, 0.95) 0%, rgba(11, 164, 228, 0.9) 50%, rgba(45, 59, 143, 0.95) 100%);
}

.hero--simple::before {
    background: radial-gradient(circle at 12px 14px, rgba(40, 186, 242, 0.16) 0 4px, transparent 5px);
    background-size: 28px 28px;
    opacity: 0.7;
}

.hero--simple::after {
    background: none;
}

.hero--simple .hero__paw {
    display: none;
}

.hero--simple__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    text-align: center;
}

.hero--simple__title {
    font-family: "Baloo 2", cursive;
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 0.95;
    color: var(--white);
    text-shadow:
        -4px -4px 0 #111,
        4px -4px 0 #111,
        -4px 4px 0 #111,
        4px 4px 0 #111,
        0 8px 16px rgba(0, 0, 0, 0.28);
}

.hero--simple__subtitle {
    margin-top: 1rem;
    max-width: 700px;
    font-family: "Dosis", sans-serif;
    font-size: clamp(1.1rem, 2.4vw, 2rem);
    font-weight: 600;
    line-height: 1.1;
    color: var(--white);
}

@media (max-width: 720px) {
    .hero--simple {
        padding: 3.5rem 0 2.2rem;
    }

    .hero--simple__inner {
        min-height: 120px;
    }

    .hero--simple__subtitle {
        margin-top: 0.75rem;
    }
}
