/* ================================================================
   SMA GHANA PROVINCE — Main Stylesheet
   Color: Deep Blue (#003366), Gold (#DAA520), White
   Based on official SMA logo colors
   Fonts: Playfair Display (headings), Lato (body)
   Mobile-first responsive design
   ================================================================ */

/* ========== CSS VARIABLES ========== */
:root {
    /* Primary - Deep Blue (SMA logo background) */
    --primary: #003366;
    --primary-dark: #002244;
    --primary-light: #1a5276;
    --primary-50: #e8f0f8;
    --primary-100: #d1e0f0;
    --primary-200: #a3c1e0;
    --primary-rgb: 0, 51, 102;

    /* Accent - Gold/Yellow (Africa map in SMA logo) */
    --accent: #DAA520;
    --accent-dark: #B8860B;
    --accent-light: #F0C040;
    --accent-50: #fdf8ea;

    /* Neutrals */
    --dark-900: #1a1a2e;
    --dark-800: #16213e;
    --dark-700: #2c3e50;
    --dark-600: #34495e;

    --gray-50: #f8f9fa;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #adb5bd;
    --gray-500: #6c757d;
    --gray-600: #495057;
    --gray-700: #343a40;

    --white: #ffffff;
    --cream: #F9F6F0;
    --text-primary: #333333;
    --text-secondary: #495057;
    --text-muted: #adb5bd;

    /* Functional */
    --success: #198754;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #0dcaf0;

    /* Radius */
    --radius-sm: 0.25rem;
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    --shadow-glow: 0 0 40px rgba(0,51,102,0.15);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ========== RESET & BASE ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.serif { font-family: 'Playfair Display', Georgia, serif; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

/* ========== PRELOADER ========== */
.preloader {
    position: fixed; inset: 0;
    background: var(--dark-900);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    z-index: 10000;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-logo {
    width: 72px; height: 72px; border-radius: var(--radius-xl);
    object-fit: cover; margin-bottom: 1.5rem;
    animation: preloaderPulse 2s ease-in-out infinite;
}
.preloader-bar {
    width: 200px; height: 3px;
    background: var(--dark-700); border-radius: var(--radius-full);
    overflow: hidden;
}
.preloader-bar-inner {
    height: 100%; width: 40%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: var(--radius-full);
    animation: preloaderSlide 1.2s ease-in-out infinite;
}
.preloader-text {
    margin-top: 1rem; color: var(--gray-400);
    font-size: 0.8125rem; letter-spacing: 0.1em;
    text-transform: uppercase;
}
@keyframes preloaderPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.08); opacity: 0.7; }
}
@keyframes preloaderSlide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(350%); }
}

/* ========== SCROLL REVEAL ANIMATIONS ========== */
.reveal {
    opacity: 0; transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
    opacity: 0; transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
    opacity: 0; transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale {
    opacity: 0; transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* Stagger children */
.stagger-children .reveal:nth-child(1) { transition-delay: 0.1s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.2s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.3s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.4s; }
.stagger-children .reveal:nth-child(5) { transition-delay: 0.5s; }
.stagger-children .reveal:nth-child(6) { transition-delay: 0.6s; }

/* ========== CONTAINER ========== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.container-lg { max-width: 1400px; margin: 0 auto; padding: 0 1.25rem; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 1.25rem; }

/* ========== HEADER / NAVIGATION ========== */
.header {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 0.875rem 0;
    transition: var(--transition);
}
.header.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 1px 0 rgba(0,0,0,0.06), var(--shadow-md);
    padding: 0.5rem 0;
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.logo-img {
    width: 44px; height: 44px; border-radius: var(--radius-lg);
    object-fit: cover; box-shadow: var(--shadow-md);
    transition: var(--transition);
}
.logo:hover .logo-img { transform: rotate(-5deg) scale(1.05); }
.logo-text h1 {
    font-size: 1.125rem; font-weight: 800; color: var(--white);
    font-family: 'Playfair Display', serif;
    transition: var(--transition);
}
.header.scrolled .logo-text h1 { color: var(--primary); }
.logo-text span {
    font-size: 0.6875rem; color: rgba(255,255,255,0.7);
    font-weight: 500; letter-spacing: 0.02em;
    transition: var(--transition); display: block;
}
.header.scrolled .logo-text span { color: var(--text-secondary); }

/* Desktop Nav */
.nav-desktop { display: flex; align-items: center; gap: 0.125rem; }
.nav-link {
    color: rgba(255,255,255,0.85); text-decoration: none;
    font-weight: 500; font-size: 0.875rem;
    padding: 0.5rem 0.75rem; border-radius: var(--radius-full);
    transition: var(--transition); position: relative;
    white-space: nowrap;
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.header.scrolled .nav-link { color: var(--text-secondary); }
.header.scrolled .nav-link:hover { color: var(--primary); background: var(--primary-50); }
.nav-link.active { color: var(--white); background: rgba(255,255,255,0.15); }
.header.scrolled .nav-link.active { color: var(--primary); background: var(--primary-50); font-weight: 600; }

/* Nav Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
    min-width: 200px; background: var(--white);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
    padding: 0.5rem; opacity: 0; visibility: hidden;
    transition: var(--transition); margin-top: 0.5rem;
    z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; margin-top: 0.25rem; }
.nav-dropdown-menu a {
    display: flex; align-items: center; gap: 0.625rem;
    padding: 0.625rem 0.875rem; color: var(--text-primary);
    font-size: 0.8125rem; font-weight: 500;
    border-radius: var(--radius); transition: var(--transition);
    text-decoration: none;
}
.nav-dropdown-menu a:hover { background: var(--primary-50); color: var(--primary); }
.nav-dropdown-menu a i { width: 16px; text-align: center; color: var(--primary); font-size: 0.75rem; }

.nav-cta {
    margin-left: 0.5rem; padding: 0.5rem 1.25rem;
    background: var(--accent); color: var(--dark-900) !important;
    font-weight: 700 !important; border-radius: var(--radius-full);
    font-size: 0.8125rem; text-decoration: none;
    transition: var(--transition); box-shadow: 0 2px 8px rgba(218,165,32,0.4);
}
.nav-cta:hover {
    transform: translateY(-1px); box-shadow: 0 4px 12px rgba(218,165,32,0.5);
    background: var(--accent-light) !important;
}
.header.scrolled .nav-cta {
    background: var(--primary); color: var(--white) !important;
    box-shadow: 0 2px 8px rgba(0,51,102,0.3);
}
.header.scrolled .nav-cta:hover { background: var(--primary-dark); }

/* Mobile Toggle */
.nav-toggle {
    display: none; background: none; border: none;
    width: 40px; height: 40px; cursor: pointer;
    position: relative; border-radius: var(--radius);
}
.nav-toggle span {
    display: block; width: 20px; height: 2px;
    background: var(--white); border-radius: 2px;
    position: absolute; left: 10px;
    transition: var(--transition);
}
.header.scrolled .nav-toggle span { background: var(--text-primary); }
.nav-toggle span:nth-child(1) { top: 12px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle.active span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* Mobile Nav Drawer */
.nav-mobile {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
    z-index: 999; opacity: 0; visibility: hidden;
    transition: var(--transition);
}
.nav-mobile.active { opacity: 1; visibility: visible; }
.nav-mobile-inner {
    position: absolute; right: 0; top: 0; bottom: 0;
    width: 300px; max-width: 85vw;
    background: var(--white); padding: 5rem 1.5rem 2rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto; box-shadow: var(--shadow-2xl);
}
.nav-mobile.active .nav-mobile-inner { transform: translateX(0); }
.nav-mobile-link {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.875rem 1rem; color: var(--text-primary);
    text-decoration: none; font-weight: 500; font-size: 0.9375rem;
    border-radius: var(--radius-lg); transition: var(--transition);
    margin-bottom: 0.125rem;
}
.nav-mobile-link i { width: 20px; text-align: center; color: var(--primary); font-size: 0.875rem; }
.nav-mobile-link:hover, .nav-mobile-link.active {
    background: var(--primary-50); color: var(--primary);
}
.nav-mobile-divider {
    height: 1px; background: var(--gray-200);
    margin: 0.75rem 0;
}
.nav-mobile-cta {
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    margin-top: 1.5rem; padding: 0.875rem;
    background: var(--primary); color: var(--white);
    text-decoration: none; font-weight: 600; font-size: 0.9375rem;
    border-radius: var(--radius-lg); transition: var(--transition);
}
.nav-mobile-cta:hover { background: var(--primary-dark); }

/* ========== PAGE HERO (inner pages) ========== */
.page-hero {
    position: relative; padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--dark-900) 0%, var(--primary-dark) 50%, var(--primary) 100%);
    color: var(--white); overflow: hidden;
    min-height: 280px;
    display: flex; align-items: center;
}
.page-hero::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}
.page-hero-content {
    position: relative; z-index: 1; text-align: center;
    max-width: 700px; margin: 0 auto;
}
.page-hero .breadcrumb {
    display: flex; align-items: center; justify-content: center;
    gap: 0.5rem; font-size: 0.875rem;
    color: rgba(255,255,255,0.6); margin-bottom: 1rem;
}
.page-hero .breadcrumb a { color: var(--accent-light); }
.page-hero .breadcrumb a:hover { color: var(--accent); }
.page-hero .breadcrumb .sep { color: rgba(255,255,255,0.3); }
.page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800; margin-bottom: 0.75rem; line-height: 1.15;
}
.page-hero p {
    font-size: 1.0625rem; color: rgba(255,255,255,0.8);
    line-height: 1.7; max-width: 560px; margin: 0 auto;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.75rem 1.5rem; border-radius: var(--radius-full);
    font-weight: 600; font-size: 0.9375rem;
    text-decoration: none; border: none; cursor: pointer;
    transition: var(--transition); line-height: 1.4;
    font-family: 'Lato', sans-serif;
    position: relative; overflow: hidden;
}
.btn-primary {
    background: var(--primary); color: var(--white);
    box-shadow: 0 4px 14px rgba(0,51,102,0.35);
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,51,102,0.45);
    color: var(--white);
}
.btn-accent {
    background: var(--accent); color: var(--dark-900);
    box-shadow: 0 4px 14px rgba(218,165,32,0.35);
}
.btn-accent:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(218,165,32,0.45);
}
.btn-white {
    background: var(--white); color: var(--primary);
    box-shadow: var(--shadow-md);
}
.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--primary-dark);
}
.btn-outline {
    background: transparent; color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover {
    background: var(--primary); color: var(--white);
    transform: translateY(-2px);
}
.btn-outline-white {
    background: transparent; color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
    transform: translateY(-2px);
    color: var(--white);
}
.btn-ghost {
    background: transparent; color: var(--primary);
    padding: 0.75rem 1rem;
}
.btn-ghost:hover { background: var(--primary-50); }
.btn-lg { padding: 0.9375rem 2rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.8125rem; }
.btn i { font-size: 0.875em; }

/* ========== SECTION STYLES ========== */
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-lg { padding: 7rem 0; }
.section-gray { background: var(--gray-50); }
.section-cream { background: var(--cream); }
.section-dark { background: var(--dark-900); color: var(--white); }
.section-primary { background: var(--primary); color: var(--white); }

.section-header {
    text-align: center; margin-bottom: 3rem;
    max-width: 600px; margin-left: auto; margin-right: auto;
}
.section-label {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.8125rem; font-weight: 700;
    color: var(--primary); text-transform: uppercase;
    letter-spacing: 0.1em; margin-bottom: 0.75rem;
}
.section-dark .section-label { color: var(--accent-light); }
.section-label i { font-size: 0.75rem; }
.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.875rem, 4vw, 2.75rem);
    font-weight: 800; color: var(--text-primary);
    margin-bottom: 0.75rem; line-height: 1.15;
}
.section-dark .section-title { color: var(--white); }
.section-subtitle {
    font-size: 1.0625rem; color: var(--text-secondary);
    line-height: 1.7;
}
.section-dark .section-subtitle { color: var(--gray-400); }

/* ========== CARDS ========== */
.card {
    background: var(--white); border-radius: var(--radius-xl);
    overflow: hidden; border: 1px solid var(--gray-200);
    transition: var(--transition);
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}
.card-img {
    height: 220px; overflow: hidden; position: relative;
    background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
}
.card-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s ease;
}
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 1.5rem; }
.card-badge {
    position: absolute; top: 0.75rem; left: 0.75rem;
    padding: 0.25rem 0.75rem; border-radius: var(--radius-full);
    font-size: 0.6875rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.04em;
    background: var(--primary); color: var(--white);
}

/* ========== GRID LAYOUTS ========== */
.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; }

/* ========== LOADING SKELETON ========== */
.skeleton {
    background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    border-radius: var(--radius);
}
.skeleton-card {
    height: 300px; border-radius: var(--radius-xl);
}
.skeleton-text {
    height: 1rem; border-radius: var(--radius-sm);
    margin-bottom: 0.5rem;
}
.skeleton-text.short { width: 60%; }
.skeleton-text.medium { width: 80%; }
.skeleton-avatar {
    width: 80px; height: 80px; border-radius: 50%;
}
@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ========== EMPTY STATE ========== */
.empty-state {
    text-align: center; padding: 4rem 2rem; grid-column: 1 / -1;
}
.empty-state i {
    font-size: 3rem; color: var(--gray-300);
    margin-bottom: 1rem;
}
.empty-state h3 {
    font-size: 1.25rem; font-weight: 700;
    color: var(--text-primary); margin-bottom: 0.375rem;
}
.empty-state p { color: var(--text-muted); font-size: 0.9375rem; }

/* ========== FORMS ========== */
.form-group { margin-bottom: 1.25rem; }
.form-label {
    display: block; font-weight: 600; font-size: 0.875rem;
    color: var(--text-primary); margin-bottom: 0.375rem;
}
.form-input, .form-textarea, .form-select {
    width: 100%; padding: 0.75rem 1rem;
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-lg);
    font-size: 0.9375rem; font-family: 'Lato', sans-serif;
    transition: var(--transition);
    background: var(--white); color: var(--text-primary);
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,51,102,0.1);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-error { color: var(--danger); font-size: 0.8125rem; margin-top: 0.25rem; }

/* ========== FOOTER ========== */
.footer {
    background: var(--dark-900);
    border-top: 3px solid var(--primary);
    color: var(--gray-400); padding: 4rem 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 2.5rem; margin-bottom: 3rem;
}
.footer-brand p {
    font-size: 0.875rem; line-height: 1.7;
    margin-top: 1rem; margin-bottom: 1.5rem;
}
.footer-logo {
    width: 48px; height: 48px;
    border-radius: var(--radius-lg);
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.footer-social { display: flex; gap: 0.625rem; }
.footer-social a {
    width: 36px; height: 36px; border-radius: var(--radius);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    color: var(--gray-400); text-decoration: none;
    transition: var(--transition); font-size: 0.875rem;
}
.footer-social a:hover {
    background: var(--primary); color: var(--white);
    border-color: var(--primary); transform: translateY(-2px);
}
.footer-col h4 {
    font-size: 0.875rem; font-weight: 700;
    color: var(--white); text-transform: uppercase;
    letter-spacing: 0.08em; margin-bottom: 1.25rem;
    font-family: 'Playfair Display', serif;
}
.footer-links { list-style: none; }
.footer-links a {
    color: var(--gray-400); text-decoration: none;
    font-size: 0.875rem; display: flex; align-items: center; gap: 0.375rem;
    padding: 0.375rem 0; transition: var(--transition);
}
.footer-links a:hover { color: var(--white); transform: translateX(4px); }
.footer-links a i { font-size: 0.5rem; color: var(--primary-light); }
.footer-contact-item {
    display: flex; align-items: flex-start; gap: 0.75rem;
    margin-bottom: 0.875rem; font-size: 0.875rem;
}
.footer-contact-item i {
    color: var(--accent); margin-top: 0.25rem; width: 14px; text-align: center;
}
.footer-contact-item a {
    color: var(--gray-400); text-decoration: none;
}
.footer-contact-item a:hover { color: var(--white); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.5rem 0; text-align: center;
    font-size: 0.8125rem; color: var(--gray-500);
}
.footer-bottom a {
    color: var(--accent); text-decoration: none;
    font-weight: 600;
}
.footer-bottom a:hover { text-decoration: underline; color: var(--accent-light); }

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
    position: fixed; bottom: 1.5rem; right: 1.5rem;
    width: 56px; height: 56px;
    background: #25D366; color: var(--white);
    border-radius: 50%; border: none;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; cursor: pointer;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4);
    z-index: 900;
    transition: var(--transition);
    text-decoration: none;
    animation: whatsappPulse 2s ease-in-out infinite;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37,211,102,0.5);
    color: var(--white);
}
@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 16px rgba(37,211,102,0.4), 0 0 0 8px rgba(37,211,102,0.15); }
}

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed; bottom: 5rem; right: 1.5rem;
    width: 42px; height: 42px;
    background: var(--primary); color: var(--white);
    border-radius: 50%; border: none;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; cursor: pointer;
    box-shadow: var(--shadow-md);
    z-index: 899;
    transition: var(--transition);
    opacity: 0; visibility: hidden;
    transform: translateY(10px);
}
.back-to-top.visible {
    opacity: 1; visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ========== MODAL ========== */
.modal-overlay {
    position: fixed; inset: 0; z-index: 2000;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    padding: 1rem; opacity: 0; visibility: hidden;
    transition: var(--transition);
}
.modal-overlay.show { opacity: 1; visibility: visible; }
.modal-box {
    background: var(--white); border-radius: var(--radius-2xl);
    width: 100%; max-width: 600px; max-height: 90vh;
    overflow-y: auto; transform: scale(0.95) translateY(10px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-2xl);
}
.modal-overlay.show .modal-box { transform: scale(1) translateY(0); }
.modal-close {
    position: absolute; top: 1rem; right: 1rem;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.125rem; color: var(--text-primary);
    transition: var(--transition); z-index: 10;
}
.modal-close:hover { background: var(--white); transform: rotate(90deg); }

/* ========== ACCORDION ========== */
.accordion { max-width: 800px; margin: 0 auto; }
.accordion-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    margin-bottom: 0.75rem;
    overflow: hidden; transition: var(--transition);
}
.accordion-item.active { border-color: var(--primary); box-shadow: var(--shadow-md); }
.accordion-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.25rem 1.5rem; cursor: pointer;
    font-weight: 600; font-size: 1rem;
    color: var(--text-primary); background: var(--white);
    transition: var(--transition); gap: 1rem;
}
.accordion-header:hover { background: var(--gray-50); }
.accordion-item.active .accordion-header { color: var(--primary); background: var(--primary-50); }
.accordion-icon {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--gray-100); display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; color: var(--text-secondary);
    transition: var(--transition); flex-shrink: 0;
}
.accordion-item.active .accordion-icon {
    background: var(--primary); color: var(--white);
    transform: rotate(180deg);
}
.accordion-body {
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s ease;
}
.accordion-body-inner {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9375rem; line-height: 1.8;
}

/* ========== TABS ========== */
.tabs-nav {
    display: flex; gap: 0.25rem; flex-wrap: wrap;
    border-bottom: 2px solid var(--gray-200);
    margin-bottom: 2rem;
}
.tab-btn {
    padding: 0.75rem 1.25rem; border: none; background: none;
    font-weight: 600; font-size: 0.9375rem; cursor: pointer;
    color: var(--text-secondary); transition: var(--transition);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px; font-family: 'Lato', sans-serif;
}
.tab-btn:hover { color: var(--primary); }
.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}
.tab-content { display: none; animation: fadeIn 0.4s ease; }
.tab-content.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ========== UTILITY ========== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-white { color: var(--white); }
.text-muted { color: var(--text-muted); }
.fw-bold { font-weight: 700; }
.fw-semibold { font-weight: 600; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .nav-desktop { display: none; }
    .nav-toggle { display: block; }
    .nav-mobile { display: block; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .section { padding: 3.5rem 0; }
    .section-lg { padding: 5rem 0; }
    .grid-3 { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .page-hero { padding: 7rem 0 3rem; min-height: 220px; }
    .page-hero h1 { font-size: 1.75rem; }
}
@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .grid-4 { grid-template-columns: 1fr; }
    .btn-lg { padding: 0.75rem 1.5rem; font-size: 0.9375rem; }
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--gray-50); }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-light); }

/* ========== PRINT ========== */
@media print {
    .header, .footer, .whatsapp-float, .back-to-top, .nav-mobile { display: none !important; }
    .section { padding: 1rem 0; }
    body { color: #000; }
}
