/* ============================================================================
   VOZONIC MEDIA — HOME 2  ·  "DARK NEON GLOW"
   Premium tech/SaaS: deep dark bg, glowing gradients, glass cards with
   glowing borders, animated orbs. Completely different from index.php.
   ============================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300..800&family=Syne:wght@600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --neon:      #5b8bff;   /* electric blue */
  --neon-2:    #a855f7;   /* purple */
  --neon-3:    #22d3ee;   /* cyan highlight */
  --neon-rgb:  91, 139, 255;
  --purple-rgb: 168, 85, 247;

  --bg:        #05060f;   /* very deep navy-black */
  --bg-2:      #080a17;
  --panel:     rgba(255,255,255,0.03);
  --panel-2:   rgba(255,255,255,0.05);
  --glass:     rgba(20,24,45,0.5);
  --line:      rgba(255,255,255,0.08);
  --line-glow: rgba(91,139,255,0.35);

  --fg:        #f4f6ff;
  --muted:     #9aa2c4;
  --muted-2:   #656d92;

  --display: 'Syne', sans-serif;             /* bold headings */
  --sans:    'Sora', sans-serif;             /* body */
  --num:     'Space Grotesk', 'Sora', sans-serif; /* clean numbers/stats */

  --grad: linear-gradient(120deg, #5b8bff 0%, #a855f7 55%, #22d3ee 110%);
  --grad-soft: linear-gradient(120deg, rgba(91,139,255,.16), rgba(168,85,247,.16));

  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;

  --glow-blue: 0 0 40px -6px rgba(var(--neon-rgb),.55);
  --glow-purple: 0 0 40px -6px rgba(var(--purple-rgb),.5);
  --shadow: 0 30px 70px -30px rgba(0,0,0,.8);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1240px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--neon); color: #05060f; }
:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; border-radius: 6px; }

/* Global ambient glow backdrop */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(50% 40% at 15% 0%, rgba(var(--neon-rgb),.14), transparent 60%),
    radial-gradient(45% 40% at 85% 15%, rgba(var(--purple-rgb),.12), transparent 60%);
}
main, .h2-footer, .h2-nav { position: relative; z-index: 1; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px,4vw,48px); }
.section { padding: clamp(72px,11vh,150px) 0; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--neon-3);
  padding: 7px 16px; border-radius: 100px;
  background: var(--panel); border: 1px solid var(--line);
}
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--neon-3); box-shadow: 0 0 10px var(--neon-3); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.02; letter-spacing: -0.02em; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h-xl { font-size: clamp(42px, 6.5vw, 88px); }
.h-lg { font-size: clamp(32px, 4.6vw, 60px); }
.h-md { font-size: clamp(24px, 2.6vw, 34px); }
.lead { font-size: clamp(16px,1.35vw,19px); color: var(--muted); line-height: 1.65; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; position: relative; overflow: hidden;
  font-weight: 600; font-size: 15px; padding: 15px 28px; border-radius: 100px;
  transition: transform .3s var(--ease), box-shadow .3s, background .3s; will-change: transform;
}
.btn-primary { background: var(--grad); background-size: 160% 160%; color: #fff; box-shadow: var(--glow-blue); }
.btn-primary:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 16px 44px -10px rgba(var(--neon-rgb),.7); }
.btn-ghost { background: var(--panel); color: var(--fg); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--line-glow); box-shadow: var(--glow-blue); transform: translateY(-2px); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Ring cursor ---------- */
.h2-cursor { position: fixed; top:0; left:0; width: 30px; height: 30px; border: 1.5px solid var(--neon); border-radius: 50%; z-index: 300; pointer-events: none; transform: translate(-50%,-50%); transition: width .3s var(--ease), height .3s var(--ease), background .3s; box-shadow: 0 0 16px rgba(var(--neon-rgb),.6); }
.h2-cursor.grow { width: 60px; height: 60px; background: rgba(var(--neon-rgb),.12); }
@media (hover: none) { .h2-cursor { display: none; } }

/* ============================================================================
   NAV
   ============================================================================ */
.h2-nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  z-index: 100; width: calc(100% - 28px); max-width: 1180px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 12px 11px 20px; border-radius: 100px;
  background: rgba(8,10,23,.55); backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--line); transition: box-shadow .4s, border-color .4s, background .4s;
}
.h2-nav.solid { background: rgba(8,10,23,.8); border-color: var(--line-glow); box-shadow: 0 10px 40px -14px rgba(var(--neon-rgb),.4); }
.h2-nav .logo img { height: 63px; border-radius: 7px; }
.h2-nav .links { display: flex; align-items: center; gap: 30px; }
.h2-nav .links a { font-size: 14px; font-weight: 500; color: var(--muted); transition: color .3s; }
.h2-nav .links a:hover { color: var(--fg); }
.h2-nav .nav-cta { background: var(--grad); color: #fff; padding: 11px 22px; border-radius: 100px; font-size: 14px; font-weight: 600; transition: transform .3s, box-shadow .3s; box-shadow: var(--glow-blue); }
.h2-nav .nav-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 34px -8px rgba(var(--neon-rgb),.7); }
.h2-burger { display: none; width: 42px; height: 42px; border-radius: 50%; background: var(--panel-2); border: 1px solid var(--line); flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.h2-burger span { width: 18px; height: 2px; background: var(--fg); transition: .3s var(--ease); }
.h2-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.h2-burger.open span:nth-child(2) { opacity: 0; }
.h2-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.h2-drawer { position: fixed; inset: 0; z-index: 90; background: rgba(5,6,15,.97); backdrop-filter: blur(20px); display: flex; flex-direction: column; justify-content: center; padding: 0 32px; opacity: 0; pointer-events: none; transition: opacity .4s; }
.h2-drawer.open { opacity: 1; pointer-events: auto; }
.h2-drawer a { font-family: var(--display); font-weight: 700; font-size: clamp(32px,9vw,60px); line-height: 1.05; padding: 8px 0; color: var(--fg); white-space: nowrap; transition: color .3s, transform .3s var(--ease); }
.h2-drawer a:hover { color: var(--neon); transform: translateX(14px); }

/* ============================================================================
   HERO
   ============================================================================ */
.h2-hero { position: relative; padding-top: clamp(150px,22vh,220px); padding-bottom: clamp(70px,9vh,110px); overflow: hidden; text-align: center; }
.h2-orbs { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.h2-orbs span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .6; will-change: transform; }
.h2-orbs .o1 { width: 44vw; height: 44vw; left: -8%; top: -6%; background: radial-gradient(circle, rgba(var(--neon-rgb),.6), transparent 70%); }
.h2-orbs .o2 { width: 38vw; height: 38vw; right: -6%; top: 4%; background: radial-gradient(circle, rgba(var(--purple-rgb),.5), transparent 70%); }
.h2-orbs .o3 { width: 30vw; height: 30vw; left: 40%; bottom: -12%; background: radial-gradient(circle, rgba(34,211,238,.28), transparent 70%); }
.h2-grid-bg {
  position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(ellipse 65% 55% at 50% 35%, #000 25%, transparent 72%);
  mask-image: radial-gradient(ellipse 65% 55% at 50% 35%, #000 25%, transparent 72%);
}
.h2-hero .wrap { position: relative; z-index: 2; }
.h2-hero .eyebrow { margin-bottom: 26px; }
.h2-hero h1 { max-width: 15ch; margin: 0 auto 24px; }
.h2-hero .lead { max-width: 600px; margin: 0 auto; }
.h2-hero .actions { display: flex; gap: 14px; justify-content: center; margin-top: 38px; flex-wrap: wrap; }
.h2-hero .trust { margin-top: 44px; display: flex; align-items: center; gap: 14px; justify-content: center; flex-wrap: wrap; }
.h2-hero .avs { display: flex; }
.h2-hero .avs span { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -11px; background: var(--grad-soft); display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--fg); }
.h2-hero .avs span:first-child { margin-left: 0; }
.h2-hero .trust p { font-size: 14px; color: var(--muted); }
.h2-hero .trust b { color: var(--fg); }

/* floating hero preview cards */
.h2-hero-preview { margin-top: clamp(50px,7vh,80px); position: relative; z-index: 2; display: flex; justify-content: center; gap: 22px; perspective: 1400px; }
.h2-prev-card {
  width: clamp(150px,20vw,230px); aspect-ratio: 9/15; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; will-change: transform;
  transition: transform .5s var(--ease);
}
.h2-prev-card img { width: 100%; height: 100%; object-fit: cover; }
.h2-prev-card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .5; }
.h2-prev-card .lbl { position: absolute; bottom: 12px; left: 12px; right: 12px; z-index: 2; background: rgba(5,6,15,.6); backdrop-filter: blur(8px); border: 1px solid var(--line); padding: 8px 12px; border-radius: 12px; font-size: 12px; font-weight: 600; display: flex; justify-content: space-between; }
.h2-prev-card .lbl .v { color: var(--neon-3); }
.h2-prev-card.mid { transform: translateY(-24px) scale(1.06); z-index: 3; }
.h2-prev-card.l { transform: rotate(-6deg) translateY(10px); }
.h2-prev-card.r { transform: rotate(6deg) translateY(10px); }



.h2-brands{
    display:grid !important;
    grid-template-columns:repeat(6,1fr) !important;
    gap:40px !important;
    align-items:center !important;
}

.h2-brand{
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
    height:120px !important;
    overflow:hidden !important;
}

.h2-brand img{
    width:100% !important;
    height:100% !important;
    object-fit:contain !important;
    max-width:none !important;
    max-height:none !important;
}

@media(max-width:991px){
    .h2-brands{
        grid-template-columns:repeat(3,1fr) !important;
    }
}

@media(max-width:576px){
    .h2-brands{
        grid-template-columns:repeat(2,1fr) !important;
        gap:25px !important;
    }

    .h2-brand{
        height:90px !important;
    }
}
/* ============================================================================
   LOGOS
   ============================================================================ */
.h2-logos { padding: 34px 0 14px; }
.h2-logos p { text-align: center; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 32px; }
.h2-brands { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 40px; }
.h2-brand { display: flex; align-items: center; justify-content: center; height: 40px; opacity: .8; transition: opacity .3s, transform .3s; }
.h2-brand:hover { opacity: 1; transform: translateY(-2px); }
.h2-brand img { height: 69px; width: 90px; filter: grayscale(1) brightness(1.9); opacity: .85; }
.h2-brand:hover img { filter: none; opacity: 1; }
.h2-brand-text { flex-direction: column; line-height: 1; font-family: var(--display); font-weight: 800; letter-spacing: -.01em; }
.h2-brand-text .bt1 { font-size: 22px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h2-brand-text .bt2 { font-size: 11px; font-family: var(--sans); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

/* ============================================================================
   VIDEO GRID + play buttons + lightbox
   ============================================================================ */
/* play button badge (shared) */
.h2-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 56px; height: 56px; border-radius: 50%; background: rgba(5,6,15,.55); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.35); z-index: 3; display: grid; place-items: center; transition: transform .35s var(--ease), background .3s; }
.h2-play::after { content: ''; width: 0; height: 0; border-left: 15px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }

/* filter tabs */
.h2-vfilter { display: inline-flex; gap: 6px; padding: 6px; border-radius: 100px; background: var(--panel); border: 1px solid var(--line); margin-bottom: 34px; }
.vf { padding: 9px 22px; border-radius: 100px; font-size: 14px; font-weight: 600; color: var(--muted); transition: color .3s, background .3s; }
.vf.active { background: var(--grad); color: #fff; box-shadow: var(--glow-blue); }
.vf:hover:not(.active) { color: var(--fg); }

/* video card grid */
.h2-vgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.h2-vcard { text-align: left; display: flex; flex-direction: column; gap: 12px; transition: transform .4s var(--ease); }
.h2-vcard:hover { transform: translateY(-6px); }
.h2-vthumb {
  position: relative; aspect-ratio: 9/16; border-radius: var(--r-md); overflow: hidden;
  background: var(--panel-2); border: 1px solid var(--line); transition: border-color .4s, box-shadow .4s;
}
.h2-vcard:hover .h2-vthumb { border-color: var(--line-glow); box-shadow: var(--glow-blue); }
.h2-vthumb img, .h2-vthumb .h2-vframe { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.h2-vcard:hover .h2-vthumb img, .h2-vcard:hover .h2-vthumb .h2-vframe { transform: scale(1.06); }
.h2-vframe { display: block; background: #000; pointer-events: none; }
.h2-vcard:hover .h2-play { transform: translate(-50%,-50%) scale(1.08); background: rgba(var(--neon-rgb),.9); }
.h2-vthumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5,6,15,.55)); z-index: 1; }
.h2-plat { position: absolute; top: 12px; left: 12px; z-index: 3; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; background: rgba(5,6,15,.55); backdrop-filter: blur(6px); border: 1px solid var(--line); }
.h2-plat.yt { color: #ff4d4d; } .h2-plat.ig { color: #e879f9; }
/* instagram placeholder thumb (gradient until embed loads in lightbox) */
.h2-ig-thumb { position: absolute; inset: 0; background: linear-gradient(150deg, #405de6, #833ab4 35%, #fd1d75 70%, #fcb045); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.h2-ig-thumb::before { content: ''; width: 40px; height: 40px; border: 2.5px solid rgba(255,255,255,.9); border-radius: 12px; }
.h2-ig-thumb .ig-name { font-weight: 700; font-size: 14px; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.4); padding: 0 14px; text-align: center; }
.h2-vmeta { padding: 0 2px; }
.h2-vcreator { font-weight: 700; font-size: 15px; }
.h2-vviews { font-size: 13px; color: var(--neon-3); font-weight: 600; margin-top: 2px; }

/* hero preview: add play + ensure button reset */
.h2-prev-card { border: 1px solid var(--line); background: var(--panel); padding: 0; cursor: pointer; }
.h2-prev-card .h2-play { width: 46px; height: 46px; }
.h2-prev-card .h2-play::after { border-left-width: 12px; border-top-width: 7px; border-bottom-width: 7px; }

/* lightbox */
/* the lightbox reserves space for the fixed navbar (top) so the video never
   runs behind it — content is centred inside the remaining safe area. */
.h2-lightbox { position: fixed; inset: 0; z-index: 500; display: none; align-items: center; justify-content: center; padding: 96px 24px 32px; }
.h2-lightbox.open { display: flex; }
.h2-lb-backdrop { position: absolute; inset: 0; background: rgba(3,4,10,.92); backdrop-filter: blur(10px); }
.h2-lb-inner {
  position: relative; z-index: 1;
  height: 100%;                    /* fill the safe area between padding */
  max-height: 760px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  animation: lbIn .4s var(--ease);
}
@keyframes lbIn { from { opacity: 0; transform: translateY(20px) scale(.96); } to { opacity: 1; transform: none; } }
.h2-lb-stage {
  position: relative;
  height: 100%;                    /* height-driven: fits the safe area */
  aspect-ratio: 9 / 16;            /* width derived from height */
  max-width: min(400px, 90vw);
  border-radius: 20px; overflow: hidden; background: #000;
  border: 1px solid var(--line-glow); box-shadow: var(--glow-blue);
  display: grid; place-items: center;
}
/* loading spinner shown until the iframe paints over it */
.h2-lb-stage::before {
  content: ''; position: absolute; z-index: 0; width: 40px; height: 40px;
  border: 3px solid rgba(255,255,255,.18); border-top-color: var(--neon);
  border-radius: 50%; animation: lbSpin .8s linear infinite;
}
@keyframes lbSpin { to { transform: rotate(360deg); } }
.h2-lb-stage iframe { position: relative; z-index: 1; width: 100%; height: 100%; border: 0; display: block; background: #000; }
/* local <video> playback (downloaded reels) */
.h2-lb-stage video { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; background: #000; }
/* instagram embed inside lightbox */
.h2-lb-stage.ig { aspect-ratio: 9 / 16; max-width: min(400px, 90vw); background: #fff; overflow-y: auto; display: block; place-items: initial; }
.h2-lb-stage.ig::before { display: none; }
.h2-lb-stage.ig .instagram-media { margin: 0 auto !important; min-width: 100% !important; width: 100% !important; border: 0 !important; box-shadow: none !important; }
.h2-lb-close { position: absolute; top: -16px; right: -16px; z-index: 5; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: #05060f; font-size: 18px; font-weight: 700; box-shadow: 0 8px 24px rgba(0,0,0,.5); display: grid; place-items: center; }
.h2-lb-link { font-size: 13px; color: var(--muted); font-weight: 600; }
.h2-lb-link:hover { color: var(--neon); }
/* instagram fallback panel (no local file) */
.h2-ig-fallback { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 30px; text-align: center; background: linear-gradient(150deg, #405de6, #833ab4 35%, #fd1d75 70%, #fcb045); }
.h2-ig-fallback .ig-logo { width: 68px; height: 68px; border-radius: 20px; background: rgba(255,255,255,.15); display: grid; place-items: center; backdrop-filter: blur(4px); }
.h2-ig-fallback .ig-name { font-family: var(--display); font-weight: 700; font-size: 22px; color: #fff; }
.h2-ig-fallback .ig-open { background: #fff; color: #05060f; font-weight: 700; font-size: 14px; padding: 13px 24px; border-radius: 100px; box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .3s; }
.h2-ig-fallback .ig-open:hover { transform: translateY(-2px); }
@media (max-width: 480px) { .h2-lb-close { top: -6px; right: -6px; } }

/* ============================================================================
   SERVICES — glass glow cards
   ============================================================================ */
.h2-head { max-width: 660px; margin-bottom: clamp(40px,6vh,64px); }
.h2-head.center { margin-inline: auto; text-align: center; }
.h2-head h2 { margin: 18px 0 14px; }
.h2-head p { color: var(--muted); }
.h2-serv-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.h2-serv {
  position: relative; background: var(--glass); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 32px 28px; overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
  backdrop-filter: blur(10px);
}
.h2-serv::before { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 80% at 0 0, rgba(var(--neon-rgb),.12), transparent 55%); opacity: 0; transition: opacity .4s; }
.h2-serv:hover { transform: translateY(-8px); border-color: var(--line-glow); box-shadow: var(--glow-blue); }
.h2-serv:hover::before { opacity: 1; }
.h2-serv .ic { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 22px; background: var(--grad-soft); color: var(--neon); border: 1px solid var(--line); position: relative; z-index: 1; }
.h2-serv h3 { font-size: 22px; margin-bottom: 10px; position: relative; z-index: 1; }
.h2-serv p { font-size: 15px; color: var(--muted); line-height: 1.6; position: relative; z-index: 1; }

/* ============================================================================
   BENTO SHOWCASE — asymmetric work grid
   ============================================================================ */
.h2-bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 200px; gap: 18px; }
.h2-tile {
  position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s, border-color .4s;
}
.h2-tile:hover { transform: translateY(-6px); border-color: var(--line-glow); box-shadow: var(--glow-blue); }
.h2-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.h2-tile:hover img { transform: scale(1.06); }
.h2-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(5,6,15,.92)); }
.h2-tile .meta { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; }
.h2-tile .cat { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--neon-3); font-weight: 600; }
.h2-tile h3 { font-size: 22px; margin: 6px 0 2px; }
.h2-tile .client { font-size: 13px; color: var(--muted); }
.h2-tile .views { position: absolute; top: 16px; right: 16px; z-index: 2; background: rgba(5,6,15,.6); backdrop-filter: blur(6px); border: 1px solid var(--line); color: var(--neon-3); padding: 6px 12px; border-radius: 100px; font-size: 12px; font-weight: 700; }
.h2-tile.big { grid-column: span 4; grid-row: span 2; }
.h2-tile.tall { grid-column: span 2; grid-row: span 2; }
.h2-tile.wide { grid-column: span 3; }
.h2-tile.sm { grid-column: span 3; }

/* ============================================================================
   STATS — glow strip
   ============================================================================ */
.h2-stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.h2-stat {
  text-align: center; padding: 36px 20px; border-radius: var(--r-lg);
  background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(10px);
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.h2-stat:hover { transform: translateY(-6px); border-color: var(--line-glow); box-shadow: var(--glow-blue); }
.h2-stat .n { font-family: var(--num); font-weight: 700; font-size: clamp(42px,5vw,64px); line-height: 1; letter-spacing: -0.02em; }
.h2-stat .n .s { color: var(--neon); }
.h2-stat .n.gt { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h2-stat .l { font-size: 13px; letter-spacing: .06em; color: var(--muted); margin-top: 12px; text-transform: uppercase; }

/* ============================================================================
   TESTIMONIALS
   ============================================================================ */
.h2-quote { text-align: center; }
.h2-quote .stars { color: var(--neon-3); font-size: 20px; letter-spacing: 3px; margin-bottom: 24px; }
.h2-quote blockquote { font-family: var(--display); font-weight: 600; font-size: clamp(24px,3.2vw,42px); line-height: 1.28; max-width: 900px; margin: 0 auto 30px; letter-spacing: -0.02em; }
.h2-quote .by { display: inline-flex; align-items: center; gap: 14px; }
.h2-quote .by .av { width: 52px; height: 52px; border-radius: 50%; background: var(--grad-soft); border: 1px solid var(--line); color: var(--fg); display: grid; place-items: center; font-weight: 700; }
.h2-quote .by .who { text-align: left; }
.h2-quote .by .name { font-weight: 700; }
.h2-quote .by .role { font-size: 14px; color: var(--muted); }
.h2-mini-quotes { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 56px; }
.h2-mini { background: var(--glass); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px; text-align: left; backdrop-filter: blur(10px); transition: transform .4s var(--ease), border-color .4s; }
.h2-mini:hover { transform: translateY(-6px); border-color: var(--line-glow); }
.h2-mini p { font-size: 15px; color: var(--muted); margin-bottom: 18px; }
.h2-mini .who2 { display: flex; align-items: center; gap: 12px; }
.h2-mini .av2 { width: 40px; height: 40px; border-radius: 50%; background: var(--grad-soft); border: 1px solid var(--line); color: var(--fg); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.h2-mini .name2 { font-weight: 700; font-size: 14px; }
.h2-mini .role2 { font-size: 12px; color: var(--muted-2); }

/* ============================================================================
   CTA
   ============================================================================ */
.h2-cta-card {
  position: relative; overflow: hidden; text-align: center;
  border-radius: clamp(28px,4vw,44px); padding: clamp(52px,8vh,90px) clamp(28px,5vw,72px);
  background: var(--glass); border: 1px solid var(--line-glow); backdrop-filter: blur(14px);
  box-shadow: var(--glow-blue);
}
.h2-cta-card::before { content: ''; position: absolute; inset: 0; z-index: 0; background: radial-gradient(60% 80% at 50% 0%, rgba(var(--neon-rgb),.25), transparent 65%), radial-gradient(50% 60% at 80% 100%, rgba(var(--purple-rgb),.22), transparent 65%); }
.h2-cta-card > * { position: relative; z-index: 1; }
.h2-cta-card h2 { margin: 16px 0 18px; }
.h2-cta-card p { color: var(--muted); max-width: 520px; margin: 0 auto 34px; }
.h2-cta-form { display: flex; gap: 12px; max-width: 560px; margin: 0 auto; flex-wrap: wrap; }
.h2-cta-form input, .h2-cta-form textarea { flex: 1; min-width: 200px; padding: 15px 22px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--fg); font-family: var(--sans); font-size: 15px; transition: border-color .3s, box-shadow .3s; }
.h2-cta-form input::placeholder, .h2-cta-form textarea::placeholder { color: var(--muted-2); }
.h2-cta-form input:focus, .h2-cta-form textarea:focus { outline: none; border-color: var(--neon); box-shadow: 0 0 0 4px rgba(var(--neon-rgb),.18); }
.h2-cta-form .full { flex: 0 0 100%; width: 100%; }
.h2-cta-form textarea { resize: vertical; min-height: 90px; border-radius: 16px; }
.h2-cta-form button { background: var(--grad); color: #fff; padding: 16px 30px; border-radius: 100px; font-weight: 600; box-shadow: var(--glow-blue); transition: transform .3s; border: none; cursor: pointer; }
.h2-cta-form button:hover { transform: translateY(-2px); }
.h2-cta .status { color: var(--neon-3); margin-top: 16px; font-size: 14px; min-height: 18px; }

/* ============================================================================
   FOOTER
   ============================================================================ */
.h2-footer { padding: 70px 0 40px; border-top: 1px solid var(--line); }
.h2-foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.h2-footer .logo img { height: 48px; border-radius: 8px; margin-bottom: 16px; }
.h2-footer .about { color: var(--muted); font-size: 15px; max-width: 280px; }
.h2-footer h4 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg); margin-bottom: 18px; }
.h2-footer li { margin-bottom: 12px; }
.h2-footer li a, .h2-footer .contact li { color: var(--muted); font-size: 15px; transition: color .3s; }
.h2-footer li a:hover { color: var(--neon); }
.h2-socials { display: flex; gap: 10px; margin-top: 18px; }
.h2-socials a { width: 42px; height: 42px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); transition: .3s; }
.h2-socials a:hover { color: var(--neon); border-color: var(--line-glow); box-shadow: var(--glow-blue); transform: translateY(-3px); }
.h2-foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--muted-2); }
.h2-switch { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--neon); }

/* reveal */
.r { opacity: 0; transform: translateY(34px); }
.r.in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 1000px) {
  .h2-serv-grid { grid-template-columns: repeat(2,1fr); }
  .h2-stats-grid { grid-template-columns: repeat(2,1fr); gap: 16px; }
  .h2-mini-quotes { grid-template-columns: 1fr; }
  .h2-foot-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .h2-foot-grid > div:first-child { grid-column: 1 / -1; }
  /* bento -> simpler */
  .h2-vgrid { grid-template-columns: repeat(3, 1fr); }
  .h2-brands { gap: 16px 45px; }
}
/* ============================================================================
   MOBILE  (≤720px) — tighter rhythm, stacked actions, punchy hero
   ============================================================================ */
@media (max-width: 720px) {
  .section { padding: clamp(48px,8vh,72px) 0; }
  .wrap { padding: 0 18px; }

  /* nav */
  .h2-nav { top: 12px; width: calc(100% - 24px); padding: 9px 10px 9px 16px; }
  .h2-nav .links, .h2-nav .nav-cta.desktop { display: none; }
  .h2-burger { display: flex; }
  .h2-nav .logo img { height: 32px; }

  /* hero: less top gap, punchy sizing */
  .h2-hero { padding-top: 108px; padding-bottom: 48px; }
  .h2-hero .eyebrow { font-size: 11px; letter-spacing: .12em; padding: 6px 13px; margin-bottom: 18px; }
  .h2-hero h1 { font-size: clamp(38px,10.5vw,60px); }
  .h2-hero .lead { font-size: 16px; margin-top: 16px; }
  .h2-hero .actions { flex-direction: column; gap: 12px; margin-top: 28px; width: 100%; }
  .h2-hero .actions .btn { width: 100%; justify-content: center; padding: 16px; font-size: 15px; }

  /* hero preview: single centred card */
  .h2-hero-preview { margin-top: 40px; gap: 12px; }
  .h2-prev-card.l, .h2-prev-card.r { display: none; }
  .h2-prev-card.mid { transform: none; width: min(66vw, 260px); }

  /* brands: 2-up grid instead of wrapping row */
  .h2-brands { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 18px; align-items: center; justify-items: center; }
  .h2-brand { height: auto; }
  .h2-brand img { height: 26px; }
  .h2-brand-text .bt1 { font-size: 20px; }

  /* section headings */
  .h2-head { margin-bottom: 30px; }
  .h-lg { font-size: clamp(30px,8vw,44px); }
  .h2-head .lead, .lead { font-size: 15px; }

  /* services: single column, tighter */
  .h2-serv-grid { grid-template-columns: 1fr; gap: 14px; }
  .h2-serv { padding: 26px 22px; }
  .h2-serv .ic { width: 48px; height: 48px; margin-bottom: 16px; }
  .h2-serv h3 { font-size: 20px; }

  /* video grid: 2 columns, tighter labels */
  .h2-vgrid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .h2-vcreator { font-size: 13px; }
  .h2-vviews { font-size: 12px; }
  .h2-play { width: 46px; height: 46px; }
  .h2-play::after { border-left-width: 12px; border-top-width: 8px; border-bottom-width: 8px; }

  /* filter tabs: full width, evenly split */
  .h2-vfilter { width: 100%; display: flex; margin-bottom: 26px; }
  .h2-vfilter .vf { flex: 1; text-align: center; padding: 11px 0; font-size: 13px; }

  /* stats: 2x2 grid (not 1 col) so it stays compact */
  .h2-stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .h2-stat { padding: 26px 14px; }
  .h2-stat .n { font-size: clamp(34px,9vw,46px); }
  .h2-stat .l { font-size: 11px; letter-spacing: .04em; }

  /* testimonials */
  .h2-quote blockquote { font-size: clamp(22px,6vw,30px); line-height: 1.3; }
  .h2-mini-quotes { grid-template-columns: 1fr; gap: 14px; margin-top: 40px; }
  .h2-mini { padding: 22px; }

  /* CTA card + form */
  .h2-cta-card { padding: 40px 22px; }
  .h2-cta-card h2 { font-size: clamp(30px,8vw,42px); }
  .h2-cta-form { flex-direction: column; gap: 12px; }
  .h2-cta-form input, .h2-cta-form textarea, .h2-cta-form button { width: 100%; flex: none; }

  /* footer */
  .h2-foot-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .h2-foot-grid > div:first-child { grid-column: 1 / -1; }
  .h2-foot-bottom { flex-direction: column; gap: 8px; text-align: center; align-items: center; }
}

/* ---- small phones (≤540) ---- */
@media (max-width: 540px) {
  .h2-hero h1 { font-size: clamp(34px,10vw,52px); }
  .h2-vgrid { gap: 10px; }
}

/* ---- compact phones (≤420) ---- */
@media (max-width: 420px) {
  .wrap { padding: 0 16px; }
  .h2-hero { padding-top: 100px; }
  .h2-hero h1 { font-size: clamp(30px,10vw,44px); }
  .h2-hero .lead { font-size: 15px; }
  .h2-prev-card.mid { width: min(74vw, 240px); }
  .h2-stat { padding: 22px 12px; }
  .h2-stat .n { font-size: clamp(30px,10vw,40px); }
  .h2-foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .h2-foot-grid > div:first-child { grid-column: auto; }
}

/* ---- very small phones (≤360) ---- */
@media (max-width: 360px) {
  .h2-hero h1 { font-size: 30px; line-height: .98; }
  .h-lg { font-size: 27px; }
  .h2-drawer a { font-size: 30px; }                      /* keep "Start a project" on one line */
  .h2-vgrid { grid-template-columns: 1fr; gap: 12px; }   /* 1 reel per row for readability */
  .h2-vcard .h2-vthumb { max-width: 260px; margin: 0 auto; width: 100%; }
  .h2-vmeta { text-align: center; }
  .h2-vfilter .vf { font-size: 12px; padding: 10px 0; }
}

/* ---- tiny / low-end (≤310) ---- */
@media (max-width: 310px) {
  .wrap { padding: 0 12px; }
  .h2-hero { padding-top: 92px; }
  .h2-hero h1 { font-size: 26px; }
  .h2-hero .eyebrow { font-size: 10px; padding: 5px 10px; }
  .h2-hero .lead, .lead { font-size: 14px; }
  .h-lg { font-size: 24px; }
  .h2-stats-grid { grid-template-columns: 1fr; }         /* single column so numbers never squish */
  .h2-stat .n { font-size: 34px; }
  .h2-serv { padding: 22px 18px; }
  .h2-cta-card { padding: 32px 18px; }
  .h2-brand img { height: 22px; }
  .h2-brand-text .bt1 { font-size: 18px; }
}

@media (hover: none) {
  .h2-cursor { display: none !important; }
  .h2-serv:hover, .h2-vcard:hover, .h2-stat:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .r { opacity: 1 !important; transform: none !important; }
  .h2-cursor, .h2-orbs { display: none !important; }
}
