:root {
    --bg: #f7f1e7;
    --surface: #fffdf8;
    --surface-soft: #f0e2c8;
    --ink: #1e2c35;
    --muted: #5a6772;
    --brand: #173444;
    --accent: #b86b29;
    --border: rgba(23, 52, 68, 0.12);
    --shadow: 0 18px 48px rgba(23, 52, 68, 0.08);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--ink);
    line-height: 1.6;
    background:
        radial-gradient(circle at top left, rgba(184, 107, 41, 0.14), transparent 24%),
        radial-gradient(circle at top right, rgba(23, 52, 68, 0.12), transparent 22%),
        var(--bg);
}

a { color: inherit; text-decoration: none; }
.top-strip {
    background: linear-gradient(90deg, #102531, #1f3e4f);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.88rem;
}

.top-strip .container {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 0;
    flex-wrap: wrap;
}

.top-strip a {
    color: #fff7ea;
}

.container { width: min(100% - 2rem, var(--container)); margin: 0 auto; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(14px);
    background: rgba(247, 241, 231, 0.95);
    border-bottom: 1px solid var(--border);
}

.nav-wrap, .hero-grid, .page-hero-grid, .grid-2, .grid-3, .grid-4, .card-grid, .stats-grid, .tool-grid, .download-grid, .team-grid, .blog-grid, .forum-grid, .admin-grid, .contact-grid, .footer-grid, .band-grid {
    display: grid;
    gap: 1.25rem;
}

.nav-wrap {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 1rem 0;
}

.brand { display: flex; gap: 0.85rem; align-items: center; }
.brand-logo {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    object-fit: cover;
    border: 1px solid rgba(23, 52, 68, 0.12);
    background: #fff;
}

.brand h1, .brand p { margin: 0; }
.brand h1 { font-size: 1rem; line-height: 1.1; }
.brand p { font-size: 0.82rem; color: var(--muted); }

.nav-links, .hero-actions, .pill-row, .quick-links, .tag-row {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.nav-links { justify-content: center; }
.nav-dropdown { position: relative; }
.nav-dropbtn {
    background: transparent;
    color: var(--ink);
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    font-size: 0.94rem;
    font-weight: 600;
}

.nav-dropbtn:hover,
.nav-dropdown:hover .nav-dropbtn {
    background: rgba(23, 52, 68, 0.08);
    color: var(--brand);
}

.mega-menu {
    position: absolute;
    left: 0;
    top: calc(100% + 0.5rem);
    min-width: 820px;
    display: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding: 1.1rem;
    border-radius: 24px;
    border: 1px solid var(--border);
    background: rgba(255, 253, 248, 0.98);
    box-shadow: var(--shadow);
}

.nav-dropdown:hover .mega-menu,
.nav-dropdown:focus-within .mega-menu {
    display: grid;
}

.mega-group {
    background: rgba(23, 52, 68, 0.04);
    border-radius: 18px;
    padding: 1rem;
}

.mega-group h4 {
    margin: 0 0 0.75rem;
    color: var(--brand);
}

.mega-group a:hover {
    color: var(--accent);
}
.nav-links a {
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    font-size: 0.94rem;
}

.nav-links a.active, .nav-links a:hover { background: rgba(23, 52, 68, 0.08); }
.nav-cta { display: flex; gap: 0.75rem; }
.lang-toggle {
    background: rgba(23, 52, 68, 0.08);
    color: var(--brand);
}

.btn, button {
    border: 0;
    border-radius: 999px;
    padding: 0.88rem 1.15rem;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.btn-primary, button { background: var(--brand); color: #fff; }
.btn-secondary { background: transparent; color: var(--brand); border: 1px solid rgba(23, 52, 68, 0.2); }
.btn-accent { background: var(--accent); color: #fff; }

.hero, .page-hero { padding: 5rem 0 4rem; }
.hero-grid, .page-hero-grid, .grid-2, .contact-grid, .download-grid, .admin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3, .card-grid, .stats-grid, .tool-grid, .team-grid, .blog-grid, .forum-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4, .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.band-grid { grid-template-columns: 1.2fr 0.8fr; align-items: center; }

.eyebrow, .pill, .badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 999px;
}

.eyebrow {
    background: rgba(184, 107, 41, 0.14);
    color: var(--accent);
    padding: 0.45rem 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.85rem;
    font-weight: 700;
}

.hero h2, .page-hero h2, .section-head h2 {
    font-size: clamp(2rem, 4vw, 4.1rem);
    line-height: 1.02;
    margin: 1rem 0;
}

.hero p, .page-hero p, .section-head p, .card p, .panel p, .tool-card p, .post-card p, .faq-item p, .site-footer p, .site-footer li, label, .muted {
    color: var(--muted);
}

.hero-panel, .card, .panel, .tool-card, .post-card, .faq-item, .stat-card, .split-box, .table-wrap {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 1.45rem;
    box-shadow: var(--shadow);
}

.hero-panel { background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(240,226,200,0.92)); }
.advisor-bar,
.logo-strip,
.catalog-grid,
.process-grid,
.faq-grid {
    display: grid;
    gap: 1rem;
}

.advisor-bar {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 1.1rem 1.25rem;
    box-shadow: var(--shadow);
    margin-top: -2rem;
    position: relative;
    z-index: 3;
}

.advisor-bar strong {
    color: var(--brand);
    display: block;
    margin-bottom: 0.3rem;
}

.logo-strip {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.logo-chip {
    background: rgba(255,255,255,0.72);
    border: 1px dashed rgba(23, 52, 68, 0.16);
    border-radius: 18px;
    padding: 1rem;
    text-align: center;
    color: var(--muted);
    font-weight: 700;
}

.catalog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.catalog-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 26px;
    padding: 1.35rem;
    box-shadow: var(--shadow);
}

.catalog-card h3 {
    margin-top: 0.6rem;
    margin-bottom: 0.55rem;
}

.catalog-card .icon {
    margin-bottom: 0;
}

.process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-step {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 26px;
    padding: 1.35rem;
    box-shadow: var(--shadow);
}

.process-step .number {
    font-size: 1.3rem;
}

.faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.hero-visual {
    display: grid;
    gap: 1rem;
}

.hero-highlight {
    padding: 1.15rem;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(23, 52, 68, 0.08), rgba(184, 107, 41, 0.12));
    border: 1px solid rgba(23, 52, 68, 0.08);
}

.hero-highlight strong {
    display: block;
    color: var(--brand);
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
}

.section { padding: 1rem 0 4.5rem; }
.section-head { max-width: 760px; margin-bottom: 1.5rem; }
.icon {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    display: grid;
    place-items: center;
    background: rgba(23, 52, 68, 0.08);
    color: var(--brand);
    font-weight: 700;
    margin-bottom: 1rem;
}

.number { font-size: 2.2rem; font-weight: 800; color: var(--brand); }
.info-stack { display: grid; gap: 0.9rem; }
.info-item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px dashed rgba(23, 52, 68, 0.15);
}
.info-item:last-child { border-bottom: 0; padding-bottom: 0; }

.split-box {
    background: linear-gradient(135deg, var(--brand), #244f64);
    color: #fff;
}

.split-box p, .split-box li { color: rgba(255,255,255,0.82); }

ul.clean, .check-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.55rem;
}

ul.clean li::before, .check-list li::before {
    content: "•";
    color: var(--accent);
    padding-right: 0.55rem;
}

input, select, textarea {
    width: 100%;
    border: 1px solid rgba(23, 52, 68, 0.16);
    border-radius: 16px;
    padding: 0.9rem 1rem;
    font: inherit;
    background: #fff;
}

textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus {
    outline: 2px solid rgba(184, 107, 41, 0.2);
    border-color: var(--accent);
}

.stack-form { display: grid; gap: 0.9rem; }
.pill {
    background: rgba(23, 52, 68, 0.08);
    padding: 0.45rem 0.75rem;
    font-size: 0.92rem;
}

.badge {
    padding: 0.35rem 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.74rem;
    font-weight: 700;
    background: rgba(23, 52, 68, 0.08);
}

.badge.pending { background: rgba(184, 107, 41, 0.16); color: #8d4f16; }
.badge.approved, .badge.published, .badge.active { background: rgba(20, 143, 78, 0.16); color: #12633b; }
.badge.rejected { background: rgba(172, 59, 35, 0.16); color: #8d311e; }

.result-box, .notice {
    border-radius: var(--radius-md);
    padding: 0.9rem 1rem;
}

.result-box {
    background: rgba(23, 52, 68, 0.06);
    border: 1px dashed rgba(23, 52, 68, 0.18);
}

.notice { background: rgba(184, 107, 41, 0.14); color: #7b4512; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 0.9rem 0.7rem; text-align: left; border-bottom: 1px solid rgba(23, 52, 68, 0.08); }
th { color: var(--brand); }

.site-footer {
    background: #13252f;
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.12);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.float-whatsapp {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 30;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #1fa855;
    color: #fff;
    padding: 0.95rem 1.1rem;
    border-radius: 999px;
    box-shadow: 0 16px 30px rgba(31, 168, 85, 0.28);
}

.cta-banner {
    background: linear-gradient(135deg, #173444, #b86b29);
    color: #fff;
    border-radius: 34px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.cta-banner p,
.cta-banner li {
    color: rgba(255,255,255,0.86);
}

.hidden { display: none !important; }

@media (max-width: 980px) {
    .nav-wrap, .hero-grid, .page-hero-grid, .grid-2, .grid-3, .grid-4, .card-grid, .stats-grid, .tool-grid, .download-grid, .team-grid, .blog-grid, .forum-grid, .admin-grid, .contact-grid, .footer-grid, .band-grid, .advisor-bar, .logo-strip, .catalog-grid, .process-grid, .faq-grid {
        grid-template-columns: 1fr;
    }

    .nav-links, .nav-cta { justify-content: flex-start; }
    .mega-menu {
        position: static;
        min-width: 100%;
        grid-template-columns: 1fr;
        display: grid;
        margin-top: 0.5rem;
    }
}

@media (max-width: 640px) {
    .site-header { position: static; }
    .hero, .page-hero { padding-top: 3.5rem; }
    .hero h2, .page-hero h2, .section-head h2 { font-size: 2rem; }
}
