/* ============================================================
   Cortexa Electronics - Premium Green & Beige Theme
   Modern, professional, nature-inspired design
   ============================================================ */

/* ----- CSS Reset & Base ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #2C3E2D;
    background: #FEFCF8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: all 0.3s ease; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: 'Space Grotesk', 'Inter', sans-serif; font-weight: 700; line-height: 1.2; }

:root {
    /* ===== PREMIUM GREEN & BEIGE PALETTE ===== */
    
    /* Primary Greens - Deep Forest to Emerald */
    --primary: #1B4D3E;
    --primary-dark: #143D31;
    --primary-light: #2D6A4F;
    --primary-glow: #40916C;
    
    /* Secondary - Rich Beige & Cream */
    --secondary: #E8DCC8;
    --secondary-light: #F5EFE3;
    --secondary-dark: #D4C5A9;
    --accent: #C9A84C;
    --accent-warm: #B8860B;
    
    /* Dark Greens - Deep backgrounds */
    --dark: #0A1F14;
    --dark-2: #0D2818;
    --dark-3: #142920;
    --dark-4: #1A3326;
    
    /* Neutral Grays */
    --gray-900: #1E2B21;
    --gray-800: #2C3E2D;
    --gray-700: #4A5D4A;
    --gray-600: #6B7D6B;
    --gray-500: #8A9B8A;
    --gray-300: #BCC8BC;
    --gray-200: #D9E4D9;
    --gray-100: #F0F4F0;
    
    /* Special Surfaces */
    --white: #FFFFFF;
    --cream: #FEFCF8;
    --beige-light: #FAF6EF;
    --beige-warm: #F5EDE0;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1B4D3E 0%, #40916C 100%);
    --gradient-dark: linear-gradient(135deg, #0A1F14 0%, #1A3326 100%);
    --gradient-hero: linear-gradient(160deg, #0A1F14 0%, #0D2818 40%, #1B4D3E 100%);
    --gradient-beige: linear-gradient(135deg, #E8DCC8 0%, #F5EFE3 100%);
    --gradient-glow: linear-gradient(135deg, #40916C 0%, #C9A84C 100%);
    
    /* Shadows with Green tint */
    --shadow-sm: 0 2px 8px rgba(27, 77, 62, 0.08);
    --shadow-md: 0 8px 24px rgba(27, 77, 62, 0.12);
    --shadow-lg: 0 20px 60px rgba(27, 77, 62, 0.16);
    --shadow-glow: 0 0 40px rgba(64, 145, 108, 0.35);
    --shadow-beige: 0 8px 32px rgba(201, 168, 76, 0.15);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 20px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container: 1240px;
}

/* ----- Layout ----- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.section { padding: 100px 0; position: relative; }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(27, 77, 62, 0.08);
    color: var(--primary);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
    border: 1px solid rgba(27, 77, 62, 0.12);
}
.section-title {
    font-size: clamp(28px, 4vw, 44px);
    color: var(--dark);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.section-subtitle {
    font-size: 17px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ----- Typography ----- */
.lead { font-size: 18px; color: var(--gray-700); margin-bottom: 16px; }

/* ----- Buttons ----- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    border: 2px solid transparent;
    line-height: 1;
}
.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(27, 77, 62, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(27, 77, 62, 0.4);
}
.btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}
.btn-light {
    background: var(--white);
    color: var(--primary);
}
.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}
.btn-accent {
    background: var(--gradient-glow);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.3);
}
.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(201, 168, 76, 0.4);
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 31, 20, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition);
}
.top-bar {
    background: rgba(0, 0, 0, 0.25);
    color: var(--gray-300);
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.top-bar-left { display: flex; gap: 24px; flex-wrap: wrap; }
.top-bar-left i { color: var(--accent); margin-right: 6px; }
.top-bar-right { display: flex; gap: 14px; }
.top-bar-right a {
    width: 28px; height: 28px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}
.top-bar-right a:hover { background: var(--primary-glow); color: var(--white); transform: translateY(-2px); }

.main-header { padding: 16px 0; }
.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.site-logo, .footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    text-decoration: none;
}
.logo-icon {
    width: 44px; height: 44px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: inline-flex;
    align-items: center; justify-content: center;
    font-size: 22px;
    color: var(--white);
    box-shadow: var(--shadow-glow);
    overflow: hidden;
}
.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--white);
}
.logo-tag { font-size: 11px; color: var(--gray-500); letter-spacing: 0.08em; text-transform: uppercase; }

.main-navigation { display: flex; align-items: center; }
.primary-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}
.primary-menu a {
    display: block;
    padding: 10px 16px;
    color: var(--gray-300);
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}
.primary-menu a:hover, .primary-menu .current-menu-item a {
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
}
.primary-menu a::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 16px; right: 16px;
    height: 2px;
    background: var(--gradient-glow);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.primary-menu a:hover::after { transform: scaleX(1); }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px; height: 30px;
    padding: 4px;
}
.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
    min-height: 100vh;
    padding: 140px 0 80px;
    background: var(--gradient-hero);
    color: var(--white);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.hero-bg {
    position: absolute; inset: 0;
    pointer-events: none;
}
.hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(64, 145, 108, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(64, 145, 108, 0.08) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.hero-glow {
    position: absolute;
    top: -20%; right: -10%;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(64, 145, 108, 0.5) 0%, rgba(201, 168, 76, 0.2) 50%, transparent 70%);
    filter: blur(80px);
    animation: float 8s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-30px, 30px); }
}
.hero-content { position: relative; z-index: 1; max-width: 900px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 18px;
    background: rgba(201, 168, 76, 0.15);
    border: 1px solid rgba(201, 168, 76, 0.35);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 24px;
    text-transform: uppercase;
}
.badge-dot {
    width: 8px; height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
.hero-title {
    font-size: clamp(36px, 6vw, 68px);
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    background: linear-gradient(180deg, #FFFFFF 0%, #D9E4D9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--gray-300);
    margin-bottom: 40px;
    max-width: 720px;
    line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 32px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}
.stat { text-align: center; }
.stat-num {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
}
.stat-label { font-size: 13px; color: var(--gray-500); }

.hero-scroll {
    position: absolute;
    bottom: 30px; left: 50%;
    transform: translateX(-50%);
    width: 24px; height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 100px;
}
.hero-scroll span {
    display: block;
    width: 4px; height: 8px;
    background: var(--white);
    border-radius: 100px;
    margin: 8px auto;
    animation: scroll-down 2s ease-in-out infinite;
}
@keyframes scroll-down {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-section { background: var(--cream); }
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    align-items: start;
}
.about-text .section-tag { margin-bottom: 12px; }
.about-text .section-title { margin-bottom: 24px; text-align: left; }
.about-text p { color: var(--gray-700); margin-bottom: 16px; }
.about-text strong { color: var(--dark); font-weight: 600; }
.about-cards { display: flex; flex-direction: column; gap: 24px; }
.about-card {
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.about-card:hover { 
    transform: translateX(4px); 
    box-shadow: var(--shadow-md);
    border-left-color: var(--accent);
}
.about-card-icon {
    width: 56px; height: 56px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center; justify-content: center;
    color: var(--white);
    font-size: 24px;
    margin-bottom: 16px;
}
.about-card h3 {
    font-size: 22px;
    color: var(--dark);
    margin-bottom: 12px;
}
.about-card p { color: var(--gray-700); margin: 0; }

/* ============================================================
   SERVICES
   ============================================================ */
.services-section { background: var(--beige-light); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}
.service-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: var(--gradient-glow);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, rgba(27, 77, 62, 0.1), rgba(201, 168, 76, 0.15));
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center; justify-content: center;
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 20px;
    transition: var(--transition);
}
.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: var(--white);
    transform: scale(1.05);
}
.service-card h3 {
    font-size: 22px;
    color: var(--dark);
    margin-bottom: 12px;
}
.service-card p { color: var(--gray-700); margin-bottom: 20px; }
.service-features { display: flex; flex-direction: column; gap: 8px; }
.service-features li {
    display: flex; align-items: center; gap: 10px;
    font-size: 14px; color: var(--gray-700);
}
.service-features i { color: var(--accent); font-size: 12px; }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-section { background: var(--cream); }
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.why-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.why-icon {
    width: 72px; height: 72px;
    background: var(--gradient-glow);
    border-radius: 50%;
    display: inline-flex;
    align-items: center; justify-content: center;
    color: var(--white);
    font-size: 30px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-beige);
}
.why-card h4 {
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 10px;
}
.why-card p { font-size: 14px; color: var(--gray-600); margin: 0; }

/* ============================================================
   BRANDS
   ============================================================ */
.brands-section { background: var(--beige-light); }
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 24px;
}
.brand-card {
    background: var(--white);
    padding: 24px 12px;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    min-height: 12px;
    text-align: center;
}
.brand-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.brand-card .brand-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    color: var(--gray-600);
    font-weight: 500;
    letter-spacing: 0.03em;
}
.brand-label {
    font-size: 12px;
    color: var(--gray-600);
    font-weight: 500;
    letter-spacing: 0.03em;
}
.brand-card i { 
    width: 80px;         
    height: 80px;         
    object-fit: contain;  
} 

/* ============================================================
   PARTNERS
   ============================================================ */
.partners-section { background: var(--cream); }
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}
.partner-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius);
    border-left: 3px solid var(--primary);
    transition: var(--transition);
    font-weight: 500;
    color: var(--gray-800);
    box-shadow: var(--shadow-sm);
}
.partner-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
    border-left-color: var(--accent);
}
.partner-card i {
    color: var(--primary);
    font-size: 20px;
    flex-shrink: 0;
}
.partner-card img {
    width: 100px;         
    height: 100px;        
    object-fit: cover;   
    border-radius: 50%;  
}

/* ============================================================
   MILESTONES / TIMELINE
   ============================================================ */
.milestones-section {
    background: var(--gradient-dark);
    color: var(--white);
}
.milestones-section .section-title { color: var(--white); }
.milestones-section .section-subtitle { color: var(--gray-300); }
.milestones-section .section-tag { background: rgba(201, 168, 76, 0.15); color: var(--accent); border-color: rgba(201, 168, 76, 0.25); }
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 80px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 32px; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-glow), var(--accent));
}
.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding: 24px 32px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}
.timeline-item:hover { background: rgba(255, 255, 255, 0.08); transform: translateX(8px); }
.timeline-item::before {
    content: '';
    position: absolute;
    left: -56px; top: 32px;
    width: 16px; height: 16px;
    background: var(--gradient-glow);
    border-radius: 50%;
    border: 3px solid var(--dark);
    box-shadow: 0 0 20px var(--accent);
}
.timeline-year {
    display: inline-block;
    padding: 4px 12px;
    background: var(--gradient-glow);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}
.timeline-content h4 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--white);
}
.timeline-content p { color: var(--gray-300); margin: 0; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section { background: var(--beige-light); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.contact-item:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.contact-icon {
    width: 48px; height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center; justify-content: center;
    color: var(--white);
    font-size: 20px;
    flex-shrink: 0;
}
.contact-item h4 { font-size: 14px; color: var(--gray-600); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.05em; }
.contact-item p, .contact-item a { color: var(--dark); font-weight: 500; margin: 0; word-break: break-word; }
.contact-item a:hover { color: var(--primary); }

.contact-form {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: inherit;
    font-size: 15px;
    color: var(--dark);
    background: var(--gray-100);
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form button { align-self: flex-start; margin-top: 8px; }

/* ============================================================
   CTA
   ============================================================ */
.cta-section {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(201, 168, 76, 0.15) 0%, transparent 50%);
}
.cta-content { position: relative; z-index: 1; }
.cta-content h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 16px; }
.cta-content p { font-size: 18px; margin-bottom: 32px; opacity: 0.9; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--dark); color: var(--gray-300); }
.footer-main { padding: 80px 0 40px; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
}
.footer-logo { margin-bottom: 20px; }
.footer-about { font-size: 14px; color: var(--gray-500); line-height: 1.7; margin-bottom: 24px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 40px; height: 40px;
    display: inline-flex;
    align-items: center; justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--gray-300);
    transition: var(--transition);
}
.footer-social a:hover { background: var(--primary-glow); color: var(--white); transform: translateY(-3px); }
.footer-title {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 32px; height: 2px;
    background: var(--gradient-glow);
}
.footer-menu { display: flex; flex-direction: column; gap: 10px; }
.footer-menu a {
    color: var(--gray-500);
    font-size: 14px;
    transition: var(--transition);
}
.footer-menu a:hover { color: var(--accent); padding-left: 6px; }
.footer-contact { display: flex; flex-direction: column; gap: 16px; }
.footer-contact li { display: flex; gap: 12px; font-size: 14px; color: var(--gray-500); }
.footer-contact i { color: var(--accent); margin-top: 4px; flex-shrink: 0; }
.footer-contact a { color: var(--gray-300); }
.footer-contact a:hover { color: var(--white); }

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.copyright, .footer-meta { margin: 0; font-size: 13px; color: var(--gray-600); }

.back-to-top {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 48px; height: 48px;
    background: var(--gradient-glow);
    color: var(--white);
    border-radius: 50%;
    display: inline-flex;
    align-items: center; justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-4px); box-shadow: var(--shadow-beige); }

/* ============================================================
   POSTS / PAGES
   ============================================================ */
.page-header, .archive-header { padding: 60px 0 40px; text-align: center; }
.page-title, .archive-title { font-size: clamp(28px, 4vw, 40px); color: var(--dark); }
.posts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; padding: 40px 0; }
.post-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-thumb img { width: 100%; height: 220px; object-fit: cover; }
.post-body { padding: 24px; }
.post-title { font-size: 20px; margin-bottom: 12px; }
.post-title a { color: var(--dark); }
.post-title a:hover { color: var(--primary); }
.post-excerpt { color: var(--gray-600); margin-bottom: 16px; }
.read-more { color: var(--primary); font-weight: 600; font-size: 14px; }
.read-more i { margin-left: 6px; transition: var(--transition); }
.read-more:hover i { transform: translateX(4px); }

.entry-header { padding: 60px 0 20px; }
.entry-title { font-size: clamp(28px, 4vw, 40px); color: var(--dark); }
.entry-thumbnail { margin: 24px 0; border-radius: var(--radius-lg); overflow: hidden; }
.entry-content { padding: 20px 0 60px; max-width: 800px; margin: 0 auto; }
.entry-content p { margin-bottom: 16px; color: var(--gray-700); }
.entry-content h2, .entry-content h3 { margin: 24px 0 12px; color: var(--dark); }

.error-404 { text-align: center; padding: 100px 0; }
.error-code {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(80px, 20vw, 200px);
    font-weight: 700;
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .top-bar-left { gap: 16px; font-size: 12px; }
    .top-bar-left span:nth-child(2) { display: none; }
    .menu-toggle { display: flex; }
    .main-navigation {
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--dark-2);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .main-navigation.toggled { max-height: 600px; }
    .primary-menu { flex-direction: column; padding: 16px; gap: 0; align-items: stretch; }
    .primary-menu a { padding: 14px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
    .hero-section { padding: 120px 0 60px; min-height: auto; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); padding: 20px; gap: 16px; }
    .section { padding: 60px 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .form-row { grid-template-columns: 1fr; }
    .timeline { padding-left: 50px; }
    .timeline::before { left: 16px; }
    .timeline-item::before { left: -42px; }
    .footer-bottom .container { justify-content: center; text-align: center; }
}
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .btn { justify-content: center; }
    .hero-stats { grid-template-columns: 1fr 1fr; }
}
