/* ============================================================
   David Castioni — Design System v2 (2026)
   Palette: Deep Navy · Electric Blue · Lime Acid
   Fonts: Space Grotesk (headings) + Inter (body)
   ============================================================ */

/* ─── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video, svg { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; }
ul, ol { list-style: none; }

/* ─── VARIABLES ──────────────────────────────────────────── */
:root {
  /* Background layers */
  --bg:          #03050e;
  --surface:     #06091a;
  --card:        #0a0d22;
  --card-hi:     #0e1230;

  /* Borders */
  --border:      rgba(255,255,255,0.07);
  --border-hi:   rgba(255,255,255,0.14);

  /* Brand accents */
  --blue:        #1a5cff;
  --blue-light:  #4d82ff;
  --blue-glow:   rgba(26,92,255,0.22);
  --lime:        #b3ff00;
  --lime-dim:    rgba(179,255,0,0.10);
  --lime-glow:   rgba(179,255,0,0.20);
  --wa-green:    #25D366;

  /* Compatibility aliases for inner pages */
  --brand-sky:     #38bdf8;
  --brand-blue:    #3b82f6;
  --brand-violet:  #a78bfa;
  --accent-emerald:#b3ff00;
  --accent-gold:   #fbbf24;
  --text-muted:    #94a3b8;
  --text-dim:      #64748b;
  --border-subtle: rgba(255,255,255,0.08);
  --border-accent: rgba(179,255,0,0.35);
  --radius-sm:     12px;

  /* Text */
  --white:       #ffffff;
  --text:        #e8eeff;
  --muted:       #7a8499;
  --dim:         #3c4558;

  /* Typography */
  --font-head:   'Space Grotesk', sans-serif;
  --font-body:   'Inter', sans-serif;

  /* Layout */
  --container:   1280px;
  --section-y:   7rem;

  /* Radius */
  --r:    14px;
  --r-lg: 22px;
  --r-xl: 32px;

  /* Transitions */
  --ease:  cubic-bezier(0.16, 1, 0.3, 1);
  --t:     0.4s var(--ease);
  --t-fast:0.2s ease;
}

/* ─── BASE ───────────────────────────────────────────────── */
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

/* Noise grain overlay for premium depth */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 250px;
  pointer-events: none;
  z-index: 9990;
  opacity: 1;
}

/* ─── CUSTOM CURSOR ──────────────────────────────────────── */
@media (pointer: fine) {
  * { cursor: none !important; }
}
.cursor-dot,
.cursor-ring {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}
.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
  transition: transform 0.08s ease, width 0.3s var(--ease), height 0.3s var(--ease);
}
.cursor-ring {
  width: 34px;
  height: 34px;
  border: 1.5px solid rgba(179,255,0,0.4);
  transition: left 0.12s var(--ease), top 0.12s var(--ease),
              width 0.3s var(--ease), height 0.3s var(--ease),
              border-color 0.3s ease;
}
.cursor-ring.expanded {
  width: 56px;
  height: 56px;
  border-color: rgba(179,255,0,0.7);
}

/* ─── CONTAINER & LAYOUT ─────────────────────────────────── */
.container {
  width: 92%;
  max-width: var(--container);
  margin-inline: auto;
}
.section {
  padding: var(--section-y) 0;
  position: relative;
}

/* ─── TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--white);
}
p { color: var(--muted); }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--blue-light);
  margin-bottom: 1.25rem;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--blue-light);
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 3rem;
}

.text-lime  { color: var(--lime);  }
.text-blue  { color: var(--blue);  }
.text-white { color: var(--white); }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }

/* ─── HEADER ─────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 70px;
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background 0.45s ease, border-color 0.45s ease, backdrop-filter 0.45s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(3,5,14,0.88);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border-color: var(--border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
}

/* Brand */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}
.nav-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--border-hi);
}
.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.nav-brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  letter-spacing: -0.01em;
}
.nav-brand-sub {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0.42rem 0.9rem;
  border-radius: 8px;
  transition: color var(--t-fast), background var(--t-fast);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.05);
}

/* Dropdown */
.nav-item { position: relative; }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 288px;
  background: #0c1030;
  border: 1px solid var(--border-hi);
  border-radius: var(--r-lg);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  backdrop-filter: blur(20px);
  box-shadow: 0 28px 64px rgba(0,0,0,0.55);
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: flex !important;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem !important;
  border-radius: 10px;
  font-size: 0.875rem;
  color: var(--muted) !important;
  background: transparent !important;
  width: 100%;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease !important;
}
.nav-dropdown a:hover {
  background: rgba(26,92,255,0.12) !important;
  color: var(--white) !important;
}
.nav-dropdown a .icon { font-size: 1rem; flex-shrink: 0; }

/* CTA button */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--blue) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  padding: 0.5rem 1.15rem !important;
  border-radius: 10px !important;
  margin-left: 0.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  flex-shrink: 0;
}
.nav-cta:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 8px 28px var(--blue-glow) !important;
  background: var(--blue) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px 6px;
  background: none;
  border: none;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--t);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(3,5,14,0.97);
  backdrop-filter: blur(24px);
  z-index: 1000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-nav.open {
  display: flex;
  opacity: 1;
}
.mobile-nav a {
  font-family: var(--font-head);
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--lime); }
.mobile-nav a.mobile-cta {
  font-size: 1.5rem;
  color: var(--lime) !important;
}

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 70px;
  position: relative;
  overflow: hidden;
}

/* Background glows */
.hero-glow-1 {
  position: absolute;
  top: -5%;
  right: -5%;
  width: 750px;
  height: 750px;
  background: radial-gradient(circle, rgba(26,92,255,0.10) 0%, transparent 65%);
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(179,255,0,0.04) 0%, transparent 65%);
  pointer-events: none;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  padding: 5rem 0;
  position: relative;
  z-index: 1;
}

/* Eyebrow badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-hi);
  border-radius: 100px;
  padding: 0.38rem 1rem 0.38rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2rem;
}
.hero-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--lime);
  animation: pulse-dot 2.2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--lime); }
  50%       { opacity: 0.45; box-shadow: 0 0 2px var(--lime); }
}

/* Hero H1 — stacked typographic statement */
.hero-h1 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 1.75rem;
}
.hero-h1 .h1-outline {
  display: block;
  font-size: clamp(3.5rem, 7.5vw, 6.5rem);
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.2);
}
.hero-h1 .h1-solid {
  display: block;
  font-size: clamp(3.5rem, 7.5vw, 6.5rem);
  color: var(--white);
}
.hero-h1 .h1-accent {
  display: block;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--blue-light);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-top: 0.15em;
}

.hero-desc {
  font-size: 1.08rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex-wrap: wrap;
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-photo-frame {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 3/4;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
}
.hero-photo-frame::after {
  content: '';
  position: absolute;
  left: 0; top: 15%; bottom: 15%;
  width: 3px;
  background: linear-gradient(to bottom, transparent, var(--lime), transparent);
  border-radius: 2px;
  box-shadow: 0 0 18px var(--lime);
}
.hero-photo-frame .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(3,5,14,0.75) 100%);
  z-index: 1;
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(15%) contrast(1.05);
  transition: filter 0.5s ease;
}
.hero-photo-frame:hover .hero-photo { filter: grayscale(0%) contrast(1.08); }

/* Floating stats card on photo */
.hero-stats-float {
  position: absolute;
  bottom: 1.5rem;
  right: -1rem;
  z-index: 2;
  background: rgba(3,5,14,0.82);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-hi);
  border-radius: 16px;
  padding: 1rem 1.4rem;
  display: flex;
  gap: 1.5rem;
}
.float-stat { text-align: center; }
.float-num {
  display: block;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.03em;
}
.float-num .accent { color: var(--lime); }
.float-label {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
}

/* ─── MARQUEE ─────────────────────────────────────────────── */
.marquee-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 1rem 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 35s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 1.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.marquee-sep {
  color: var(--lime);
  font-size: 0.45rem;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── BENTO GRID ─────────────────────────────────────────── */
.bento-intro {
  margin-bottom: 3rem;
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(160px, auto);
  gap: 1rem;
}

.bento-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
/* Radial hover glow on cards */
.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(26,92,255,0.07) 0%, transparent 65%);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transition: opacity var(--t);
}
.bento-card > * {
  position: relative;
  z-index: 2;
}
/* Full-card stretched link so clicking anywhere on the bento card navigates */
.bento-link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
}
.bento-card:hover {
  border-color: var(--border-hi);
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(0,0,0,0.45);
}
.bento-card:hover::before { opacity: 1; }

.bento-icon {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 0.75rem;
  line-height: 1;
}
.bento-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  line-height: 1.2;
  color: var(--white);
}
.bento-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.bento-link {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  position: static;
  transition: gap 0.2s ease, color 0.2s;
}
.bento-card:hover .bento-link { gap: 0.7rem; color: var(--white); }

/* Decorative big number watermark inside card */
.bento-watermark {
  position: absolute !important;
  top: 0.5rem;
  right: 1.25rem;
  z-index: 1 !important;
  font-family: var(--font-head);
  font-size: 7rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(255,255,255,0.04);
  letter-spacing: -0.05em;
  pointer-events: none;
  transition: color var(--t);
}
.bento-card:hover .bento-watermark { color: rgba(255,255,255,0.07); }

/* Card size classes */
.bc-hero  { grid-column: span 5; grid-row: span 2; justify-content: flex-start; }
.bc-lg    { grid-column: span 4; grid-row: span 2; }
.bc-md    { grid-column: span 4; grid-row: span 1; }
.bc-sm    { grid-column: span 3; grid-row: span 1; }
.bc-wide  { grid-column: span 7; grid-row: span 1; }
.bc-full  { grid-column: span 12; grid-row: span 1; }
.bc-3     { grid-column: span 3; }

/* Lime accent card */
.bento-card.lime-card {
  background: var(--lime);
  border-color: var(--lime);
}
.bento-card.lime-card h3,
.bento-card.lime-card p,
.bento-card.lime-card .bento-link { color: #03050e !important; }
.bento-card.lime-card::before { display: none; }
.bento-card.lime-card:hover {
  box-shadow: 0 24px 56px rgba(179,255,0,0.22);
}

/* Full-width CTA card */
.bento-card.cta-card {
  background: linear-gradient(135deg, var(--blue) 0%, #0a3acc 100%);
  border-color: var(--blue);
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 2.5rem;
  min-height: 100px;
}
.bento-card.cta-card h3 { font-size: 1.4rem; margin: 0; }
.bento-card.cta-card:hover {
  box-shadow: 0 24px 56px var(--blue-glow);
  transform: translateY(-2px);
}

/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.8rem 1.6rem;
  border-radius: 12px;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}
.btn .arrow { transition: transform 0.22s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px var(--blue-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--border-hi);
  background: rgba(255,255,255,0.04);
}

.btn-lime {
  background: var(--lime);
  color: #03050e;
  font-weight: 700;
}
.btn-lime:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px var(--lime-glow);
}

.btn-white {
  background: var(--white);
  color: var(--blue);
  font-weight: 700;
}
.btn-white:hover { transform: scale(1.03); }

.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.82rem; border-radius: 9px; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; border-radius: 14px; }

/* ─── NUMBERS STRIP ──────────────────────────────────────── */
.numbers-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 0;
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.number-item {
  text-align: center;
  padding: 2rem 1rem;
  border-right: 1px solid var(--border);
}
.number-item:last-child { border-right: none; }
.number-value {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.number-value .suf { color: var(--lime); }
.number-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ─── ABOUT STRIP ─────────────────────────────────────────── */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-text h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); margin-bottom: 1.5rem; }
.about-text p { margin-bottom: 1.25rem; font-size: 1rem; line-height: 1.85; }
.about-text .btn { margin-top: 1rem; }

.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
}
.skill-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.25rem 1.4rem;
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.skill-card:hover {
  border-color: var(--border-hi);
  transform: translateY(-2px);
}
.skill-card .icon { font-size: 1.4rem; margin-bottom: 0.5rem; display: block; }
.skill-card h4 { font-size: 0.9rem; font-weight: 600; color: var(--white); margin-bottom: 0.2rem; }
.skill-card p { font-size: 0.78rem; color: var(--dim); margin: 0; }

/* ─── TESTIMONIALS ───────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.testi-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: border-color var(--t), transform var(--t);
  display: flex;
  flex-direction: column;
}
.testi-card:hover {
  border-color: var(--border-hi);
  transform: translateY(-3px);
}
.testi-stars {
  color: #f59e0b;
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}
.testi-quote {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
  margin-bottom: 1.5rem;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testi-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
  flex-shrink: 0;
}
.testi-name { font-weight: 600; font-size: 0.88rem; color: var(--white); }
.testi-role { font-size: 0.75rem; color: var(--muted); }

/* ─── LOCAL SECTION ──────────────────────────────────────── */
.local-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.local-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}
.local-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(26,92,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.local-big-text {
  font-family: var(--font-head);
  font-size: clamp(4rem, 8vw, 6.5rem);
  font-weight: 800;
  color: rgba(255,255,255,0.05);
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 1.5rem;
  -webkit-text-stroke: 1px rgba(255,255,255,0.08);
  position: relative;
  z-index: 1;
}
.local-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}
.local-tag {
  background: rgba(26,92,255,0.1);
  border: 1px solid rgba(26,92,255,0.2);
  border-radius: 100px;
  padding: 0.3rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--blue-light);
}

/* ─── FAQ ─────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--white);
  text-align: left;
  transition: color var(--t-fast);
}
.faq-question:hover { color: var(--blue-light); }
.faq-toggle {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--muted);
  transition: background var(--t-fast), border-color var(--t-fast),
              color var(--t-fast), transform 0.35s var(--ease);
}
.faq-item.open .faq-toggle {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.42s var(--ease);
}
.faq-answer-body {
  padding-bottom: 1.5rem;
}
.faq-answer-body p {
  color: var(--muted);
  line-height: 1.82;
  font-size: 0.97rem;
}

/* ─── CTA BAND ───────────────────────────────────────────── */
.cta-band {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 7rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(26,92,255,0.13) 0%, transparent 65%);
  pointer-events: none;
}
.cta-band h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  margin-bottom: 1rem;
  position: relative;
}
.cta-band .lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  position: relative;
}
.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 5rem 0 2.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer-brand-desc {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 290px;
  margin: 1rem 0 1.5rem;
}
.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.footer-contact-row a { color: var(--muted); transition: color 0.2s; }
.footer-contact-row a:hover { color: var(--text); }
.footer-col-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--dim);
  margin-bottom: 1.25rem;
}
.footer-col-links { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col-links a {
  font-size: 0.88rem;
  color: var(--muted);
  transition: color 0.2s, padding-left 0.2s;
}
.footer-col-links a:hover { color: var(--text); padding-left: 0.2rem; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--dim);
}
.footer-bottom a { color: var(--dim); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--muted); }
.footer-legal { display: flex; gap: 1.5rem; }

/* ─── SCROLL REVEAL ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.40s; }

/* ─── FORMS ───────────────────────────────────────────────── */
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.85rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-glow);
}
.form-group textarea { min-height: 130px; resize: vertical; }

/* ─── GLASS CARD (compat) ────────────────────────────────── */
.glass-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}

/* ─── UTILITY ─────────────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}
.mb-sm { margin-bottom: 0.75rem; }
.mb-md { margin-bottom: 1.5rem;  }
.mb-lg { margin-bottom: 2.5rem;  }
.mb-xl { margin-bottom: 4rem;    }
.gap-sm { gap: 0.75rem; }
.flex   { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .bento-grid { grid-template-columns: repeat(6, 1fr); }
  .bc-hero { grid-column: span 6; grid-row: span 2; }
  .bc-lg   { grid-column: span 3; }
  .bc-md   { grid-column: span 3; }
  .bc-sm   { grid-column: span 3; }
  .bc-wide { grid-column: span 6; }
  .bc-full { grid-column: span 6; }
  .bc-3    { grid-column: span 3; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .number-item:nth-child(2) { border-right: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  :root { --section-y: 5rem; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-visual { display: flex; margin-top: 2rem; }
  .hero-photo-frame { max-width: 360px; margin: 0 auto; }
  .hero-h1 .h1-outline,
  .hero-h1 .h1-solid { font-size: clamp(3rem, 12vw, 5rem); }
  .about-layout  { grid-template-columns: 1fr; gap: 3rem; }
  .local-layout  { grid-template-columns: 1fr; gap: 3rem; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .hamburger { display: flex; }
  .nav-links { display: none; }
}

@media (max-width: 640px) {
  :root { --section-y: 4rem; }
  .bento-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bc-hero, .bc-lg, .bc-md, .bc-sm, .bc-wide, .bc-full, .bc-3 { grid-column: span 1; }
  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .number-item { border-right: none; border-bottom: 1px solid var(--border); }
  .number-item:nth-child(4) { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .bento-card.cta-card { flex-direction: column; gap: 1.25rem; text-align: center; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .footer-legal { flex-direction: column; gap: 0.5rem; }
}

/* --- LEGACY & INNER PAGE COMPATIBILITY SUITE (WOW UPGRADE) --- */
.section-hero {
  padding-top: calc(70px + 3.5rem);
  padding-bottom: 3.5rem;
  background: radial-gradient(circle at 50% 20%, rgba(26,92,255,0.12) 0%, transparent 60%);
  position: relative;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 1.75rem;
}
.breadcrumb a {
  color: var(--muted);
  transition: color var(--t-fast);
}
.breadcrumb a:hover {
  color: var(--white);
}
.breadcrumb-separator {
  color: var(--dim);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-hi);
  border-radius: 100px;
  padding: 0.35rem 0.95rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 1.5rem;
}

.text-brand-gradient {
  background: linear-gradient(135deg, var(--white) 30%, var(--blue-light) 70%, var(--lime) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

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

.badge-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  background: rgba(26,92,255,0.15);
  color: var(--blue-light);
  border: 1px solid rgba(26,92,255,0.3);
}

.max-w-850 {
  max-width: 850px;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-hi);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.8rem 1.6rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.btn-secondary:hover {
  border-color: var(--blue-light);
  color: var(--white);
  background: rgba(255,255,255,0.04);
  transform: translateY(-2px);
}

/* Glass cards upgraded look */
.glass-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.glass-card:hover {
  border-color: var(--border-hi);
  transform: translateY(-3px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.4);
}

@media (max-width: 900px) {
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }
}


/* --- DROPDOWN ENHANCEMENT --- */
.nav-item {
  position: relative;
  padding: 0.5rem 0;
}
.nav-item .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #06091a !important;
  border: 1px solid var(--border-hi) !important;
  border-radius: var(--r-lg) !important;
  padding: 0.6rem !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
  box-shadow: 0 24px 60px rgba(0,0,0,0.85), 0 0 0 1px rgba(255,255,255,0.06);
  z-index: 1050;
}
/* Ponte invisibile per non far chiudere il dropdown al movimento del mouse */
.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  height: 15px;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateX(-50%) translateY(0) !important;
}

/* --- WORLD MAP BRAND PROTECTION STYLES --- */
.world-map-section {
  position: relative;
  background: radial-gradient(circle at 50% 30%, rgba(26,92,255,0.12) 0%, #03050e 72%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.world-map-container {
  position: relative;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto 3rem;
  background: linear-gradient(180deg, rgba(13,18,38,0.92) 0%, rgba(7,10,22,0.96) 100%);
  border: 1px solid var(--border-hi);
  border-radius: var(--r-xl);
  padding: 1.5rem 2rem 2rem;
  box-shadow: 0 32px 90px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.06);
}
.map-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 1.15rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.map-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--font-head);
}
.map-status-indicator strong {
  color: var(--lime);
}
.status-dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
  animation: live-blink 2s infinite ease-in-out;
}
@keyframes live-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}
.map-legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.1rem;
}
.map-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.74rem;
  color: var(--muted);
}
.legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
}
.legend-dot.hq {
  background: #84cc16;
  border: 1px solid #b3ff00;
  box-shadow: 0 0 8px rgba(179,255,0,0.6);
}
.legend-dot.active {
  background: #1e40af;
  border: 1px solid #38bdf8;
  box-shadow: 0 0 8px rgba(56,189,248,0.4);
}
.legend-dot.inactive {
  background: #11182d;
  border: 1px solid #25335a;
}
.world-map-viewport {
  position: relative;
  width: 100%;
  border-radius: 12px;
  background: #050814;
  border: 1px solid rgba(56,189,248,0.12);
  overflow: hidden;
}
.world-map-svg {
  width: 100%;
  height: auto;
  display: block;
}
.map-land {
  fill: #10172a;
  stroke: #1e2946;
  stroke-width: 0.55;
  stroke-linejoin: round;
  transition: fill 0.25s ease, stroke 0.25s ease, filter 0.25s ease;
}
.map-land:hover {
  fill: #17223d;
  stroke: #334778;
}
.map-land-active {
  fill: url(#active-country-grad);
  stroke: #38bdf8;
  stroke-width: 0.85;
  cursor: pointer;
}
.map-land-active:hover {
  fill: #2563eb;
  stroke: #b3ff00;
  stroke-width: 1.15;
  filter: drop-shadow(0 0 8px rgba(56,189,248,0.55));
}
.map-land-hq {
  fill: url(#hq-country-grad);
  stroke: #b3ff00;
  stroke-width: 1.1;
  cursor: pointer;
  filter: drop-shadow(0 0 10px rgba(179,255,0,0.4));
}
.map-land-hq:hover {
  fill: #a3e635;
  stroke: #ffffff;
}
.map-arc-line {
  animation: map-arc-dash 18s linear infinite;
}
@keyframes map-arc-dash {
  to {
    stroke-dashoffset: -120;
  }
}
.map-pin {
  cursor: pointer;
  transition: opacity 0.25s ease, filter 0.25s ease;
}
.map-pin:hover {
  filter: drop-shadow(0 0 8px rgba(179,255,0,0.9));
}
.map-pin circle.pulse {
  animation: map-pulse 2.2s infinite ease-in-out;
}
@keyframes map-pulse {
  0% { r: 4.5; opacity: 0.95; }
  70% { r: 15; opacity: 0; }
  100% { r: 4.5; opacity: 0; }
}
.map-tooltip {
  position: absolute;
  top: 4.5rem;
  left: 2rem;
  z-index: 30;
  background: rgba(6, 9, 26, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(179, 255, 0, 0.45);
  border-radius: 10px;
  padding: 0.7rem 0.95rem;
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  box-shadow: 0 16px 40px rgba(0,0,0,0.75);
  max-width: 280px;
}
.map-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
}
.map-tooltip-country {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.2rem;
}
.map-tooltip-tlds {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--lime);
  margin-bottom: 0.25rem;
}
.map-tooltip-desc {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.4;
}

.map-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}
.map-stat-box {
  text-align: center;
}
.map-stat-num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.map-stat-num span {
  color: var(--lime);
}
.map-stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-top: 0.4rem;
}

.map-regions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.map-region-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.map-region-card:hover {
  border-color: var(--blue-light);
  transform: translateY(-2px);
}
.map-region-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}
.map-region-head h4 {
  font-size: 1rem;
  margin: 0;
  color: var(--white);
}
.map-region-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.map-tld-pill {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
  background: rgba(26,92,255,0.12);
  color: var(--blue-light);
  border: 1px solid rgba(26,92,255,0.25);
}
.map-tld-pill.accent {
  background: rgba(179,255,0,0.12);
  color: var(--lime);
  border-color: rgba(179,255,0,0.3);
}

@media (max-width: 900px) {
  .map-stats-strip, .map-regions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* --- INNER PAGES & ARCHITECTURAL DESIGN SYSTEM v3 --- */

/* Architectural background blueprint grid on body */
body {
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 18% 8%, rgba(26, 92, 255, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 22%, rgba(179, 255, 0, 0.04) 0%, transparent 40%),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 64px 64px, 64px 64px;
  background-attachment: fixed;
}

/* Top Executive Status Bar above header */
.exec-topbar {
  background: #02040a;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-size: 0.73rem;
  color: var(--muted);
  padding: 0.42rem 0;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1002;
  height: 34px;
  display: flex;
  align-items: center;
}
.exec-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1rem;
}
.exec-topbar-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.exec-topbar-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text);
  font-weight: 600;
  font-family: var(--font-head);
  letter-spacing: 0.03em;
}
.exec-topbar-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime);
}
.exec-topbar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.exec-topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text);
  font-weight: 600;
  transition: color 0.2s;
}
.exec-topbar-link:hover {
  color: var(--lime);
}
.exec-topbar-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(37, 211, 102, 0.14);
  color: #4ade80;
  border: 1px solid rgba(37, 211, 102, 0.35);
  padding: 0.15rem 0.65rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.7rem;
  transition: background 0.2s, transform 0.2s;
}
.exec-topbar-wa:hover {
  background: rgba(37, 211, 102, 0.25);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Adjust site-header for topbar */
.site-header {
  top: 34px !important;
  background: rgba(3, 5, 14, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.hero {
  padding-top: 104px !important;
}
.section-hero {
  padding-top: calc(104px + 3.5rem) !important;
}

@media (max-width: 760px) {
  .exec-hide-mobile { display: none !important; }
  .exec-topbar-inner { justify-content: space-between; }
}

/* Upgraded Glass Card — Default padding + editorial top hairline */
.glass-card {
  background: linear-gradient(165deg, rgba(16, 22, 48, 0.88) 0%, rgba(9, 13, 28, 0.94) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r-lg);
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.glass-card h2, .glass-card h3, .glass-card h4 {
  margin-bottom: 0.75rem;
}
.glass-card p {
  line-height: 1.75;
  margin-bottom: 1rem;
}
.glass-card p:last-child {
  margin-bottom: 0;
}
.glass-card:hover {
  border-color: rgba(77, 130, 255, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55), 0 0 30px rgba(26, 92, 255, 0.1);
}
.glass-card.lime-card {
  background: linear-gradient(145deg, #b3ff00 0%, #84cc16 100%) !important;
  border-color: #b3ff00 !important;
  color: #03050e !important;
}

/* AI Summary Block & CTA Box (used across inner pages) */
.ai-summary-block {
  background: linear-gradient(135deg, rgba(26, 92, 255, 0.12) 0%, rgba(10, 15, 35, 0.95) 100%);
  border: 1px solid rgba(77, 130, 255, 0.35);
  border-left: 4px solid var(--lime);
  border-radius: var(--r-lg);
  padding: 2.25rem 2.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  position: relative;
}
.ai-summary-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--lime);
  margin-bottom: 0.85rem;
}

.cta-box {
  background: radial-gradient(circle at 50% 0%, rgba(26, 92, 255, 0.28) 0%, rgba(10, 14, 34, 0.96) 70%);
  border: 1px solid rgba(77, 130, 255, 0.35);
  border-radius: var(--r-xl);
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.cta-box::before {
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--lime), var(--blue-light), transparent);
}
.cta-box h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}

.max-w-700 {
  max-width: 700px;
}

/* Form classes compatibility (.form-input, .form-select, .form-textarea, .form-label) */
.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: rgba(6, 9, 26, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 11px;
  padding: 0.9rem 1.15rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(179, 255, 0, 0.15);
}
.form-textarea {
  min-height: 135px;
  resize: vertical;
}

/* FAQ icon compatibility */
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-hi);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--lime);
  transition: transform 0.3s ease, background 0.3s ease;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--lime);
  color: #03050e;
}
.faq-answer p {
  padding-bottom: 1.5rem;
  color: var(--muted);
  line-height: 1.8;
}

/* Executive Photo Frame (Natural Colors, Studio Philosophy Caption) */
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  filter: none !important;
  transition: transform 0.6s var(--ease);
}
.hero-photo-frame:hover .hero-photo {
  transform: scale(1.03);
}
.hero-philosophy-pill {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 3;
  background: rgba(3, 5, 14, 0.86);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(179, 255, 0, 0.45);
  border-radius: 12px;
  padding: 0.55rem 0.9rem;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  box-shadow: 0 12px 30px rgba(0,0,0,0.6);
}
.hero-philosophy-pill span {
  color: var(--lime);
}

/* Floating WhatsApp & Direct Call Quick Widget */
.floating-contact-dock {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 995;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
}
.floating-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.86rem;
  padding: 0.78rem 1.25rem;
  border-radius: 100px;
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.38), 0 0 0 1px rgba(255,255,255,0.18);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.floating-wa-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 44px rgba(37, 211, 102, 0.55);
}
.floating-wa-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}
.floating-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(6, 9, 26, 0.92);
  backdrop-filter: blur(12px);
  color: var(--white) !important;
  border: 1px solid rgba(179, 255, 0, 0.4);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.6);
  transition: border-color 0.2s, transform 0.2s;
}
.floating-call-btn:hover {
  border-color: var(--lime);
  transform: translateY(-2px);
}
@media (max-width: 640px) {
  .floating-contact-dock {
    bottom: 1rem;
    right: 1rem;
  }
  .floating-wa-btn span.wa-label-text {
    display: none;
  }
  .floating-wa-btn {
    padding: 0.85rem;
    border-radius: 50%;
  }
}

/* Trusted Historic Brands & Credentials Strip */
.trust-brands-strip {
  background: rgba(6, 9, 26, 0.85);
  border-bottom: 1px solid var(--border);
  padding: 1.65rem 0;
}
.trust-brands-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.trust-brands-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--muted);
  max-width: 260px;
  line-height: 1.4;
}
.trust-brands-logos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.trust-pill strong {
  color: var(--lime);
}

/* --- CITCONSULT LIVE BLOG SYNC CARDS --- */
.cit-sync-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(179, 255, 0, 0.08);
  border: 1px solid rgba(179, 255, 0, 0.3);
  border-radius: 100px;
  padding: 0.38rem 1rem;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}
.cit-sync-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime);
  animation: live-blink 2s infinite ease-in-out;
}
.cit-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.cit-blog-card {
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: linear-gradient(165deg, rgba(16, 22, 48, 0.9) 0%, rgba(8, 12, 26, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: transform 0.35s var(--ease), border-color 0.35s ease, box-shadow 0.35s ease;
}
.cit-blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(179, 255, 0, 0.45);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.65), 0 0 30px rgba(26, 92, 255, 0.14);
}
.cit-blog-thumb-link {
  display: block;
  position: relative;
  overflow: hidden;
}
.cit-blog-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #060919;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.cit-blog-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}
.cit-blog-card:hover .cit-blog-thumb {
  transform: scale(1.06);
}
.cit-blog-date-badge {
  position: absolute;
  bottom: 0.75rem;
  left: 0.85rem;
  background: rgba(3, 5, 14, 0.86);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
}
.cit-blog-body {
  padding: 1.5rem 1.65rem 1.65rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.cit-blog-title {
  font-family: var(--font-head);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.32;
  margin-bottom: 0.7rem !important;
  color: var(--white);
}
.cit-blog-title a {
  color: inherit;
  transition: color 0.2s ease;
}
.cit-blog-card:hover .cit-blog-title a {
  color: var(--lime);
}
.cit-blog-excerpt {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.68;
  margin-bottom: 1.35rem !important;
  flex: 1;
}
.cit-blog-readmore {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-light);
  transition: color 0.2s ease;
}
.cit-blog-card:hover .cit-blog-readmore {
  color: var(--lime);
}
.cit-blog-readmore .ext-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(26, 92, 255, 0.14);
  color: var(--lime);
  font-size: 0.85rem;
  transition: transform 0.25s ease, background 0.25s ease;
}
.cit-blog-card:hover .cit-blog-readmore .ext-arrow {
  transform: translate(2px, -2px);
  background: rgba(179, 255, 0, 0.2);
}

@media (max-width: 980px) {
  .cit-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .cit-blog-grid {
    grid-template-columns: 1fr;
  }
}

/* --- PORTFOLIO CARDS (LOGOS & REALISTIC PHOTOGRAPHY) --- */
.portfolio-card {
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--r-lg);
}
.portfolio-thumb-box {
  position: relative;
  width: 100%;
  height: 225px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #060919;
}
.portfolio-thumb-box.logo-showcase {
  background: radial-gradient(circle at 50% 50%, #ffffff 0%, #f1f5f9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 2.5rem;
}
.portfolio-thumb-box.logo-showcase img {
  max-width: 88%;
  max-height: 155px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.12));
  transition: transform 0.45s var(--ease);
}
.portfolio-card:hover .portfolio-thumb-box.logo-showcase img {
  transform: scale(1.06);
}
.portfolio-thumb-box.photo-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}
.portfolio-card:hover .portfolio-thumb-box.photo-showcase img {
  transform: scale(1.06);
}
.portfolio-body {
  padding: 1.75rem 1.85rem 1.85rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.portfolio-body h3 {
  font-size: 1.25rem;
  margin-top: 0.4rem;
  margin-bottom: 0.65rem;
  color: var(--white);
}
.portfolio-body p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  flex: 1;
}
.portfolio-meta {
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--lime);
  letter-spacing: 0.03em;
}




