/* ---------- SHARED SITE STYLES (navbar, footer, buttons, tokens) ---------- */
/* Used by blog.html and blog post pages so they stay visually consistent   */
/* with index.html without duplicating the whole design system inline. */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #1e3a8a;
    --primary-light: #3b82f6;
    --primary-dark: #142a63;
    --accent: #f59e0b;
    --whatsapp: #25D366;
    --jobs: #7c3aed;
    --jobs-light: #ede9fe;
    --hire: #0d9488;
    --hire-light: #ccfbf1;
    --text-dark: #111827;
    --text-light: #6b7280;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --border: #e5e7eb;
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
    --shadow: 0 10px 30px -8px rgba(15, 23, 42, 0.12);
    --shadow-lg: 0 25px 60px -15px rgba(15, 23, 42, 0.2);
    --radius: 18px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Lexend', 'Inter', sans-serif; }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.eyebrow-tag {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--primary); background: #eef2ff; padding: 7px 16px; border-radius: 30px; margin-bottom: 18px;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 30px; border-radius: 50px; font-weight: 700; font-size: 15.5px;
    border: none; cursor: pointer; font-family: inherit; transition: all 0.25s ease; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: white; box-shadow: 0 8px 20px -6px rgba(30,58,138,0.45); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 12px 28px -6px rgba(30,58,138,0.5); }
.btn-whatsapp { background: var(--whatsapp); color: white; box-shadow: 0 8px 20px -6px rgba(37,211,102,0.45); }
.btn-whatsapp:hover { background: #1da851; transform: translateY(-2px); box-shadow: 0 12px 28px -6px rgba(37,211,102,0.5); }
.btn-outline { background: transparent; border: 2px solid var(--border); color: var(--text-dark); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm { padding: 11px 22px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- HEADER / NAV ---------- */
.navbar {
    padding: 14px 0; background: rgba(255, 255, 255, 0.92); border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 200; backdrop-filter: blur(10px);
}
@view-transition { navigation: auto; }
.navbar { view-transition-name: main-navbar; }
.navbar .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; }

.logo { display: flex; align-items: center; gap: 10px; font-family: 'Lexend', sans-serif; font-size: 21px; font-weight: 800; color: var(--primary); }
.logo .mark {
    width: 38px; height: 38px; border-radius: 11px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 17px; box-shadow: 0 6px 14px -4px rgba(30,58,138,0.5); flex-shrink: 0;
}
.logo span { color: var(--whatsapp); }

.nav-links { display: flex; gap: 6px; align-items: center; font-weight: 600; font-size: 14.5px; }
.nav-links a:not(.btn) { color: var(--text-dark); padding: 9px 14px; border-radius: 8px; transition: 0.2s; }
.nav-links a:not(.btn):hover { background: #f1f5f9; color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-login { font-weight: 600; color: var(--text-light); font-size: 14px; padding: 9px 6px; }
.nav-login:hover { color: var(--primary); }

.menu-toggle { display: none; font-size: 24px; cursor: pointer; color: var(--primary); }

/* ---------- SECTION TITLES ---------- */
.section-title { text-align: center; margin-bottom: 52px; max-width: 640px; margin-left: auto; margin-right: auto; }
.section-title h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -0.01em; margin-top: 6px; }
.section-title p { color: var(--text-light); margin: 12px auto 0; font-size: 16.5px; }

/* ---------- FOOTER ---------- */
.footer { padding: 64px 0 30px; background: #0f172a; color: #94a3b8; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer .logo { color: white; margin-bottom: 14px; }
.footer .logo .mark { box-shadow: none; }
.footer-about p { font-size: 14px; line-height: 1.7; max-width: 300px; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
    width: 36px; height: 36px; border-radius: 50%; background: #1e293b; color: white;
    display: flex; align-items: center; justify-content: center; transition: 0.2s;
}
.footer-socials a:hover { background: var(--whatsapp); }
.footer h5 { color: white; font-size: 14.5px; font-weight: 700; margin-bottom: 18px; }
.footer ul li { margin-bottom: 11px; }
.footer ul li a { font-size: 14px; color: #94a3b8; transition: 0.2s; }
.footer ul li a:hover { color: white; }
.footer-bottom {
    border-top: 1px solid #1e293b; padding-top: 26px;
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
    font-size: 13px;
}

/* ---------- FLOATING WHATSAPP ---------- */
.floating-wa {
    position: fixed; bottom: 24px; right: 24px; background: var(--whatsapp); color: white;
    padding: 16px 20px; border-radius: 60px; box-shadow: 0 8px 30px rgba(37,211,102,0.4);
    display: flex; align-items: center; gap: 12px; font-weight: 700; z-index: 999;
    transition: 0.3s; font-size: 16px;
}
.floating-wa:hover { transform: scale(1.05); background: #1da851; }
.floating-wa i { font-size: 26px; }

/* ---------- RESPONSIVE (shared shell) ---------- */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-links, .nav-actions { display: none; }
    .nav-links.active {
        display: flex; flex-direction: column; align-items: stretch;
        position: absolute; top: calc(100% + 10px); left: 16px; right: 16px; width: auto;
        background: white; padding: 10px; border-radius: 18px;
        box-shadow: 0 20px 45px -12px rgba(15,23,42,0.22);
        border: 1px solid var(--border);
    }
    .nav-links.active a:not(.btn) { padding: 14px 16px; border-radius: 12px; font-size: 15px; border-bottom: 1px solid #f1f5f9; }
    .nav-links.active a:not(.btn):last-child { border-bottom: none; }
    .nav-links.active a:not(.btn):first-child { background: #eef2ff; color: var(--primary); font-weight: 700; }
    .menu-toggle { display: block; position: relative; width: 24px; height: 24px; }
    .menu-toggle i { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; transition: opacity 0.15s, transform 0.2s; }
    .menu-toggle .fa-xmark { opacity: 0; transform: rotate(-90deg) scale(0.5); }
    .menu-toggle.open .fa-bars { opacity: 0; transform: rotate(90deg) scale(0.5); }
    .menu-toggle.open .fa-xmark { opacity: 1; transform: rotate(0) scale(1); }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-about p { max-width: 100%; }
}
@media (max-width: 480px) {
    .floating-wa { padding: 12px 16px; font-size: 14px; bottom: 16px; right: 16px; }
    .floating-wa span { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-heading {
        opacity: 0;
        transform: translateY(22px);
        transition: opacity 0.7s cubic-bezier(.22,1,.36,1), transform 0.7s cubic-bezier(.22,1,.36,1);
    }
    .reveal-heading.in-view { opacity: 1; transform: translateY(0); }
}

/* ---------- BLOG ARTICLE LAYOUT (shared by all blog posts) ---------- */
.article-hero { padding: 46px 0 0; }
.article-hero .back-link {
    display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600;
    color: var(--text-light); margin-bottom: 26px;
}
.article-hero .back-link:hover { color: var(--primary); }
.article-hero .cat-tag {
    display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em;
    text-transform: uppercase; padding: 5px 14px; border-radius: 30px; margin-bottom: 18px;
}
.article-hero h1 { font-size: clamp(28px, 4.2vw, 44px); font-weight: 800; line-height: 1.25; max-width: 780px; margin-bottom: 20px; }
.article-hero .meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--text-light); font-size: 14px; margin-bottom: 36px; }
.article-hero .meta span { display: inline-flex; align-items: center; gap: 6px; }

.article-cover {
    height: 230px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
    font-size: 74px; margin-bottom: 10px;
}

.article-wrap { max-width: 780px; margin: 0 auto; padding: 50px 24px 90px; }
.article-wrap h2 { font-size: 24px; font-weight: 800; margin: 38px 0 16px; letter-spacing: -0.01em; }
.article-wrap p { font-size: 16.5px; color: #374151; margin-bottom: 18px; }
.article-wrap ul { margin: 0 0 20px; }
.article-wrap ul li {
    font-size: 16px; color: #374151; padding: 8px 0 8px 30px; position: relative; border-bottom: 1px solid #f1f5f9;
}
.article-wrap ul li:last-child { border-bottom: none; }
.article-wrap ul li::before {
    content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 12px;
    color: var(--whatsapp); position: absolute; left: 4px; top: 11px;
}
.article-tip {
    background: #eef2ff; border-left: 4px solid var(--primary); border-radius: 10px;
    padding: 18px 22px; margin: 26px 0; font-size: 15px; color: #1e293b;
}
.article-tip strong { color: var(--primary); }

.article-cta {
    margin-top: 44px; padding: 34px 30px; border-radius: var(--radius); text-align: center; color: white;
}
.article-cta h3 { font-size: 21px; font-weight: 800; margin-bottom: 10px; }
.article-cta p { color: rgba(255,255,255,0.85); font-size: 15px; margin-bottom: 22px; }
.article-cta .btn-primary { background: white; color: var(--text-dark); box-shadow: none; }
.article-cta .btn-primary:hover { background: #f1f5f9; color: var(--text-dark); transform: translateY(-2px); }

.article-more { border-top: 1px solid var(--border); padding-top: 26px; margin-top: 44px; }
.article-more h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-light); margin-bottom: 16px; }
.article-more a { color: var(--primary); font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }

@media (max-width: 640px) {
    .article-cover { height: 170px; font-size: 54px; }
}

/* ---------- SHARED NAV/FOOTER JS BEHAVIOUR (see bottom of each page) ---------- */
