:root {
    color-scheme: dark;
    --gold: #d4af5f;
    --gold-soft: #f3d893;
    --forest: #07130f;
    --forest-soft: #113225;
    --line: rgba(255, 255, 255, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 18%, rgba(212, 175, 95, 0.12), transparent 22%),
        radial-gradient(circle at 85% 12%, rgba(29, 99, 70, 0.14), transparent 25%),
        radial-gradient(circle at 60% 88%, rgba(212, 175, 95, 0.1), transparent 20%);
    opacity: 0.95;
    z-index: -2;
}

.site-header.is-scrolled > div > div {
    border-color: rgba(212, 175, 95, 0.2);
    background: rgba(7, 19, 15, 0.92);
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    border-radius: 999px;
    padding: 0.95rem 1.4rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.btn-primary {
    color: #10100b;
    background: linear-gradient(135deg, var(--gold-soft), var(--gold));
    box-shadow: 0 18px 45px rgba(212, 175, 95, 0.22);
}

.btn-secondary {
    border: 1px solid rgba(212, 175, 95, 0.28);
    background: rgba(255, 255, 255, 0.05);
    color: #f6f1e6;
}

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

.glass-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.04));
    border: 1px solid var(--line);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(18px);
}

.section-shell {
    position: relative;
    overflow: hidden;
}

.section-shell::after {
    content: '';
    position: absolute;
    inset: auto -10% -45% auto;
    width: 20rem;
    height: 20rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(212, 175, 95, 0.16), transparent 65%);
    filter: blur(12px);
    pointer-events: none;
}

.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.product-card,
.cert-card,
.testimonial-card {
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover,
.cert-card:hover,
.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 95, 0.28);
    box-shadow: 0 0 0 1px rgba(212, 175, 95, 0.16), 0 26px 70px rgba(0, 0, 0, 0.42);
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.75;
}

.floating-actions {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 60;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.floating-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 9rem;
    border-radius: 999px;
    padding: 0.85rem 1rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.32);
    transition: transform 0.25s ease;
}

.floating-action:hover {
    transform: translateY(-3px) scale(1.02);
}

.floating-action.whatsapp {
    color: #082011;
    background: linear-gradient(135deg, #a6f5b8, #33d16c);
    animation: pulse-ring 2.4s infinite;
}

.floating-action.call {
    color: #111007;
    background: linear-gradient(135deg, var(--gold-soft), var(--gold));
}

@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(51, 209, 108, 0.28), 0 22px 50px rgba(0, 0, 0, 0.32); }
    70% { box-shadow: 0 0 0 18px rgba(51, 209, 108, 0), 0 22px 50px rgba(0, 0, 0, 0.32); }
    100% { box-shadow: 0 0 0 0 rgba(51, 209, 108, 0), 0 22px 50px rgba(0, 0, 0, 0.32); }
}

.badge-chip {
    border: 1px solid rgba(212, 175, 95, 0.18);
    background: rgba(255, 255, 255, 0.05);
}

.faq-item[data-open='true'] .faq-answer {
    grid-template-rows: 1fr;
    opacity: 1;
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0.75;
    transition: grid-template-rows 0.3s ease, opacity 0.3s ease;
}

.faq-answer > div {
    overflow: hidden;
}

.gallery-thumb.is-active {
    border-color: rgba(212, 175, 95, 0.55);
    box-shadow: 0 0 0 1px rgba(212, 175, 95, 0.2);
}

.hero-visual-ring {
    position: absolute;
    inset: 50% auto auto 50%;
    width: 28rem;
    height: 28rem;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 95, 0.14);
    background: radial-gradient(circle, rgba(212, 175, 95, 0.1), transparent 60%);
    filter: blur(1px);
}

@media (max-width: 767px) {
    .floating-action {
        min-width: auto;
        padding-inline: 1rem;
    }
}
