/* ============================================
   LEGRAND CAMPAIGN — lgr-*
   "Equípate con los Mejores"
   ============================================ */

/* =========================
   HERO
   ========================= */
.lgr-hero {
    position: relative;
    min-height: 100svh;
    background-color: var(--base-darker);
    background-image:
        radial-gradient(ellipse at 80% 10%, rgba(242, 238, 87, 0.14) 0%, transparent 55%),
        radial-gradient(ellipse at 10% 85%, rgba(94, 229, 153, 0.09) 0%, transparent 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 8rem 2rem 5rem;
    text-align: center;
}

.lgr-hero__bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 72px 72px;
    pointer-events: none;
}

.lgr-hero__content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* Logos row */
.lgr-hero__logos {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.25rem;
}

.lgr-hero__logo {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.lgr-hero__logo-sep {
    color: rgba(255, 255, 255, 0.35);
    font-size: 1.4rem;
    font-weight: 300;
}

.lgr-hero__partner-badge {
    background: rgba(242, 238, 87, 0.12);
    border: 1px solid rgba(242, 238, 87, 0.35);
    color: var(--accent-yellow);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    text-transform: uppercase;
}

/* Tag */
.lgr-hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(94, 229, 153, 0.1);
    border: 1px solid rgba(94, 229, 153, 0.25);
    color: var(--accent-green);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 50px;
}

/* Title */
.lgr-hero__title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 900;
    color: white;
    line-height: 1.0;
    letter-spacing: -0.03em;
    margin: 0;
}

.lgr-hero__title--highlight {
    color: var(--accent-yellow);
    text-shadow: 0 0 60px rgba(242, 238, 87, 0.3);
}

.lgr-hero__subtitle {
    font-size: 1.05rem;
    color: rgba(240, 240, 240, 0.6);
    font-weight: 400;
    letter-spacing: 0.02em;
    margin: 0;
}

.lgr-hero__text {
    font-size: 1rem;
    color: rgba(240, 240, 240, 0.72);
    line-height: 1.7;
    max-width: 560px;
    margin: 0;
}

/* Meta stats */
.lgr-hero__meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 0.5rem;
}

.lgr-hero__meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.lgr-hero__meta-num {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent-yellow);
    line-height: 1;
    letter-spacing: -0.03em;
}

.lgr-hero__meta-label {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.lgr-hero__meta-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

/* CTA */
.lgr-hero__cta {
    display: inline-block;
    background: var(--accent-yellow);
    color: var(--base-darker);
    font-size: 1rem;
    font-weight: 800;
    padding: 1rem 2.5rem;
    border-radius: var(--round-radius);
    text-decoration: none;
    transition: var(--transition-smooth);
    letter-spacing: 0.02em;
    margin-top: 0.5rem;
}

.lgr-hero__cta:hover {
    background: var(--accent-green);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(242, 238, 87, 0.3);
}

/* =========================
   PRIZES
   ========================= */
.lgr-prizes {
    background: var(--gradient-white-to-corpwhite);
    padding: 5.5rem 2rem;
}

.lgr-prizes__container {
    max-width: 1080px;
    margin: 0 auto;
    text-align: center;
}

.lgr-prizes__eyebrow {
    display: inline-block;
    color: var(--accent-green);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 0.75rem;
}

.lgr-prizes__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--base-darker);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.lgr-prizes__subtitle {
    font-size: 1rem;
    color: rgba(56, 65, 73, 0.6);
    max-width: 520px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

/* Prize cards grid */
.lgr-prizes__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    text-align: left;
}

/* Base card */
.lgr-prize-card {
    position: relative;
    background: var(--base-darker);
    border-radius: 20px;
    padding: 2.75rem 2.5rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Raffle card: green accent */
.lgr-prize-card--raffle {
    background: linear-gradient(145deg, #0d1f2d 0%, var(--base-darker) 100%);
    border: 1px solid rgba(94, 229, 153, 0.2);
}

.lgr-prize-card--raffle .lgr-prize-card__accent {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(94, 229, 153, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

/* Fidelidad card: gold accent */
.lgr-prize-card--fidelidad {
    background: linear-gradient(145deg, #1a1400 0%, #21354b 100%);
    border: 1px solid rgba(242, 238, 87, 0.25);
}

.lgr-prize-card__crown {
    position: absolute;
    top: 1.5rem;
    right: 1.75rem;
    color: var(--accent-yellow);
    opacity: 0.85;
}

/* Card header: number + icon */
.lgr-prize-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.lgr-prize-card__count {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--accent-green);
    opacity: 0.9;
}

.lgr-prize-card__count--gold {
    color: var(--accent-yellow);
}

.lgr-prize-card__icon {
    color: var(--accent-green);
    opacity: 0.7;
    margin-top: 0.5rem;
}

.lgr-prize-card__icon--gold {
    color: var(--accent-yellow);
}

/* Card content */
.lgr-prize-card__title {
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.01em;
    margin: 0;
}

.lgr-prize-card__text {
    font-size: 0.93rem;
    color: rgba(240, 240, 240, 0.62);
    line-height: 1.72;
    margin: 0;
    flex: 1;
}

/* Pill info */
.lgr-prize-card__pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(94, 229, 153, 0.12);
    border: 1px solid rgba(94, 229, 153, 0.25);
    color: var(--accent-green);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.4rem 0.85rem;
    border-radius: 50px;
    width: fit-content;
}

.lgr-prize-card__pill--gold {
    background: rgba(242, 238, 87, 0.1);
    border-color: rgba(242, 238, 87, 0.25);
    color: var(--accent-yellow);
}

/* Card buttons */
.lgr-prize-card__btn {
    display: inline-block;
    font-size: 0.93rem;
    font-weight: 800;
    padding: 0.85rem 1.75rem;
    border-radius: var(--round-radius);
    text-decoration: none;
    transition: var(--transition-smooth);
    letter-spacing: 0.02em;
    text-align: center;
    margin-top: 0.25rem;
}

.lgr-prize-card__btn--green {
    background: var(--accent-green);
    color: var(--base-darker);
}

.lgr-prize-card__btn--green:hover {
    background: white;
    transform: translateY(-2px);
}

.lgr-prize-card__btn--gold {
    background: var(--accent-yellow);
    color: var(--base-darker);
}

.lgr-prize-card__btn--gold:hover {
    background: white;
    transform: translateY(-2px);
}

/* =========================
   KIT CONTENTS
   ========================= */
.lgr-kit {
    background: var(--gradient-corpwhite-to-white);
    padding: 5.5rem 2rem;
}

.lgr-kit__container {
    max-width: 1080px;
    margin: 0 auto;
    text-align: center;
}

.lgr-kit__eyebrow {
    display: inline-block;
    color: var(--accent-green);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 0.75rem;
}

.lgr-kit__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--base-darker);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.lgr-kit__subtitle {
    font-size: 1rem;
    color: rgba(56, 65, 73, 0.6);
    max-width: 520px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

/* Kit grid: 4 cols desktop */
.lgr-kit__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.lgr-kit__item {
    background: #f8f9fb;
    border: 1px solid rgba(56, 65, 73, 0.08);
    border-radius: 16px;
    padding: 1.75rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    text-align: center;
    transition: var(--transition-base);
}

.lgr-kit__item:hover {
    border-color: var(--accent-green);
    box-shadow: 0 8px 24px rgba(94, 229, 153, 0.12);
    transform: translateY(-2px);
}

.lgr-kit__item-icon {
    width: 56px;
    height: 56px;
    background: rgba(94, 229, 153, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-green);
    flex-shrink: 0;
    margin-bottom: 0.25rem;
}

.lgr-kit__item-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--base-darker);
    line-height: 1.3;
}

.lgr-kit__item-desc {
    font-size: 0.76rem;
    color: rgba(56, 65, 73, 0.5);
    line-height: 1.4;
}

/* Bonus item — spans 2 cols, special styling */
.lgr-kit__item--bonus {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--base-darker) 0%, #0d2b1a 100%);
    border-color: rgba(94, 229, 153, 0.3);
    flex-direction: row;
    text-align: left;
    gap: 1.25rem;
    padding: 1.75rem 2rem;
}

.lgr-kit__item--bonus:hover {
    border-color: var(--accent-green);
    box-shadow: 0 8px 32px rgba(94, 229, 153, 0.2);
}

.lgr-kit__item-icon--bonus {
    background: rgba(94, 229, 153, 0.15);
    color: var(--accent-green);
    flex-shrink: 0;
}

.lgr-kit__item--bonus .lgr-kit__item-name {
    color: white;
    font-size: 1rem;
}

.lgr-kit__item--bonus .lgr-kit__item-desc {
    color: rgba(255, 255, 255, 0.5);
}

/* =========================
   HOW IT WORKS
   ========================= */
.lgr-how {
    background:
        radial-gradient(ellipse at 80% 15%, rgba(94, 229, 153, 0.1) 0%, transparent 55%),
        radial-gradient(ellipse at 15% 80%, rgba(242, 238, 87, 0.06) 0%, transparent 50%),
        linear-gradient(145deg, #0d1f2d 0%, var(--base-darker) 100%);
}

.lgr-how__container {
    max-width: 1060px;
    margin: 0 auto;
    padding: 5.5rem 2rem;
    text-align: center;
}

.lgr-how__eyebrow {
    display: inline-block;
    color: var(--accent-yellow);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 0.75rem;
}

.lgr-how__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: white;
    margin-bottom: 3.5rem;
    letter-spacing: -0.02em;
}

.lgr-how__steps {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    justify-content: center;
}

.lgr-how__step {
    flex: 1;
    max-width: 280px;
    text-align: center;
}

.lgr-how__step-num {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--accent-yellow);
    opacity: 0.85;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
}

.lgr-how__step-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.lgr-how__step-text {
    font-size: 0.88rem;
    color: rgba(240, 240, 240, 0.55);
    line-height: 1.7;
}

.lgr-how__arrow {
    color: rgba(94, 229, 153, 0.4);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding-top: 1.5rem;
}

/* =========================
   CONDITIONS + STORES (2-col)
   ========================= */
.lgr-conditions {
    background: white;
}

.lgr-conditions__container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 5.5rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.lgr-conditions__col {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.lgr-conditions__eyebrow {
    display: inline-block;
    color: var(--accent-green);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 0.75rem;
}

.lgr-conditions__title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 900;
    color: var(--base-darker);
    margin-bottom: 1.75rem;
    letter-spacing: -0.02em;
    text-align: left;
}

/* Stores */
.lgr-stores {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.lgr-store {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f8f9fb;
    border: 1px solid rgba(56, 65, 73, 0.08);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    transition: var(--transition-base);
}

.lgr-store:hover {
    border-color: rgba(94, 229, 153, 0.4);
    background: rgba(94, 229, 153, 0.04);
}

.lgr-store__icon {
    width: 40px;
    height: 40px;
    background: rgba(94, 229, 153, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-green);
    flex-shrink: 0;
}

.lgr-store--digital .lgr-store__icon {
    background: rgba(242, 238, 87, 0.1);
    color: var(--accent-yellow);
}

.lgr-store--digital {
    border-color: rgba(242, 238, 87, 0.2);
}

.lgr-store__info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.lgr-store__city {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--base-darker);
}

.lgr-store__label {
    font-size: 0.78rem;
    color: rgba(56, 65, 73, 0.5);
}

/* Conditions list */
.lgr-conditions__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.lgr-conditions__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 0.92rem;
    color: var(--base-dark);
    line-height: 1.65;
    padding: 0.9rem 1.1rem;
    background: #f8f9fb;
    border-radius: 10px;
    border-left: 3px solid var(--accent-green);
}

.lgr-conditions__list li::before {
    content: '✓';
    color: var(--accent-green);
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 0.05rem;
}

.lgr-conditions__list strong {
    color: var(--base-darker);
}

/* =========================
   REGISTRATION FORM
   ========================= */
.lgr-form {
    background: var(--gradient-white-to-corpwhite);
    text-align: center;
}

.lgr-form__container {
    max-width: 540px;
    margin: 0 auto;
    padding: 5.5rem 2rem;
}

.lgr-form__eyebrow {
    display: inline-block;
    color: var(--accent-green);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 0.75rem;
}

.lgr-form__title {
    font-size: clamp(1.8rem, 4.5vw, 2.6rem);
    font-weight: 900;
    color: var(--base-darker);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.lgr-form__subtitle {
    font-size: 0.93rem;
    color: rgba(56, 65, 73, 0.6);
    max-width: 440px;
    margin: 0 auto 2.5rem;
    line-height: 1.65;
}

.lgr-form__form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    text-align: left;
}

.lgr-form__field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.lgr-form__label {
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--base-dark);
    letter-spacing: 0.04em;
}

.lgr-form__required {
    color: #c0392b;
}

.lgr-form__input {
    width: 100%;
    padding: 0.9rem 1rem;
    background: white;
    border: 1.5px solid rgba(56, 65, 73, 0.2);
    border-radius: 10px;
    color: var(--base-darker);
    font-size: 0.97rem;
    font-family: inherit;
    transition: var(--transition-base);
    box-sizing: border-box;
}

.lgr-form__input::placeholder {
    color: rgba(56, 65, 73, 0.35);
}

.lgr-form__input:focus {
    outline: none;
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(94, 229, 153, 0.15);
}

.lgr-form__input.is-invalid {
    border-color: #e74c3c;
}

.lgr-form__phone-wrap {
    display: flex;
    align-items: stretch;
}

.lgr-form__prefix {
    padding: 0 1rem;
    background: white;
    border: 1.5px solid rgba(56, 65, 73, 0.2);
    border-right: none;
    border-radius: 10px 0 0 10px;
    color: rgba(56, 65, 73, 0.5);
    font-size: 0.97rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.lgr-form__input--phone {
    border-radius: 0 10px 10px 0 !important;
    flex: 1;
}

.lgr-form__error {
    font-size: 0.78rem;
    color: #c0392b;
    display: none;
}

.lgr-form__error.is-visible {
    display: block;
}

.lgr-form__error--network {
    text-align: center;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* Checkboxes */
.lgr-form__checks {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lgr-form__check-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.lgr-form__check-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.lgr-form__checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.lgr-form__checkmark {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 5px;
    border: 2px solid rgba(56, 65, 73, 0.25);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.lgr-form__checkbox:checked + .lgr-form__checkmark {
    background: var(--accent-green);
    border-color: var(--accent-green);
}

.lgr-form__checkbox:checked + .lgr-form__checkmark::after {
    content: '';
    display: block;
    width: 5px;
    height: 9px;
    border: 2.5px solid var(--base-darker);
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translateY(-1px);
}

.lgr-form__checkbox.is-invalid + .lgr-form__checkmark {
    border-color: #e74c3c;
}

.lgr-form__check-text {
    font-size: 0.83rem;
    color: rgba(56, 65, 73, 0.65);
    line-height: 1.55;
}

.lgr-form__check-text strong {
    color: var(--base-darker);
}

.lgr-form__link {
    color: var(--base-darker);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: var(--transition-base);
}

.lgr-form__link:hover {
    color: var(--accent-green);
}

/* Submit button */
.lgr-form__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    padding: 1rem 2rem;
    background: #25D366;
    color: white;
    font-size: 1rem;
    font-weight: 800;
    border: none;
    border-radius: var(--round-radius);
    cursor: pointer;
    transition: var(--transition-smooth);
    letter-spacing: 0.02em;
    margin-top: 0.5rem;
}

.lgr-form__submit:hover {
    background: #1db954;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35);
}

.lgr-form__submit:active {
    transform: translateY(0);
}

.lgr-form__submit svg {
    flex-shrink: 0;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 900px) {
    .lgr-kit__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lgr-kit__item--bonus {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .lgr-hero__meta {
        gap: 1.25rem;
    }

    .lgr-hero__meta-divider {
        height: 30px;
    }

    /* Prize cards: stack on mobile */
    .lgr-prizes__cards {
        grid-template-columns: 1fr;
    }

    /* How: stack steps */
    .lgr-how__steps {
        flex-direction: column;
        align-items: center;
    }

    .lgr-how__step {
        max-width: 100%;
        width: 100%;
    }

    .lgr-how__arrow {
        transform: rotate(90deg);
        padding-top: 0;
    }

    /* Conditions: stack on mobile */
    .lgr-conditions__container {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 4rem 2rem;
    }
}

@media (max-width: 600px) {
    .lgr-kit__grid {
        grid-template-columns: 1fr 1fr;
    }

    .lgr-kit__item--bonus {
        grid-column: span 2;
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .lgr-hero {
        padding: 7rem 1.5rem 4rem;
    }

    .lgr-kit__grid {
        grid-template-columns: 1fr;
    }

    .lgr-kit__item--bonus {
        grid-column: span 1;
    }

    .lgr-prize-card {
        padding: 2rem 1.5rem;
    }

    .lgr-prize-card__count {
        font-size: 3.5rem;
    }
}
