/* ============================================================
   SONOMA TECH SOLUTIONS — Ultra Clean White Design System
   Apple-inspired · 2025
   ============================================================ */

:root {
  --blue: #0071e3;
  --blue-dark: #0058b0;
  --blue-light: #e8f2fd;
  --black: #1d1d1f;
  --gray-1: #f5f5f7;
  --gray-2: #e8e8ed;
  --gray-3: #6e6e73;
  --gray-4: #424245;
  --white: #ffffff;
  --green-wa: #25d366;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.13);
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
  --nav-h: 64px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ── */
h1 { font-size: clamp(36px, 5vw, 64px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
h2 { font-size: clamp(28px, 3.5vw, 48px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; }
h3 { font-size: clamp(20px, 2vw, 28px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; }
h4 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
p { line-height: 1.7; }
a { text-decoration: none; color: inherit; }

.kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.lead { font-size: clamp(17px, 2vw, 21px); color: var(--gray-3); line-height: 1.6; max-width: 600px; }
.muted { color: var(--gray-3); }
.small { font-size: 13px; }

/* ── LAYOUT ── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-sm { padding: 64px 0; }
.section-gray { background: var(--gray-1); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(1.8) blur(20px);
  -webkit-backdrop-filter: saturate(1.8) blur(20px);
  border-bottom: 0.5px solid var(--gray-2);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { width: 32px; height: 32px; border-radius: 8px; }
.nav-logo-text { font-size: 15px; font-weight: 600; color: var(--black); letter-spacing: -0.02em; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link { font-size: 14px; color: var(--gray-3); padding: 8px 14px; border-radius: 100px; transition: color 0.2s, background 0.2s; white-space: nowrap; }
.nav-link:hover { color: var(--black); background: var(--gray-1); }
.nav-link.active { color: var(--black); font-weight: 500; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-lang { font-size: 13px; color: var(--gray-3); padding: 6px 12px; border-radius: 100px; border: 1px solid var(--gray-2); cursor: pointer; transition: all 0.2s; }
.nav-lang:hover { border-color: var(--gray-3); color: var(--black); }
.nav-cta { background: var(--blue); color: white; font-size: 14px; font-weight: 500; padding: 9px 20px; border-radius: 100px; transition: background 0.2s, transform 0.15s; }
.nav-cta:hover { background: var(--blue-dark); transform: translateY(-1px); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--gray-2);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  gap: 5px;
  transition: border-color 0.2s, background 0.2s;
}
.nav-hamburger:hover { border-color: var(--gray-3); background: var(--gray-1); }
.nav-hamburger span {
  display: block; width: 20px; height: 2px;
  background: var(--black); border-radius: 2px;
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1), opacity 0.2s;
}
.nav-open .nav-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-open .nav-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav-drawer {
  display: flex;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: #ffffff;
  flex-direction: column;
  padding: 16px 24px 40px;
  transform: translateX(-100%);
  opacity: 1;
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
  z-index: 9999;
  overflow-y: auto;
  pointer-events: none;
  border-top: 0.5px solid var(--gray-2);
  box-shadow: 4px 0 24px rgba(0,0,0,0.08);
}
.nav-drawer.open {
  transform: translateX(0);
  pointer-events: auto;
}
.nav-drawer-link {
  font-size: 20px;
  font-weight: 600;
  color: var(--black);
  padding: 16px 4px;
  border-bottom: 0.5px solid var(--gray-2);
  display: block;
  min-height: 56px;
  line-height: 1.4;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.nav-drawer-link:hover, .nav-drawer-link:active { color: var(--blue); }
.nav-drawer-link:last-child { border-bottom: none; }
.nav-drawer-link:last-child { border-bottom: none; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 15px; font-weight: 500; border-radius: 100px;
  padding: 12px 26px; cursor: pointer; border: none;
  transition: all 0.2s cubic-bezier(0.34,1.56,0.64,1);
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: white; }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,113,227,0.3); }
.btn-secondary { background: var(--gray-1); color: var(--black); }
.btn-secondary:hover { background: var(--gray-2); transform: translateY(-2px); }
.btn-outline { border: 1.5px solid var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: white; transform: translateY(-2px); }
.btn-wa { background: var(--green-wa); color: white; }
.btn-wa:hover { background: #1aaf54; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,0.35); }
.btn-lg { font-size: 17px; padding: 16px 34px; }
.btn-sm { font-size: 13px; padding: 9px 18px; }

/* ── CARDS ── */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 0.5px solid var(--gray-2);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.28s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card-gray { background: var(--gray-1); border-color: transparent; box-shadow: none; }
.card-gray:hover { background: var(--white); box-shadow: var(--shadow-sm); }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--blue-light); display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 26px; height: 26px; fill: var(--blue); }

/* ── HERO ── */
.hero {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 80px;
  background: var(--white);
  overflow: hidden;
  position: relative;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-light); color: var(--blue);
  font-size: 13px; font-weight: 500;
  padding: 6px 14px; border-radius: 100px; margin-bottom: 24px;
}
.hero-tag-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.hero h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 32px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── VIDEO TILES (CSS-animated) ── */
.video-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 64px; }


/* Animated backgrounds for video tiles */


 }



 to { opacity: 1; } }



 to { transform: scaleY(1.05); } }



 }



 }



 50% { background-position: 200% 0; } }

/* ── SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.72s cubic-bezier(0.16,1,0.3,1), transform 0.72s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.20s; }
.reveal-delay-3 { transition-delay: 0.30s; }
.reveal-delay-4 { transition-delay: 0.40s; }
.reveal-left { opacity: 0; transform: translateX(-32px); transition: opacity 0.72s cubic-bezier(0.16,1,0.3,1), transform 0.72s cubic-bezier(0.16,1,0.3,1); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(32px); transition: opacity 0.72s cubic-bezier(0.16,1,0.3,1), transform 0.72s cubic-bezier(0.16,1,0.3,1); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ── STATS ── */
.stat-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.stat-item { text-align: center; padding: 28px 20px; border-radius: var(--radius-md); background: var(--gray-1); }
.stat-num { font-size: 40px; font-weight: 700; color: var(--blue); letter-spacing: -0.03em; line-height: 1; }
.stat-label { font-size: 13px; color: var(--gray-3); margin-top: 6px; }

/* ── SERVICES ── */
.service-card { padding: 36px; }
.service-badge {
  display: inline-block; font-size: 11px; font-weight: 600;
  background: var(--blue-light); color: var(--blue);
  padding: 4px 10px; border-radius: 100px;
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 12px;
}

/* ── MAP ── */
.map-section { position: relative; overflow: hidden; }
.map-container {
  position: relative; width: 100%; padding-top: 52%;
  background: #e8f4fd; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-md);
}
.map-bg {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, #d4eaf7 0%, #b8d8f0 50%, #9dc7e8 100%);
}
.map-county {
  position: absolute; border-radius: 8px;
  animation: countyPulse 3s ease-in-out infinite;
  display: flex; align-items: center; justify-content: center;
}
 50%{box-shadow:0 0 0 12px rgba(0,113,227,0)} }
.map-pin {
  position: absolute; display: flex; flex-direction: column; align-items: center;
  animation: pinFloat 2s ease-in-out infinite alternate;
}
 to { transform: translateY(-6px); } }
.map-pin-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--blue); border: 3px solid white;
  box-shadow: 0 2px 8px rgba(0,113,227,0.5);
}
.map-pin-ring {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid rgba(0,113,227,0.35);
  position: absolute;
  animation: ringExpand 2s ease-out infinite;
}
 100%{transform:scale(2.5);opacity:0} }
.map-label {
  font-size: 10px; font-weight: 700; color: var(--black);
  background: white; padding: 3px 8px; border-radius: 100px;
  box-shadow: var(--shadow-sm); margin-top: 6px;
  white-space: nowrap;
}
.map-overlay-text {
  position: absolute; top: 20px; left: 24px;
}
.map-badge {
  background: white; border-radius: var(--radius-sm);
  padding: 12px 16px; box-shadow: var(--shadow-md);
  display: inline-block;
}
.map-badge-title { font-size: 13px; font-weight: 700; color: var(--black); }
.map-badge-sub { font-size: 11px; color: var(--gray-3); margin-top: 2px; }
.map-satellite { position: absolute; inset: 0; background: repeating-conic-gradient(rgba(0,113,227,0.03) 0deg 1deg, transparent 1deg 2deg); }

/* ── REVIEWS ── */
.review-card { padding: 28px; }
.stars { color: #f5a623; font-size: 16px; letter-spacing: 2px; margin-bottom: 14px; }
.review-text { font-size: 15px; line-height: 1.65; color: var(--gray-4); margin-bottom: 16px; font-style: italic; }
.review-author { font-size: 14px; font-weight: 600; color: var(--black); }
.review-source { font-size: 12px; color: var(--gray-3); margin-top: 2px; display: flex; align-items: center; gap: 6px; }
.review-google-logo { width: 14px; height: 14px; }
.review-score-big { font-size: 56px; font-weight: 700; color: var(--black); letter-spacing: -0.04em; line-height: 1; }
.review-stars-big { font-size: 24px; color: #f5a623; letter-spacing: 3px; }
.review-sub { font-size: 14px; color: var(--gray-3); margin-top: 6px; }

/* ── CONTACT FORM ── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 14px; font-weight: 500; color: var(--black); margin-bottom: 8px; }
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 14px 18px;
  border: 1.5px solid var(--gray-2); border-radius: var(--radius-sm);
  font-family: var(--font); font-size: 15px; color: var(--black);
  background: var(--white); outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0,113,227,0.10);
}
.form-textarea { min-height: 130px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-success {
  background: #d4edda; border-radius: var(--radius-sm);
  padding: 16px 20px; color: #155724; font-size: 15px; font-weight: 500;
  display: none;
}
.form-error { background: #f8d7da; border-radius: var(--radius-sm); padding: 16px 20px; color: #721c24; font-size: 15px; display: none; }

/* ── FAB (WhatsApp) ── */
.fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 998;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.fab-wa {
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--green-wa); color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.22s;
  animation: fabIn 0.5s cubic-bezier(0.34,1.56,0.64,1) both;
}
.fab-wa:hover { transform: scale(1.1) translateY(-2px); box-shadow: 0 8px 32px rgba(37,211,102,0.55); }
.fab-wa svg { width: 28px; height: 28px; fill: white; }
@keyframes fabIn { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: scale(1); } }
.fab-tooltip {
  background: var(--black); color: white; font-size: 13px; font-weight: 500;
  padding: 8px 14px; border-radius: 100px; white-space: nowrap;
  opacity: 0; transform: translateX(8px);
  transition: opacity 0.2s, transform 0.2s; pointer-events: none;
  position: absolute; right: 70px; bottom: 12px;
}
.fab:hover .fab-tooltip { opacity: 1; transform: translateX(0); }

/* ── FOOTER ── */
.footer {
  background: var(--black); color: rgba(255,255,255,0.85);
  padding: 64px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { width: 32px; height: 32px; border-radius: 8px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-brand-text { font-size: 15px; font-weight: 600; color: white; }
.footer-desc { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.65; max-width: 280px; }
.footer-col-title { font-size: 13px; font-weight: 600; color: white; margin-bottom: 16px; letter-spacing: 0.04em; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-links a:hover { color: white; }
.footer-bottom { border-top: 0.5px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ── WHY SECTION ── */
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.why-item { padding: 28px 24px; border-radius: var(--radius-md); background: var(--white); border: 0.5px solid var(--gray-2); box-shadow: var(--shadow-sm); transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.28s; }
.why-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.why-icon-wrap { width: 46px; height: 46px; border-radius: 13px; background: var(--blue-light); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.why-icon-wrap svg { width: 22px; height: 22px; fill: var(--blue); stroke: none; }
.why-title { font-size: 17px; font-weight: 600; color: var(--black); margin-bottom: 8px; }
.why-desc { font-size: 14px; color: var(--gray-3); line-height: 1.6; }

/* ── ABOUT (inline) ── */
.about-photo-placeholder {
  width: 100%; aspect-ratio: 4/5; border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--blue-light), var(--gray-1));
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.about-initials {
  font-size: 72px; font-weight: 700; color: var(--blue);
  opacity: 0.3; user-select: none;
}
.about-badge {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
  background: rgba(255,255,255,0.95); border-radius: var(--radius-sm);
  padding: 16px 18px; backdrop-filter: blur(8px);
  box-shadow: var(--shadow-md);
}
.about-badge-name { font-size: 17px; font-weight: 700; color: var(--black); }
.about-badge-role { font-size: 13px; color: var(--blue); margin-top: 3px; font-weight: 500; }
.timeline { display: flex; flex-direction: column; gap: 0; }
.tl-item { display: flex; gap: 20px; padding-bottom: 28px; position: relative; }
.tl-item::before { content: ''; position: absolute; left: 19px; top: 40px; bottom: 0; width: 1px; background: var(--gray-2); }
.tl-item:last-child::before { display: none; }
.tl-dot { width: 40px; height: 40px; border-radius: 50%; background: var(--blue-light); border: 2px solid var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 16px; }
.tl-year { font-size: 12px; font-weight: 600; color: var(--blue); margin-bottom: 4px; }
.tl-title { font-size: 16px; font-weight: 600; color: var(--black); margin-bottom: 4px; }
.tl-desc { font-size: 14px; color: var(--gray-3); line-height: 1.55; }

/* ── PLANS ── */
.plan-card { padding: 36px; position: relative; }
.plan-popular { border: 2px solid var(--blue); }
.plan-popular-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--blue); color: white; font-size: 12px; font-weight: 600; padding: 4px 14px; border-radius: 100px; white-space: nowrap; }
.plan-name { font-size: 22px; font-weight: 700; color: var(--black); margin-bottom: 6px; }
.plan-price { font-size: 42px; font-weight: 700; color: var(--blue); letter-spacing: -0.03em; line-height: 1; margin: 14px 0; }
.plan-price sup { font-size: 22px; vertical-align: top; margin-top: 8px; }
.plan-price-per { font-size: 14px; color: var(--gray-3); font-weight: 400; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 20px 0 28px; }
.plan-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--gray-4); line-height: 1.45; }
.plan-check { width: 18px; height: 18px; border-radius: 50%; background: var(--blue-light); flex-shrink: 0; margin-top: 1px; display: flex; align-items: center; justify-content: center; }
.plan-check svg { width: 10px; height: 10px; stroke: var(--blue); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* ── AREAS ── */
.area-pill { display: inline-flex; align-items: center; gap: 7px; background: var(--white); border: 0.5px solid var(--gray-2); border-radius: 100px; padding: 10px 18px; font-size: 14px; font-weight: 500; color: var(--black); box-shadow: var(--shadow-sm); margin: 5px; transition: all 0.2s; }
.area-pill:hover { background: var(--blue); color: white; border-color: var(--blue); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,113,227,0.25); }
.area-pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex-shrink: 0; transition: background 0.2s; }
.area-pill:hover .area-pill-dot { background: white; }

/* ── PAGE HERO (inner pages) ── */
.page-hero { padding: calc(var(--nav-h) + 64px) 0 64px; background: var(--gray-1); }
.page-hero h1 { font-size: clamp(30px, 4vw, 52px); }

/* ── DIVIDER ── */
.divider { height: 0.5px; background: var(--gray-2); margin: 0; }

/* ── MOBILE ── */
@media (max-width: 900px) {
  h1 { font-size: clamp(30px, 7vw, 48px); }
  h2 { font-size: clamp(24px, 5.5vw, 38px); }
  .section { padding: 72px 0; }
  .grid-2 { grid-template-columns: 1fr; gap: 36px; }
  .grid-3 { grid-template-columns: 1fr 1fr; gap: 16px; }
  .grid-4 { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat-row { grid-template-columns: 1fr 1fr; gap: 14px; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .video-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .nav-links, .nav-right { display: none; }
  .nav-hamburger { display: flex; }
  .nav-drawer { display: flex; }
}
@media (max-width: 580px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── UTILITIES ── */
.blue { color: var(--blue); }
.underline-blue { text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: 4px; }
.badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 100px; background: var(--blue-light); color: var(--blue); }
.gap-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   COLLAGE HERO — Animated tech grid
   ============================================================ */
.hero-collage {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.14);
  background: #060c1a;
}
.hc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  height: 100%;
  gap: 3px;
}
.hc-cell {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hc-cell.span2c { grid-column: span 2; }
.hc-cell.span2r { grid-row: span 2; }

/* Cell backgrounds — simulated tech scenes */
.hc-eth {
  background: linear-gradient(135deg, #0a1628 0%, #0d2040 100%);
  animation: hcPan 14s ease-in-out infinite alternate;
}
@keyframes hcPan { from{background-position:0% 0%} to{background-position:100% 100%} }

/* Ethernet cable simulation */
.cable-wrap { position:absolute; inset:0; overflow:hidden; }
.cable {
  position: absolute;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, #1e40af, #3b82f6, #60a5fa, #3b82f6, #1e40af);
  background-size: 200% 100%;
  animation: cableShimmer 2s linear infinite;
}
@keyframes cableShimmer { to { background-position: 200% 0; } }
.cable-rj45 {
  position: absolute;
  width: 14px; height: 10px;
  background: #93c5fd;
  border-radius: 3px 3px 0 0;
  border: 1px solid #60a5fa;
}
.cable-port {
  position: absolute;
  width: 12px; height: 8px;
  background: #0f172a;
  border: 1.5px solid #334155;
  border-radius: 2px;
}
.switch-body {
  position: absolute;
  left: 10%; right: 10%;
  height: 28px;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border-radius: 4px;
  border: 1px solid #334155;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
}
.switch-led {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #22c55e;
  animation: ledBlink 1.2s ease-in-out infinite;
  flex-shrink: 0;
}
.switch-led:nth-child(2) { animation-delay: 0.2s; }
.switch-led:nth-child(3) { animation-delay: 0.4s; }
.switch-led:nth-child(4) { animation-delay: 0.6s; }
.switch-led:nth-child(5) { animation-delay: 0.8s; background:#3b82f6; }
.switch-led:nth-child(6) { animation-delay: 1.0s; background:#3b82f6; }
.switch-led:nth-child(7) { animation-delay: 0.3s; }
.switch-led:nth-child(8) { animation-delay: 0.7s; background:#f59e0b; }
 50%{opacity:0.4} }

/* PC open scene */
.hc-pc {
  background: radial-gradient(ellipse at 40% 60%, #1e3a5f 0%, #0a0e1a 70%);
  position: relative;
}
.motherboard {
  position: absolute;
  width: 75%; height: 70%;
  background: linear-gradient(135deg, #1a3a1a 0%, #0d1f0d 100%);
  border-radius: 6px;
  border: 1px solid #2d5a2d;
  overflow: hidden;
}
.mb-trace {
  position: absolute;
  height: 1px;
  background: rgba(34,197,94,0.4);
  animation: traceFlow 3s linear infinite;
}
 50%{opacity:0.8} to{opacity:0.2} }
.mb-chip {
  position: absolute;
  background: #1e293b;
  border: 1px solid #475569;
  border-radius: 2px;
}
.ram-stick {
  position: absolute;
  height: 30%;
  width: 8%;
  background: linear-gradient(180deg, #1e3a5f, #0f172a);
  border: 1px solid #3b82f6;
  border-radius: 2px;
}

/* Camera scene */
.hc-cam {
  background: radial-gradient(circle at 50% 40%, #0d1f0d 0%, #040a04 100%);
  position: relative;
}
.cam-body {
  position: absolute;
  width: 50px; height: 35px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: 8px;
  border: 1px solid #334155;
  left: 50%; top: 35%;
  transform: translate(-50%,-50%);
}
.cam-lens {
  position: absolute;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, #1d4ed8, #0a0e1a);
  border: 2px solid #3b82f6;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  box-shadow: 0 0 8px rgba(59,130,246,0.5);
  animation: camPulse 2s ease-in-out infinite;
}
@keyframes camPulse { 0%,100%{box-shadow:0 0 8px rgba(59,130,246,0.5)} 50%{box-shadow:0 0 16px rgba(59,130,246,0.9)} }
.cam-scan-line {
  position: absolute;
  left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(34,197,94,0.6), transparent);
  animation: scanLine 2.5s linear infinite;
}
@keyframes scanLine { from{top:0%} to{top:100%} }
.cam-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(34,197,94,0.08) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(34,197,94,0.08) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* AP/Mesh scene */
.hc-ap {
  background: radial-gradient(ellipse at 50% 30%, #0d1f3c 0%, #050a14 100%);
  position: relative;
}
.ap-device {
  position: absolute;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 2px solid #334155;
  left: 50%; top: 40%;
  transform: translate(-50%,-50%);
  display: flex; align-items: center; justify-content: center;
}
.ap-dot { width: 8px; height: 8px; border-radius: 50%; background: #3b82f6; box-shadow: 0 0 8px #3b82f6; }
.ap-ring {
  position: absolute;
  left: 50%; top: 40%; transform: translate(-50%,-50%);
  border: 1.5px solid rgba(59,130,246,0.35);
  border-radius: 50%;
  animation: apRingExpand 2s ease-out infinite;
}
@keyframes apRingExpand { 0%{width:50px;height:50px;opacity:0.8} 100%{width:120px;height:120px;opacity:0} }
.data-particle {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #60a5fa;
  animation: particleFloat 3s ease-in-out infinite;
}
@keyframes particleFloat {
  0%{transform:translate(0,0);opacity:0}
  20%{opacity:1}
  100%{transform:translate(var(--dx),var(--dy));opacity:0}
}

/* Rack scene */
.hc-rack {
  background: linear-gradient(180deg, #0a0a0a 0%, #111827 100%);
  position: relative;
}
.rack-unit {
  position: absolute;
  left: 15%; right: 15%;
  height: 14px;
  background: linear-gradient(180deg, #1e293b, #0f172a);
  border: 1px solid #334155;
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 0 6px;
}
.rack-led-row { display:flex; gap: 2px; }
.rack-led-s { width: 4px; height: 4px; border-radius: 50%; }

/* Laptop open scene */
.hc-laptop {
  background: linear-gradient(135deg, #1a1a2e, #0f0f23);
  position: relative;
}
.laptop-screen {
  position: absolute;
  width: 65%; height: 50%;
  background: linear-gradient(135deg, #0d1117, #161b22);
  border-radius: 4px 4px 0 0;
  border: 1.5px solid #30363d;
  left: 50%; top: 20%;
  transform: translateX(-50%);
  overflow: hidden;
}
.code-line {
  height: 5px;
  border-radius: 3px;
  margin: 4px 8px;
  animation: codeFade 2s ease-in-out infinite alternate;
}
@keyframes codeFade { from{opacity:0.3} to{opacity:0.8} }
.laptop-base {
  position: absolute;
  width: 75%; height: 10px;
  background: linear-gradient(180deg, #21262d, #161b22);
  border: 1px solid #30363d;
  border-radius: 0 0 4px 4px;
  left: 50%; top: 70%;
  transform: translateX(-50%);
}

/* Collage cell labels */
.hc-label {
  position: absolute;
  bottom: 8px; left: 10px;
  font-size: 10px; font-weight: 600;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 5;
}

/* ============================================================
   ANIMATED VIDEO TILES — Auto-playing CSS animations
   ============================================================ */

.vtile-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 60%) !important;
  justify-content: flex-end !important;
  padding-bottom: 16px !important;
}

/* Form success/error states */
.form-success {
  background: #d1fae5;
  border: 1px solid #6ee7b7;
  border-radius: 10px;
  padding: 16px 20px;
  color: #065f46;
  font-size: 15px;
  font-weight: 500;
  display: none;
  margin-bottom: 16px;
  animation: fadeInUp 0.3s ease both;
}
.form-error {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  border-radius: 10px;
  padding: 16px 20px;
  color: #991b1b;
  font-size: 15px;
  display: none;
  margin-bottom: 16px;
}
@keyframes fadeInUp {
  from{opacity:0;transform:translateY(8px)}
  to{opacity:1;transform:translateY(0)}
}



/* ============================================================
   SERVICE IMAGES — Standardized, same size everywhere
   ============================================================ */
.svc-photo {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  display: block;
  box-shadow: 0 12px 40px rgba(0,0,0,0.10);
}
.svc-photo-wrap {
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.10);
  flex-shrink: 0;
}
.svc-photo-wrap img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}
.svc-photo-wrap:hover img { transform: scale(1.03); }

/* vtile uniform size */
.vtile { aspect-ratio: 16/10; }
.vtile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* Service page image - consistent across all service pages */
.service-page-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  display: block;
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}

@media (max-width: 900px) {
  .svc-photo, .svc-photo-wrap img, .service-page-img { height: 240px; }
}

/* ============================================================
   VIDEO TILES — Real photos, uniform size
   ============================================================ */
.vtile {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 16/10;
  background: #0a0e1a;
  cursor: pointer;
  display: block;
}
.vtile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  transition: transform 0.5s ease;
}
.vtile:hover img { transform: scale(1.04); }
.vtile-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.08) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 18px;
}
.vtile-overlay a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
  padding: 0 16px 18px;
  text-decoration: none;
}
.vtile-label {
  font-size: 15px;
  font-weight: 700;
  color: white;
  text-align: center;
  line-height: 1.3;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}
.vtile-duration {
  font-size: 12px;
  color: rgba(255,255,255,0.72);
  text-align: center;
  margin-top: 4px;
}

/* ============================================================
   SERVICE IMAGES — Uniform size, no animation
   ============================================================ */
.svc-photo-wrap {
  width: 100%;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  flex-shrink: 0;
}
.svc-photo-wrap img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}
.svc-photo-wrap:hover img { transform: scale(1.03); }

@media (max-width: 900px) {
  .svc-photo-wrap img { height: 220px; }
  .vtile { aspect-ratio: 16/9; }
}

/* ============================================================
   VTILE SIZE FIX — Smaller, all same size
   ============================================================ */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.vtile {
  aspect-ratio: 4/3 !important;
  border-radius: 14px !important;
  overflow: hidden;
  position: relative;
  display: block;
  cursor: pointer;
  background: #0a0e1a;
}
.vtile img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  z-index: 0 !important;
  transition: transform 0.4s ease;
}
.vtile:hover img { transform: scale(1.05); }
.vtile-overlay {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  background: linear-gradient(to top, rgba(0,0,0,0.68) 0%, transparent 55%) !important;
  pointer-events: auto !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
}
.vtile-overlay a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%; height: 100%;
  padding: 0 10px 14px;
  text-decoration: none;
}
.vtile-label {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: white !important;
  text-align: center !important;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6) !important;
  letter-spacing: 0.01em;
}

/* Block leftover ::before pseudo-elements */
.vtile::before, .vtile::after { display: none !important; content: none !important; }

@media (max-width: 900px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
@media (max-width: 580px) {
  .video-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
}

/* ============================================================
   HERO COLLAGE — Photo mosaic replacing blue box
   ============================================================ */
.hero-collage {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 22px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.13);
}
.hero-collage-main {
  grid-column: span 2;
  overflow: hidden;
  position: relative;
}
.hero-collage-main img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  transition: transform 0.6s ease;
}
.hero-collage-sub {
  overflow: hidden;
  position: relative;
}
.hero-collage-sub img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  transition: transform 0.6s ease;
}
.hero-collage:hover .hero-collage-main img,
.hero-collage:hover .hero-collage-sub img { transform: scale(1.03); }

/* Review section — no duplicate score */
.review-score-big { display: none !important; }
.review-stars-big { font-size: 20px !important; }
