/* ==========================================================================
   Aniversario 30 — site (layout: base, header, footer, modal)
   ========================================================================== */
:root {
    --a30-gold: #c4a06b;
    --a30-gold-hover: #d0ae7c;
    --a30-text: #e8e8e8;
    --a30-text-dark: #111111;
    --a30-bg: #000000;
    --a30-header-height: 56px;
    --a30-font-ui: "Poppins", "Helvetica Neue", Arial, sans-serif;
    --a30-side-pad: clamp(1.25rem, 5vw, 4.5rem);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--a30-bg);
    color: var(--a30-text);
    font-family: var(--a30-font-ui);
}

/* ==========================================================================
   Header
   ========================================================================== */
.a30-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    background: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border-bottom: 1px solid rgba(196, 160, 107, 0.18);
}

.a30-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    min-height: var(--a30-header-height);
    padding: 0.55rem var(--a30-side-pad);
    width: 100%;
}

.a30-header__logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    line-height: 0;
}

.a30-header__logo img {
    display: block;
    height: 26px;
    width: auto;
}

.a30-header__actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.a30-header__nav {
    align-items: center;
    gap: 2.9rem;
}

.a30-header__link {
    color: #b8b8b8;
    font-family: var(--a30-font-ui);
    font-size: 0.9375rem;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.a30-header__link:hover,
.a30-header__link:focus-visible {
    color: #ffffff;
    outline: none;
}

.a30-header__cta {
    appearance: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.35rem;
    border-radius: 5px;
    background: #c2a069;
    color: var(--a30-text-dark);
    font-family: var(--a30-font-ui);
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.2;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.15s ease;
}

.a30-header__cta:hover,
.a30-header__cta:focus-visible {
    background: #cdb27a;
    outline: none;
}

.a30-header__cta:active {
    transform: translateY(1px);
}

.a30-header__cta--mobile {
    width: 100%;
    margin-top: 0.5rem;
}

/* Burger */
.a30-header__burger {
    appearance: none;
    border: none;
    background: transparent;
    width: 44px;
    height: 44px;
    padding: 10px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
}

.a30-header__burger span {
    display: block;
    height: 2px;
    width: 100%;
    background: #ffffff;
    border-radius: 1px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.a30-header.is-open .a30-header__burger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.a30-header.is-open .a30-header__burger span:nth-child(2) {
    opacity: 0;
}

.a30-header.is-open .a30-header__burger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile menu */
.a30-header__mobile {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 0 var(--a30-side-pad) 1.15rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.a30-header.is-open .a30-header__mobile {
    display: flex;
}

.a30-header__mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 0.35rem;
}

.a30-header__mobile-nav .a30-header__link {
    font-size: 1rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.a30-footer {
    width: 100%;
    background: #0d0e11;
    border-top: 1px solid rgba(196, 160, 107, 0.55);
    color: #909092;
}

.a30-footer__main {
    width: 100%;
    max-width: 1060px;
    margin: 0 auto;
    padding: 2.75rem var(--a30-side-pad) 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2.25rem;
}

.a30-footer__brand {
    width: 100%;
}

.a30-footer__logo {
    display: block;
    width: min(82px, 30vw);
    height: auto;
}

.a30-footer__cols {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem 2.5rem;
}

.a30-footer__title {
    margin: 0 0 0.55rem;
    font-family: var(--a30-font-ui);
    font-size: 0.84rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1.3;
    text-transform: uppercase;
    color: #907c44;
}

.a30-footer__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.06rem;
}

.a30-footer__link,
.a30-footer__link:link,
.a30-footer__link:visited,
.a30-footer__link:active {
    display: inline-block;
    font-family: var(--a30-font-ui);
    font-size: 0.82rem;
    font-weight: 300;
    line-height: 1.2;
    color: #909092;
    text-decoration: none;
    transition: color 0.2s ease;
}

.a30-footer__link:hover,
.a30-footer__link:focus-visible {
    color: #cfcfcf;
    outline: none;
}

.a30-footer__social {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.65rem;
}

.a30-footer__social-link,
.a30-footer__social-link:link,
.a30-footer__social-link:visited,
.a30-footer__social-link:active {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 1.35rem;
    height: 1.35rem;
    color: #ffffff;
    font-size: 1.05rem;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.a30-footer__social-link:hover,
.a30-footer__social-link:focus-visible {
    color: #ffffff;
    opacity: 0.75;
    outline: none;
}

.a30-footer__legal {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #0d0e11;
    padding: 1.1rem var(--a30-side-pad);
}

.a30-footer__copy {
    margin: 0;
    text-align: center;
    font-family: var(--a30-font-ui);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1.4;
    text-transform: none;
    color: #909092;
}

@media (min-width: 576px) {
    .a30-footer__cols {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .a30-footer__main {
        padding: 3.25rem var(--a30-side-pad) 2.85rem;
        gap: 2.5rem;
    }

    .a30-footer__cols {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.5rem 3rem;
    }

    .a30-footer__logo {
        width: 88px;
    }
}

/* ==========================================================================
   Modal boleto
   ========================================================================== */
.a30-modal-boleto__dialog {
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

.a30-modal-boleto {
    background: linear-gradient(to bottom right, #47391f, #14110c);
    color: #ffffff;
    border: 1px solid #8e734a;
    border-radius: 12px;
    box-shadow: 0 0 0 1px rgba(142, 115, 74, 0.2), 0 12px 40px rgba(0, 0, 0, 0.55);
    overflow: hidden;
}

.a30-modal-boleto__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.35rem 1rem;
    border-bottom: 1px solid #8e734a;
}

.a30-modal-boleto__title {
    margin: 0;
    font-family: var(--a30-font-ui);
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.25;
    color: #ffffff;
}

.a30-modal-boleto__close {
    appearance: none;
    border: none;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    font-size: 1.75rem;
    line-height: 1;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.a30-modal-boleto__close:hover,
.a30-modal-boleto__close:focus-visible {
    opacity: 1;
    outline: none;
}

.a30-modal-boleto__form {
    margin: 0;
}

.a30-modal-boleto__body {
    padding: 1.35rem 1.35rem 1.15rem;
}

.a30-modal-boleto__label {
    display: block;
    margin: 0 0 0.55rem;
    font-family: var(--a30-font-ui);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
    color: #ffffff;
}

.a30-modal-boleto__help {
    margin: 0 0 1.15rem;
    font-family: var(--a30-font-ui);
    font-size: 0.86rem;
    font-weight: 300;
    line-height: 1.45;
    color: #d6d5d1;
}

.a30-modal-boleto__input {
    display: block;
    width: 100%;
    height: 46px;
    padding: 0.65rem 0.9rem;
    border: 1px solid #8e734a;
    border-radius: 6px;
    background: #1a150e;
    color: #ffffff;
    font-family: var(--a30-font-ui);
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.2;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.a30-modal-boleto__input::placeholder {
    color: #8a8074;
    opacity: 1;
}

.a30-modal-boleto__input:focus {
    border-color: #b49c53;
    box-shadow: 0 0 0 1px rgba(180, 156, 83, 0.35);
}

.a30-modal-boleto__input.is-invalid {
    border-color: #c45b5b;
}

.a30-modal-boleto__error {
    margin: 0.65rem 0 0;
    font-family: var(--a30-font-ui);
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.4;
    color: #e8c4c4;
}

.a30-modal-boleto__footer {
    padding: 0 1.35rem 1.35rem;
}

.a30-modal-boleto__submit {
    appearance: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 0;
    padding: 0.62rem 1.25rem;
    border-radius: 8px;
    background: #5a4a31;
    color: #1b160f;
    font-family: var(--a30-font-ui);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.2;
    transition: background 0.2s ease, transform 0.15s ease;
}

.a30-modal-boleto__submit:hover,
.a30-modal-boleto__submit:focus-visible {
    background: #6b593c;
    outline: none;
}

.a30-modal-boleto__submit:active {
    transform: translateY(1px);
}

body.a30-is-loading {
    overflow: hidden;
}

.a30-page-loading {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    cursor: wait;
}

.a30-page-loading[hidden] {
    display: none;
}

.a30-page-loading__spinner {
    width: 2.4rem;
    height: 2.4rem;
    border: 3px solid rgba(194, 160, 105, 0.25);
    border-top-color: #c2a069;
    border-radius: 50%;
    animation: a30-boleto-spin 0.7s linear infinite;
}

@keyframes a30-boleto-spin {
    to {
        transform: rotate(360deg);
    }
}

.a30-modal-boleto__result {
    padding: 1.35rem 1.35rem 1.55rem;
}

.a30-modal-boleto__result-title {
    margin: 0 0 0.55rem;
    font-family: var(--a30-font-ui);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
    color: #ffffff;
}

.a30-modal-boleto__result-help {
    margin: 0 0 1.15rem;
    font-family: var(--a30-font-ui);
    font-size: 0.86rem;
    font-weight: 300;
    line-height: 1.45;
    color: #d6d5d1;
}

.a30-modal-boleto__result-title--lg {
    font-size: 1.2rem;
}

.a30-modal-boleto__result-help--last {
    margin-bottom: 0;
}

.a30-modal-boleto__card {
    padding: 1.75rem 1.25rem 1.55rem;
    border: 1px solid #8e734a;
    border-radius: 10px;
    text-align: center;
}

.a30-modal-boleto__card-name {
    margin: 0 0 0.35rem;
    font-family: var(--a30-font-ui);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.35;
    color: #ffffff;
}

.a30-modal-boleto__card-ein {
    margin: 0;
    font-family: var(--a30-font-ui);
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.35;
    color: #ffffff;
}

@media (min-width: 992px) {
    .a30-header__inner {
        padding: 0.6rem var(--a30-side-pad);
    }

    .a30-header__logo img {
        height: 30px;
    }

    .a30-header__actions {
        gap: 2.5rem;
    }

    .a30-header__nav {
        gap: 3.1rem;
    }

    .a30-header__mobile {
        display: none !important;
    }
}
