/* ==========================================================================
   BERKSHIRE IT — STYLESHEET  v2
   Redesigned 2026 — Dark hero · Bento grid · Marquee · Gradient text
   berkshireit.com
========================================================================== */


/* ==========================================================================
   CSS CUSTOM PROPERTIES
========================================================================== */
:root {
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Core palette */
  --c-bg:        #ffffff;
  --c-bg-alt:    #f8fafc;
  --c-bg-dark:   #060b18;      /* hero / footer dark */
  --c-bg-darker: #020510;
  --c-bg-mid:    #0f172a;      /* marquee / contact */
  --c-text:      #0f172a;
  --c-muted:     #64748b;
  --c-border:    #e2e8f0;
  --c-border-dk: #1e293b;      /* borders on dark bg */

  /* Blue accent */
  --c-blue:      #1d4ed8;
  --c-blue-h:    #1e40af;
  --c-blue-bg:   #eff6ff;
  --c-blue-lt:   #3b82f6;

  /* Teal accent */
  --c-teal:      #0891b2;
  --c-teal-bg:   #ecfeff;
  --c-teal-lt:   #22d3ee;

  /* Indigo */
  --c-indigo:    #4f46e5;
  --c-indigo-bg: #eef2ff;

  /* Orange */
  --c-orange:    #ea580c;
  --c-orange-bg: #fff7ed;

  /* Green */
  --c-green:     #059669;
  --c-green-bg:  #ecfdf5;

  /* Gradients */
  --grad-hero:   linear-gradient(135deg, #fff 0%, #93c5fd 40%, #67e8f9 85%);
  --grad-subtle: linear-gradient(135deg, var(--c-text) 0%, var(--c-blue) 100%);

  /* Type scale */
  --fs-xs:   .75rem;
  --fs-sm:   .875rem;
  --fs-base: 1rem;
  --fs-lg:   1.125rem;
  --fs-xl:   1.25rem;
  --fs-2xl:  1.5rem;
  --fs-3xl:  1.875rem;
  --fs-4xl:  2.25rem;
  --fs-5xl:  3rem;
  --fs-6xl:  3.75rem;
  --fs-7xl:  4.5rem;

  /* Radii */
  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   18px;
  --r-xl:   24px;
  --r-2xl:  32px;
  --r-full: 9999px;

  /* Shadows */
  --sh-sm:     0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.05);
  --sh-md:     0 4px 16px rgba(0,0,0,.09), 0 2px 4px rgba(0,0,0,.05);
  --sh-lg:     0 20px 48px rgba(0,0,0,.12), 0 8px 16px rgba(0,0,0,.06);
  --sh-xl:     0 32px 64px rgba(0,0,0,.16), 0 12px 24px rgba(0,0,0,.08);
  --sh-glow:   0 0 40px rgba(29,78,216,.35);
  --sh-teal:   0 0 28px rgba(8,145,178,.3);

  /* Layout */
  --max-w:    1200px;
  --pad:      1.5rem;
  --nav-h:    80px;

  /* Transitions */
  --tf:  all .15s ease;
  --t:   all .25s ease;
  --ts:  all .4s ease;

  /* Scroll-reveal delay (set per-element via style attr) */
  --rd: 0s;
}


/* ==========================================================================
   RESET
========================================================================== */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul[role="list"] { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }


/* ==========================================================================
   UTILITIES
========================================================================== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* Gradient text */
.gradient-text {
  background: var(--grad-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-subtle {
  background: var(--grad-subtle);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* ==========================================================================
   ANIMATIONS
========================================================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0);    }
}
@keyframes fadeRight {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0);    }
}
@keyframes meshPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .7; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(.75); }
}
@keyframes floatA {
  0%, 100% { transform: translateY(0)   rotate(-1.5deg); }
  50%       { transform: translateY(-12px) rotate(.5deg); }
}
@keyframes floatB {
  0%, 100% { transform: translateY(0)    rotate(1.5deg);  }
  50%       { transform: translateY(-16px) rotate(-1deg); }
}
@keyframes floatC {
  0%, 100% { transform: translateY(0) rotate(.5deg); }
  50%       { transform: translateY(-8px) rotate(-1deg); }
}
@keyframes floatD {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%       { transform: translateY(-10px) rotate(.5deg); }
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes ringPulse {
  0%, 100% { opacity: .08; transform: translate(-50%,-50%) scale(1); }
  50%       { opacity: .14; transform: translate(-50%,-50%) scale(1.04); }
}

/* Hero load animations */
.animate-fade-up {
  opacity: 0;
  animation: fadeUp .65s ease forwards;
  animation-delay: var(--d, 0s);
}
.animate-fade-right {
  opacity: 0;
  animation: fadeRight .7s ease forwards;
  animation-delay: var(--d, .1s);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
  transition-delay: var(--rd, 0s);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}


/* ==========================================================================
   SHARED SECTION ELEMENTS
========================================================================== */
.section-tag {
  display: inline-flex;
  align-items: center;
  padding: .3rem .8rem;
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--c-blue-bg);
  color: var(--c-blue);
  margin-bottom: 1rem;
}
.section-tag-dim {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.75);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}

.section-title {
  font-size: clamp(var(--fs-3xl), 4.5vw, var(--fs-5xl));
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.025em;
  color: var(--c-text);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: var(--fs-lg);
  color: var(--c-muted);
  line-height: 1.75;
}


/* ==========================================================================
   BUTTONS
========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .625rem 1.25rem;
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: var(--t);
  white-space: nowrap;
  text-decoration: none;
}

/* Solid blue with glow */
.btn-glow {
  background: var(--c-blue);
  color: #fff;
  border-color: var(--c-blue);
  box-shadow: var(--sh-glow);
}
.btn-glow:hover {
  background: var(--c-blue-h);
  border-color: var(--c-blue-h);
  box-shadow: 0 0 56px rgba(29,78,216,.5);
  transform: translateY(-2px);
}
.btn-glow:active { transform: none; }

/* Frosted glass (on dark bg) */
.btn-glass {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.9);
  border-color: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
}
.btn-glass:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.25);
  transform: translateY(-1px);
}

.btn-lg {
  padding: .875rem 1.75rem;
  font-size: var(--fs-base);
  border-radius: var(--r-lg);
}
.btn-full { width: 100%; justify-content: center; }
.btn-icon { width: 18px; height: 18px; flex-shrink: 0; }
.btn-spinner { width: 18px; height: 18px; flex-shrink: 0; animation: spin .85s linear infinite; }


/* ==========================================================================
   NAVIGATION
========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #15181d;
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}

.site-header.light {
  background: #edeeee;
  border-bottom-color: rgba(0,0,0,.08);
}

.site-header.scrolled {
  box-shadow: 0 1px 24px rgba(0,0,0,.4);
}
.site-header.light.scrolled {
  box-shadow: 0 1px 16px rgba(0,0,0,.1);
}

.nav-container {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  gap: 2.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

/* Banner logo — dark by default, swap to light on light nav */
.nav-banner {
  display: block;
  height: 64px;
  width: auto;
  -webkit-mask-image:
    linear-gradient(to right,  transparent 0%, black 8%, black 92%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image:
    linear-gradient(to right,  transparent 0%, black 8%, black 92%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
          mask-composite: intersect;
}
.nav-banner-light { display: none; }
.site-header.light .nav-banner-dark  { display: none; }
.site-header.light .nav-banner-light { display: block; }

.nav-links {
  display: flex;
  list-style: none;
  gap: .5rem;
  margin-left: auto;
}

.nav-link {
  display: block;
  padding: .45rem .9rem;
  font-size: .9375rem;
  font-weight: 400;
  letter-spacing: .02em;
  color: rgba(255,255,255,.6);
  border-radius: var(--r-sm);
  transition: color .2s ease, background .2s ease;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: .9rem;
  right: .9rem;
  height: 1.5px;
  background: linear-gradient(90deg, #60a5fa, #67e8f9);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
  border-radius: 2px;
}
.nav-link:hover { color: rgba(255,255,255,.95); }
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: #fff; font-weight: 500; }

.site-header.light .nav-link { color: rgba(15,23,42,.55); }
.site-header.light .nav-link:hover,
.site-header.light .nav-link.active { color: var(--c-text); }
.site-header.light .nav-link.active { color: var(--c-blue); font-weight: 500; }
.site-header.light .nav-link::after { background: var(--c-blue); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .4rem;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--r-sm);
}
.bar {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,.8);
  border-radius: 2px;
  transition: var(--t);
}
.site-header.light .bar { background: var(--c-text); }

.menu-toggle.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ==========================================================================
   HERO
========================================================================== */
.section-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  padding-bottom: 80px;
  background: var(--c-bg-dark);
  overflow: hidden;
}

/* Brand stamp — fades in, fades out on scroll via JS */
.hero-stamp {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(820px, 88%);
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  animation: stampFadeIn 1.2s ease forwards;
  animation-delay: 1s;
}
@keyframes stampFadeIn {
  from { opacity: 0; transform: translate(-50%, -46%); }
  to   { opacity: .5; transform: translate(-50%, -50%); }
}
.hero-stamp-img {
  display: block;
  width: 100%;
  height: auto;
  -webkit-mask-image:
    linear-gradient(to right,  transparent 0%, black 14%, black 86%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
  mask-image:
    linear-gradient(to right,  transparent 0%, black 14%, black 86%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

/* --- Layered backgrounds --- */
.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 35%, rgba(29,78,216,.45) 0px, transparent 55%),
    radial-gradient(ellipse at 80% 10%, rgba(6,182,212,.25) 0px, transparent 48%),
    radial-gradient(ellipse at 10% 80%, rgba(79,70,229,.3) 0px, transparent 50%),
    radial-gradient(ellipse at 85% 75%, rgba(29,78,216,.2) 0px, transparent 42%);
  animation: meshPulse 8s ease-in-out infinite;
}

.hero-dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Concentric rings */
.hero-rings { position: absolute; inset: 0; }
.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.055);
  top: 50%;
  right: -5%;
  transform: translateY(-50%);
  animation: ringPulse 6s ease-in-out infinite;
}
.ring-1 { width: 360px; height: 360px; animation-delay: 0s;   }
.ring-2 { width: 560px; height: 560px; animation-delay: 1.5s; }
.ring-3 { width: 760px; height: 760px; animation-delay: 3s;   }

/* --- Layout --- */
.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

/* --- Text column --- */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .875rem;
  background: rgba(29,78,216,.15);
  border: 1px solid rgba(29,78,216,.35);
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: #93c5fd;
  letter-spacing: .04em;
  margin-bottom: 1.5rem;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #60a5fa;
  flex-shrink: 0;
  animation: pulseDot 2s ease-in-out infinite;
}

.hero-heading {
  font-size: clamp(var(--fs-2xl), 4vw, var(--fs-5xl));
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
  letter-spacing: -.035em;
  color: #fff;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: var(--fs-xl);
  color: rgba(255,255,255,.6);
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  gap: .875rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.proof-item { display: flex; flex-direction: column; }
.proof-value {
  font-size: var(--fs-xl);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
}
.proof-label {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.45);
  font-weight: 500;
  margin-top: 2px;
}
.proof-div {
  width: 1px; height: 32px;
  background: rgba(255,255,255,.1);
  flex-shrink: 0;
}

/* --- Visual column (floating tiles) --- */
.hero-visual {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-orb {
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29,78,216,.4), rgba(6,182,212,.15), transparent 70%);
  filter: blur(48px);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}

.tile-connections {
  position: absolute;
  width: 380px; height: 380px;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  opacity: .6;
}

/* Glassmorphism service tiles */
.glass-tile {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .875rem 1.25rem;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.08);
  transition: var(--t);
  cursor: default;
}
.glass-tile:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 12px 40px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.12);
  transform: translateY(-3px);
}

.tile-icon-wrap {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.tile-icon-wrap svg { width: 18px; height: 18px; }

.tile-blue   { background: rgba(29,78,216,.25);  color: #93c5fd; }
.tile-teal   { background: rgba(8,145,178,.25);  color: #67e8f9; }
.tile-indigo { background: rgba(79,70,229,.25);  color: #a5b4fc; }
.tile-orange { background: rgba(234,88,12,.25);  color: #fdba74; }

.tile-text { display: flex; flex-direction: column; }
.tile-name {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: rgba(255,255,255,.92);
  white-space: nowrap;
}
.tile-sub {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.45);
  margin-top: 1px;
}
.tile-status {
  font-size: var(--fs-xs);
  font-weight: 600;
  margin-top: 1px;
}
.status-active { color: #34d399; }

/* Tile positions & animations */
.tile-security { top:  8%;  left: 4%;  animation: floatA 4.5s ease-in-out infinite; }
.tile-web      { top: 22%;  right: 0%; animation: floatB 5.5s ease-in-out infinite; }
.tile-managed  { bottom: 16%; left: 0%;  animation: floatC 5s ease-in-out infinite 1s; }
.tile-network  { bottom: 8%;  right: 4%; animation: floatD 6s ease-in-out infinite .5s; }

/* --- Wave SVG divider --- */
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  line-height: 0;
  z-index: 2;
}
.hero-wave svg {
  width: 100%;
  height: 72px;
  display: block;
}


/* ==========================================================================
   SERVICES — BENTO GRID
========================================================================== */
.section-services {
  padding: 6rem 0 5rem;
  background: var(--c-bg-alt);
}

/* --- Bento layout --- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1.25rem;
}

/* Card 1 — Security: row 1, col 1-2 */
.bento-security {
  grid-column: 1 / 3;
  grid-row: 1;
}

/* Card 2 — Website: row 1, col 3 (+ row 2 col 3) */
.bento-website {
  grid-column: 3;
  grid-row: 1 / 3;
}

/* Card 3 — Managed: row 2, col 1 */
.bento-managed {
  grid-column: 1;
  grid-row: 2;
}

/* Card 4 — Network: row 2, col 2 */
.bento-network {
  grid-column: 2;
  grid-row: 2;
}

/* --- Base card --- */
.bento-card {
  border-radius: var(--r-xl);
  border: 1px solid var(--c-border);
  overflow: hidden;
  position: relative;
  transition: transform .35s ease, box-shadow .35s ease, border-color .25s ease;
  box-shadow: var(--sh-sm);
}
.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  border-color: rgba(29,78,216,.25);
}

.bento-inner {
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

/* --- Security card: dark --- */
.bento-security {
  background: linear-gradient(135deg, #0d1526 0%, #111827 60%, #0f1d3d 100%);
  border-color: var(--c-border-dk);
}
.bento-security:hover {
  border-color: rgba(99,102,241,.4);
  box-shadow: var(--sh-xl), 0 0 64px rgba(29,78,216,.12);
}

.bento-security h3 { color: #fff; }
.bento-security > .bento-inner > p { color: rgba(255,255,255,.55); }

.bento-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 28px 28px;
}

.bento-glow {
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,70,229,.18) 0%, transparent 70%);
  top: -80px; right: -80px;
  pointer-events: none;
}

/* --- Website card: teal gradient --- */
.bento-website {
  background: linear-gradient(160deg, #f0fdff 0%, #e0f2fe 45%, #cffafe 100%);
  border-color: rgba(8,145,178,.15);
}
.bento-website:hover {
  border-color: rgba(8,145,178,.35);
  box-shadow: var(--sh-lg), var(--sh-teal);
}

/* --- Managed & Network: white --- */
.bento-managed,
.bento-network {
  background: #fff;
}

/* --- Shared card internals --- */
.bento-icon-wrap {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}
.bento-icon-wrap svg { width: 26px; height: 26px; }

.bento-icon-blue   { background: rgba(29,78,216,.12);  color: #60a5fa; }
.bento-icon-teal   { background: rgba(8,145,178,.12);  color: var(--c-teal); }
.bento-icon-indigo { background: var(--c-indigo-bg);   color: var(--c-indigo); }
.bento-icon-orange { background: var(--c-orange-bg);   color: var(--c-orange); }

/* Badge */
.bento-label {
  display: inline-block;
  padding: .2rem .6rem;
  background: var(--c-blue);
  color: #fff;
  border-radius: var(--r-full);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: .75rem;
  width: fit-content;
}
.bento-label-teal { background: var(--c-teal); }

/* Headings */
.bento-card h3 {
  font-size: var(--fs-2xl);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.2;
  color: var(--c-text);
  margin-bottom: .75rem;
}

/* Description */
.bento-inner > p {
  font-size: var(--fs-sm);
  color: var(--c-muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  flex: 1;
}

/* Feature chips (security & website cards only) */
.bento-features {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.5rem;
}
.feature-chip {
  padding: .25rem .7rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: rgba(255,255,255,.7);
  white-space: nowrap;
}
.feature-chip-teal {
  background: rgba(8,145,178,.08);
  border-color: rgba(8,145,178,.2);
  color: var(--c-teal);
}

/* Link */
.bento-link {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: #60a5fa;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  transition: var(--tf);
  margin-top: auto;
}
.bento-link:hover {
  gap: .5rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.bento-link:not(.bento-link-light) { color: var(--c-blue); }
.bento-website .bento-link { color: var(--c-teal); }
.bento-managed .bento-link,
.bento-network .bento-link { color: var(--c-blue); }


/* ==========================================================================
   MARQUEE
========================================================================== */
.section-marquee {
  position: relative;
  background: var(--c-bg-mid);
  padding: 1.125rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.marquee-track { overflow: hidden; }
.marquee-inner {
  display: flex;
  width: max-content;
  animation: marqueeScroll 36s linear infinite;
}
.marquee-inner.paused { animation-play-state: paused; }

.marquee-content {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.mq-item {
  display: flex;
  align-items: center;
  gap: .625rem;
  padding: 0 1.5rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: rgba(255,255,255,.45);
  white-space: nowrap;
  letter-spacing: .01em;
  transition: color .2s;
}
.mq-item:hover { color: rgba(255,255,255,.8); }

.mq-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--c-blue);
  flex-shrink: 0;
  opacity: .7;
}

/* Edge fade overlays */
.marquee-fade-left,
.marquee-fade-right {
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.marquee-fade-left  { left: 0;  background: linear-gradient(to right, var(--c-bg-mid), transparent); }
.marquee-fade-right { right: 0; background: linear-gradient(to left,  var(--c-bg-mid), transparent); }


/* ==========================================================================
   APPROACH / ABOUT
========================================================================== */
.section-about {
  padding: 7rem 0;
  background: var(--c-bg);
}

/* Central statement */
.about-statement {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 5rem;
}

.about-quote {
  font-size: clamp(var(--fs-2xl), 3.5vw, var(--fs-4xl));
  font-weight: 700;
  line-height: 1.35;
  color: var(--c-text);
  letter-spacing: -.02em;
  margin-bottom: 1.5rem;
  font-style: normal;
}
.about-quote em {
  font-style: italic;
  color: var(--c-blue);
}

.about-sub {
  font-size: var(--fs-lg);
  color: var(--c-muted);
  line-height: 1.75;
  max-width: 640px;
  margin: 0 auto;
}

/* Three pillars row */
.pillars-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pillar {
  padding: 2rem;
  background: var(--c-bg-alt);
  border-radius: var(--r-xl);
  border: 1px solid var(--c-border);
  position: relative;
  overflow: hidden;
  transition: var(--ts);
}
.pillar:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-4px);
  border-color: rgba(29,78,216,.2);
}

.pillar-number {
  position: absolute;
  top: 1.5rem; right: 1.75rem;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(0,0,0,.04);
  letter-spacing: -.04em;
  line-height: 1;
  user-select: none;
}

.pillar-icon-wrap {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.pillar-icon-wrap svg { width: 22px; height: 22px; }

.pillar-blue   { background: var(--c-blue-bg);   color: var(--c-blue);   }
.pillar-teal   { background: var(--c-teal-bg);   color: var(--c-teal);   }
.pillar-indigo { background: var(--c-indigo-bg); color: var(--c-indigo); }

.pillar h4 {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: .625rem;
  letter-spacing: -.01em;
}
.pillar p {
  font-size: var(--fs-sm);
  color: var(--c-muted);
  line-height: 1.7;
}


/* ==========================================================================
   CONTACT
========================================================================== */
.section-contact {
  padding: 7rem 0;
  background: var(--c-bg-mid);
  position: relative;
  overflow: hidden;
}
.section-contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 50%, rgba(29,78,216,.18) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(6,182,212,.10) 0%, transparent 50%);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact-title { color: #fff !important; }

.contact-body {
  font-size: var(--fs-lg);
  color: rgba(255,255,255,.6);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.contact-promises {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.25rem;
}
.promise {
  display: flex;
  align-items: center;
  gap: .875rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: rgba(255,255,255,.7);
}
.promise-icon {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.promise-icon svg { width: 16px; height: 16px; color: #60a5fa; }

.contact-location {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.35);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.contact-location svg { width: 14px; height: 14px; flex-shrink: 0; }

/* Form card */
.contact-form-wrap {
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-xl);
  padding: 2rem;
  box-shadow: var(--sh-xl);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.form-group label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: rgba(255,255,255,.75);
}
.req  { color: #60a5fa; }
.opt  { font-size: var(--fs-xs); font-weight: 400; color: rgba(255,255,255,.3); }

.form-group input,
.form-group select,
.form-group textarea {
  padding: .7rem .9rem;
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  color: #fff;
  background: rgba(255,255,255,.06);
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.25); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--c-blue-lt);
  background: rgba(255,255,255,.09);
  box-shadow: 0 0 0 3px rgba(59,130,246,.2);
}
.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
  border-color: #f87171;
  box-shadow: 0 0 0 3px rgba(248,113,113,.15);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6' stroke='rgba(255,255,255,.4)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-size: 18px;
  padding-right: 2.5rem;
  cursor: pointer;
  color: rgba(255,255,255,.8);
}
.form-group select option { background: var(--c-bg-mid); color: #fff; }

.form-success {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: 1rem;
  background: rgba(5,150,105,.12);
  border: 1px solid rgba(5,150,105,.3);
  border-radius: var(--r-md);
}
.form-success svg { width: 22px; height: 22px; color: #34d399; flex-shrink: 0; margin-top: 1px; }
.form-success strong { display: block; font-size: var(--fs-sm); font-weight: 700; color: #34d399; margin-bottom: .2rem; }
.form-success p { font-size: var(--fs-sm); color: rgba(255,255,255,.5); margin: 0; }


/* ==========================================================================
   FOOTER
========================================================================== */
.site-footer { background: #1b2127; }

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  padding: 4rem 0;
}

.footer-brand { max-width: 420px; }

.footer-logo {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
  -webkit-mask-image:
    linear-gradient(to right,  transparent 0%, black 12%, black 88%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image:
    linear-gradient(to right,  transparent 0%, black 12%, black 88%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
          mask-composite: intersect;
}

.footer-tagline {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.3);
  line-height: 1.7;
  margin-top: 1rem;
}

.footer-nav { display: flex; gap: 3.5rem; }

.footer-col h5 {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: rgba(255,255,255,.8);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .625rem; }
.footer-col a { font-size: var(--fs-sm); color: rgba(255,255,255,.35); transition: color .2s; }
.footer-col a:hover { color: rgba(255,255,255,.85); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); }
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
}
.footer-bottom p,
.footer-location { font-size: var(--fs-xs); color: rgba(255,255,255,.25); }
.footer-location { display: flex; align-items: center; gap: .3rem; }
.footer-loc-icon { width: 12px; height: 12px; }


/* ==========================================================================
   RESPONSIVE — 1024px
========================================================================== */
@media (max-width: 1024px) {
  :root { --pad: 1.25rem; }
  .hero-container { gap: 2rem; }
  .bento-grid { gap: 1rem; }
  .contact-grid { gap: 2.5rem; }
}


/* ==========================================================================
   RESPONSIVE — 900px (bento collapse)
========================================================================== */
@media (max-width: 900px) {
  .bento-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }
  .bento-security { grid-column: 1 / 3; grid-row: auto; }
  .bento-website  { grid-column: 1;     grid-row: auto; }
  .bento-managed  { grid-column: 2;     grid-row: auto; }
  .bento-network  { grid-column: 1 / 3; grid-row: auto; }
  .pillars-row { grid-template-columns: 1fr; gap: 1rem; }
}


/* ==========================================================================
   RESPONSIVE — 768px (mobile)
========================================================================== */
@media (max-width: 768px) {
  :root { --pad: 1rem; }

  /* Nav */
  .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    background: var(--c-bg-mid);
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: .75rem 1rem;
    gap: .25rem;
    box-shadow: 0 20px 40px rgba(0,0,0,.5);
    z-index: 199;
  }
  .nav-links.open { display: flex; }
  .nav-link { font-size: var(--fs-base); padding: .75rem 1rem; }

  /* Hero */
  .section-hero { min-height: auto; padding-bottom: 72px; }
  .hero-heading { white-space: normal; }
  .hero-container { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-sub { max-width: 100%; }

  /* Services */
  .bento-grid { grid-template-columns: 1fr; }
  .bento-security,
  .bento-website,
  .bento-managed,
  .bento-network { grid-column: 1; grid-row: auto; }

  /* Pillars */
  .pillars-row { grid-template-columns: 1fr; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-nav { flex-direction: column; gap: 2rem; }
  .footer-bottom-inner { flex-direction: column; gap: .5rem; text-align: center; }
}


/* ==========================================================================
   RESPONSIVE — 480px (small mobile)
========================================================================== */
@media (max-width: 480px) {
  .hero-heading { font-size: var(--fs-4xl); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .hero-proof { gap: 1rem; }
  .bento-inner { padding: 1.5rem; }
  .contact-form-wrap { padding: 1.25rem; }
}
