:root {
    --brand: #0f766e;
    --brand-dark: #115e59;
    --ink: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --soft: #f0fdfa;
    --page: #f8fafc;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background: linear-gradient(180deg, var(--soft), var(--page));
    font-family: Tahoma, Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-shell {
    min-height: 100vh;
}

.site-nav,
.hero-section,
.section-block,
.site-footer {
    width: min(1120px, calc(100% - 32px));
    margin-inline: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    color: var(--white);
    background: var(--white);
    font-weight: 800;
    overflow: hidden;
    border: 1px solid var(--line);
}

.brand-mark img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    object-fit: contain;
}

.brand strong,
.brand small {
    display: block;
}

.brand small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--muted);
    font-weight: 700;
}

.nav-links a:hover {
    color: var(--brand);
}

.nav-cta,
.primary-button,
.secondary-button,
.whatsapp-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 10px;
    font-weight: 800;
}

.nav-cta,
.primary-button {
    color: var(--white) !important;
    background: var(--brand);
}

.secondary-button,
.whatsapp-link {
    color: var(--brand-dark);
    background: var(--white);
    border: 1px solid var(--line);
}

.hero-section {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    align-items: center;
    gap: 32px;
    padding: 54px 0 44px;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--brand);
    font-size: 14px;
    font-weight: 800;
}

.hero-content h1,
.section-heading h2 {
    margin: 0;
    color: var(--ink);
    font-weight: 900;
    line-height: 1.35;
}

.hero-content h1 {
    font-size: clamp(34px, 5vw, 58px);
}

.hero-copy {
    max-width: 620px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-panel,
.feature-card,
.pricing-card,
.split-section,
.site-footer {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--line);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}

.hero-panel {
    padding: 24px;
    border-radius: 26px;
}

.pass-preview {
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    border-radius: 22px;
    color: var(--white);
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
}

.pass-label {
    opacity: 0.8;
    font-size: 13px;
    font-weight: 700;
}

.pass-preview h2 {
    margin: 8px 0 0;
    font-size: 30px;
}

.gift-icon {
    display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    margin-inline-start: auto;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 34px;
}

.pass-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.pass-grid span {
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.16);
}

.pass-grid strong {
    display: block;
    font-size: 28px;
}

.pass-preview p {
    margin: 0;
    opacity: 0.9;
}

.section-block {
    padding: 42px 0;
}

.section-heading {
    margin-bottom: 22px;
}

.section-heading h2 {
    font-size: clamp(26px, 3vw, 38px);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.feature-card {
    min-height: 210px;
    padding: 20px;
    border-radius: 18px;
}

.feature-card span {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--brand);
    font-weight: 900;
}

.feature-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
}

.feature-card p,
.pricing-card p,
.steps-list span,
.site-footer p {
    color: var(--muted);
    line-height: 1.8;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    min-height: 310px;
    padding: 24px;
    border-radius: 22px;
}

.pricing-card.is-featured {
    border-color: rgba(15, 118, 110, 0.35);
    background: linear-gradient(180deg, #ffffff, #f0fdfa);
}

.pricing-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    color: var(--brand-dark);
    background: var(--soft);
    font-size: 13px;
    font-weight: 900;
}

.pricing-card h3 {
    margin: 16px 0 8px;
    font-size: 24px;
    font-weight: 900;
}

.pricing-card p {
    margin: 0;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.price-row strong {
    font-size: clamp(40px, 5vw, 56px);
    line-height: 1;
    font-weight: 900;
}

.price-row span,
.discount-note {
    color: var(--muted);
    font-weight: 800;
}

.discount-note {
    margin-top: -10px;
    font-size: 14px;
}

.pricing-button {
    width: 100%;
}

.split-section {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 24px;
    padding: 28px;
    border-radius: 24px;
}

.steps-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.steps-list li {
    padding: 16px;
    border-radius: 16px;
    background: var(--page);
    border: 1px solid var(--line);
}

.steps-list strong,
.steps-list span {
    display: block;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 42px;
    margin-bottom: 24px;
    padding: 22px;
    border-radius: 22px;
}

.site-footer p {
    margin: 6px 0 0;
}

.auth-page {
    padding-bottom: 48px;
}

.auth-layout {
    width: min(1120px, calc(100% - 32px));
    margin: 24px auto 0;
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
    gap: 28px;
    align-items: start;
}

.auth-intro,
.register-panel {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--line);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
    border-radius: 24px;
}

.auth-intro {
    padding: 28px;
    position: sticky;
    top: 24px;
}

.auth-intro h1 {
    margin: 0;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.35;
    font-weight: 900;
}

.auth-intro p {
    margin: 16px 0 0;
    color: var(--muted);
    line-height: 1.9;
    font-size: 17px;
}

.auth-benefits {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.auth-benefits span {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--page);
    color: var(--ink);
    font-weight: 700;
}

.auth-benefits span::before {
    content: "";
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    border-radius: 999px;
    background: var(--brand);
}

.register-panel {
    padding: 26px;
}

.form-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.form-heading img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
}

.form-heading h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 900;
}

.form-heading p {
    margin: 5px 0 0;
    color: var(--muted);
}

.success-alert {
    margin: 0 0 18px;
    padding: 14px 16px;
    border: 1px solid rgba(15, 118, 110, 0.25);
    border-radius: 14px;
    color: var(--brand-dark);
    background: var(--soft);
    font-weight: 800;
    line-height: 1.8;
}

.register-form {
    margin: 0;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.field-group {
    display: grid;
    gap: 7px;
}

.field-group label {
    color: var(--ink);
    font-weight: 800;
    font-size: 14px;
}

.field-group input {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0 13px;
    color: var(--ink);
    background: var(--white);
    outline: none;
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.field-group input:focus {
    border-color: rgba(15, 118, 110, 0.7);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.field-group input[type="file"] {
    padding: 11px 13px;
    height: auto;
}

.field-group small,
.form-note {
    color: var(--muted);
    line-height: 1.7;
}

.consent-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--page);
    color: var(--ink);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.8;
    cursor: pointer;
}

.consent-check input {
    width: 18px;
    height: 18px;
    margin-top: 4px;
    flex: 0 0 18px;
    accent-color: var(--brand);
}

.upload-field {
    margin-top: 14px;
}

.is-invalid {
    border-color: #dc2626 !important;
}

.field-error {
    color: #dc2626;
    font-size: 13px;
    font-weight: 700;
}

.submit-button {
    width: 100%;
    border: 0;
    margin-top: 18px;
    cursor: pointer;
}

.form-note {
    margin: 14px 0 0;
    font-size: 13px;
    text-align: center;
}

.form-note a {
    color: var(--brand-dark);
    font-weight: 800;
}

.join-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background: linear-gradient(180deg, var(--soft), var(--page));
}

.join-card {
    width: min(620px, 100%);
    padding: 30px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--line);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.10);
    text-align: center;
}

.join-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    color: var(--ink);
    font-weight: 900;
}

.join-brand img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    border-radius: 14px;
    border: 1px solid var(--line);
}

.join-card h1 {
    margin: 0;
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.35;
    font-weight: 900;
}

.join-copy {
    max-width: 520px;
    margin: 14px auto 0;
    color: var(--muted);
    line-height: 1.9;
    font-size: 17px;
}

.wallet-actions {
    display: grid;
    gap: 12px;
    margin-top: 26px;
}

.wallet-button {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    min-height: 72px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    text-align: start;
    transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.wallet-button:hover {
    transform: translateY(-2px);
    border-color: rgba(15, 118, 110, 0.45);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
}

.wallet-button.is-primary-wallet {
    border-color: rgba(15, 118, 110, 0.45);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
}

.wallet-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 14px;
    color: var(--white);
    background: var(--brand);
    font-size: 24px;
    font-weight: 900;
}

.google-wallet-button .wallet-icon {
    background: #1a73e8;
}

.wallet-button strong,
.wallet-button small {
    display: block;
}

.wallet-button small {
    margin-top: 3px;
    color: var(--muted);
}

.device-hint {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 14px;
}

@media (max-width: 860px) {
    .site-nav,
    .nav-links,
    .hero-section,
    .split-section,
    .site-footer {
        display: block;
    }

    .nav-links {
        margin-top: 18px;
    }

    .nav-links a {
        display: inline-flex;
        margin: 0 0 10px 10px;
    }

    .hero-section {
        padding-top: 26px;
    }

    .hero-panel {
        margin-top: 26px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .site-footer .whatsapp-link {
        margin-top: 16px;
        width: 100%;
    }

    .auth-layout {
        display: block;
    }

    .auth-intro {
        position: static;
        margin-bottom: 18px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .join-card {
        padding: 22px;
    }
}
