/* Variables / Design Tokens */
:root {
    --brand-purple: #66205e;
    --brand-purple-dark: #2b132d;
    --brand-pink: #c23272;
    --brand-pink-soft: #f8d8e5;
    --brand-cream: #fff8ef;
    --brand-yellow: #f8bf4b;
    --brand-mint: #dff5e9;
    --text-dark: #261427;
    --text-muted: #725d72;
    --surface: #ffffff;
    --surface-soft: #fff1f6;
    --line: #eaddea;
    --danger: #b4234a;
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 34px;
    --radius-pill: 999px;
    --shadow-sm: 0 10px 24px rgba(43, 19, 45, 0.08);
    --shadow-md: 0 18px 45px rgba(43, 19, 45, 0.14);
    --shadow-lg: 0 28px 80px rgba(43, 19, 45, 0.24);
    --transition-fast: 160ms ease;
    --transition-normal: 260ms ease;
    --page-pad: clamp(18px, 4vw, 64px);
}

/* Base Typography */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text-dark);
    background:
        radial-gradient(circle at 8% 12%, rgba(248, 191, 75, 0.16), transparent 24rem),
        radial-gradient(circle at 92% 32%, rgba(223, 245, 233, 0.44), transparent 28rem),
        var(--brand-cream);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

a {
    color: inherit;
}

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

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.06;
}

h1 {
    max-width: 680px;
    font-size: clamp(2.6rem, 5vw, 5rem);
    line-height: 0.98;
    letter-spacing: 0;
}

h2 {
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    letter-spacing: 0;
}

h3 {
    font-size: 1.14rem;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--brand-pink);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

/* Buttons */
.btn,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 24px;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.btn:hover,
.button:hover {
    transform: translateY(-2px);
}

.btn:active,
.button:active {
    transform: translateY(0) scale(0.98);
}

.btn:focus-visible,
.button:focus-visible,
.btn-icon:focus-visible,
.contact-switch__option:focus-visible,
.faq-trigger:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(248, 191, 75, 0.72);
    outline-offset: 3px;
}

.btn-primary,
.button--primary,
.button--card {
    color: #fff;
    background: linear-gradient(135deg, var(--brand-pink), var(--brand-purple));
    box-shadow: 0 14px 28px rgba(194, 50, 114, 0.28);
}

.btn-secondary,
.button--secondary {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.48);
    backdrop-filter: blur(12px);
}

.btn-ghost {
    color: var(--brand-purple);
    background: #fff;
    border-color: var(--line);
}

.btn-full {
    width: 100%;
}

.btn-icon {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.82);
    color: var(--text-dark);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-icon:hover {
    transform: translateY(-1px);
    background: #fff;
}

/* Layout */
.section {
    position: relative;
    padding: clamp(64px, 8vw, 108px) var(--page-pad);
}

.section__heading {
    width: min(1120px, 100%);
    margin: 0 auto 38px;
}

.section__heading p:not(.eyebrow) {
    max-width: 620px;
    margin: 14px 0 0;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.section__extra {
    display: grid;
    gap: 6px;
}

.section__extra strong {
    color: var(--text-dark);
}

.section__extra span {
    display: block;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 78px;
    padding: 12px var(--page-pad);
    background: rgba(255, 250, 246, 0.94);
    border-bottom: 1px solid rgba(102, 32, 94, 0.12);
    backdrop-filter: blur(14px);
    transition: background var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.site-header.is-scrolled {
    background: rgba(255, 248, 239, 0.94);
    border-color: rgba(102, 32, 94, 0.12);
    box-shadow: 0 12px 34px rgba(43, 19, 45, 0.1);
}

.brand img {
    width: min(210px, 48vw);
    height: auto;
    filter: drop-shadow(0 7px 16px rgba(43, 19, 45, 0.14));
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(18px);
}

.main-nav a {
    padding: 9px 14px;
    border-radius: var(--radius-pill);
    color: var(--text-dark);
    font-size: 0.92rem;
    font-weight: 800;
    text-decoration: none;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.main-nav a:hover,
.main-nav a:focus-visible {
    background: rgba(255, 255, 255, 0.74);
}

.header-cta {
    flex: 0 0 auto;
    min-height: 44px;
    padding-inline: 18px;
}

/* Hero */
.hero {
    height: clamp(680px, 72vh, 780px);
    min-height: 680px;
    max-height: 780px;
    display: grid;
    align-items: center;
    padding: 88px var(--page-pad);
    color: #fff;
    background:
        linear-gradient(90deg, rgba(20, 10, 40, 0.72) 0%, rgba(20, 10, 40, 0.40) 48%, rgba(20, 10, 40, 0.12) 100%),
        url("/assets/images/hero/hero-sweet-box.webp") center center / cover no-repeat;
    will-change: background-position;
}

.hero__content {
    position: relative;
    z-index: 5;
    width: min(680px, 100%);
}

.hero .eyebrow {
    color: #ffd7e8;
}

.hero p:not(.eyebrow) {
    max-width: 600px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    line-height: 1.6;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.hero__trust {
    display: inline-flex;
    max-width: 100%;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    font-size: 0.94rem;
}

/* Products */
.section--boxes {
    background: linear-gradient(180deg, #fff8ef 0%, #fff 100%);
}

.product-grid {
    width: min(1440px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(234, 221, 234, 0.92);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(194, 50, 114, 0.22);
    box-shadow: var(--shadow-md);
}

.badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 7px 12px;
    color: #49143d;
    background: linear-gradient(135deg, var(--brand-mint), #fff7c9);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: var(--radius-pill);
    font-size: 0.74rem;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(43, 19, 45, 0.1);
}

.product-card__image {
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    min-height: 260px;
    padding: 14px;
    background: linear-gradient(135deg, #fff1f7, #f0fff7);
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 420ms ease;
}

.product-card:hover .product-card__image img {
    transform: scale(1.02);
}

.product-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
}

.product-card__body h3 {
    font-size: 1.12rem;
    line-height: 1.18;
}

.product-card__body p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.94rem;
}

.product-card__pricing {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.25rem;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
}

.product-card__pieces {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    color: var(--text-dark);
}

.product-card__pieces strong {
    font-size: clamp(1rem, 1vw, 1.15rem);
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0;
}

.product-card__pieces span {
    color: var(--text-muted);
    font-size: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-card__price {
    color: var(--brand-purple);
    font-size: clamp(1rem, 1.4vw, 1.4rem);
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0;
    white-space: nowrap;
}

.product-card__extra {
    color: var(--brand-purple);
    font-size: 0.84rem;
    font-weight: 800;
}

.product-card .btn {
    margin-top: auto;
}

/* Sections */
.section--steps {
    background:
        radial-gradient(circle at 16% 8%, rgba(248, 191, 75, 0.18), transparent 22rem),
        linear-gradient(135deg, #f1fff7, #fff6fb);
}

.steps {
    width: min(1120px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.steps article,
.faq-item {
    padding: 26px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(234, 221, 234, 0.86);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.step-number {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-pink), var(--brand-purple));
    border-radius: 18px;
    box-shadow: 0 13px 28px rgba(102, 32, 94, 0.2);
    font-size: 1.25rem;
    font-weight: 900;
}

.steps p,
.story p,
.contact-band p,
.faq-list p,
.legal-content p,
.fallback-card p {
    color: var(--text-muted);
}

.story {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
    gap: clamp(26px, 6vw, 78px);
    align-items: center;
    padding: clamp(64px, 8vw, 110px) clamp(18px, 7vw, 96px);
    overflow: hidden;
    background:
        linear-gradient(135deg, #fff 0%, #fff8ef 100%);
}

.story::before,
.story::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.story::before {
    width: 180px;
    height: 180px;
    right: 5%;
    bottom: 10%;
    background: rgba(223, 245, 233, 0.75);
}

.story::after {
    width: 96px;
    height: 96px;
    left: 7%;
    top: 16%;
    background: rgba(248, 191, 75, 0.24);
}

.story > * {
    position: relative;
    z-index: 3;
}

.story > p {
    margin: 0;
    font-size: 1.14rem;
}

/* FAQ */
.faq-list {
    width: min(980px, 100%);
    margin: 0 auto;
    display: grid;
    gap: 14px;
}

.faq-item {
    padding: 0;
    overflow: hidden;
}

.faq-item h3 {
    margin: 0;
}

.faq-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 18px;
    padding: 22px 24px;
    border: 0;
    background: transparent;
    color: var(--text-dark);
    font: inherit;
    font-weight: 850;
    text-align: left;
    cursor: pointer;
}

.faq-trigger span {
    position: relative;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--surface-soft);
}

.faq-trigger span::before,
.faq-trigger span::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    background: var(--brand-purple);
    transform: translate(-50%, -50%);
    transition: transform var(--transition-fast);
}

.faq-trigger span::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-trigger[aria-expanded="true"] span::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.faq-panel {
    display: grid;
    grid-template-rows: 1fr;
    transition: grid-template-rows var(--transition-normal), opacity var(--transition-normal);
}

.js .faq-panel.is-collapsed {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
}

.faq-panel p {
    min-height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0 24px 22px;
}

/* Contact / Footer */
.contact-band {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0 var(--page-pad) clamp(42px, 6vw, 78px);
    padding: clamp(42px, 7vw, 74px);
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 86% 20%, rgba(248, 191, 75, 0.38), transparent 16rem),
        linear-gradient(135deg, var(--brand-purple), var(--brand-pink));
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.contact-band::before {
    content: "";
    position: absolute;
    inset: auto -50px -90px auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(223, 245, 233, 0.18);
}

.contact-band > * {
    position: relative;
    z-index: 1;
}

.contact-band .eyebrow,
.contact-band p {
    color: #ffe8f0;
}

.contact-band h2 {
    max-width: 620px;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 28px var(--page-pad);
    background: #fff;
    border-top: 1px solid var(--line);
}

.site-footer p {
    margin: 0;
    color: var(--text-muted);
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 20px;
    font-size: 0.94rem;
    font-weight: 700;
}

.site-footer a {
    text-decoration: none;
}

/* Forms */
.request-form {
    display: grid;
    gap: 13px;
}

.field,
.request-form label {
    display: grid;
    gap: 6px;
    color: var(--text-dark);
    font-weight: 800;
}

.request-form input,
.request-form textarea {
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    border: 1px solid #d9c4d7;
    border-radius: var(--radius-md);
    font: inherit;
    font-weight: 400;
    color: var(--text-dark);
    background: #fff;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.request-form textarea {
    resize: vertical;
}

.request-form input.is-invalid,
.request-form textarea.is-invalid {
    border-color: var(--danger);
    box-shadow: 0 0 0 4px rgba(180, 35, 74, 0.1);
}

.field-error {
    min-height: 17px;
    color: var(--danger);
    font-size: 0.78rem;
    font-weight: 700;
}

.privacy-check {
    grid-template-columns: 18px 1fr;
    align-items: start;
    font-size: 0.88rem;
    font-weight: 500;
}

.privacy-check input {
    width: auto;
    min-height: 18px;
    margin-top: 2px;
}

.privacy-check .field-error {
    grid-column: 2;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.form-error {
    padding: 11px 13px;
    color: var(--danger);
    background: #ffe9ef;
    border: 1px solid #f1b7c7;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 700;
}

.contact-switch {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    background: #fff4f8;
}

.contact-switch::before {
    content: "";
    position: absolute;
    inset: 5px auto 5px 5px;
    width: calc(50% - 5px);
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, var(--brand-pink), var(--brand-purple));
    box-shadow: 0 10px 20px rgba(102, 32, 94, 0.18);
    transition: transform var(--transition-normal);
}

.contact-switch[data-active="whatsapp"]::before {
    transform: translateX(100%);
}

.contact-switch__option {
    position: relative;
    z-index: 1;
    min-height: 40px;
    border: 0;
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--text-dark);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.contact-switch__option.is-active {
    color: #fff;
}

.contact-field {
    animation: contactFieldIn 180ms ease both;
}

/* Popup */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.modal.is-open {
    display: flex;
}

.modal__overlay {
    position: absolute;
    inset: 0;
    z-index: 1000;
    background: rgba(30, 12, 30, 0.58);
    backdrop-filter: blur(4px);
}

.modal__dialog {
    position: relative;
    z-index: 1001;
    width: min(92vw, 560px);
    max-height: 90vh;
    overflow-y: auto;
    padding: 22px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transform: translateY(12px) scale(0.98);
    opacity: 0;
    transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.modal.is-open .modal__dialog {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    font-size: 1.35rem;
    line-height: 1;
}

.modal-product {
    display: grid;
    grid-template-columns: 104px 1fr;
    gap: 16px;
    align-items: center;
    padding-right: 38px;
}

.modal-product img {
    width: 112px;
    max-height: 150px;
    aspect-ratio: 1;
    object-fit: contain;
    border-radius: 20px;
    background: #f7eef4;
    box-shadow: var(--shadow-sm);
}

.modal-product h3 {
    margin-top: 7px;
}

.modal-product__pricing {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.8rem;
    margin-top: 8px;
}

.modal-product__pieces {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
    color: var(--text-dark);
}

.modal-product__pieces strong,
.modal-product__price {
    font-weight: 800;
    line-height: 1;
}

.modal-product__pieces strong {
    font-size: 1.25rem;
}

.modal-product__pieces span {
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.modal-product__price {
    color: var(--brand-purple);
    font-size: 1.45rem;
    white-space: nowrap;
}

.modal-product__extra,
.modal-copy {
    margin: 8px 0 0;
    color: var(--text-muted);
}

.modal-copy {
    font-size: 0.95rem;
}

.modal__success {
    display: grid;
    gap: 12px;
    min-height: 240px;
    align-content: center;
    padding: 38px 18px;
    text-align: center;
}

/* Fallback / Legal */
.fallback-page,
.legal-page {
    min-height: 100vh;
    display: grid;
    place-items: start center;
    padding: clamp(24px, 6vw, 72px);
    background:
        radial-gradient(circle at 8% 12%, rgba(248, 191, 75, 0.18), transparent 24rem),
        linear-gradient(135deg, #fffaf6, #f5edf8);
}

.fallback-card,
.legal-content {
    width: min(760px, 100%);
    padding: clamp(24px, 4vw, 42px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.fallback-card--wide {
    width: min(860px, 100%);
}

.fallback-product-image {
    width: 160px;
    aspect-ratio: 1;
    object-fit: contain;
    margin-bottom: 18px;
    border-radius: 22px;
}

.request-form--fallback {
    margin-top: 22px;
}

.fallback-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    background: var(--surface-soft);
}

.fallback-methods label {
    display: inline-flex;
    grid-template-columns: none;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    background: #fff;
}

.fallback-methods input {
    width: auto;
    min-height: auto;
}

.legal-back {
    margin-bottom: 20px;
}

/* Cursor Follower */
.cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
    width: 22px;
    height: 22px;
    border: 2px solid rgba(194, 50, 114, 0.55);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(-50px, -50px, 0);
    transition: width var(--transition-fast), height var(--transition-fast), border-color var(--transition-fast), opacity var(--transition-fast), background var(--transition-fast);
}

.cursor-follower::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(102, 32, 94, 0.62);
    transform: translate(-50%, -50%);
}

.cursor-follower.is-visible {
    opacity: 1;
}

.cursor-follower.is-interactive {
    width: 44px;
    height: 44px;
    background: rgba(194, 50, 114, 0.08);
    border-color: rgba(102, 32, 94, 0.72);
}

/* Animations */
@keyframes heroIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes contactFieldIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.js .reveal-item,
.js .reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.js .product-grid .reveal-item:nth-child(2),
.js .steps .reveal-item:nth-child(2),
.js .faq-list .reveal-item:nth-child(2) {
    transition-delay: 70ms;
}

.js .product-grid .reveal-item:nth-child(3),
.js .steps .reveal-item:nth-child(3),
.js .faq-list .reveal-item:nth-child(3) {
    transition-delay: 140ms;
}

.js .product-grid .reveal-item:nth-child(4) {
    transition-delay: 210ms;
}

.js .product-grid .reveal-item:nth-child(5) {
    transition-delay: 280ms;
}

/* Responsive Rules */
@media (max-width: 1240px) {
    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .site-header,
    .site-footer,
    .contact-band {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-header {
        min-height: 68px;
    }

    .main-nav {
        flex: 1 1 auto;
        justify-content: center;
        gap: 2px;
    }

    .header-cta {
        width: 100%;
    }

    .main-nav a {
        padding: 8px 10px;
        font-size: 0.86rem;
    }

    .hero {
        height: auto;
        min-height: 640px;
        max-height: none;
        padding-top: 96px;
        background:
            linear-gradient(180deg, rgba(20, 10, 40, 0.74) 0%, rgba(20, 10, 40, 0.42) 58%, rgba(20, 10, 40, 0.14) 100%),
            url("/assets/images/hero/hero-sweet-box.webp") 58% center / cover no-repeat;
    }

    .product-grid,
    .steps,
    .story {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 560px) {
    h1 {
        font-size: clamp(2.15rem, 10vw, 3rem);
        line-height: 1.06;
    }

    .hero {
        min-height: 620px;
        padding-inline: 20px;
    }

    .hero__content {
        width: min(320px, 100%);
    }

    .hero p:not(.eyebrow) {
        font-size: 1rem;
    }

    .hero__actions,
    .contact-band .btn {
        width: 100%;
    }

    .hero__actions .btn,
    .contact-band .btn {
        width: 100%;
    }

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

    .modal {
        padding: 8px;
    }

    .modal__dialog {
        padding: 18px;
        border-radius: 22px;
    }

    .modal-product {
        grid-template-columns: 84px 1fr;
        gap: 12px;
        padding-right: 32px;
    }

    .modal-product img {
        width: 84px;
        border-radius: 17px;
    }

    .contact-band {
        margin-inline: 12px;
        border-radius: 24px;
    }
}

@media (max-width: 390px) {
    .product-card__pricing,
    .modal-product__pricing {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.6rem;
    }
}

/* Reduced Motion Rules */
@media (hover: none), (pointer: coarse) {
    .cursor-follower {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 1ms !important;
    }

    .cursor-follower {
        display: none;
    }

    .js .reveal-item {
        opacity: 1;
        transform: none;
    }

    .hero {
        will-change: auto;
    }
}
