/* ============================================================
   WSUL Tecnologia — Design System
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, 'Segoe UI', system-ui, sans-serif;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--color-text);
    background: var(--color-bg);
    min-height: 100vh;
}

/* ── Design Tokens ───────────────────────────────────────── */
:root {
    --color-primary:    #3866AE;
    --color-primary-h:  #2d5791;
    --color-primary-lt: #5D88CC;
    --color-primary-bg: #EEF4FB;
    --color-accent:     #22C55E;
    --color-bg:         #FFFFFF;
    --color-surface:    #F8FAFC;
    --color-surface-2:  #F1F5F9;
    --color-border:     #E2E8F0;
    --color-text:       #1E293B;
    --color-text-muted: #64748B;
    --color-text-light: #94A3B8;
    --color-dark:       #0F172A;
    --color-dark-2:     #1E2D3D;
    --color-white:      #FFFFFF;
    --color-whatsapp:   #25D366;

    --radius-sm:  4px;
    --radius-md:  8px;
    --radius-lg:  12px;
    --radius-xl:  20px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,.08);
    --shadow-lg: 0 12px 32px rgba(0,0,0,.10);

    --transition: 200ms ease;
    --header-h:  68px;
}

/* ── Typography ──────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-text);
    letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; font-weight: 600; }
h6 { font-size: 0.875rem; font-weight: 600; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary-lt); }

strong { font-weight: 600; }
em { font-style: italic; }

code, .mono {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.85em;
    background: var(--color-surface-2);
    padding: 0.125em 0.4em;
    border-radius: var(--radius-sm);
}

ul, ol { padding-left: 1.5rem; }
li { margin-bottom: 0.25rem; }

/* ── Layout Helpers ─────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 1.5rem; }
.container-wide   { max-width: 1380px; margin: 0 auto; padding: 0 1.5rem; }

section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-lg { padding: 7rem 0; }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p {
    font-size: 1.0625rem;
    color: var(--color-text-muted);
    max-width: 620px;
    margin: 0 auto;
}
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

/* ── Skip Link ───────────────────────────────────────────── */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--color-primary);
    color: #fff;
    padding: 0.5rem 1rem;
    z-index: 9999;
    border-radius: var(--radius-md);
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ── Header ─────────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    background: transparent;
    transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
    border-bottom: 1px solid transparent;
}
.site-header.scrolled {
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom-color: var(--color-border);
    box-shadow: var(--shadow-sm);
}
.site-header.scrolled .logo-light { display: none; }
.site-header.scrolled .logo-dark  { display: block; }
.site-header:not(.scrolled) .logo-light { display: block; }
.site-header:not(.scrolled) .logo-dark  { display: none; }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 2rem;
}
.logo-link { display: flex; align-items: center; }
.logo { height: 40px; width: auto; }

/* ── Navigation ─────────────────────────────────────────── */
.main-nav { display: flex; align-items: center; }
.nav-list {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.nav-link {
    display: block;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.88);
    border-radius: var(--radius-md);
    transition: color var(--transition), background var(--transition);
    white-space: nowrap;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.1); }
.nav-link.active { color: #fff; }

.site-header.scrolled .nav-link { color: var(--color-text-muted); }
.site-header.scrolled .nav-link:hover { color: var(--color-text); background: var(--color-surface); }
.site-header.scrolled .nav-link.active { color: var(--color-primary); }
/* Keep btn-primary white text even when header is scrolled */
.site-header.scrolled .nav-link.btn-primary,
.site-header.scrolled .nav-link.btn-primary:hover { color: #fff; background: var(--color-primary); border-color: var(--color-primary); }
.site-header.scrolled .nav-link.btn-primary:hover { background: #2d5691; border-color: #2d5691; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    /* invisible padding bridges the gap so mouse can move into submenu */
    padding-top: 0.625rem;
    background: transparent;
    list-style: none;
    z-index: 200;
}
/* The actual visible card lives inside a pseudo-wrapper */
.dropdown::before {
    content: '';
    position: absolute;
    top: 0.625rem;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: -1;
}
.dropdown { min-width: 230px; padding: 0.625rem 0.5rem 0.5rem; }
.dropdown li a {
    display: block;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    border-radius: var(--radius-md);
    transition: background var(--transition), color var(--transition);
}
.dropdown li a:hover { background: var(--color-surface); color: var(--color-primary); }
/* Ensure dropdown works on hover for desktop */
@media (min-width: 769px) {
    .has-dropdown:hover .dropdown { display: block; }
}
.has-dropdown.open .dropdown { display: block; }

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}
.site-header.scrolled .nav-toggle span { background: var(--color-text); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
    font-family: inherit;
    line-height: 1;
}
.btn:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 2px; }

.btn-primary {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}
.btn-primary:hover {
    background: #2d5691;
    border-color: #2d5691;
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}
.btn-outline:hover {
    background: var(--color-primary);
    color: #fff;
}

.btn-white {
    background: #fff;
    color: var(--color-primary);
    border-color: #fff;
}
.btn-white:hover {
    background: rgba(255,255,255,0.9);
    color: var(--color-primary);
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-color: rgba(255,255,255,0.8);
}

.btn-whatsapp {
    background: var(--color-whatsapp);
    color: #fff;
    border-color: var(--color-whatsapp);
}
.btn-whatsapp:hover {
    background: #1db954;
    border-color: #1db954;
    color: #fff;
}

.btn-lg { padding: 0.875rem 2rem; font-size: 1rem; }
.btn-sm { padding: 0.45rem 1rem; font-size: 0.825rem; }

/* ── Cards ──────────────────────────────────────────────── */
.card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.card:hover {
    box-shadow: var(--shadow-lg);
    border-color: #c7d9f5;
    transform: translateY(-4px);
}
.card-icon {
    width: 48px;
    height: 48px;
    background: var(--color-primary-bg);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.125rem;
    color: var(--color-primary);
    flex-shrink: 0;
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 0.5rem; font-size: 1.0625rem; }
.card p { color: var(--color-text-muted); font-size: 0.9rem; margin: 0; }

.card-service {
    position: relative;
    overflow: hidden;
}
.card-service .card-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: var(--color-primary-bg);
    color: var(--color-primary);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
}

/* ── Grids ──────────────────────────────────────────────── */
.grid-2  { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3  { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4  { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--color-dark);
    overflow: hidden;
    padding-top: var(--header-h);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(56,102,174,0.25) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 10% 80%, rgba(93,136,204,0.15) 0%, transparent 50%);
    pointer-events: none;
}
.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 1;
    padding: 5rem 0 6rem;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(56,102,174,0.25);
    border: 1px solid rgba(93,136,204,0.4);
    color: #93b8e8;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
}
.hero-badge .dot {
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
}
.hero h1 {
    color: #fff;
    margin-bottom: 1.25rem;
    max-width: 720px;
}
.hero h1 .highlight {
    color: var(--color-primary-lt);
}
.hero-sub {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.68);
    max-width: 580px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}
.hero-ctas { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    flex-wrap: wrap;
}
.hero-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.25rem;
}
.hero-stat-label {
    font-size: 0.825rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ── Floating CTA Bar ───────────────────────────────────── */
.cta-bar {
    background: var(--color-primary);
    color: #fff;
    padding: 1.25rem 0;
    text-align: center;
}
.cta-bar p { margin: 0; font-size: 0.95rem; }
.cta-bar a { color: #fff; font-weight: 600; text-decoration: underline; }

/* ── Section Dividers ───────────────────────────────────── */
.bg-surface  { background: var(--color-surface); }
.bg-dark     { background: var(--color-dark); }
.bg-dark-2   { background: var(--color-dark-2); }
.bg-primary  { background: var(--color-primary); }
.text-white  { color: #fff !important; }
.text-white h2, .text-white h3, .text-white p, .text-white .section-label { color: inherit; }
.bg-dark .section-label, .bg-dark-2 .section-label { color: var(--color-primary-lt); }
.bg-dark h2, .bg-dark h3 { color: #fff; }
.bg-dark p { color: rgba(255,255,255,0.65); }
.bg-dark-2 h2, .bg-dark-2 h3 { color: #fff; }
.bg-dark-2 p { color: rgba(255,255,255,0.65); }

/* ── Service Cards Dark ─────────────────────────────────── */
.bg-dark .card, .bg-dark-2 .card {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
}
.bg-dark .card:hover, .bg-dark-2 .card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(93,136,204,0.4);
}
.bg-dark .card h3, .bg-dark-2 .card h3 { color: #fff; }
.bg-dark .card p, .bg-dark-2 .card p { color: rgba(255,255,255,0.6); }
.bg-dark .card-icon, .bg-dark-2 .card-icon {
    background: rgba(56,102,174,0.3);
    color: #93b8e8;
}

/* ── Feature List ───────────────────────────────────────── */
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}
.feature-list li::before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    background: var(--color-primary-bg);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 1px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233866AE' stroke-width='2.5'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 14px;
    background-position: center;
    background-repeat: no-repeat;
}

/* ── FAQ ────────────────────────────────────────────────── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid var(--color-border);
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text);
    text-align: left;
    font-family: inherit;
    transition: color var(--transition);
}
.faq-question:hover { color: var(--color-primary); }
.faq-question svg {
    flex-shrink: 0;
    transition: transform var(--transition);
    color: var(--color-text-muted);
}
.faq-item.open .faq-question svg { transform: rotate(45deg); }
.faq-answer {
    display: none;
    padding-bottom: 1.25rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* ── Timeline ───────────────────────────────────────────── */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-border);
}
.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
    position: absolute;
    left: -2.3125rem;
    top: 0.25rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--color-primary);
    border: 3px solid var(--color-bg);
    box-shadow: 0 0 0 2px var(--color-primary);
}
.timeline-label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-primary); margin-bottom: 0.25rem; }
.timeline-title { font-weight: 600; margin-bottom: 0.25rem; }
.timeline-desc { font-size: 0.875rem; color: var(--color-text-muted); }

/* ── Tech Badge Grid ────────────────────────────────────── */
.tech-grid { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: 0.825rem;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: all var(--transition);
    cursor: default;
}
.tech-badge:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: var(--color-primary-bg);
}

/* ── Metrics / Stats ───────────────────────────────────── */
.stats-row {
    display: flex;
    gap: 0;
    flex-wrap: wrap;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.stat-item {
    flex: 1;
    min-width: 160px;
    padding: 2rem 1.5rem;
    border-right: 1px solid var(--color-border);
    text-align: center;
}
.stat-item:last-child { border-right: none; }
.stat-value { font-size: 2.25rem; font-weight: 700; color: var(--color-primary); line-height: 1; margin-bottom: 0.5rem; }
.stat-label { font-size: 0.825rem; color: var(--color-text-muted); }

/* ── CTA Blocks ─────────────────────────────────────────── */
.cta-block {
    background: var(--color-primary);
    border-radius: var(--radius-xl);
    padding: 3.5rem;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cta-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 120%, rgba(255,255,255,0.08), transparent);
    pointer-events: none;
}
.cta-block h2, .cta-block h3 { color: #fff; margin-bottom: 1rem; }
.cta-block p { color: rgba(255,255,255,0.75); margin-bottom: 2rem; font-size: 1.0625rem; }
.cta-block .btn-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Forms ──────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.375rem;
}
.form-control {
    width: 100%;
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--color-text);
    background: var(--color-white);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: border-color var(--transition), box-shadow var(--transition);
    appearance: none;
    -webkit-appearance: none;
}
.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(56,102,174,0.12);
}
.form-control::placeholder { color: var(--color-text-light); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748B' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-hint { font-size: 0.8rem; color: var(--color-text-light); margin-top: 0.375rem; }
.form-error { font-size: 0.8rem; color: #ef4444; margin-top: 0.375rem; display: none; }
.form-control.has-error { border-color: #ef4444; }
.form-control.has-error + .form-error { display: block; }

.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid;
}
.alert-success { background: #f0fdf4; color: #15803d; border-color: #22c55e; }
.alert-error   { background: #fef2f2; color: #b91c1c; border-color: #ef4444; }
.alert-info    { background: var(--color-primary-bg); color: var(--color-primary); border-color: var(--color-primary); }

/* ── Blog Cards ─────────────────────────────────────────── */
.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.blog-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-card-meta { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.blog-card-category {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary);
    background: var(--color-primary-bg);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
}
.blog-card-date { font-size: 0.8rem; color: var(--color-text-light); }
.blog-card-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--color-text); flex: 1; }
.blog-card-title a:hover { color: var(--color-primary); }
.blog-card-excerpt { font-size: 0.875rem; color: var(--color-text-muted); margin-bottom: 1rem; }
.blog-card-read-more { font-size: 0.825rem; font-weight: 600; color: var(--color-primary); display: inline-flex; align-items: center; gap: 0.25rem; }

/* ── Breadcrumb ─────────────────────────────────────────── */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--color-text-light);
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}
.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: var(--color-border);
}
.breadcrumb a { color: var(--color-text-light); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb li:last-child { color: var(--color-text-muted); font-weight: 500; }

/* ── Page Hero (inner pages) ────────────────────────────── */
.page-hero {
    background: var(--color-dark);
    padding: calc(var(--header-h) + 3.5rem) 0 4rem;
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(56,102,174,0.2), transparent 60%);
    pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.65); font-size: 1.0625rem; max-width: 620px; }
.page-hero .breadcrumb { color: rgba(255,255,255,0.45); }
.page-hero .breadcrumb a { color: rgba(255,255,255,0.45); }
.page-hero .breadcrumb li:last-child { color: rgba(255,255,255,0.7); }

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
    background: var(--color-dark);
    color: rgba(255,255,255,0.65);
    padding-top: 4rem;
    padding-bottom: 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo { margin-bottom: 1rem; }
.footer-tagline { font-weight: 600; color: rgba(255,255,255,0.85); margin-bottom: 0.75rem; }
.footer-desc { font-size: 0.875rem; color: rgba(255,255,255,0.5); margin-bottom: 1.25rem; line-height: 1.7; }
.footer-wa { margin-top: 0.5rem; }

.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 0.875rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul a { font-size: 0.875rem; color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer-col ul a:hover { color: #fff; }

.contact-list { list-style: none; padding: 0; }
.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    color: rgba(255,255,255,0.55);
}
.contact-list svg { flex-shrink: 0; margin-top: 2px; color: rgba(255,255,255,0.3); }
.contact-list a { color: rgba(255,255,255,0.55); }
.contact-list a:hover { color: #fff; }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* ── Utilities ──────────────────────────────────────────── */
.text-center { text-align: center; }
.text-muted  { color: var(--color-text-muted); }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.5rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mb-3 { margin-bottom: 1.5rem !important; }
.mb-4 { margin-bottom: 2rem !important; }
.mt-2 { margin-top: 1rem !important; }
.mt-3 { margin-top: 1.5rem !important; }
.mt-4 { margin-top: 2rem !important; }
.flex   { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

/* ── Content Two-Column ─────────────────────────────────── */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.split-layout.reverse { direction: rtl; }
.split-layout.reverse > * { direction: ltr; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer-brand { grid-column: 1 / -1; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root { --header-h: 60px; }
    section { padding: 3.5rem 0; }
    .hero { min-height: auto; }
    .hero-content { padding: 3rem 0 4rem; }
    .hero-stats { gap: 1.5rem; }

    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .split-layout, .split-layout.reverse { grid-template-columns: 1fr; direction: ltr; }

    .stats-row { flex-direction: column; }
    .stat-item { border-right: none; border-bottom: 1px solid var(--color-border); }
    .stat-item:last-child { border-bottom: none; }

    .cta-block { padding: 2rem 1.5rem; }

    .main-nav {
        display: none;
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--color-dark);
        padding: 2rem 1.5rem;
        overflow-y: auto;
        z-index: 999;
    }
    .main-nav.open { display: flex; }
    .nav-list { flex-direction: column; align-items: flex-start; gap: 0; width: 100%; }
    .nav-link {
        padding: 0.875rem 0.5rem;
        font-size: 1.0625rem;
        color: rgba(255,255,255,0.8);
        border-radius: 0;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .nav-list li:last-child .nav-link { border-bottom: none; margin-top: 1rem; }
    .nav-link.active { color: var(--color-primary-lt); }
    .dropdown { display: flex; flex-direction: column; position: static; background: none; border: none; box-shadow: none; padding: 0.5rem 0 0.5rem 1rem; width: 100%; }
    .dropdown::before { display: none; }
    .dropdown li { width: 100%; }
    .dropdown li a { color: rgba(255,255,255,0.7); font-size: 0.95rem; padding: 0.6rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); display: block; width: 100%; }
    .dropdown li:last-child a { border-bottom: none; }
    .nav-toggle { display: flex; }
    .has-dropdown .nav-link::after { content: ' ▾'; font-size: 0.7em; color: rgba(255,255,255,0.4); pointer-events: none; }

    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-brand { grid-column: auto; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .btn-lg { padding: 0.75rem 1.5rem; font-size: 0.95rem; }

    .page-hero { padding: calc(var(--header-h) + 2rem) 0 2.5rem; }
}

@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.375rem; }
    .hero-ctas { flex-direction: column; align-items: flex-start; }
    .cta-block .btn-row { flex-direction: column; align-items: center; }
}
