/* Explain: Layout utilities and structural styling for the website's layout. */
/* ===== Structure ===== */
.container-app {
    width: 100%;
    max-width: 72rem;
    margin-inline: auto;
    padding-inline: 1rem;
}

.section-pad {
    padding-block: 4rem;
}

.surface-band {
    background: var(--surface-color);
}

.dark-band {
    background: var(--surface-dark);
    color: #fff;
}

@media (min-width: 768px) {
    .section-pad {
        padding-block: 5.5rem;
    }
}

/* ===== Header ===== */
.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.85rem;
    background: var(--primary-color);
    color: #fff;
    font-size: 1.1rem;
    flex: 0 0 auto;
}

.nav-link {
    position: relative;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.35rem 0;
    transition: color 0.25s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.25s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

#siteHeader {
    transition: box-shadow 0.3s ease;
}

#siteHeader.is-scrolled {
    box-shadow: 0 14px 30px -26px rgba(11, 31, 23, 0.9);
}

.menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    background: #fff;
    color: var(--text-color);
    font-size: 1.05rem;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    border-top: 1px solid var(--border-color);
    background: #fff;
    padding: 0.5rem 1rem 1rem;
}

.mobile-menu.is-open {
    display: block;
}

.mobile-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 0.25rem;
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
    color: var(--text-color);
}

.mobile-link:last-of-type {
    border-bottom: none;
}

/* ===== Hero ===== */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(8, 26, 19, 0.94) 0%, rgba(8, 26, 19, 0.82) 45%, rgba(8, 26, 19, 0.55) 100%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-md);
    padding: 0.9rem 1rem;
}

.hero-stat i {
    color: var(--accent-color);
}

.hero-stat-value {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: #fff;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
}

/* ===== Dark band widgets ===== */
.dark-feature {
    height: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.25rem;
}

.dark-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 0.9rem;
    background: rgba(217, 155, 43, 0.18);
    color: var(--accent-color);
    font-size: 1.2rem;
}

.dark-feature h3 {
    margin-top: 1rem;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
}

.dark-feature p {
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
    line-height: 1.85;
}

/* ===== Footer ===== */
.site-footer {
    background: var(--surface-dark);
    color: rgba(255, 255, 255, 0.75);
}

.footer-brand {
    color: #fff;
    font-weight: 800;
    font-size: 1.15rem;
}

.footer-title {
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
}

.footer-link {
    display: block;
    padding: 0.3rem 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
    transition: color 0.25s ease;
}

.footer-link:hover {
    color: var(--accent-color);
}

/* ===== Floating actions ===== */
.float-actions {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    z-index: 70;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.float-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 999px;
    color: #fff;
    font-size: 1.4rem;
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease;
}

.float-btn:hover {
    transform: translateY(-3px);
}

.float-btn.wa {
    background: var(--whatsapp-color);
}

.float-btn.call {
    background: var(--primary-color);
}