/* ============================================
   HUNTER REALTIME CMS — Design System
   Dark-Tech Premium Aesthetic
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    --bg-primary: #0A1628;
    --bg-secondary: #111B2E;
    --bg-tertiary: #162038;
    --bg-card: rgba(22, 32, 56, 0.7);
    --text-primary: #E8ECF4;
    --text-secondary: #8B95A8;
    --text-muted: #5A6478;
    --cyan: #00D4FF;
    --cyan-dark: #00A8CC;
    --green: #00E676;
    --gold: #FFB800;
    --red: #FF4757;
    --border: rgba(0, 212, 255, 0.12);
    --border-hover: rgba(0, 212, 255, 0.3);
    --glass-bg: rgba(17, 27, 46, 0.65);
    --glass-border: rgba(0, 212, 255, 0.1);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.4);
    --shadow-cyan: 0 0 20px rgba(0, 212, 255, 0.15);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    --container: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: var(--cyan); text-decoration: none; transition: var(--transition); }
a:hover { color: #4DE8FF; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
ul { list-style: none; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.text-cyan { color: var(--cyan); }

/* ---------- Utilities ---------- */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    transition: var(--transition);
}
.glass-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-cyan);
    transform: translateY(-4px);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    justify-content: center;
    line-height: 1.4;
}
.btn--cyan { background: var(--cyan); color: #000000; border-color: var(--cyan); font-weight: 700; letter-spacing: 0.5px; }
.btn--cyan:hover { background: #4DE8FF; color: #000000; box-shadow: var(--shadow-cyan); transform: translateY(-2px); }
.btn--outline-cyan { background: transparent; color: var(--cyan); border-color: var(--cyan); }
.btn--outline-cyan:hover { background: var(--cyan); color: var(--bg-primary); }
.btn--outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn--outline-white:hover { background: #fff; color: var(--bg-primary); }
.btn--lg { padding: 1rem 2.25rem; font-size: 1.05rem; }
.btn--sm { padding: 0.5rem 1.25rem; font-size: 0.85rem; }
.btn--block { width: 100%; }

/* ---------- Pre-Header ---------- */
.pre-header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0;
    font-size: 0.85rem;
}
.pre-header__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.pre-header__left { display: flex; gap: 1.5rem; }
.pre-header__left a { color: var(--text-secondary); display: flex; align-items: center; gap: 0.4rem; }
.pre-header__left a:hover { color: var(--cyan); }
.pre-header__right { display: flex; gap: 1rem; }
.pre-header__right a { color: var(--text-secondary); font-size: 0.9rem; }
.pre-header__right a:hover { color: var(--cyan); }

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
    transition: var(--transition);
}
.navbar.scrolled { background: rgba(10, 22, 40, 0.95); box-shadow: var(--shadow); padding: 0.5rem 0; }
.navbar__inner { display: flex; justify-content: space-between; align-items: center; }
.navbar__brand { display: flex; align-items: center; gap: 0.5rem; }
.navbar__logo-text { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--text-primary); }
.navbar__menu { display: flex; align-items: center; gap: 0.25rem; }
.navbar__menu > li > a {
    padding: 0.6rem 1rem;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.navbar__menu > li > a:hover,
.navbar__menu > li > a.active { color: var(--cyan); }
.navbar__menu > li > a.navbar__cta.btn--cyan { margin-left: 0.5rem; color: #000000; }
.navbar__menu > li > a.navbar__cta.btn--cyan:hover { color: #000000; }
.navbar__menu > li > a.navbar__cta.btn--outline-cyan { margin-left: 0.5rem; color: var(--cyan); }
.navbar__menu > li > a.navbar__cta.btn--outline-cyan:hover { color: #000000; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a {
    display: block;
    padding: 0.6rem 1rem;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}
.dropdown li a:hover { background: var(--bg-tertiary); color: var(--cyan); }

/* Hamburger */
.navbar__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.navbar__toggle span { display: block; width: 24px; height: 2px; background: var(--text-primary); transition: var(--transition); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-primary);
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
}
.hero__slide.active { opacity: 1; visibility: visible; }
.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,22,40,0.92) 0%, rgba(17,27,46,0.85) 50%, rgba(10,22,40,0.75) 100%);
}
.hero__content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding-top: 6rem;
}
.hero__content h1 { margin-bottom: 1.25rem; }
.hero__content p { font-size: 1.2rem; color: var(--text-secondary); margin-bottom: 2rem; max-width: 550px; }
.hero__nav { position: absolute; bottom: 50%; left: 0; right: 0; z-index: 3; display: flex; justify-content: space-between; padding: 0 1rem; pointer-events: none; }
.hero__nav-btn {
    pointer-events: all;
    width: 48px; height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--glass-bg);
    color: var(--text-primary);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(8px);
}
.hero__nav-btn:hover { background: var(--cyan); color: var(--bg-primary); border-color: var(--cyan); }
.hero__dots { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 0.5rem; }
.hero__dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    border: 2px solid var(--cyan);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}
.hero__dot.active { background: var(--cyan); }
.hero__scroll-indicator {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    z-index: 3;
}
.hero__scroll-indicator span {
    display: block;
    width: 24px; height: 40px;
    border: 2px solid var(--border);
    border-radius: 12px;
    position: relative;
}
.hero__scroll-indicator span::after {
    content: '';
    position: absolute;
    top: 6px; left: 50%;
    transform: translateX(-50%);
    width: 4px; height: 8px;
    background: var(--cyan);
    border-radius: 2px;
    animation: scrollBounce 2s infinite;
}
@keyframes scrollBounce {
    0%, 100% { top: 6px; opacity: 1; }
    50% { top: 18px; opacity: 0.3; }
}

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section--dark { background: var(--bg-secondary); }
.section__header { text-align: center; max-width: 650px; margin: 0 auto 3rem; }
.section__header p { color: var(--text-secondary); margin-top: 0.75rem; font-size: 1.05rem; }
.section__label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}
.section__cta { text-align: center; margin-top: 2.5rem; }

/* ---------- Page Hero ---------- */
.page-hero {
    padding: 8rem 0 3rem;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    text-align: center;
    border-bottom: 1px solid var(--border);
}
.page-hero--compact { padding: 6rem 0 1.5rem; text-align: left; }
.page-hero h1 { margin-bottom: 0.75rem; }
.page-hero p { color: var(--text-secondary); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* Breadcrumb */
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: var(--text-muted); flex-wrap: wrap; }
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--cyan); }

/* ---------- Stats Bar ---------- */
.stats-bar {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-dark) 100%);
    padding: 2.5rem 0;
    position: relative;
    z-index: 2;
}
.stats-bar__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-item__number { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 700; color: var(--bg-primary); }
.stat-item__suffix { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; color: var(--bg-primary); }
.stat-item__label { display: block; font-size: 0.9rem; color: rgba(10,22,40,0.7); font-weight: 500; margin-top: 0.25rem; }

/* ---------- About Preview ---------- */
.about-preview__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-preview__content h2 { margin-bottom: 1.25rem; }
.about-preview__content p { color: var(--text-secondary); margin-bottom: 1.5rem; }
.about-preview__features { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 2rem; }
.feature-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; color: var(--text-secondary); }
.about-preview__card {
    padding: 2.5rem;
    text-align: center;
}
.about-preview__icon { font-size: 3rem; color: var(--cyan); margin-bottom: 1.25rem; }
.about-preview__card h3 { margin-bottom: 0.75rem; }
.about-preview__card p { color: var(--text-secondary); }

/* ---------- Services Grid ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.service-card { padding: 2rem; position: relative; overflow: hidden; }
.service-card__icon { font-size: 2.25rem; color: var(--cyan); margin-bottom: 1.25rem; }
.service-card h3 { margin-bottom: 0.75rem; font-size: 1.15rem; }
.service-card p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 1rem; }
.service-card__link { color: var(--cyan); font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.4rem; }
.service-card__link:hover { gap: 0.7rem; }

/* ---------- Why Us ---------- */
.why-us__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.why-us__card { padding: 2rem; text-align: center; }
.why-us__icon { font-size: 2.5rem; color: var(--cyan); margin-bottom: 1rem; }
.why-us__card h3 { margin-bottom: 0.75rem; }
.why-us__card p { color: var(--text-secondary); font-size: 0.9rem; }

/* ---------- Testimonials ---------- */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
.testimonial-card { padding: 2rem; }
.testimonial-card__stars { color: var(--gold); margin-bottom: 1rem; font-size: 0.9rem; display: flex; gap: 0.2rem; }
.testimonial-card__content { color: var(--text-secondary); font-style: italic; margin-bottom: 1.5rem; line-height: 1.8; }
.testimonial-card__author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-card__avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    display: flex; align-items: center; justify-content: center;
    color: var(--cyan);
    font-size: 1.1rem;
    flex-shrink: 0;
}
.testimonial-card__author strong { display: block; font-size: 0.95rem; }
.testimonial-card__author span { font-size: 0.8rem; color: var(--text-muted); }

/* ---------- Partners Marquee ---------- */
.partners-marquee { overflow: hidden; position: relative; }
.partners-marquee::before, .partners-marquee::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 100px;
    z-index: 2;
}
.partners-marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-primary), transparent); }
.partners-marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg-primary), transparent); }
.partners-track {
    display: flex;
    gap: 3rem;
    animation: marquee 30s linear infinite;
    width: max-content;
}
.partner-logo {
    flex-shrink: 0;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: brightness(0.7) grayscale(100%);
    transition: var(--transition);
}
.partner-logo:hover { filter: brightness(1) grayscale(0%); }
.partner-logo img { max-height: 50px; width: auto; }
.partner-logo span { font-family: var(--font-heading); font-weight: 600; color: var(--text-muted); white-space: nowrap; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ---------- Blog Cards ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.blog-grid--full { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.blog-card { overflow: hidden; }
.blog-card__image { height: 200px; overflow: hidden; position: relative; }
.blog-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-card__image img { transform: scale(1.05); }
.blog-card__placeholder {
    height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-tertiary);
    color: var(--text-muted);
    font-size: 2rem;
}
.blog-card__body { padding: 1.5rem; }
.blog-card__category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--cyan);
    background: rgba(0, 212, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 0.75rem;
}
.blog-card__body h3 { margin-bottom: 0.5rem; font-size: 1.15rem; }
.blog-card__body h3 a { color: var(--text-primary); }
.blog-card__body h3 a:hover { color: var(--cyan); }
.blog-card__body p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 1rem; }
.blog-card__meta { display: flex; gap: 1rem; font-size: 0.8rem; color: var(--text-muted); }
.blog-card__meta i { margin-right: 0.3rem; }

/* ---------- Blog Detail ---------- */
.blog-detail { display: grid; grid-template-columns: 1fr 320px; gap: 2.5rem; }
.blog-detail__hero-image { border-radius: var(--radius); overflow: hidden; margin-bottom: 1.5rem; }
.blog-detail__hero-image img { width: 100%; max-height: 400px; object-fit: cover; }
.blog-detail__meta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem; align-items: center; font-size: 0.85rem; color: var(--text-muted); }
.blog-detail__meta i { margin-right: 0.3rem; }
.blog-detail__content.prose { color: var(--text-secondary); line-height: 1.9; }
.prose h2, .prose h3, .prose h4 { color: var(--text-primary); margin: 1.5rem 0 0.75rem; }
.prose p { margin-bottom: 1rem; }
.prose ul, .prose ol { margin-bottom: 1rem; padding-left: 1.5rem; }
.prose li { margin-bottom: 0.5rem; list-style: disc; }
.prose img { border-radius: var(--radius-sm); margin: 1rem 0; }
.blog-detail__share { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.blog-detail__share span { font-weight: 600; font-size: 0.9rem; }
.blog-detail__share a {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.blog-detail__share a:hover { background: var(--cyan); color: var(--bg-primary); }

/* Sidebar */
.sidebar-widget { padding: 1.5rem; margin-bottom: 1.5rem; }
.sidebar-widget h4 { font-size: 1.1rem; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); }
.sidebar-links li { margin-bottom: 0.5rem; }
.sidebar-links a { color: var(--text-secondary); font-size: 0.9rem; }
.sidebar-links a:hover { color: var(--cyan); padding-left: 0.5rem; }
.sidebar-widget p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 1rem; }

/* ---------- CTA Section ---------- */
.cta-section {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(0,212,255,0.08) 0%, transparent 70%);
    top: -200px; right: -100px;
    border-radius: 50%;
}
.cta-section__inner { text-align: center; position: relative; z-index: 1; max-width: 650px; margin: 0 auto; }
.cta-section__inner h2 { margin-bottom: 1rem; }
.cta-section__inner p { color: var(--text-secondary); margin-bottom: 2rem; font-size: 1.05rem; }
.cta-section__buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Products ---------- */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.product-card { overflow: hidden; }
.product-card__image { height: 200px; overflow: hidden; background: var(--bg-tertiary); }
.product-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-card__image img { transform: scale(1.05); }
.product-card__placeholder {
    height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem; color: var(--text-muted);
}
.product-card__body { padding: 1.5rem; }
.product-card__category {
    display: inline-block; font-size: 0.75rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1px;
    color: var(--green); background: rgba(0, 230, 118, 0.1);
    padding: 0.2rem 0.6rem; border-radius: 20px; margin-bottom: 0.6rem;
}
.product-card__body h3 { margin-bottom: 0.5rem; }
.product-card__body h3 a { color: var(--text-primary); }
.product-card__body h3 a:hover { color: var(--cyan); }
.product-card__body p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 1rem; }
.product-card__link { color: var(--cyan); font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.4rem; }

/* Product Detail */
.product-detail { display: grid; grid-template-columns: 1fr 320px; gap: 2.5rem; }
.product-detail__image { border-radius: var(--radius); overflow: hidden; margin-bottom: 1.5rem; }
.product-detail__image img { width: 100%; object-fit: cover; }
.product-detail__specs { margin-top: 1.5rem; }
.product-detail__specs h3 { margin-bottom: 1rem; }
.product-detail__specs pre {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    white-space: pre-wrap;
    font-family: var(--font-body);
}

/* ---------- Filter Bar ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; justify-content: center; }
.filter-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
    text-decoration: none;
}
.filter-btn:hover, .filter-btn.active { background: var(--cyan); color: var(--bg-primary); border-color: var(--cyan); }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.gallery-item {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item__placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-tertiary); font-size: 2rem; color: var(--text-muted);
}
.gallery-item__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(10,22,40,0.9) 0%, transparent 60%);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 1.25rem;
    opacity: 0;
    transition: var(--transition);
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item__overlay h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.gallery-item__overlay p { font-size: 0.8rem; color: var(--text-secondary); }
.gallery-item__zoom {
    position: absolute; top: 1rem; right: 1rem;
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--cyan); color: var(--bg-primary);
    border: none; cursor: pointer; font-size: 0.9rem;
    display: flex; align-items: center; justify-content: center;
}
.gallery-item.hidden { display: none; }

/* Lightbox */
.lightbox {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,0.92);
    display: none; align-items: center; justify-content: center;
    padding: 2rem;
}
.lightbox.active { display: flex; }
.lightbox__close {
    position: absolute; top: 1.5rem; right: 1.5rem;
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(255,255,255,0.1); border: none;
    color: #fff; font-size: 1.3rem; cursor: pointer;
}
.lightbox__image { max-width: 90%; max-height: 85vh; border-radius: var(--radius-sm); object-fit: contain; }

/* ---------- Agencies ---------- */
.agencies-region { margin-bottom: 3rem; }
.agencies-region__title { font-size: 1.4rem; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.5rem; }
.agencies-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.agency-card { padding: 1.5rem; }
.agency-card__header { margin-bottom: 1rem; }
.agency-card__header h3 { margin-bottom: 0.25rem; }
.agency-card__location { font-size: 0.85rem; color: var(--text-muted); }
.agency-card__info { display: flex; flex-direction: column; gap: 0.5rem; }
.agency-card__info li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; color: var(--text-secondary); }
.agency-card__info li i { color: var(--cyan); width: 16px; text-align: center; }
.agency-card__info a { color: var(--text-secondary); }
.agency-card__info a:hover { color: var(--cyan); }

/* ---------- Downloads ---------- */
.downloads-grid { display: flex; flex-direction: column; gap: 1rem; }
.download-card {
    display: flex; align-items: center; gap: 1.5rem; padding: 1.5rem;
}
.download-card__icon { font-size: 2rem; color: var(--cyan); flex-shrink: 0; width: 56px; text-align: center; }
.download-card__body { flex: 1; }
.download-card__body h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.download-card__body p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 0.5rem; }
.download-card__meta { display: flex; gap: 1rem; font-size: 0.8rem; color: var(--text-muted); }
.download-card__type { color: var(--cyan); font-weight: 600; }
.download-card.hidden { display: none; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.contact-form-card { padding: 2.5rem; }
.contact-form-card h2 { margin-bottom: 1.5rem; font-size: 1.5rem; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); }
.form-group input, .form-group textarea, .form-group select {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}
.form-group input:focus, .form-group textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.contact-info-cards { display: flex; flex-direction: column; gap: 1rem; }
.contact-info-card { padding: 1.5rem; display: flex; align-items: flex-start; gap: 1rem; }
.contact-info-card__icon { font-size: 1.5rem; color: var(--cyan); flex-shrink: 0; margin-top: 0.2rem; }
.contact-info-card h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.contact-info-card p { color: var(--text-secondary); font-size: 0.9rem; margin: 0; }
.contact-info-card a { color: var(--text-secondary); }
.contact-info-card a:hover { color: var(--cyan); }
.contact-map { margin-top: 2rem; }
.contact-map__frame { border-radius: var(--radius); overflow: hidden; height: 400px; border: 1px solid var(--border); }
.contact-map__frame iframe { width: 100%; height: 100%; border: 0; filter: brightness(0.8) contrast(1.1); }

/* Alert */
.alert { padding: 1rem 1.25rem; border-radius: var(--radius-sm); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.75rem; }
.alert--success { background: rgba(0, 230, 118, 0.1); border: 1px solid rgba(0, 230, 118, 0.3); color: var(--green); }

/* ---------- FAQ ---------- */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-category { margin-bottom: 2.5rem; }
.faq-category__title { font-size: 1.3rem; margin-bottom: 1.25rem; display: flex; align-items: center; gap: 0.5rem; }
.faq-accordion { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
}
.faq-item:hover { border-color: var(--border-hover); }
.faq-item__question {
    width: 100%; padding: 1.25rem 1.5rem;
    background: var(--bg-secondary);
    border: none; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    color: var(--text-primary);
    font-size: 1rem; font-weight: 500;
    font-family: var(--font-body);
    text-align: left;
    transition: var(--transition);
}
.faq-item__question:hover { color: var(--cyan); }
.faq-item__question i { transition: transform 0.3s ease; color: var(--cyan); flex-shrink: 0; margin-left: 1rem; }
.faq-item__question[aria-expanded="true"] i { transform: rotate(180deg); }
.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    background: var(--bg-tertiary);
}
.faq-item__answer p { padding: 0 1.5rem; color: var(--text-secondary); line-height: 1.8; }
.faq-item.open .faq-item__answer { max-height: 500px; }
.faq-item.open .faq-item__answer p { padding: 1.25rem 1.5rem; }
.faq-cta { text-align: center; padding: 2.5rem; margin-top: 2rem; }
.faq-cta h3 { margin-bottom: 0.5rem; }
.faq-cta p { color: var(--text-secondary); margin-bottom: 1.25rem; }

/* ---------- Service/Product Detail ---------- */
.detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 2.5rem; }
.detail-image { border-radius: var(--radius); overflow: hidden; margin-bottom: 1.5rem; }
.detail-image img { width: 100%; max-height: 400px; object-fit: cover; }
.detail-content.prose { color: var(--text-secondary); line-height: 1.8; }

/* ---------- Empty State ---------- */
.empty-state {
    text-align: center; padding: 4rem 2rem;
    grid-column: 1 / -1;
}
.empty-state i { font-size: 3rem; color: var(--text-muted); margin-bottom: 1rem; }
.empty-state h3 { margin-bottom: 0.5rem; }
.empty-state p { color: var(--text-secondary); }

/* ---------- Footer ---------- */
.footer {
    background: var(--bg-secondary);
    padding: 4rem 0 0;
    position: relative;
}
.footer__wave {
    position: absolute;
    top: -60px;
    left: 0; right: 0;
    color: var(--bg-secondary);
    line-height: 0;
}
.footer__wave svg { width: 100%; height: 60px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer__brand { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; margin-bottom: 0.75rem; display: block; }
.footer__tagline { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 1.25rem; }
.footer__social { display: flex; gap: 0.75rem; }
.footer__social a {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}
.footer__social a:hover { background: var(--cyan); color: var(--bg-primary); }
.footer__col h4 { font-size: 1rem; margin-bottom: 1rem; color: var(--text-primary); }
.footer__col ul li { margin-bottom: 0.4rem; }
.footer__col ul a { color: var(--text-secondary); font-size: 0.9rem; }
.footer__col ul a:hover { color: var(--cyan); padding-left: 0.3rem; }
.footer__contact li { display: flex; align-items: flex-start; gap: 0.5rem; margin-bottom: 0.6rem; color: var(--text-secondary); font-size: 0.9rem; }
.footer__contact li i { color: var(--cyan); margin-top: 0.2rem; flex-shrink: 0; }
.footer__contact a { color: var(--text-secondary); }
.footer__contact a:hover { color: var(--cyan); }
.footer__bottom {
    border-top: 1px solid var(--border);
    padding: 1.25rem 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ---------- WhatsApp Float ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 2rem; right: 2rem;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: whatsappPulse 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); color: #fff; }
@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6); }
}

/* ---------- Pagination ---------- */
.pagination { display: flex; justify-content: center; margin-top: 2.5rem; }
.pagination ul { display: flex; gap: 0.5rem; }
.pagination li a, .pagination li span {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition);
}
.pagination li a:hover, .pagination li.active span { background: var(--cyan); color: var(--bg-primary); border-color: var(--cyan); }

/* ---------- Team Grid ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.team-card { padding: 2rem; text-align: center; }
.team-card__photo {
    width: 120px; height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.25rem;
    overflow: hidden;
    border: 3px solid var(--border);
    transition: var(--transition);
}
.team-card:hover .team-card__photo { border-color: var(--cyan); }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card__photo-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-tertiary); color: var(--text-muted); font-size: 2.5rem;
}
.team-card h3 { margin-bottom: 0.25rem; font-size: 1.1rem; }
.team-card__role { color: var(--cyan); font-size: 0.85rem; font-weight: 500; display: block; margin-bottom: 0.75rem; }
.team-card__bio { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 1rem; }
.team-card__social { display: flex; gap: 0.5rem; justify-content: center; }
.team-card__social a {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--bg-tertiary);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); font-size: 0.8rem;
}
.team-card__social a:hover { background: var(--cyan); color: var(--bg-primary); }

/* ---------- Mission/Vision Cards ---------- */
.mission-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 2rem; }
.mission-card { padding: 2rem; }
.mission-card__icon { font-size: 2rem; color: var(--cyan); margin-bottom: 1rem; }
.mission-card h3 { margin-bottom: 0.75rem; }
.mission-card p { color: var(--text-secondary); font-size: 0.9rem; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; margin-top: 2rem; }
.value-item { display: flex; align-items: center; gap: 0.75rem; padding: 1rem; border-radius: var(--radius-sm); background: var(--bg-tertiary); }
.value-item i { color: var(--cyan); font-size: 1.1rem; }
.value-item span { color: var(--text-secondary); font-weight: 500; }

/* ---------- Light Theme Variants ---------- */
[data-theme="light"] {
    --bg-primary: #F8FAFC;
    --bg-secondary: #FFFFFF;
    --bg-tertiary: #F1F5F9;
    --bg-card: rgba(255, 255, 255, 0.8);
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    --cyan: #0284C7;
    --cyan-dark: #0369A1;
    --border: rgba(15, 23, 42, 0.1);
    --border-hover: rgba(15, 23, 42, 0.2);
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(15, 23, 42, 0.08);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
    --shadow-cyan: 0 0 20px rgba(2, 132, 199, 0.2);
}

[data-theme="light"] .navbar { background: rgba(255, 255, 255, 0.85); }
[data-theme="light"] .navbar.scrolled { background: rgba(255, 255, 255, 0.95); }
[data-theme="light"] .hero__overlay { background: linear-gradient(135deg, rgba(248, 250, 252, 0.92) 0%, rgba(255, 255, 255, 0.85) 50%, rgba(248, 250, 252, 0.75) 100%); }
[data-theme="light"] .gallery-item__overlay { background: linear-gradient(0deg, rgba(15, 23, 42, 0.8) 0%, transparent 60%); }
[data-theme="light"] .lightbox { background: rgba(255, 255, 255, 0.95); }
[data-theme="light"] .lightbox__close { color: var(--text-primary); background: var(--bg-tertiary); border: 1px solid var(--border); }
[data-theme="light"] .cta-section::before { background: radial-gradient(circle, rgba(2,132,199,0.08) 0%, transparent 70%); }
[data-theme="light"] .btn--cyan { background: var(--cyan-dark); color: #FFFFFF; border-color: var(--cyan-dark); font-weight: 700; letter-spacing: 0.5px; }
[data-theme="light"] .btn--cyan:hover { background: #0F172A; border-color: #0F172A; color: #FFFFFF; }
[data-theme="light"] .navbar__menu > li > a.navbar__cta.btn--cyan { color: #FFFFFF; }
[data-theme="light"] .navbar__menu > li > a.navbar__cta.btn--cyan:hover { color: #FFFFFF; }
[data-theme="light"] .navbar__menu > li > a.navbar__cta.btn--outline-cyan { color: var(--cyan-dark); }
[data-theme="light"] .navbar__menu > li > a.navbar__cta.btn--outline-cyan:hover { color: #FFFFFF; }
[data-theme="light"] .btn--outline-cyan { border-color: var(--cyan-dark); color: var(--cyan-dark); font-weight: 700; }
[data-theme="light"] .btn--outline-cyan:hover { background: var(--cyan-dark); color: #FFFFFF; }

/* Theme Toggle Button */
.theme-toggle {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    margin-left: 0.5rem;
}
.theme-toggle:hover {
    background: var(--bg-tertiary);
    color: var(--cyan);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .about-preview__grid, .contact-grid, .blog-detail, .product-detail, .detail-grid { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .why-us__grid { grid-template-columns: 1fr; }
    .mission-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .navbar__menu {
        position: fixed;
        top: 0; right: -100%;
        width: 280px; height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 5rem 1.5rem 2rem;
        gap: 0;
        transition: right 0.3s ease;
        border-left: 1px solid var(--border);
        overflow-y: auto;
        z-index: 1001;
    }
    .navbar__menu.open { right: 0; }
    .navbar__menu > li > a { display: block; padding: 0.75rem 0; }
    .navbar__toggle { display: flex; z-index: 1002; }
    .has-dropdown .dropdown {
        position: static;
        opacity: 1; visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        border: none;
        padding-left: 1rem;
    }
    .navbar__cta { margin-left: 0; margin-top: 0.5rem; }
    .stats-bar__inner { grid-template-columns: 1fr 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; }
    .pre-header__inner { justify-content: center; }
    .pre-header__left { flex-direction: column; gap: 0.25rem; align-items: center; }
    .form-row { grid-template-columns: 1fr; }
    .hero__content { padding-top: 5rem; }
    .page-hero { padding: 7rem 0 2rem; }
    .download-card { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
    .stats-bar__inner { grid-template-columns: 1fr; gap: 1.5rem; }
    .cta-section__buttons { flex-direction: column; align-items: center; }
    .hero__nav { display: none; }
}
