/* Explain: App-specific component classes (buttons, cards, forms, calendar). */
/* ---------- Buttons ---------- */
.aa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.9rem 1.8rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}

.aa-btn-primary {
    background: linear-gradient(135deg, #cd8b95, var(--primary-color) 55%, #a3565f);
    color: #ffffff;
    box-shadow: 0 18px 34px -18px rgba(183, 110, 121, 0.85);
}

.aa-btn-primary:hover {
    background: linear-gradient(135deg, #d99aa4, var(--primary-hover) 55%, #96464e);
    transform: translateY(-2px);
}

.aa-btn-gold {
    background: linear-gradient(135deg, #e6d2a6, var(--accent-color) 55%, #a98748);
    color: #3a2c14;
    box-shadow: 0 18px 34px -18px rgba(194, 160, 107, 0.9);
}

.aa-btn-gold:hover {
    transform: translateY(-2px);
}

.aa-btn-outline {
    border-color: var(--border-color);
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.55);
}

.aa-btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.aa-btn-wa {
    border-color: rgba(37, 211, 102, 0.45);
    color: #128c4b;
    background: rgba(37, 211, 102, 0.08);
}

.aa-btn-wa:hover {
    border-color: #25d366;
    background: rgba(37, 211, 102, 0.16);
    transform: translateY(-2px);
}

.aa-btn:disabled {
    opacity: 0.6;
    cursor: wait;
    transform: none;
}

.aa-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: var(--surface-color);
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.25s ease;
}

.aa-icon-btn:hover {
    border-color: var(--primary-color);
    background: var(--surface-soft);
}

/* ---------- Typography helpers ---------- */
.aa-heading {
    font-family: var(--font-heading);
    font-weight: 600;
}

.aa-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--primary-color);
    font-weight: 500;
}

.aa-muted {
    color: var(--text-muted);
}

.aa-gold-text {
    color: var(--accent-color);
}

.aa-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.aa-text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-color);
    transition: gap 0.25s ease;
}

.aa-text-link:hover {
    gap: 0.75rem;
}

/* ---------- Cards + badges ---------- */
.aa-card {
    background: var(--surface-color);
    border: 1px solid var(--border-soft);
    border-radius: 1.3rem;
    padding: 1.5rem;
    transition: all 0.35s ease;
}

.aa-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-color);
    box-shadow: 0 34px 60px -44px rgba(51, 39, 42, 0.7);
}

.aa-service-card {
    padding: 0;
    overflow: hidden;
}

.aa-badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    flex: none;
    border-radius: 999px;
    background: var(--surface-soft);
    border: 1px solid var(--border-soft);
    color: var(--primary-color);
    font-size: 1.05rem;
}

.aa-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    flex: none;
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    background: radial-gradient(circle at 30% 25%, rgba(194, 160, 107, 0.4), rgba(183, 110, 121, 0.14));
    color: var(--primary-color);
}

.aa-price-request {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(194, 160, 107, 0.16);
    border: 1px solid rgba(194, 160, 107, 0.35);
    color: #9c7c3f;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* ---------- Hero + quote bands ---------- */
.aa-hero-scrim {
    background: linear-gradient(100deg, rgba(251, 247, 243, 0.97) 0%, rgba(251, 247, 243, 0.9) 38%, rgba(251, 247, 243, 0.4) 74%, rgba(251, 247, 243, 0.08) 100%);
}

.aa-quote-scrim {
    background: linear-gradient(180deg, rgba(43, 32, 34, 0.62), rgba(43, 32, 34, 0.74));
}

@media (max-width: 767px) {
    .aa-hero-scrim {
        background: linear-gradient(180deg, rgba(251, 247, 243, 0.96) 0%, rgba(251, 247, 243, 0.9) 55%, rgba(251, 247, 243, 0.72) 100%);
    }
}

/* ---------- Gallery ---------- */
.aa-gallery {
    column-count: 2;
    column-gap: 1rem;
}

@media (min-width: 768px) {
    .aa-gallery { column-count: 3; }
}

@media (min-width: 1024px) {
    .aa-gallery { column-count: 4; }
}

.aa-gallery-item {
    position: relative;
    break-inside: avoid;
    margin-bottom: 1rem;
    border-radius: 1.1rem;
    overflow: hidden;
    border: 1px solid var(--border-soft);
    cursor: pointer;
}

.aa-gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.aa-gallery-item:hover img {
    transform: scale(1.06);
}

.aa-gallery-item.is-hidden {
    display: none;
}

.aa-gallery-cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.6rem 1rem 0.9rem;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #ffffff;
    background: linear-gradient(180deg, transparent, rgba(43, 32, 34, 0.75));
    opacity: 0;
    transition: opacity 0.35s ease;
}

.aa-gallery-item:hover .aa-gallery-cap {
    opacity: 1;
}

@media (hover: none) {
    .aa-gallery-cap { opacity: 1; }
}

.aa-filter-btn {
    min-height: 44px;
    padding: 0.5rem 1.2rem;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
}

.aa-filter-btn:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.aa-filter-btn.is-active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

/* ---------- Lightbox ---------- */
.aa-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(43, 32, 34, 0.85);
    backdrop-filter: blur(6px);
}

.aa-lightbox img {
    max-width: min(92vw, 58rem);
    max-height: 82vh;
    width: auto;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.75);
}

.aa-lb-btn {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #ffffff;
    cursor: pointer;
    transition: background 0.25s ease;
}

.aa-lb-btn:hover {
    background: rgba(255, 255, 255, 0.28);
}

.aa-lb-close { top: 1.25rem; right: 1.25rem; }
.aa-lb-prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.aa-lb-next { right: 1.25rem; top: 50%; transform: translateY(-50%); }

/* ---------- Forms ---------- */
.aa-field label {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.aa-input,
.aa-select,
.aa-textarea {
    width: 100%;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 0.9rem;
    padding: 0.85rem 1rem;
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.aa-textarea {
    min-height: 7rem;
    resize: vertical;
}

.aa-input::placeholder,
.aa-textarea::placeholder {
    color: rgba(138, 122, 118, 0.6);
}

.aa-input:focus,
.aa-select:focus,
.aa-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(183, 110, 121, 0.16);
}

.aa-select option {
    background: #ffffff;
    color: var(--text-color);
}

/* ---------- Notes ---------- */
.aa-note {
    margin-top: 1.25rem;
    padding: 0.9rem 1.1rem;
    border-radius: 0.9rem;
    border: 1px solid transparent;
    font-size: 0.92rem;
}

.aa-note-success {
    background: rgba(37, 140, 80, 0.1);
    border-color: rgba(37, 140, 80, 0.32);
    color: #1c6b40;
}

.aa-note-error {
    background: rgba(183, 110, 121, 0.12);
    border-color: rgba(183, 110, 121, 0.4);
    color: #973f4c;
}

/* ---------- Social + floating WhatsApp ---------- */
.aa-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: var(--surface-color);
    color: var(--text-muted);
    transition: all 0.25s ease;
}

.aa-social:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

.aa-float-wa {
    position: fixed;
    right: 1.1rem;
    bottom: 1.1rem;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 999px;
    background: #25d366;
    color: #ffffff;
    font-size: 1.7rem;
    box-shadow: 0 18px 34px -12px rgba(37, 211, 102, 0.75);
    transition: transform 0.25s ease;
}

.aa-float-wa:hover {
    transform: translateY(-3px) scale(1.05);
}