/* ==========================================================================
   RICPAB VENTURES - STYLESHEET
   Rules enforced:
   - Body Font: Helvetica | Header Font: Poppins
   - Pure Black (#000000) & Pure White (#FFFFFF) ONLY (no off-blacks/off-whites)
   - Brand Accents: Deep Emerald (#0B4F3B), Warm Gold (#C8962E), Soft Mint Tint (#E8F3EF)
   - Border Radius: 10px and 15px strictly
   - Font Sizes: rem exclusively
   - Mobile Cards: Strictly 2 cards per row on mobile
   ========================================================================== */

:root {
    --black: #000000;
    --white: #FFFFFF;
    --primary: #0B4F3B;
    --primary-dark: #073829;
    --gold: #C8962E;
    --surface-tint: #E8F3EF;
    --radius-sm: 10px;
    --radius-lg: 15px;
    --font-header: 'Poppins', sans-serif;
    --font-body: 'Helvetica', 'Helvetica Neue', Arial, sans-serif;
}

/* RESET & BASE */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, .brand-name {
    font-family: var(--font-header);
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    font-family: var(--font-header);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-gold {
    background-color: var(--gold);
    color: var(--black);
}

.btn-gold:hover {
    background-color: var(--white);
    color: var(--black);
}

.btn-outline-white {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--black);
}

/* HEADER & NAVIGATION */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--white);
    border-bottom: 1px solid var(--surface-tint);
    padding: 0.75rem 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--primary);
    color: var(--white);
    font-family: var(--font-header);
    font-weight: 800;
    font-size: 1.25rem;
    border-radius: var(--radius-sm);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--black);
    letter-spacing: 0.03em;
    line-height: 1;
}

.brand-sub {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.15em;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-wa-btn span {
    display: none;
}

.menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--surface-tint);
    color: var(--black);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    cursor: pointer;
}

/* Mobile Nav Drawer */
.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 1rem;
    right: 1rem;
    background-color: var(--white);
    border: 2px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.main-nav.active {
    display: block;
}

.nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.nav-link {
    font-family: var(--font-header);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--black);
    display: block;
    padding: 0.25rem 0;
}

.nav-link:hover {
    color: var(--primary);
}

.mobile-only-cta .btn {
    width: 100%;
    margin-top: 0.5rem;
}

/* HERO SECTION */
.hero {
    background-color: var(--primary);
    color: var(--white);
    padding: 3.25rem 0 3.75rem;
}

.badge {
    display: inline-block;
    background-color: var(--primary-dark);
    color: var(--gold);
    font-family: var(--font-header);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
}

.hero-lead {
    font-size: 0.95rem;
    color: var(--white);
    margin-bottom: 1.75rem;
    max-width: 650px;
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* SECTIONS */
.section {
    padding: 3rem 0;
}

.section-tinted {
    background-color: var(--surface-tint);
}

.section-header {
    margin-bottom: 1.75rem;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-header);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 0.35rem;
}

.section-header h2,
.about-text h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 0.9rem;
    color: var(--black);
}

/* ABOUT BOX */
.about-box {
    background-color: var(--white);
    border: 2px solid var(--surface-tint);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.about-text p {
    font-size: 0.95rem;
    color: var(--black);
    margin-bottom: 1.25rem;
}

/* ==========================================================================
   CARDS GRID — STRICTLY 2 CARDS PER ROW ON MOBILE
   ========================================================================== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.division-card,
.pillar-card {
    background-color: var(--white);
    border: 1.5px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-icon {
    width: 2.35rem;
    height: 2.35rem;
    background-color: var(--surface-tint);
    color: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
}

.division-card h3,
.pillar-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.45rem;
}

.division-card p,
.pillar-card p {
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--black);
    margin-bottom: 0.85rem;
}

.card-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.5rem 0.65rem;
    background-color: var(--primary);
    color: var(--white);
    font-family: var(--font-header);
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    margin-top: auto;
}

.card-link:hover {
    background-color: var(--gold);
    color: var(--black);
}

.pillar-num {
    display: inline-block;
    font-family: var(--font-header);
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--gold);
    background-color: var(--primary);
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.65rem;
    align-self: flex-start;
}

/* CTA BANNER */
.cta-banner {
    background-color: var(--primary);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem 1.25rem;
    text-align: center;
}

.cta-banner h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.6rem;
}

.cta-banner p {
    font-size: 0.9rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.contact-pills {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* FOOTER */
.site-footer {
    background-color: var(--black);
    color: var(--white);
    padding-top: 2.75rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2.25rem;
}

.footer-brand .brand-name {
    color: var(--white);
}

.footer-brand .brand-sub {
    color: var(--gold);
}

.footer-desc {
    font-size: 0.875rem;
    color: var(--white);
    margin-top: 0.85rem;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.85rem;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.875rem;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--gold);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.footer-contact i {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid var(--primary);
    padding: 1.15rem 0;
    text-align: center;
    font-size: 0.8rem;
    color: var(--white);
}

/* FLOATING WHATSAPP BUTTON */
.floating-wa {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    width: 3.25rem;
    height: 3.25rem;
    background-color: var(--gold);
    color: var(--black);
    border: 2px solid var(--black);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    z-index: 999;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   TABLET & DESKTOP RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (min-width: 768px) {
    .menu-toggle,
    .mobile-only-cta {
        display: none;
    }

    .main-nav {
        display: block;
        position: static;
        border: none;
        padding: 0;
        box-shadow: none;
    }

    .nav-list {
        flex-direction: row;
        gap: 1.75rem;
    }

    .header-wa-btn span {
        display: inline;
    }

    .hero {
        padding: 5rem 0;
    }

    .hero h1 {
        font-size: 2.75rem;
    }

    .hero-lead {
        font-size: 1.05rem;
    }

    .hero-cta-group {
        flex-direction: row;
    }

    .section {
        padding: 4.5rem 0;
    }

    .section-header h2,
    .about-text h2 {
        font-size: 2rem;
    }

    .about-box {
        padding: 2.5rem;
    }

    .cards-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.25rem;
    }

    .division-card,
    .pillar-card {
        padding: 1.5rem;
    }

    .division-card h3,
    .pillar-card h3 {
        font-size: 1.15rem;
    }

    .division-card p,
    .pillar-card p {
        font-size: 0.9rem;
    }

    .card-link {
        font-size: 0.875rem;
        padding: 0.65rem 0.9rem;
    }

    .contact-pills {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .cta-banner {
        padding: 3.5rem 2rem;
    }

    .cta-banner h2 {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1.2fr;
    }
}

@media (min-width: 1024px) {
    #why-us .cards-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}