@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Exo+2:wght@400;500;600;700&family=Lora:ital,wght@0,400;0,500;0,600;1,400&family=Manrope:wght@400;500;600;700;800&family=Montserrat:wght@400;500;600;700&family=Orbitron:wght@500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Rajdhani:wght@500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

/**
 * Frontend UI themes — visual layer only (no content/HTML changes).
 * Each theme uses unique fonts, palette, spacing rhythm, and component styling.
 */

/* ── Shared theme utilities ── */
body.site-page[data-frontend-ui] {
    --transition-theme: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body.site-page[data-frontend-ui]:not([data-frontend-ui="classic"]) .nav-menu a,
body.site-page[data-frontend-ui]:not([data-frontend-ui="classic"]) .nav-menu-mobile a,
body.site-page[data-frontend-ui]:not([data-frontend-ui="classic"]) .btn-nav-cta,
body.site-page[data-frontend-ui]:not([data-frontend-ui="classic"]) .btn-pill,
body.site-page[data-frontend-ui]:not([data-frontend-ui="classic"]) .btn-nav-cta-mobile,
body.site-page[data-frontend-ui]:not([data-frontend-ui="classic"]) .filter-pill,
body.site-page[data-frontend-ui]:not([data-frontend-ui="classic"]) .contact-lead-form .btn {
    font-family: var(--font-ui, var(--font-body)) !important;
}

body.site-page[data-frontend-ui]:not([data-frontend-ui="classic"]) .section-intro::after {
    content: '';
    display: block;
    width: var(--theme-accent-width, 64px);
    height: 3px;
    margin: 1.25rem auto 0;
    border-radius: 999px;
    background: var(--theme-accent-line, var(--primary-color, #111));
}

body.site-page[data-frontend-ui="modern-minimalist"] .section-intro::after {
    height: 1px;
    width: 48px;
}

body.site-page[data-frontend-ui="futuristic"] .section-intro::after {
    box-shadow: 0 0 12px var(--theme-glow, #22d3ee);
}

/* ═══════════════════════════════════════════════════════════════
   1. CLASSIC THEME — Original default (site.css only, no overrides)
   Font: Montserrat
   ═══════════════════════════════════════════════════════════════ */
body.site-page[data-frontend-ui="classic"],
body.page-gallery[data-frontend-ui="classic"] {
    --font-body: 'Montserrat', system-ui, sans-serif;
    --font-heading: 'Montserrat', system-ui, sans-serif;
    --font-ui: 'Montserrat', system-ui, sans-serif;
    --font: 'Montserrat', system-ui, sans-serif;
}

/* ═══════════════════════════════════════════════════════════════
   2. MODERN THEME — Vibrant SaaS, glass & gradient energy
   Fonts: Plus Jakarta Sans (body/UI) · Space Grotesk (headings)
   ═══════════════════════════════════════════════════════════════ */
body.site-page[data-frontend-ui="modern"] {
    --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-heading: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
    --font-ui: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font: var(--font-body);
    --bg-white: #ffffff;
    --bg-soft: #eef2ff;
    --bg-tan: #e0e7ff;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --border: rgba(99, 102, 241, 0.16);
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-pill: 999px;
    --shadow: 0 20px 50px rgba(79, 70, 229, 0.12);
    --theme-accent-line: linear-gradient(90deg, #6366f1, #ec4899, #8b5cf6);
    --theme-accent-width: 88px;
    background:
        radial-gradient(circle at 85% 0%, rgba(236, 72, 153, 0.08), transparent 32%),
        radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.1), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 55%, #eef2ff 100%);
    color: var(--text-dark);
}

body.site-page[data-frontend-ui="modern"] .site-header {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(18px) saturate(160%);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.04);
}

body.site-page[data-frontend-ui="modern"] .brand-name {
    background: linear-gradient(135deg, #4f46e5, #db2777);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

body.site-page[data-frontend-ui="modern"] .nav-menu a {
    font-weight: 600;
    font-size: 0.84rem;
    border-radius: 999px;
    padding: 0.55rem 1rem;
}

body.site-page[data-frontend-ui="modern"] .nav-menu a:hover,
body.site-page[data-frontend-ui="modern"] .nav-menu a.active {
    background: rgba(99, 102, 241, 0.1);
    color: #4338ca;
}

body.site-page[data-frontend-ui="modern"] .btn-nav-cta,
body.site-page[data-frontend-ui="modern"] .btn-pill,
body.site-page[data-frontend-ui="modern"] .btn-nav-cta-mobile {
    background: linear-gradient(135deg, var(--primary-color, #6366f1), #a855f7);
    border: 0;
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.35);
    font-weight: 700;
}

body.site-page[data-frontend-ui="modern"] .btn-nav-cta:hover,
body.site-page[data-frontend-ui="modern"] .btn-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(99, 102, 241, 0.42);
}

body.site-page[data-frontend-ui="modern"] .hero-headline,
body.site-page[data-frontend-ui="modern"] .section-title {
    letter-spacing: -0.04em;
    line-height: 1.05;
}

body.site-page[data-frontend-ui="modern"] .hero-feature-stat,
body.site-page[data-frontend-ui="modern"] .counter-value {
    background: linear-gradient(135deg, #4f46e5, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

body.site-page[data-frontend-ui="modern"] .arc-card,
body.site-page[data-frontend-ui="modern"] .bento-card,
body.site-page[data-frontend-ui="modern"] .service-card,
body.site-page[data-frontend-ui="modern"] .contact-form-card {
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

body.site-page[data-frontend-ui="modern"] .service-card:hover,
body.site-page[data-frontend-ui="modern"] .arc-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 28px 60px rgba(99, 102, 241, 0.18);
}

body.site-page[data-frontend-ui="modern"] .section-counters {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.06), rgba(236, 72, 153, 0.05));
    border-radius: var(--radius-xl);
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1rem, 3vw, 2rem);
    padding-right: clamp(1rem, 3vw, 2rem);
}

body.site-page[data-frontend-ui="modern"] .home-slider-caption {
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 1.5rem 2rem;
}

body.site-page[data-frontend-ui="modern"] .site-footer {
    background: linear-gradient(180deg, #0f172a 0%, #1e1b4b 100%);
    color: #cbd5e1;
    border-top: 0;
}

body.site-page[data-frontend-ui="modern"] .footer-col h4 {
    color: #fff;
}

body.site-page[data-frontend-ui="modern"] .footer-col a:hover {
    color: #c4b5fd;
}

body.site-page[data-frontend-ui="modern"] .contact-icon {
    background: linear-gradient(135deg, #6366f1, #ec4899);
    border-radius: 16px;
}

body.site-page .nav-menu-mobile.open {
    background: var(--bg-white, #ffffff) !important;
    backdrop-filter: none !important;
}

body.site-page[data-frontend-ui="modern"] .nav-menu-mobile {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
}

body.site-page[data-frontend-ui="modern"] .nav-menu-mobile.open {
    background: var(--bg-white, #ffffff) !important;
    backdrop-filter: none !important;
}

/* ═══════════════════════════════════════════════════════════════
   3. MODERN MINIMALIST — Swiss grid, monochrome, airy
   Font: Manrope (entire UI)
   ═══════════════════════════════════════════════════════════════ */
body.site-page[data-frontend-ui="modern-minimalist"] {
    --font-body: 'Manrope', system-ui, sans-serif;
    --font-heading: 'Manrope', system-ui, sans-serif;
    --font-ui: 'Manrope', system-ui, sans-serif;
    --font: var(--font-body);
    --bg-white: #ffffff;
    --bg-soft: #fafafa;
    --bg-tan: #f5f5f5;
    --text-dark: #111111;
    --text-muted: #737373;
    --border: #e5e5e5;
    --radius-lg: 0;
    --radius-xl: 0;
    --radius-pill: 0;
    --shadow: none;
    --theme-accent-line: #111111;
    --theme-accent-width: 40px;
    background: #ffffff;
    color: var(--text-dark);
}

body.site-page[data-frontend-ui="modern-minimalist"] .site-header {
    border-bottom: 1px solid #111;
    box-shadow: none;
    padding: 1.35rem 0;
    background: #fff;
}

body.site-page[data-frontend-ui="modern-minimalist"] .brand-name {
    font-weight: 800;
    letter-spacing: -0.05em;
    text-transform: lowercase;
}

body.site-page[data-frontend-ui="modern-minimalist"] .nav-menu a {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #525252;
}

body.site-page[data-frontend-ui="modern-minimalist"] .nav-menu a.active {
    color: #111;
    text-decoration: underline;
    text-underline-offset: 6px;
}

body.site-page[data-frontend-ui="modern-minimalist"] .btn-nav-cta,
body.site-page[data-frontend-ui="modern-minimalist"] .btn-pill,
body.site-page[data-frontend-ui="modern-minimalist"] .btn-nav-cta-mobile {
    background: #111;
    border-radius: 0;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 800;
    box-shadow: none;
}

body.site-page[data-frontend-ui="modern-minimalist"] .hero-headline,
body.site-page[data-frontend-ui="modern-minimalist"] .section-title {
    font-weight: 800;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}

body.site-page[data-frontend-ui="modern-minimalist"] .hero-lead,
body.site-page[data-frontend-ui="modern-minimalist"] .section-desc {
    font-weight: 500;
    max-width: 480px;
}

body.site-page[data-frontend-ui="modern-minimalist"] .section-bento,
body.site-page[data-frontend-ui="modern-minimalist"] .section-services,
body.site-page[data-frontend-ui="modern-minimalist"] .section-counters,
body.site-page[data-frontend-ui="modern-minimalist"] .section-results,
body.site-page[data-frontend-ui="modern-minimalist"] .hero-flow,
body.site-page[data-frontend-ui="modern-minimalist"] .home-slider {
    background: #fff;
}

body.site-page[data-frontend-ui="modern-minimalist"] .bento-card,
body.site-page[data-frontend-ui="modern-minimalist"] .service-card,
body.site-page[data-frontend-ui="modern-minimalist"] .contact-form-card,
body.site-page[data-frontend-ui="modern-minimalist"] .about-box-card,
body.site-page[data-frontend-ui="modern-minimalist"] .arc-card {
    border: 1px solid #111;
    border-radius: 0;
    box-shadow: none;
}

body.site-page[data-frontend-ui="modern-minimalist"] .counter-value {
    font-weight: 800;
    letter-spacing: -0.04em;
}

body.site-page[data-frontend-ui="modern-minimalist"] .counter-label {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.68rem;
}

body.site-page[data-frontend-ui="modern-minimalist"] .site-footer {
    border-top: 2px solid #111;
    background: #fff;
}

body.site-page[data-frontend-ui="modern-minimalist"] .footer-col h4 {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
}

body.site-page[data-frontend-ui="modern-minimalist"] .contact-icon {
    background: #111;
    border-radius: 0;
}

body.site-page[data-frontend-ui="modern-minimalist"] .form-control,
body.site-page[data-frontend-ui="modern-minimalist"] .contact-lead-form .form-control {
    border-radius: 0;
    border-color: #111;
}

body.site-page[data-frontend-ui="modern-minimalist"] .nav-menu-mobile {
    background: #fff;
    border-top: 2px solid #111;
}

/* ═══════════════════════════════════════════════════════════════
   4. CLASSICAL MODERN — Gallery elegance, linen & serif poetry
   Fonts: Lora (body/UI) · Cormorant Garamond (headings)
   ═══════════════════════════════════════════════════════════════ */
body.site-page[data-frontend-ui="classical-modern"] {
    --font-body: 'Lora', Georgia, serif;
    --font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-ui: 'Lora', Georgia, serif;
    --font: var(--font-body);
    --bg-white: #faf7f2;
    --bg-soft: #f2ebe1;
    --bg-tan: #e5d9c8;
    --bg-sage: #d8e0d2;
    --text-dark: #3d342a;
    --text-muted: #7a6f62;
    --border: #d9cfc0;
    --radius-lg: 2px;
    --radius-xl: 4px;
    --radius-pill: 999px;
    --shadow: 0 18px 50px rgba(61, 52, 42, 0.07);
    --theme-accent-line: linear-gradient(90deg, transparent, #a8895c, transparent);
    --theme-accent-width: 120px;
    background:
        linear-gradient(180deg, #faf7f2 0%, #f5efe6 100%);
    color: var(--text-dark);
}

body.site-page[data-frontend-ui="classical-modern"]::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.04;
    background-image:
        repeating-linear-gradient(90deg, #3d342a 0, #3d342a 1px, transparent 1px, transparent 48px),
        repeating-linear-gradient(0deg, #3d342a 0, #3d342a 1px, transparent 1px, transparent 48px);
}

body.site-page[data-frontend-ui="classical-modern"] .site-header,
body.site-page[data-frontend-ui="classical-modern"] .site-footer,
body.site-page[data-frontend-ui="classical-modern"] main {
    position: relative;
    z-index: 1;
}

body.site-page[data-frontend-ui="classical-modern"] .site-header {
    background: rgba(250, 247, 242, 0.94);
    border-bottom: 1px solid var(--border);
    box-shadow: inset 0 -1px 0 rgba(168, 137, 92, 0.25);
}

body.site-page[data-frontend-ui="classical-modern"] .brand-name {
    font-size: 1.45rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

body.site-page[data-frontend-ui="classical-modern"] .nav-menu a {
    font-style: italic;
    font-size: 0.95rem;
}

body.site-page[data-frontend-ui="classical-modern"] .nav-menu a.active {
    color: #8b6914;
}

body.site-page[data-frontend-ui="classical-modern"] .btn-nav-cta,
body.site-page[data-frontend-ui="classical-modern"] .btn-pill {
    border: 1px solid #a8895c;
    background: transparent;
    color: #3d342a;
    font-style: italic;
    letter-spacing: 0.04em;
    box-shadow: none;
}

body.site-page[data-frontend-ui="classical-modern"] .btn-nav-cta:hover,
body.site-page[data-frontend-ui="classical-modern"] .btn-pill:hover {
    background: #3d342a;
    color: #faf7f2;
    border-color: #3d342a;
}

body.site-page[data-frontend-ui="classical-modern"] .hero-headline,
body.site-page[data-frontend-ui="classical-modern"] .section-title,
body.site-page[data-frontend-ui="classical-modern"] .page-banner h1 {
    font-weight: 600;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: 0.01em;
}

body.site-page[data-frontend-ui="classical-modern"] .section-desc,
body.site-page[data-frontend-ui="classical-modern"] .hero-lead {
    font-style: italic;
    font-size: 1.08rem;
}

body.site-page[data-frontend-ui="classical-modern"] .section-counters {
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

body.site-page[data-frontend-ui="classical-modern"] .counter-value {
    font-family: var(--font-heading) !important;
    color: #8b6914;
}

body.site-page[data-frontend-ui="classical-modern"] .bento-card,
body.site-page[data-frontend-ui="classical-modern"] .service-card,
body.site-page[data-frontend-ui="classical-modern"] .contact-form-card,
body.site-page[data-frontend-ui="classical-modern"] .about-gallery-item .zoomable {
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

body.site-page[data-frontend-ui="classical-modern"] .bento-content h3 {
    font-size: 1.45rem;
}

body.site-page[data-frontend-ui="classical-modern"] .site-footer {
    background: #3d342a;
    color: #e8dfd0;
    border-top: 3px double #a8895c;
}

body.site-page[data-frontend-ui="classical-modern"] .footer-col h4 {
    color: #faf7f2;
    font-style: italic;
}

body.site-page[data-frontend-ui="classical-modern"] .footer-col a {
    color: #d4bc8e;
}

body.site-page[data-frontend-ui="classical-modern"] .contact-icon {
    background: #a8895c;
    border-radius: 50%;
}

body.site-page[data-frontend-ui="classical-modern"] .page-banner-wide.has-overlay-box .banner-overlay-panel {
    background: rgba(250, 247, 242, var(--overlay-opacity, 0.92));
}

/* ═══════════════════════════════════════════════════════════════
   5. FUTURISTIC — Neon cyberdeck, dark canvas & electric glow
   Fonts: Exo 2 (body) · Orbitron (headings) · Rajdhani (UI/nav)
   ═══════════════════════════════════════════════════════════════ */
body.site-page[data-frontend-ui="futuristic"] {
    --font-body: 'Exo 2', system-ui, sans-serif;
    --font-heading: 'Orbitron', 'Exo 2', sans-serif;
    --font-ui: 'Rajdhani', 'Exo 2', sans-serif;
    --font: var(--font-body);
    --bg-white: #070b14;
    --bg-soft: #0f172a;
    --bg-tan: #111827;
    --bg-sage: #0d1f1a;
    --text-dark: #e2e8f0;
    --text-muted: #94a3b8;
    --border: rgba(34, 211, 238, 0.28);
    --radius-lg: 4px;
    --radius-xl: 8px;
    --radius-pill: 4px;
    --shadow: 0 0 30px rgba(34, 211, 238, 0.14);
    --theme-accent-line: linear-gradient(90deg, #22d3ee, #a855f7, #22d3ee);
    --theme-accent-width: 100px;
    --theme-glow: #22d3ee;
    background:
        radial-gradient(circle at 15% 0%, rgba(168, 85, 247, 0.12), transparent 30%),
        radial-gradient(circle at 90% 10%, rgba(34, 211, 238, 0.1), transparent 28%),
        linear-gradient(180deg, #070b14 0%, #0f172a 50%, #070b14 100%);
    color: var(--text-dark);
}

body.site-page[data-frontend-ui="futuristic"]::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.035;
    background-image: linear-gradient(rgba(34, 211, 238, 0.5) 1px, transparent 1px);
    background-size: 100% 4px;
}

body.site-page[data-frontend-ui="futuristic"] .site-header,
body.site-page[data-frontend-ui="futuristic"] main,
body.site-page[data-frontend-ui="futuristic"] .site-footer {
    position: relative;
    z-index: 1;
}

body.site-page[data-frontend-ui="futuristic"] .site-header {
    background: rgba(7, 11, 20, 0.88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 0 40px rgba(34, 211, 238, 0.08);
}

body.site-page[data-frontend-ui="futuristic"] .brand-name,
body.site-page[data-frontend-ui="futuristic"] .nav-brand {
    color: #22d3ee;
    text-shadow: 0 0 20px rgba(34, 211, 238, 0.45);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 1rem;
}

body.site-page[data-frontend-ui="futuristic"] .nav-menu a {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #94a3b8;
}

body.site-page[data-frontend-ui="futuristic"] .nav-menu a:hover,
body.site-page[data-frontend-ui="futuristic"] .nav-menu a.active {
    color: #22d3ee;
    text-shadow: 0 0 12px rgba(34, 211, 238, 0.5);
}

body.site-page[data-frontend-ui="futuristic"] .nav-toggle {
    color: #22d3ee;
}

body.site-page[data-frontend-ui="futuristic"] .btn-nav-cta,
body.site-page[data-frontend-ui="futuristic"] .btn-pill,
body.site-page[data-frontend-ui="futuristic"] .btn-nav-cta-mobile {
    background: transparent;
    border: 1px solid #22d3ee;
    color: #22d3ee;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 700;
    box-shadow:
        0 0 20px rgba(34, 211, 238, 0.25),
        inset 0 0 20px rgba(34, 211, 238, 0.06);
}

body.site-page[data-frontend-ui="futuristic"] .btn-nav-cta:hover,
body.site-page[data-frontend-ui="futuristic"] .btn-pill:hover {
    background: rgba(34, 211, 238, 0.12);
    color: #fff;
    box-shadow: 0 0 32px rgba(34, 211, 238, 0.45);
}

body.site-page[data-frontend-ui="futuristic"] .hero-headline,
body.site-page[data-frontend-ui="futuristic"] .section-title,
body.site-page[data-frontend-ui="futuristic"] .page-banner h1 {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.2;
    text-shadow: 0 0 24px rgba(34, 211, 238, 0.2);
}

body.site-page[data-frontend-ui="futuristic"] .hero-lead,
body.site-page[data-frontend-ui="futuristic"] .section-desc {
    color: #94a3b8;
    font-weight: 500;
}

body.site-page[data-frontend-ui="futuristic"] .section-bento,
body.site-page[data-frontend-ui="futuristic"] .section-services,
body.site-page[data-frontend-ui="futuristic"] .section-counters,
body.site-page[data-frontend-ui="futuristic"] .section-results,
body.site-page[data-frontend-ui="futuristic"] .section-cta,
body.site-page[data-frontend-ui="futuristic"] .hero-flow,
body.site-page[data-frontend-ui="futuristic"] .section-contact,
body.site-page[data-frontend-ui="futuristic"] .home-slider,
body.site-page[data-frontend-ui="futuristic"] .section-about-text,
body.site-page[data-frontend-ui="futuristic"] .about-module {
    background: transparent;
}

body.site-page[data-frontend-ui="futuristic"] .counter-value {
    color: #22d3ee;
    text-shadow: 0 0 16px rgba(34, 211, 238, 0.35);
}

body.site-page[data-frontend-ui="futuristic"] .counter-label {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: var(--font-ui) !important;
}

body.site-page[data-frontend-ui="futuristic"] .section-counters,
body.site-page[data-frontend-ui="futuristic"] .contact-form-card,
body.site-page[data-frontend-ui="futuristic"] .contact-form-success,
body.site-page[data-frontend-ui="futuristic"] .service-card,
body.site-page[data-frontend-ui="futuristic"] .about-box-card {
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

body.site-page[data-frontend-ui="futuristic"] .bento-solid-light,
body.site-page[data-frontend-ui="futuristic"] .bento-solid-tan {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid var(--border);
}

body.site-page[data-frontend-ui="futuristic"] .bento-content p,
body.site-page[data-frontend-ui="futuristic"] .service-card p {
    color: var(--text-muted);
}

body.site-page[data-frontend-ui="futuristic"] .arc-card {
    border: 1px solid var(--border);
    box-shadow: 0 0 24px rgba(168, 85, 247, 0.15);
}

body.site-page[data-frontend-ui="futuristic"] .site-footer {
    background: #04060d;
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 40px rgba(34, 211, 238, 0.06);
}

body.site-page[data-frontend-ui="futuristic"] .footer-col h4 {
    color: #22d3ee;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

body.site-page[data-frontend-ui="futuristic"] .footer-col a {
    color: #cbd5e1;
}

body.site-page[data-frontend-ui="futuristic"] .footer-col a:hover {
    color: #a855f7;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.4);
}

body.site-page[data-frontend-ui="futuristic"] .contact-icon {
    background: transparent;
    border: 1px solid #22d3ee;
    color: #22d3ee;
    box-shadow: 0 0 16px rgba(34, 211, 238, 0.2);
    border-radius: 4px;
}

body.site-page[data-frontend-ui="futuristic"] .form-control,
body.site-page[data-frontend-ui="futuristic"] .form-select,
body.site-page[data-frontend-ui="futuristic"] textarea,
body.site-page[data-frontend-ui="futuristic"] .contact-lead-form .form-control {
    background: rgba(7, 11, 20, 0.9);
    border-color: var(--border);
    color: var(--text-dark);
    border-radius: 4px;
}

body.site-page[data-frontend-ui="futuristic"] .form-control:focus,
body.site-page[data-frontend-ui="futuristic"] textarea:focus {
    border-color: #22d3ee;
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15);
    color: #fff;
}

body.site-page[data-frontend-ui="futuristic"] .nav-menu-mobile {
    background: #0f172a;
    border-top-color: var(--border);
}

body.site-page[data-frontend-ui="futuristic"] .page-banner,
body.site-page[data-frontend-ui="futuristic"] .page-banner-wide {
    background-color: var(--bg-soft);
}

body.site-page[data-frontend-ui="futuristic"] .page-banner-wide.has-overlay-box .banner-overlay-panel {
    background: rgba(15, 23, 42, 0.88);
    color: var(--text-dark);
    border: 1px solid var(--border);
}

body.site-page[data-frontend-ui="futuristic"] .site-floating-action {
    border: 1px solid rgba(34, 211, 238, 0.4);
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.25);
}

/* ═══════════════════════════════════════════════════════════════
   Gallery page — all themes
   ═══════════════════════════════════════════════════════════════ */
body.page-gallery[data-frontend-ui="modern"] {
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    background: linear-gradient(180deg, #fff 0%, #eef2ff 100%);
}

body.page-gallery[data-frontend-ui="modern-minimalist"] {
    --font-body: 'Manrope', sans-serif;
    --font-heading: 'Manrope', sans-serif;
    background: #fff;
}

body.page-gallery[data-frontend-ui="classical-modern"] {
    --font-body: 'Lora', Georgia, serif;
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    background: #faf7f2;
}

body.page-gallery[data-frontend-ui="futuristic"] {
    --font-body: 'Exo 2', sans-serif;
    --font-heading: 'Orbitron', sans-serif;
    --font-ui: 'Rajdhani', sans-serif;
    --text-dark: #e2e8f0;
    --text-muted: #94a3b8;
    --border: rgba(34, 211, 238, 0.28);
    background: linear-gradient(180deg, #070b14 0%, #0f172a 100%);
    color: var(--text-dark);
}

body.page-gallery[data-frontend-ui]:not([data-frontend-ui="classic"]) .gallery-section {
    background: transparent;
}

body.page-gallery[data-frontend-ui="modern"] .filter-pill {
    border-radius: 999px;
    font-weight: 700;
}

body.page-gallery[data-frontend-ui="modern"] .filter-pill.active {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: #fff;
    border-color: transparent;
}

body.page-gallery[data-frontend-ui="modern-minimalist"] .gallery-item,
body.page-gallery[data-frontend-ui="modern-minimalist"] .search-box input,
body.page-gallery[data-frontend-ui="modern-minimalist"] .filter-pill {
    border-radius: 0;
}

body.page-gallery[data-frontend-ui="modern-minimalist"] .filter-pill.active {
    background: #111;
    color: #fff;
}

body.page-gallery[data-frontend-ui="classical-modern"] .filter-heading {
    font-size: clamp(2rem, 4vw, 2.8rem);
}

body.page-gallery[data-frontend-ui="futuristic"] .search-box input,
body.page-gallery[data-frontend-ui="futuristic"] .filter-pill {
    background: rgba(7, 11, 20, 0.9);
    border-color: var(--border);
    color: var(--text-dark);
    border-radius: 4px;
    font-family: var(--font-ui) !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.page-gallery[data-frontend-ui="futuristic"] .filter-pill.active {
    border-color: #22d3ee;
    color: #22d3ee;
    box-shadow: 0 0 18px rgba(34, 211, 238, 0.3);
}

body.page-gallery[data-frontend-ui="futuristic"] .gallery-item {
    border: 1px solid var(--border);
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.08);
}

/* Contact & services page polish */
body.page-contact[data-frontend-ui="modern"] .contact-form-card,
body.page-services[data-frontend-ui="modern"] .service-card {
    backdrop-filter: blur(8px);
}

body.page-about[data-frontend-ui="classical-modern"] .about-text-block p {
    font-style: italic;
    font-size: 1.05rem;
}

body.page-home[data-frontend-ui="futuristic"] .hero-arc {
    filter: drop-shadow(0 0 24px rgba(34, 211, 238, 0.12));
}

/* Hardcoded white surfaces → theme-aware */
body.site-page[data-frontend-ui="modern"] .section-bento,
body.site-page[data-frontend-ui="modern"] .section-services,
body.site-page[data-frontend-ui="modern"] .hero-flow,
body.site-page[data-frontend-ui="modern"] .home-slider {
    background: transparent;
}

body.site-page[data-frontend-ui="modern-minimalist"] .section-cta {
    border-top: 1px solid #111;
    border-bottom: 1px solid #111;
}

body.site-page[data-frontend-ui="classical-modern"] .section-cta {
    background: var(--bg-soft);
}

body.site-page[data-frontend-ui="futuristic"] .btn-pill-light {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
}

@media (max-width: 991px) {
    body.site-page[data-frontend-ui="modern"] .brand-name {
        font-size: 1.1rem;
    }

    body.site-page[data-frontend-ui="modern-minimalist"] .hero-headline,
    body.site-page[data-frontend-ui="modern-minimalist"] .section-title {
        font-size: clamp(1.5rem, 7vw, 2.2rem);
    }

    body.site-page[data-frontend-ui="futuristic"] .nav-menu a {
        letter-spacing: 0.08em;
    }
}
