/* ============================================================
   ETouch Sites — SHARED THEME (purple/cyan agency style)
   Loaded by all pages so they share identical theme tokens.
   Match home page exactly.
   ============================================================ */

:root {
  --bg: #162338;
  --bg-alt: #1e3052;
  --bg-2: #1e3052;
  --ink: #ffffff;
  --ink-2: #e2e8f0;
  --muted: #a8b3c7;
  --line: rgba(255, 255, 255, 0.12);
  --brand-1: #7c3aed;       /* violet */
  --brand-2: #06b6d4;       /* cyan */
  --accent: #06b6d4;
  --success: #16a34a;
  --warn: #f59e0b;
  --danger: #ef4444;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --display: 'Space Grotesk', 'Inter', sans-serif;
  --maxw: 1200px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 8px 24px rgba(0,0,0,0.35);
  --shadow-lg: 0 24px 56px rgba(0,0,0,0.5);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* === Reset & base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink-2);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
}
h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: clamp(28px, 3.4vw, 44px); }
h3 { font-size: clamp(20px, 2.2vw, 28px); }
h4 { font-size: 16px; font-family: var(--sans); font-weight: 600; letter-spacing: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* === Container === */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.container--narrow { max-width: 880px; }

/* === Background gradient (fixed) === */
body::before {
  content: '';
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 0%, rgba(124, 58, 237, 0.18), transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 100%, rgba(6, 182, 212, 0.15), transparent 60%);
  z-index: -2; pointer-events: none;
}
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  z-index: -1; pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 80%);
}

/* === Top band === */
.topband {
  background: var(--bg);
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--line);
}
.topband__inner {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 40px; flex-wrap: wrap; gap: 8px;
  padding-top: 6px; padding-bottom: 6px;
}
.topband__left, .topband__right { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.topband a { color: var(--ink-2); transition: color 0.2s; }
.topband a:hover { color: var(--ink); text-decoration: none; }

/* === Header / Nav === */
.header {
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.header__inner {
  display: flex; align-items: center; gap: 24px; min-height: 72px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 17px; font-weight: 600;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-mark { display: inline-flex; }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav a {
  font-size: 15px; color: var(--ink-2); font-weight: 500;
  position: relative; padding: 6px 0;
}
.nav a:hover { color: var(--ink); text-decoration: none; }
.nav a.is-active { color: var(--brand-2); }
.nav a.is-active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -22px;
  height: 2px; background: linear-gradient(90deg, var(--brand-1), var(--brand-2));
}
.header__phone {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-family: var(--mono, var(--sans));
  font-size: 13px; font-weight: 500;
  color: var(--ink); transition: 0.2s;
}
.header__phone:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.20);
  text-decoration: none;
}

/* === Badges === */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.08);
  color: #c4b5fd;
  font-size: 13px; font-weight: 500;
  margin-bottom: 24px;
}
.badge .pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-2);
  box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.6);
  animation: badge-pulse 2s infinite;
}
@keyframes badge-pulse {
  0% { box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(6, 182, 212, 0); }
  100% { box-shadow: 0 0 0 0 rgba(6, 182, 212, 0); }
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 15px; font-weight: 600;
  cursor: pointer;
  border: 0;
  text-decoration: none;
  transition: 0.25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--lg { padding: 16px 32px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary {
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  color: #fff;
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.35);
}
.btn--primary:hover {
  box-shadow: 0 14px 36px rgba(124, 58, 237, 0.50);
}
.btn--ink {
  background: var(--ink);
  color: var(--bg);
}
.btn--ink:hover { background: #f1f5f9; }
.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.20);
}
.btn--ghost-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.30);
}
.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.50);
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* === Stats row === */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.stat { padding: 28px 24px; background: rgba(10, 14, 26, 0.5); text-align: center; }
.stat strong {
  display: block;
  font-family: var(--display);
  font-size: 36px; font-weight: 700;
  background: linear-gradient(135deg, #c4b5fd, #67e8f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.stat span {
  display: block;
  font-size: 11px; color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 8px;
  font-weight: 500;
}

/* === Footer === */
.footer {
  background: #060912;
  color: var(--muted);
  padding: 80px 0 32px;
  border-top: 1px solid var(--line);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.footer__about p {
  font-size: 14px; line-height: 1.7;
  margin-top: 16px; max-width: 36ch;
}
.footer .brand { color: var(--ink); }
.footer__col h4 {
  color: var(--ink);
  font-family: var(--mono, var(--sans));
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 20px;
}
.footer__col a {
  display: block;
  color: var(--muted);
  font-size: 14px;
  padding: 6px 0;
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--brand-2); text-decoration: none; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px;
  font-size: 12px; color: #6b7480;
  flex-wrap: wrap; gap: 12px;
  font-family: var(--mono, var(--sans));
  letter-spacing: 0.04em;
}

/* === Section spacing === */
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--alt { background: var(--bg-alt); }
.section--ink { background: var(--ink); color: var(--ink-2); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--ink); }

.section-head {
  text-align: center;
  margin-bottom: 64px;
}
.section-head .label {
  display: inline-block;
  font-family: var(--mono, var(--sans));
  font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.20em;
  color: var(--brand-2);
  font-weight: 600;
  margin-bottom: 16px;
}
.section-head h2 {
  font-size: clamp(32px, 4.5vw, 52px);
  max-width: 18ch;
  margin: 0 auto 16px;
}
.section-head p {
  font-size: 17px; color: var(--muted);
  max-width: 52ch; margin: 0 auto;
}

/* === Cards / grids === */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  padding: 32px 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
  transition: 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 58, 237, 0.4);
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.06), rgba(255, 255, 255, 0));
}
.card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(6, 182, 212, 0.15));
  color: var(--brand-2);
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.card h3 {
  font-size: 20px; font-weight: 600; margin-bottom: 8px;
}
.card p { font-size: 15px; color: var(--ink-2); }

/* === CTA strip === */
.cta-strip { padding: 80px 0; }
.cta-box {
  position: relative;
  padding: 64px 48px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(6, 182, 212, 0.08));
  border: 1px solid rgba(124, 58, 237, 0.25);
  text-align: center;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.3), transparent 70%);
  filter: blur(40px);
}
.cta-box h2 {
  position: relative;
  font-size: clamp(28px, 4vw, 44px);
  max-width: 22ch;
  margin: 0 auto 16px;
}
.cta-box p {
  position: relative;
  color: var(--ink-2);
  font-size: 17px;
  max-width: 48ch;
  margin: 0 auto 32px;
}

/* === Mobile === */
@media (max-width: 800px) {
  .nav, .header__cta { display: none; }
  .grid-3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .section { padding: 64px 0; }
  .cta-box { padding: 48px 24px; }
  .header__phone { font-size: 12px; padding: 8px 14px; }
}
@media (max-width: 600px) {
  .footer__grid { grid-template-columns: 1fr; }
  .container { padding: 0 20px; }
}
/* ============ CHOOSE YOUR PATH (2-card chooser) ============ */
/* ============ HERO + LAYOUT FIXES ============ */
.hero { padding: 60px 0 80px; max-width: 100%; }
.hero h1 { font-family: var(--display); font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 700; color: var(--ink); line-height: 1.05; letter-spacing: -.02em; margin-bottom: 20px; max-width: 900px; }
.hero .lede { color: var(--muted); font-size: 1.15rem; line-height: 1.6; max-width: 680px; margin-bottom: 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }

/* Hero video - constrained, centered, with proper aspect ratio */
.hero-video-wrap {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 64px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0a0e1a;
  aspect-ratio: 16 / 9;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.hero-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-video-caption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(10, 14, 26, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-family: var(--mono, var(--sans));
  font-size: .76rem;
  color: var(--muted);
}
.hero-video-caption .rec {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  animation: badge-pulse 2s ease-in-out infinite;
}

/* Sections need inner container */
.services, .choose-strip, .footer { width: 100%; }
.services > .section-head,
.choose-strip .container { max-width: var(--maxw); margin-left: auto; margin-right: auto; padding: 0 28px; }

/* Hero should NOT inherit left padding from .container when it's a child */
.container > .hero { margin: 0 -28px; padding-left: 28px; padding-right: 28px; }

@media (max-width: 600px) {
  .hero { padding: 40px 0 60px; }
  .hero-video-wrap { aspect-ratio: 4 / 3; margin-bottom: 48px; }
}

.choose-strip { padding: 100px 0 80px; background: var(--bg); border-top: 1px solid var(--line); }
.choose-head { text-align: center; max-width: 600px; margin: 0 auto 56px; }
.choose-head .label { color: var(--accent); font-family: var(--mono, var(--sans)); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; display: inline-block; margin-bottom: 14px; }
.choose-head h2 { font-family: var(--display); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 600; color: var(--ink); line-height: 1.15; margin-bottom: 14px; letter-spacing: -.02em; }
.choose-head p { color: var(--muted); font-size: 1.05rem; }
.choose-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 980px; margin: 0 auto; }
.choose-card {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  text-decoration: none;
  color: var(--ink);
  transition: transform .2s, border-color .2s, background .2s, box-shadow .2s;
  position: relative;
  overflow: hidden;
}
.choose-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.choose-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 16px 40px rgba(6, 182, 212, .12); }
.choose-card:hover::before { transform: scaleX(1); }
.choose-card--alt::before { background: #c4b5fd; }
.choose-card--alt:hover { border-color: #c4b5fd; box-shadow: 0 16px 40px rgba(196, 181, 253, .12); }
.choose-card__icon {
  display: inline-grid; place-items: center;
  width: 64px; height: 64px;
  background: rgba(6, 182, 212, .1);
  color: var(--accent);
  border-radius: 14px;
  margin-bottom: 4px;
}
.choose-card--alt .choose-card__icon { background: rgba(196, 181, 253, .1); color: #c4b5fd; }
.choose-card h3 { font-family: var(--display); font-size: 1.5rem; font-weight: 600; color: var(--ink); }
.choose-card > p { color: var(--muted); font-size: .98rem; line-height: 1.6; margin-bottom: 6px; }
.choose-card__cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--sans); font-size: .95rem; font-weight: 700;
  color: var(--accent);
  transition: gap .15s;
}
.choose-card--alt .choose-card__cta { color: #c4b5fd; }
.choose-card:hover .choose-card__cta { gap: 10px; }
.choose-card__list { list-style: none; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.choose-card__list li { font-size: .88rem; color: var(--muted); padding: 5px 0; position: relative; padding-left: 22px; font-family: var(--mono, var(--sans)); }
.choose-card__list li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 700; }
.choose-card--alt .choose-card__list li::before { color: #c4b5fd; }
.choose-foot {
  text-align: center; margin-top: 40px; color: var(--muted); font-size: .92rem;
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px;
}
.choose-foot a { color: var(--accent); font-weight: 600; }
.choose-foot a:hover { color: #0891b2; }
.choose-foot__sep { color: var(--line); }
@media (max-width: 760px) {
  .choose-grid { grid-template-columns: 1fr; gap: 16px; }
  .choose-card { padding: 32px 28px; }
}


/* ============ CHOOSE YOUR PATH (2-card chooser) ============ */


