/* ═══════════════════════════════════════════════════════════
   1. FONTS
   ═══════════════════════════════════════════════════════════ */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap");

/* ═══════════════════════════════════════════════════════════
   2. CSS CUSTOM PROPERTIES (Design Tokens)
   ═══════════════════════════════════════════════════════════ */
:root {
    /* Color — Primary */
    --c-primary: #00d2ff;
    /* soft cyan / electric blue */
    --c-primary-dark: #3a7bd5;
    /* deep blue */
    --c-primary-light: #7be1ff;
    /* very soft cyan */

    /* Color — Secondary */
    --c-secondary: #8b5cf6;
    /* soft neon purple */

    /* Color — Neutral */
    --c-dark: #0a0f1c;
    /* dark navy */
    --c-dark-surface: #111827;
    /* slightly lighter navy for cards */
    --c-text: #f1f5f9;
    /* light gray text on dark bg */
    --c-text-muted: #94a3b8;
    /* silver metallic */
    --c-border: rgba(255, 255, 255, 0.1);
    --c-surface: rgba(255, 255, 255, 0.03);
    /* Glassmorphism surface */
    --c-white: #ffffff;

    /* Typography */
    --font-heading: "Space Grotesk", system-ui, sans-serif;
    --font-body: "Inter", system-ui, sans-serif;
    --font-size-base: 1rem;
    --line-height: 1.6;

    /* Layout */
    --container-max: 1280px;
    --container-px: 1.5rem;
    --section-py: 6rem;

    /* Spacing */
    --gap-sm: 1rem;
    --gap-md: 1.5rem;
    --gap-lg: 2.5rem;

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

    /* Shadow & Glow */
    --shadow-sm:
        0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md:
        0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.25);
    --shadow-lg:
        0 20px 25px -5px rgba(0, 0, 0, 0.5),
        0 10px 10px -5px rgba(0, 0, 0, 0.25);
    --glow-primary: 0 0 20px rgba(0, 210, 255, 0.4);
    --glow-secondary: 0 0 20px rgba(139, 92, 246, 0.4);

    /* Transition */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    background: var(--c-dark);
}

body {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    line-height: var(--line-height);
    color: var(--c-text);
    background-color: var(--c-dark);
    /* Futuristic grid background */
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center top;
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    color: var(--c-white);
    letter-spacing: -0.02em;
}

/* Floating blur orb background elements */
.bg-orb-1,
.bg-orb-2 {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.4;
}

.bg-orb-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: var(--c-primary);
}

.bg-orb-2 {
    bottom: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--c-secondary);
}

/* ═══════════════════════════════════════════════════════════
   4. LAYOUT HELPERS
   ═══════════════════════════════════════════════════════════ */
.container {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-px);
    position: relative;
    z-index: 1;
}

.container--narrow {
    max-width: 800px;
}

.section {
    padding-block: var(--section-py);
}

.section--surface {
    background: var(--c-surface);
    backdrop-filter: blur(10px);
}

.section--dark {
    background: transparent;
}

/* Default is already dark */

.section-header {
    text-align: center;
    max-width: 700px;
    margin-inline: auto;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--c-primary);
    margin-bottom: 1rem;
    background: rgba(0, 210, 255, 0.1);
    padding: 0.3rem 1rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(0, 210, 255, 0.2);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--c-text-muted);
    font-size: 1.1rem;
}

.section-cta-row {
    text-align: center;
    margin-top: 3.5rem;
}

/* ═══════════════════════════════════════════════════════════
   5. COMPONENTS — Buttons
   ═══════════════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    transition: var(--transition);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: var(--radius-lg);
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
}

.btn-full {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(
        135deg,
        var(--c-primary),
        var(--c-primary-dark)
    );
    color: #fff;
    box-shadow: var(--glow-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.6);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    color: var(--c-white);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--c-white);
    transform: translateY(-2px);
}

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

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-text {
    color: var(--c-primary);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
}

.btn-text:hover {
    color: var(--c-white);
}

/* ═══════════════════════════════════════════════════════════
   6. COMPONENTS — Badge & Cards (Glassmorphism)
   ═══════════════════════════════════════════════════════════ */
.badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(0, 210, 255, 0.15);
    color: var(--c-primary);
    border: 1px solid rgba(0, 210, 255, 0.3);
}

.glass-card {
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    overflow: hidden;
}

.glass-card:hover {
    border-color: rgba(0, 210, 255, 0.3);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(0, 210, 255, 0.1);
    transform: translateY(-5px);
}

/* ═══════════════════════════════════════════════════════════
   7. COMPONENTS — Forms
   ═══════════════════════════════════════════════════════════ */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--c-text-muted);
}

.required {
    color: var(--c-primary);
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    color: var(--c-white);
    transition: var(--transition);
    outline: none;
    appearance: none;
}

.form-control:focus {
    border-color: var(--c-primary);
    box-shadow: 0 0 0 4px rgba(0, 210, 255, 0.15);
    background: rgba(0, 0, 0, 0.4);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.alert ul {
    padding-left: 1.5rem;
    list-style: disc;
    margin-top: 0.5rem;
}

/* ═══════════════════════════════════════════════════════════
   8. HEADER
   ═══════════════════════════════════════════════════════════ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 15, 28, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
    gap: 2rem;
}

.nav-logo img {
    max-height: 2.5rem;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(0, 210, 255, 0.3));
}

.nav-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--c-white);
    font-family: var(--font-heading);
    letter-spacing: -0.03em;
    background: linear-gradient(to right, #fff, var(--c-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    padding: 0.6rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--c-text-muted);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--c-white);
    background: rgba(255, 255, 255, 0.05);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 14rem;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    padding: 0.5rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
        opacity 0.2s,
        transform 0.2s;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    pointer-events: all;
    transform: none;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    border-radius: var(--radius-md);
    color: var(--c-text-muted);
    transition: var(--transition);
}

.nav-dropdown-menu a:hover {
    background: rgba(0, 210, 255, 0.1);
    color: var(--c-white);
}

.nav-cta {
    margin-left: 1rem;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 2rem;
    height: 1.5rem;
    background: none;
    border: none;
    padding: 0;
}

.nav-hamburger span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--c-white);
    transition: var(--transition);
}

/* ═══════════════════════════════════════════════════════════
   9. FOOTER
   ═══════════════════════════════════════════════════════════ */
.site-footer {
    background: #050810;
    color: var(--c-text-muted);
    padding-block: 5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--c-primary),
        transparent
    );
    opacity: 0.5;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.footer-brand p {
    font-size: 0.95rem;
    margin-top: 1rem;
    line-height: 1.7;
}

.footer-social { display: flex; gap: .6rem; margin-top: 1.25rem; }
.footer-social a { width: 34px; height: 34px; border-radius: var(--radius-sm); background: var(--c-dark-surface); border: 1px solid var(--c-border); color: var(--c-text-muted); display: flex; align-items: center; justify-content: center; font-size: .875rem; transition: all .2s; }
.footer-social a:hover { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-white); transform: translateY(-2px); }

.footer-logo {
    max-height: 2.5rem;
    width: auto;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-heading);
}

.footer-heading {
    color: #fff;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    font-size: 0.95rem;
    color: var(--c-text-muted);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--c-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    font-size: 0.9rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════════════════════════
   10. SECTION — Hero
   ═══════════════════════════════════════════════════════════ */
.section-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    text-align: center;
    padding-block: 8rem 6rem;
    overflow: hidden;
}

.section-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at center,
        rgba(0, 210, 255, 0.15) 0%,
        transparent 60%
    );
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-inline: auto;
}

.hero-badge {
    margin-bottom: 1.5rem;
    display: inline-block;
}

.hero-badge span {
    background: rgba(0, 210, 255, 0.1);
    color: var(--c-primary);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    border: 1px solid rgba(0, 210, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 5rem);
    margin-bottom: 1.5rem;
    color: #fff;
    font-weight: 700;
    line-height: 1.1;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin-inline: auto;
    margin-bottom: 2.5rem;
    color: var(--c-text-muted);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.section-hero-split {
    padding-block: 6rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-split-grid img {
    border-radius: var(--radius-xl);
    width: 100%;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(0, 210, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ═══════════════════════════════════════════════════════════
   11. SECTION — Page Header
   ═══════════════════════════════════════════════════════════ */
.page-header {
    background: linear-gradient(
        180deg,
        rgba(10, 15, 28, 0) 0%,
        rgba(10, 15, 28, 1) 100%
    );
    padding-block: 6rem 3rem;
    text-align: center;
    position: relative;
}

.page-header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--c-primary);
    border-radius: 3px;
    box-shadow: var(--glow-primary);
}

.page-header__title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════
   12. SECTION — Features
   ═══════════════════════════════════════════════════════════ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-lg);
}

.feature-card {
    padding: 2.5rem;
}

.feature-card__icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(
        135deg,
        rgba(0, 210, 255, 0.1),
        rgba(139, 92, 246, 0.1)
    );
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--c-primary);
    font-size: 1.75rem;
    border: 1px solid rgba(0, 210, 255, 0.2);
    box-shadow: inset 0 0 20px rgba(0, 210, 255, 0.05);
}

.feature-card__title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card__desc {
    color: var(--c-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════
   13. SECTION — Blog / Articles Grid
   ═══════════════════════════════════════════════════════════ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-lg);
}

.blog-card {
    display: flex;
    flex-direction: column;
}

.blog-card__img-wrap {
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover .blog-card__img-wrap img {
    transform: scale(1.08);
}

.blog-card__body {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--c-text-muted);
}

.blog-card__title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-card__title a:hover {
    color: var(--c-primary);
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
}

.blog-card__excerpt {
    font-size: 0.95rem;
    color: var(--c-text-muted);
    margin-bottom: 1.5rem;
    flex: 1;
}

/* ═══════════════════════════════════════════════════════════
   14. SECTION — Shop / Products
   ═══════════════════════════════════════════════════════════ */
.category-filter {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 3rem;
}

.filter-pill {
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--c-text-muted);
    background: rgba(255, 255, 255, 0.03);
    transition: var(--transition);
}

.filter-pill:hover,
.filter-pill.active {
    background: var(--c-primary);
    border-color: var(--c-primary);
    color: #fff;
    box-shadow: var(--glow-primary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.product-card {
    display: flex;
    flex-direction: column;
}

.product-card__img-wrap {
    display: block;
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.product-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2rem;
    transition: transform 0.5s;
}

.product-card:hover .product-card__img-wrap img {
    transform: scale(1.1) rotate(2deg);
}

.product-card__img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-border);
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--c-secondary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    box-shadow: var(--glow-secondary);
}

.product-card__body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card__category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.product-card__name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-card__name a:hover {
    color: var(--c-primary);
}

.product-card__desc {
    font-size: 0.85rem;
    color: var(--c-text-muted);
    margin-bottom: 1rem;
    flex: 1;
}

.product-card__price {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

.price-discount {
    font-size: 1.25rem;
    font-weight: 700;
    color: #34d399;
}

.price-original {
    font-size: 0.9rem;
    color: var(--c-text-muted);
    text-decoration: line-through;
}

/* ═══════════════════════════════════════════════════════════
   15. SECTION — Testimonials
   ═══════════════════════════════════════════════════════════ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-lg);
}

.testimonial-card {
    padding: 2.5rem;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.05);
    font-family: var(--font-heading);
    line-height: 1;
    pointer-events: none;
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.star-filled {
    color: var(--c-primary);
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
}

.star-empty {
    color: rgba(255, 255, 255, 0.1);
}

.testimonial-quote {
    font-style: italic;
    color: var(--c-text);
    margin-bottom: 2rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--c-primary);
}

.testimonial-avatar--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 210, 255, 0.1);
    color: var(--c-primary);
    font-weight: 700;
    font-size: 1.2rem;
    border: 2px solid var(--c-primary);
    border-radius: 50%;
    width: 3.5rem;
    height: 3.5rem;
}

.testimonial-author-info strong {
    display: block;
    font-size: 1rem;
    color: #fff;
}

.testimonial-author-info span {
    font-size: 0.85rem;
    color: var(--c-text-muted);
}

/* ═══════════════════════════════════════════════════════════
   16. SECTION — FAQ
   ═══════════════════════════════════════════════════════════ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(17, 24, 39, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.open {
    border-color: rgba(0, 210, 255, 0.3);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: transparent;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    border: none;
    transition: background 0.2s;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.03);
    color: var(--c-primary);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    flex-shrink: 0;
    color: var(--c-primary);
    transition: transform 0.3s;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    font-size: 0.95rem;
    color: var(--c-text-muted);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════
   17. SECTION — Stats
   ═══════════════════════════════════════════════════════════ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-value {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--c-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    text-shadow: var(--glow-primary);
}

.stat-label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--c-text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════════════════════
   18. SECTION — Team
   ═══════════════════════════════════════════════════════════ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap-lg);
}

.team-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.team-card__photo {
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 3px solid rgba(255, 255, 255, 0.1);
    padding: 0.3rem;
    transition: var(--transition);
}

.team-card:hover .team-card__photo {
    border-color: var(--c-primary);
    box-shadow: var(--glow-primary);
}

.team-card__name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #fff;
}

.team-card__role {
    font-size: 0.9rem;
    color: var(--c-primary);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.team-card__bio {
    font-size: 0.9rem;
    color: var(--c-text-muted);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   19. SECTION — Gallery, Clients, Timeline, Values, Vision/Mission, Contact, CTA
   ═══════════════════════════════════════════════════════════ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 3rem;
    align-items: center;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(1) invert(1) brightness(0.6);
    opacity: 0.6;
    transition: var(--transition);
}

.client-logo:hover {
    filter: none;
    opacity: 1;
}

.client-logo img {
    max-height: 3.5rem;
    object-fit: contain;
}

.timeline-list {
    position: relative;
    padding-left: 2.5rem;
    max-width: 800px;
    margin-inline: auto;
}

.timeline-list::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.timeline-item {
    position: relative;
    padding-bottom: 3rem;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -2.85rem;
    top: 0;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: var(--c-primary);
    box-shadow:
        0 0 0 4px rgba(10, 15, 28, 1),
        var(--glow-primary);
}

.timeline-year {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--c-primary);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.timeline-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.timeline-desc {
    font-size: 1rem;
    color: var(--c-text-muted);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap-lg);
}

.value-card {
    text-align: center;
    padding: 3rem 2rem;
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--c-primary);
    text-shadow: var(--glow-primary);
}

.value-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.value-desc {
    font-size: 0.95rem;
    color: var(--c-text-muted);
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-lg);
}

.vm-card {
    padding: 3.5rem;
}

.vm-card--vision {
    background: linear-gradient(
        135deg,
        rgba(0, 210, 255, 0.1),
        rgba(139, 92, 246, 0.1)
    );
    border: 1px solid rgba(0, 210, 255, 0.2);
}

.vm-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--c-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.vm-title::before {
    content: "";
    display: block;
    width: 1.5rem;
    height: 2px;
    background: var(--c-primary);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-info-card {
    text-align: center;
    padding: 2.5rem;
}

.contact-info-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--c-primary);
    text-shadow: var(--glow-primary);
}

.contact-info-card strong {
    display: block;
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-info-card a,
.contact-info-card span {
    color: var(--c-text-muted);
    font-size: 0.95rem;
}

.contact-info-card a:hover {
    color: var(--c-primary);
}

.section-cta {
    padding-block: 6rem;
    background:
        linear-gradient(135deg, rgba(10, 15, 28, 0.9), rgba(17, 24, 39, 0.9)),
        url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PGNpcmNsZSBjeD0iMiIgY3k9IjIiIHI9IjIiIGZpbGw9IiNmZmYiIGZpbGwtb3BhY2l0eT0iMC4wNSIvPjwvc3ZnPg==");
    text-align: center;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #fff;
    margin-bottom: 1.5rem;
}

.cta-desc {
    color: var(--c-text-muted);
    font-size: 1.15rem;
    max-width: 600px;
    margin-inline: auto;
    margin-bottom: 3rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.contact-form-card {
    padding: 3rem;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-detail-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    color: var(--c-primary);
    background: rgba(0, 210, 255, 0.1);
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-img-wrap {
    position: relative;
}

.about-img-wrap img {
    border-radius: var(--radius-xl);
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-stat {
    position: absolute;
    bottom: 2rem;
    left: -2rem;
    background: rgba(17, 24, 39, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 210, 255, 0.3);
    color: #fff;
    padding: 1.5rem 2rem;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.about-stat__value {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--c-primary);
    font-family: var(--font-heading);
    margin-bottom: 0.25rem;
}

.about-stat__label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--c-text-muted);
}

.about-checklist {
    list-style: none;
    margin-block: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-checklist li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.05rem;
}

.about-checklist li::before {
    content: "✓";
    color: var(--c-primary);
    font-weight: 700;
    flex-shrink: 0;
    background: rgba(0, 210, 255, 0.1);
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-lg);
}

.service-card {
    padding: 0;
}

.service-card__img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card__body {
    padding: 2rem;
}

.service-card__icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--c-primary);
}

.service-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #fff;
}

.service-card__desc {
    font-size: 0.95rem;
    color: var(--c-text-muted);
    margin-bottom: 1.5rem;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.pagination__link {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--c-text);
    background: rgba(255, 255, 255, 0.03);
    transition: var(--transition);
}

.pagination__link:hover,
.pagination__link.active {
    background: var(--c-primary);
    border-color: var(--c-primary);
    color: #fff;
    box-shadow: var(--glow-primary);
}

.empty-state {
    text-align: center;
    padding: 6rem 2rem;
    color: var(--c-text-muted);
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-lg);
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.article-header {
    padding-block: 6rem 4rem;
    text-align: center;
}

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    color: var(--c-text-muted);
}

.article-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-inline: auto;
}

.article-excerpt {
    color: var(--c-text-muted);
    font-size: 1.25rem;
    max-width: 800px;
    margin-inline: auto;
}

.article-cover {
    margin-bottom: 4rem;
}

.article-cover img {
    border-radius: var(--radius-xl);
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.article-body {
    padding-bottom: 4rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--c-text);
}

.article-body h2,
.article-body h3 {
    margin-block: 3rem 1.5rem;
    color: #fff;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body ul,
.article-body ol {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

.article-body blockquote {
    border-left: 4px solid var(--c-primary);
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    font-style: italic;
    color: #fff;
    background: rgba(0, 210, 255, 0.05);
    padding: 1.5rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.article-footer {
    padding-block: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ═══════════════════════════════════════════════════════════
   20. SECTION — Article Card (blog_category_feed)
   ═══════════════════════════════════════════════════════════ */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-lg);
}

.article-card {
    padding: 0;
    display: flex;
    flex-direction: column;
}

.article-card__image-wrap {
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.article-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.article-card:hover .article-card__image {
    transform: scale(1.08);
}

.article-card__body {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-card__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--c-text-muted);
}

.article-card__category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(0, 210, 255, 0.1);
    color: var(--c-primary);
    border: 1px solid rgba(0, 210, 255, 0.2);
}

.article-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    color: #fff;
}

.article-card__title a:hover {
    color: var(--c-primary);
}

.article-card__excerpt {
    font-size: 0.95rem;
    color: var(--c-text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex: 1;
}

.read-more {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--c-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s;
}

.read-more:hover {
    color: #fff;
}

/* ═══════════════════════════════════════════════════════════
   21. SECTION — Product Categories (product_categories)
   ═══════════════════════════════════════════════════════════ */
.product-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-lg);
}

.category-card {
    padding: 0;
    display: block;
    text-align: center;
}

.category-card__image-wrap {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
}

.category-card__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s;
}

.category-card:hover .category-card__image-wrap img {
    transform: scale(1.1);
}

.category-card__body {
    padding: 2rem;
}

.category-card__name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.category-card__desc {
    font-size: 0.95rem;
    color: var(--c-text-muted);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   22. RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .clients-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }

    .product-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-py: 4rem;
    }

    .site-nav {
        position: fixed;
        inset: 0 0 0 auto;
        width: min(100vw, 300px);
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 6rem 2rem 2rem;
        background: rgba(10, 15, 28, 0.98);
        backdrop-filter: blur(20px);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        border-left: 1px solid rgba(255, 255, 255, 0.05);
        z-index: 95;
    }

    .site-nav.nav-open {
        transform: none;
    }

    .nav-hamburger {
        display: flex;
        z-index: 200;
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        pointer-events: all;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.03);
        margin-top: 0.5rem;
    }

    .hero-split-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vision-mission-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-page-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .product-categories-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }
}

/* ═══════════════════════════════════════════════════════════
   23. GALLERY LIGHTBOX
   ═══════════════════════════════════════════════════════════ */
.lightbox {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(10,15,28,.95);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: opacity .3s ease;
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox__content { max-width: 90vw; max-height: 88vh; }
.lightbox__img { max-width: 90vw; max-height: 80vh; object-fit: contain; border-radius: var(--radius-md); }
.lightbox__caption { text-align: center; color: var(--c-text-muted); font-size: .9rem; margin-top: 1rem; }
.lightbox__close {
    position: fixed; top: 1.5rem; right: 1.5rem;
    width: 2.5rem; height: 2.5rem;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--c-border); border-radius: 50%; color: var(--c-text); font-size: 1rem;
    background: rgba(255,255,255,.05);
}
.lightbox__prev, .lightbox__next {
    position: fixed; top: 50%; transform: translateY(-50%);
    width: 3rem; height: 3rem;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--c-border); border-radius: 50%; color: var(--c-text); font-size: 1.1rem;
    background: rgba(255,255,255,.05);
}
.lightbox__prev { left: 2rem; }
.lightbox__next { right: 2rem; }
.lightbox__prev:hover, .lightbox__next:hover, .lightbox__close:hover { background: var(--c-primary); color: #0a0f1c; border-color: var(--c-primary); }
@media (max-width: 640px) {
    .lightbox__prev { left: .75rem; }
    .lightbox__next { right: .75rem; }
}
