/* ============================================================
   BuilderNow Client Template - DARK MODE
   ------------------------------------------------------------
   Must be loaded INSTEAD of template-light.css (not in addition).
   Overrides the theme tokens from the light file. The overridable
   --color-1/2/3 stay the same -- brand colors carry across modes.

   Dark mode is designed from scratch, not just a color flip.
   Deep charcoal base, lighter text for AAA contrast, and
   glass-blur surfaces on cards to give depth without flatness.
   ============================================================ */

:root {
    /* ========================================================
       OVERRIDABLE (per-site, via editor)  - same as light
       ======================================================== */
    --color-1: #2563eb;
    --color-2: #f7b71e;
    --color-3: #1f2937;

    --color-1-hover:  color-mix(in srgb, var(--color-1) 88%, white);
    --color-1-tint:   color-mix(in srgb, var(--color-1) 18%, #0b1020);
    --color-1-fade:   color-mix(in srgb, var(--color-1) 8%, #0b1020);
    --color-2-hover:  color-mix(in srgb, var(--color-2) 92%, white);
    --color-2-tint:   color-mix(in srgb, var(--color-2) 20%, #0b1020);

    /* ========================================================
       THEME TOKENS (DARK MODE)
       ======================================================== */
    --surface:       #0b1020;   /* body base - deep near-black with slight blue cast */
    --surface-alt:   #111830;   /* lifted panels (services, testimonials) */
    --surface-mute:  #161e38;   /* deeper inputs / wells */
    --surface-dark:  #070b17;   /* contact/footer - darker than body */

    --text:          #f3f4f6;   /* primary text */
    --text-soft:     #d1d5db;
    --text-muted:    #9ca3af;
    --text-faint:    #6b7280;
    --text-invert:   #0b1020;
    --text-invert-soft: rgba(11,16,32,0.75);

    --border:        rgba(255,255,255,0.08);
    --border-soft:   rgba(255,255,255,0.04);
    --border-dark:   rgba(0,0,0,0.4);

    --shadow-sm:  0 1px 2px 0 rgb(0 0 0 / 0.4);
    --shadow:     0 4px 6px -1px rgb(0 0 0 / 0.4), 0 2px 4px -2px rgb(0 0 0 / 0.3);
    --shadow-md:  0 10px 15px -3px rgb(0 0 0 / 0.5), 0 4px 6px -4px rgb(0 0 0 / 0.4);
    --shadow-lg:  0 20px 40px -8px rgb(0 0 0 / 0.6), 0 8px 16px -8px rgb(0 0 0 / 0.5);
    --shadow-xl:  0 30px 60px -12px rgb(0 0 0 / 0.7);

    /* Fixed tokens (same as light) */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --text-xs:  0.75rem;   --text-sm:  0.875rem;  --text-base: 1rem;
    --text-lg:  1.125rem;  --text-xl:  1.25rem;   --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;  --text-4xl: 2.25rem;   --text-5xl: 3rem;
    --text-6xl: 3.75rem;   --text-7xl: 4.5rem;
    --space-1: 4px;   --space-2: 8px;   --space-3: 12px;  --space-4: 16px;
    --space-5: 20px;  --space-6: 24px;  --space-8: 32px;  --space-10: 40px;
    --space-12: 48px; --space-16: 64px; --space-20: 80px; --space-24: 96px;
    --radius-sm: 6px; --radius: 12px; --radius-lg: 20px; --radius-xl: 28px; --radius-full: 9999px;
    --container: 1280px;
    --nav-height: 80px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --t-fast: 150ms var(--ease);  --t: 250ms var(--ease);  --t-slow: 400ms var(--ease);
}

/* ============================================================
   RESET & BASE
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-height) + 16px);
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--text);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a { color: var(--color-1); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--color-1-hover); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font);
    font-weight: 800;
    color: var(--text);
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin: 0 0 var(--space-4);
}

h1 { font-size: clamp(var(--text-4xl), 5.5vw, var(--text-7xl)); letter-spacing: -0.04em; }
h2 { font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl)); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

p { margin: 0 0 var(--space-4); }

/* ============================================================
   LAYOUT  (identical to light)
   ============================================================ */

.bnt-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--space-6);
    width: 100%;
}

.bnt-section {
    padding: clamp(var(--space-16), 10vw, var(--space-24)) 0;
    position: relative;
}

.bnt-section-tight { padding: var(--space-12) 0; }
.bnt-section-alt { background: var(--surface-alt); }

.bnt-section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--space-12);
}
.bnt-section-head .eyebrow {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-2);  /* pops better than color-1 on dark */
    margin-bottom: var(--space-3);
}
.bnt-section-head h2 { margin-bottom: var(--space-3); }
.bnt-section-head p {
    font-size: var(--text-lg);
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.bnt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font);
    font-weight: 600;
    font-size: var(--text-base);
    line-height: 1;
    padding: 16px 28px;
    border-radius: var(--radius);
    border: 1.5px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: var(--t);
    white-space: nowrap;
}

.bnt-btn-primary {
    background: var(--color-1);
    color: #ffffff;
    box-shadow: 0 4px 20px -2px color-mix(in srgb, var(--color-1) 50%, transparent);
}
.bnt-btn-primary:hover {
    background: var(--color-1-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px -4px color-mix(in srgb, var(--color-1) 60%, transparent);
}

.bnt-btn-outline {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}
.bnt-btn-outline:hover {
    border-color: var(--color-2);
    color: var(--color-2);
    transform: translateY(-2px);
}

.bnt-btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: transparent;
}
.bnt-btn-ghost:hover { color: var(--color-2); }

.bnt-btn svg.arrow { transition: transform var(--t); }
.bnt-btn:hover svg.arrow { transform: translateX(4px); }

/* ============================================================
   NAV
   ============================================================ */

.bnt-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: color-mix(in srgb, var(--surface) 80%, transparent);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.02);
    transition: background var(--t), border-color var(--t), box-shadow var(--t);
}
.bnt-nav.is-scrolled {
    background: color-mix(in srgb, var(--surface) 95%, transparent);
    box-shadow: var(--shadow-sm);
}

.bnt-nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--space-6);
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
}

.bnt-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-weight: 800;
    font-size: var(--text-lg);
    letter-spacing: -0.02em;
}
.bnt-brand img { max-height: 70px; width: auto; height: auto; display: block; }

.bnt-nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    list-style: none;
    margin: 0;
    padding: 0;
}
.bnt-nav-links a {
    color: var(--text-muted);
    font-size: var(--text-sm);
    font-weight: 500;
    padding: 6px 0;
    position: relative;
}
.bnt-nav-links a:hover { color: var(--color-2); }
.bnt-nav-links a.bnt-btn { color: #ffffff; padding: 12px 22px; font-size: var(--text-sm); }

.bnt-nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    padding: 8px;
    cursor: pointer;
    color: var(--text);
}

@media (max-width: 900px) {
    :root { --nav-height: 68px; }
    .bnt-brand img { max-height: 48px; }
    .bnt-nav-links { display: none; }
    .bnt-nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .bnt-nav.is-open .bnt-nav-links {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        background: var(--surface);
        padding: var(--space-4) var(--space-6) var(--space-6);
        gap: 0;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
    }
    .bnt-nav.is-open .bnt-nav-links a {
        padding: 14px 0;
        border-bottom: 1px solid var(--border-soft);
        color: var(--text);
    }
    .bnt-nav.is-open .bnt-nav-links a.bnt-btn {
        margin-top: var(--space-3);
        border-bottom: none;
        justify-content: center;
    }
}

/* ============================================================
   HERO
   ============================================================ */

.bnt-hero {
    position: relative;
    padding: clamp(var(--space-16), 10vw, var(--space-24)) 0;
    overflow: hidden;
    background:
        radial-gradient(900px 500px at 100% 0%, color-mix(in srgb, var(--color-2) 12%, transparent), transparent 60%),
        radial-gradient(700px 400px at 0% 100%, color-mix(in srgb, var(--color-1) 15%, transparent), transparent 60%),
        var(--surface);
}

.bnt-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    align-items: center;
}
@media (min-width: 960px) {
    .bnt-hero-grid { grid-template-columns: 1.1fr 1fr; gap: clamp(var(--space-10), 5vw, var(--space-16)); }
}

.bnt-hero-copy .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-2);
    padding: 6px 14px;
    background: color-mix(in srgb, var(--color-2) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--color-2) 25%, transparent);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-5);
}
.bnt-hero-copy .eyebrow .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--color-2);
    animation: bnt-pulse 2s ease-in-out infinite;
}
@keyframes bnt-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(1.3); }
}

.bnt-hero-copy h1 {
    font-size: clamp(2.25rem, 5.5vw, 4.5rem);
    line-height: 1.05;
    margin-bottom: var(--space-5);
}
.bnt-hero-copy h1 .accent {
    color: var(--color-2);
    position: relative;
    display: inline-block;
}
.bnt-hero-copy h1 .accent::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    bottom: 4px;
    height: 8px;
    background: color-mix(in srgb, var(--color-1) 50%, transparent);
    z-index: -1;
    border-radius: 4px;
}

.bnt-hero-copy .lead {
    font-size: clamp(var(--text-base), 1.8vw, var(--text-xl));
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 560px;
    margin-bottom: var(--space-8);
}

.bnt-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-bottom: var(--space-8);
}

.bnt-hero-meta {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: var(--text-sm);
}
.bnt-hero-meta .item { display: inline-flex; align-items: center; gap: 8px; }
.bnt-hero-meta svg { color: var(--color-2); flex-shrink: 0; }

.bnt-hero-visual {
    position: relative;
    aspect-ratio: 5 / 6;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}
.bnt-hero-visual::before {
    content: "";
    position: absolute;
    top: -18px;
    right: -18px;
    width: 72%;
    height: 60%;
    border: 2.5px solid var(--color-2);
    border-radius: var(--radius-lg);
    z-index: 1;
    clip-path: polygon(18% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.bnt-hero-photo {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--surface-alt);
    border-radius: var(--radius-lg);
    clip-path: polygon(18% 0%, 100% 0%, 100% 100%, 0% 100%);
    z-index: 2;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}
.bnt-hero-stat {
    position: absolute;
    bottom: var(--space-8);
    left: -24px;
    z-index: 3;
    background: var(--surface-alt);
    border-radius: var(--radius);
    padding: var(--space-5) var(--space-6);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: var(--space-4);
    border: 1px solid var(--border);
    max-width: 70%;
}
.bnt-hero-stat-icon {
    width: 48px; height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--color-2) 20%, transparent);
    color: var(--color-2);
    flex-shrink: 0;
}
.bnt-hero-stat-value {
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
    line-height: 1;
}
.bnt-hero-stat-label {
    font-size: var(--text-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-top: 4px;
}

@media (max-width: 600px) {
    .bnt-hero-visual { max-width: 420px; }
    .bnt-hero-stat { left: -12px; padding: var(--space-4); }
    .bnt-hero-stat-value { font-size: var(--text-xl); }
}

/* ============================================================
   ABOUT
   ============================================================ */

.bnt-about {
    padding: clamp(var(--space-16), 10vw, var(--space-24)) 0;
    background: var(--surface);
}

.bnt-about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    align-items: center;
}
@media (min-width: 960px) {
    .bnt-about-grid { grid-template-columns: 1fr 1.1fr; gap: clamp(var(--space-10), 5vw, var(--space-16)); }
}

.bnt-about-visual {
    position: relative;
    aspect-ratio: 4 / 5;
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
}
.bnt-about-visual::before {
    content: "";
    position: absolute;
    top: 24px;
    left: -16px;
    width: 65%;
    height: 55%;
    background: color-mix(in srgb, var(--color-1) 20%, transparent);
    border-radius: var(--radius-lg);
    z-index: 0;
}
.bnt-about-photo {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--surface-alt);
    border-radius: var(--radius-lg);
    z-index: 1;
    box-shadow: var(--shadow-lg);
}

.bnt-about-badge {
    position: absolute;
    bottom: -20px;
    right: -16px;
    z-index: 2;
    background: var(--color-1);
    color: #ffffff;
    border-radius: var(--radius);
    padding: var(--space-5) var(--space-6);
    text-align: center;
    box-shadow: 0 20px 40px -10px color-mix(in srgb, var(--color-1) 55%, transparent);
    min-width: 140px;
}
.bnt-about-badge .num {
    font-size: var(--text-4xl);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
}
.bnt-about-badge .lbl {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 4px;
    opacity: 0.9;
}

.bnt-about-content .eyebrow {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-2);
    margin-bottom: var(--space-3);
}
.bnt-about-content h2 { margin-bottom: var(--space-4); }
.bnt-about-content p {
    font-size: var(--text-lg);
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

.bnt-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
    padding-top: var(--space-6);
    border-top: 1px solid var(--border);
}
.bnt-stat { display: flex; flex-direction: column; }
.bnt-stat-value {
    font-size: clamp(var(--text-3xl), 3.5vw, var(--text-4xl));
    font-weight: 800;
    color: var(--color-2);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 6px;
}
.bnt-stat-label {
    font-size: var(--text-sm);
    color: var(--text-muted);
    font-weight: 500;
}
@media (max-width: 600px) {
    .bnt-stats { grid-template-columns: 1fr; gap: var(--space-4); }
}

/* ============================================================
   SERVICES
   ============================================================ */

.bnt-services {
    padding: clamp(var(--space-16), 10vw, var(--space-24)) 0;
    background: var(--surface-alt);
    position: relative;
}

.bnt-services-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-5);
    margin-bottom: var(--space-5);
}
.bnt-services-row:last-child { margin-bottom: 0; }

/* Tablet: cap at 2 columns regardless of row's declared --cols */
@media (min-width: 640px) {
    .bnt-services-row { grid-template-columns: repeat(2, 1fr); }
}

/* Desktop: honor the per-row --cols (set inline from PHP via bnt_split_balanced) */
@media (min-width: 960px) {
    .bnt-services-row {
        grid-template-columns: repeat(var(--cols, 3), 1fr);
        gap: var(--space-6);
        margin-bottom: var(--space-6);
    }
    /* Single-card row: cap width so it doesn't look stretched */
    .bnt-services-row[style*="--cols: 1"] {
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }
}

.bnt-service {
    background: var(--surface-mute);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    transition: var(--t);
    position: relative;
    overflow: hidden;
}
.bnt-service::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: var(--color-2);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform var(--t);
}
.bnt-service:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: color-mix(in srgb, var(--color-2) 40%, var(--border));
}
.bnt-service:hover::before { transform: scaleY(1); }

.bnt-service-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--color-1) 20%, transparent);
    color: var(--color-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: var(--space-5);
    transition: var(--t);
}
.bnt-service:hover .bnt-service-icon {
    background: var(--color-2);
    color: var(--color-3);
    transform: scale(1.05) rotate(-4deg);
}

.bnt-service h3 { font-size: var(--text-xl); font-weight: 700; margin-bottom: var(--space-2); }
.bnt-service p { color: var(--text-muted); font-size: var(--text-base); line-height: 1.6; margin: 0; }

/* Services placeholder (edit mode only - when user has deleted all services) */
.bnt-services-placeholder {
    max-width: 720px;
    margin: 0 auto;
    background: var(--surface-mute);
    border: 2px dashed color-mix(in srgb, var(--color-1) 45%, var(--border));
    border-radius: var(--radius-lg);
    padding: clamp(var(--space-12), 6vw, var(--space-20)) var(--space-6);
    text-align: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: var(--t);
}
.bnt-services-placeholder::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 300px at 50% 0%, color-mix(in srgb, var(--color-1) 10%, transparent), transparent 60%),
        radial-gradient(500px 250px at 50% 100%, color-mix(in srgb, var(--color-2) 10%, transparent), transparent 60%);
    pointer-events: none;
}
.bnt-services-placeholder:hover {
    border-color: var(--color-1);
    background: color-mix(in srgb, var(--color-1) 8%, var(--surface-mute));
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.bnt-services-placeholder-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
}
.bnt-services-placeholder-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--color-1);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px -4px color-mix(in srgb, var(--color-1) 55%, transparent);
    transition: transform var(--t), box-shadow var(--t);
}
.bnt-services-placeholder:hover .bnt-services-placeholder-icon {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 12px 30px -4px color-mix(in srgb, var(--color-1) 65%, transparent);
}
.bnt-services-placeholder h3 {
    font-size: clamp(var(--text-xl), 2.5vw, var(--text-2xl));
    margin: 0;
    color: var(--text);
}
.bnt-services-placeholder p {
    font-size: var(--text-base);
    color: var(--text-muted);
    max-width: 460px;
    line-height: 1.6;
    margin: 0;
}
.bnt-services-placeholder-hint {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    color: var(--text-soft);
    font-weight: 500;
    margin-top: var(--space-2);
}
.bnt-services-placeholder-hint svg {
    color: var(--color-1);
    flex-shrink: 0;
}

/* ============================================================
   GALLERY
   ============================================================ */

.bnt-gallery {
    padding: clamp(var(--space-16), 10vw, var(--space-24)) 0;
    background: var(--surface);
}

/* Empty-state placeholder (edit mode) */
.bnt-gallery-placeholder {
    max-width: 720px;
    margin: 0 auto;
    background: var(--surface-alt);
    border: 2px dashed color-mix(in srgb, var(--color-2) 45%, var(--border));
    border-radius: var(--radius-lg);
    padding: clamp(var(--space-12), 6vw, var(--space-20)) var(--space-6);
    text-align: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: var(--t);
}
.bnt-gallery-placeholder::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 300px at 50% 0%, color-mix(in srgb, var(--color-2) 10%, transparent), transparent 60%),
        radial-gradient(500px 250px at 50% 100%, color-mix(in srgb, var(--color-1) 10%, transparent), transparent 60%);
    pointer-events: none;
}
.bnt-gallery-placeholder:hover {
    border-color: var(--color-2);
    background: color-mix(in srgb, var(--color-2) 6%, var(--surface-alt));
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.bnt-gallery-placeholder-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
}
.bnt-gallery-placeholder-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--color-2);
    color: var(--color-3);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px -4px color-mix(in srgb, var(--color-2) 55%, transparent);
    transition: transform var(--t), box-shadow var(--t);
}
.bnt-gallery-placeholder:hover .bnt-gallery-placeholder-icon {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 12px 30px -4px color-mix(in srgb, var(--color-2) 65%, transparent);
}
.bnt-gallery-placeholder h3 {
    font-size: clamp(var(--text-xl), 2.5vw, var(--text-2xl));
    margin: 0;
    color: var(--text);
}
.bnt-gallery-placeholder p {
    font-size: var(--text-base);
    color: var(--text-muted);
    max-width: 460px;
    line-height: 1.6;
    margin: 0;
}
.bnt-gallery-placeholder-hint {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: var(--surface-mute);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    color: var(--text-soft);
    font-weight: 500;
    margin-top: var(--space-2);
}
.bnt-gallery-placeholder-hint svg {
    color: var(--color-2);
    flex-shrink: 0;
}

.bnt-gallery-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}
.bnt-gallery-row:last-child { margin-bottom: 0; }

@media (min-width: 640px) {
    .bnt-gallery-row { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
    .bnt-gallery-row {
        grid-template-columns: repeat(var(--cols, 3), 1fr);
    }
}

.bnt-gallery-item {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: pointer;
    background: var(--surface-alt);
}
.bnt-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms var(--ease);
}
.bnt-gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.7));
    opacity: 0;
    transition: opacity var(--t);
}
.bnt-gallery-item:hover img { transform: scale(1.08); }
.bnt-gallery-item:hover::after { opacity: 1; }
.bnt-gallery-item .lens {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    width: 56px; height: 56px;
    background: var(--color-2);
    color: var(--color-3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--t);
    z-index: 1;
}
.bnt-gallery-item:hover .lens {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */

.bnt-testimonials {
    padding: clamp(var(--space-16), 10vw, var(--space-24)) 0;
    background: var(--surface-alt);
}

/* Empty-state placeholder (edit mode) */
.bnt-testimonials-placeholder {
    max-width: 720px;
    margin: 0 auto;
    background: var(--surface-mute);
    border: 2px dashed color-mix(in srgb, var(--color-2) 45%, var(--border));
    border-radius: var(--radius-lg);
    padding: clamp(var(--space-12), 6vw, var(--space-20)) var(--space-6);
    text-align: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: var(--t);
}
.bnt-testimonials-placeholder::before {
    content: "\201C";
    position: absolute;
    top: 8px;
    left: 24px;
    font-family: Georgia, serif;
    font-size: 120px;
    font-weight: 700;
    color: color-mix(in srgb, var(--color-2) 20%, transparent);
    line-height: 1;
    pointer-events: none;
}
.bnt-testimonials-placeholder:hover {
    border-color: var(--color-2);
    background: color-mix(in srgb, var(--color-2) 8%, var(--surface-mute));
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.bnt-testimonials-placeholder-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
}
.bnt-testimonials-placeholder-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--color-2);
    color: var(--color-3);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px -4px color-mix(in srgb, var(--color-2) 55%, transparent);
    transition: transform var(--t), box-shadow var(--t);
}
.bnt-testimonials-placeholder:hover .bnt-testimonials-placeholder-icon {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 12px 30px -4px color-mix(in srgb, var(--color-2) 65%, transparent);
}
.bnt-testimonials-placeholder h3 {
    font-size: clamp(var(--text-xl), 2.5vw, var(--text-2xl));
    margin: 0;
    color: var(--text);
}
.bnt-testimonials-placeholder p {
    font-size: var(--text-base);
    color: var(--text-muted);
    max-width: 460px;
    line-height: 1.6;
    margin: 0;
}
.bnt-testimonials-placeholder-hint {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    color: var(--text-soft);
    font-weight: 500;
    margin-top: var(--space-2);
}
.bnt-testimonials-placeholder-hint svg {
    color: var(--color-2);
    flex-shrink: 0;
}

.bnt-testimonials-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-5);
    margin-bottom: var(--space-5);
}
.bnt-testimonials-row:last-child { margin-bottom: 0; }

@media (min-width: 640px) {
    .bnt-testimonials-row { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
    .bnt-testimonials-row {
        grid-template-columns: repeat(var(--cols, 3), 1fr);
        gap: var(--space-6);
        margin-bottom: var(--space-6);
    }
    /* Single-card row: cap width so it doesn't look stretched */
    .bnt-testimonials-row[style*="--cols: 1"] {
        max-width: 620px;
        margin-left: auto;
        margin-right: auto;
    }
}

.bnt-testimonial {
    background: var(--surface-mute);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    display: flex;
    flex-direction: column;
    transition: var(--t);
    position: relative;
}
.bnt-testimonial::before {
    content: "\201C";
    position: absolute;
    top: 12px;
    left: 20px;
    font-family: Georgia, serif;
    font-size: 90px;
    font-weight: 700;
    color: color-mix(in srgb, var(--color-2) 20%, transparent);
    line-height: 1;
    pointer-events: none;
}
.bnt-testimonial:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: color-mix(in srgb, var(--color-2) 35%, var(--border));
}
.bnt-stars {
    display: flex;
    gap: 2px;
    color: var(--color-2);
    margin-bottom: var(--space-4);
    position: relative;
    z-index: 1;
}
.bnt-testimonial-body {
    color: var(--text-soft);
    font-size: var(--text-base);
    line-height: 1.7;
    margin: 0 0 var(--space-6);
    position: relative;
    z-index: 1;
    flex: 1;
    font-style: italic;
}
.bnt-testimonial-by {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding-top: var(--space-4);
    border-top: 1px solid var(--border-soft);
}
.bnt-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-1), var(--color-1-hover));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--text-lg);
    flex-shrink: 0;
}
.bnt-testimonial-meta .name {
    font-weight: 600;
    color: var(--text);
    font-size: var(--text-base);
    display: block;
    line-height: 1.3;
}
.bnt-testimonial-meta .title {
    font-size: var(--text-sm);
    color: var(--text-muted);
    display: block;
}

/* ============================================================
   CONTACT
   ============================================================ */

.bnt-contact {
    padding: clamp(var(--space-16), 10vw, var(--space-24)) 0;
    background-color: var(--surface-dark);
    background-image:
        linear-gradient(135deg, color-mix(in srgb, var(--color-1) 35%, transparent), color-mix(in srgb, var(--surface-dark) 90%, transparent));
    background-size: cover;
    background-position: center;
    color: var(--text);
    position: relative;
}

.bnt-contact .bnt-section-head .eyebrow { color: var(--color-2); }
.bnt-contact .bnt-section-head h2 { color: #ffffff; }
.bnt-contact .bnt-section-head p { color: rgba(255,255,255,0.7); }

.bnt-contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    max-width: 1024px;
    margin: 0 auto;
}
@media (min-width: 900px) { .bnt-contact-grid { grid-template-columns: 1fr 1fr; gap: var(--space-10); } }

.bnt-contact-form {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
}
.bnt-contact-form h3 {
    color: #ffffff;
    font-size: var(--text-2xl);
    margin-bottom: var(--space-5);
}

.bnt-field { margin-bottom: var(--space-4); }
.bnt-field label {
    display: block;
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    margin-bottom: 6px;
}
.bnt-input,
.bnt-textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    color: #ffffff;
    font-family: var(--font);
    font-size: var(--text-base);
    transition: var(--t-fast);
}
.bnt-input::placeholder,
.bnt-textarea::placeholder { color: rgba(255,255,255,0.35); }
.bnt-input:focus,
.bnt-textarea:focus {
    outline: 0;
    border-color: var(--color-2);
    background: rgba(255,255,255,0.1);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-2) 25%, transparent);
}
.bnt-textarea { min-height: 120px; resize: vertical; }

.bnt-contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}
.bnt-contact-info h3 {
    color: #ffffff;
    font-size: var(--text-2xl);
    margin-bottom: var(--space-2);
}
.bnt-contact-info > p {
    color: rgba(255,255,255,0.75);
    font-size: var(--text-lg);
    line-height: 1.6;
    margin: 0 0 var(--space-6);
}
.bnt-contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-4) 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.bnt-contact-item:last-child { border-bottom: 0; }
.bnt-contact-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: color-mix(in srgb, var(--color-2) 20%, transparent);
    color: var(--color-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-lg);
}
.bnt-contact-item .lbl {
    display: block;
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.5);
    margin-bottom: 4px;
    font-weight: 600;
}
.bnt-contact-item .val {
    color: #ffffff;
    font-size: var(--text-base);
    font-weight: 500;
    line-height: 1.4;
}
.bnt-contact-item a.val:hover { color: var(--color-2); }

/* ============================================================
   FOOTER
   ============================================================ */

.bnt-footer {
    background: #030616;
    color: rgba(255,255,255,0.55);
    padding: var(--space-16) 0 var(--space-8);
}
.bnt-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-10);
    margin-bottom: var(--space-10);
}
@media (min-width: 768px) {
    .bnt-footer-grid { grid-template-columns: 2fr repeat(2, 1fr); gap: var(--space-8); }
}

.bnt-footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-weight: 800;
    font-size: var(--text-xl);
    margin-bottom: var(--space-4);
    text-decoration: none;
    letter-spacing: -0.02em;
}
.bnt-footer-brand img { max-height: 60px; width: auto; height: auto; }
.bnt-footer-about {
    font-size: var(--text-sm);
    line-height: 1.7;
    max-width: 380px;
    margin: 0 0 var(--space-5);
}

.bnt-footer h5 {
    color: #ffffff;
    font-size: var(--text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-5);
}
.bnt-footer ul { list-style: none; padding: 0; margin: 0; }
.bnt-footer ul li {
    margin-bottom: var(--space-3);
    font-size: var(--text-sm);
    line-height: 1.5;
}
.bnt-footer ul a {
    color: rgba(255,255,255,0.55);
    transition: color var(--t-fast);
}
.bnt-footer ul a:hover { color: var(--color-2); }

.bnt-socials { display: flex; gap: var(--space-2); margin-top: var(--space-5); }
.bnt-socials a {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.7);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--t);
    font-size: var(--text-sm);
}
.bnt-socials a:hover {
    background: var(--color-1);
    color: #ffffff;
    transform: translateY(-2px);
}

.bnt-footer-bottom {
    padding-top: var(--space-6);
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-3);
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.4);
}
.bnt-footer-bottom a { color: rgba(255,255,255,0.6); }
.bnt-footer-bottom a:hover { color: #ffffff; }

/* ============================================================
   UTILITIES / ANIMATIONS  (same as light)
   ============================================================ */

[data-bnt-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
[data-bnt-reveal].is-revealed { opacity: 1; transform: translateY(0); }
[data-bnt-reveal-delay="1"] { transition-delay: 80ms; }
[data-bnt-reveal-delay="2"] { transition-delay: 160ms; }
[data-bnt-reveal-delay="3"] { transition-delay: 240ms; }
[data-bnt-reveal-delay="4"] { transition-delay: 320ms; }
[data-bnt-reveal-delay="5"] { transition-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    [data-bnt-reveal] { opacity: 1; transform: none; }
}

.bnt-counter {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

.bnt-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

/* ============================================================
   EDIT-MODE TOOLBAR  (theme toggle + future editor controls)
   Only visible when $edit_mode === true. Not shipped on live sites.
   ============================================================ */

.bnt-edit-toolbar {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 9000;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px 8px 16px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.5);
    font-family: var(--font);
}
.bnt-edit-toolbar-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}
.bnt-edit-toolbar-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--color-2);
    color: var(--color-3);
    border: 0;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--t);
    font-family: inherit;
}
.bnt-edit-toolbar-btn:hover {
    background: color-mix(in srgb, var(--color-2) 92%, white);
    color: var(--color-3);
    transform: translateY(-1px);
}
