/* ═══════════════════════════════════════════════════
   The Soft Vision — Main Stylesheet
   Palette derived from brand logo
   ═══════════════════════════════════════════════════ */

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

:root {
  /* ── Brand palette (from logo) ── */
  --teal-dark:    #1A5060;
  --teal:         #2D8A8A;
  --teal-mid:     #3DA8A0;
  --teal-light:   #5ECFC8;
  --teal-pale:    #8FE0DA;
  --mint:         #C4E8E4;
  --navy:         #0F2535;
  --navy-deep:    #081820;

  /* ── Backgrounds ── */
  --bg:           #060E14;
  --bg-2:         #0A1920;
  --bg-card:      #0D2230;
  --bg-card2:     #102838;

  /* ── Borders ── */
  --border:       rgba(45,138,138,0.14);
  --border-2:     rgba(45,138,138,0.26);
  --border-3:     rgba(45,138,138,0.40);

  /* ── Text ── */
  --text:         #D8EEEC;
  --text-muted:   #6B9EA2;
  --text-dim:     #3A6066;

  /* ── Gradients ── */
  --grad:         linear-gradient(135deg, var(--teal-dark), var(--teal-light));
  --grad-r:       linear-gradient(135deg, var(--teal-light), var(--teal-dark));
  --grad-h:       linear-gradient(135deg, #0F3040, #1A6060);

  /* ── Effects ── */
  --glow:         0 0 40px rgba(45,138,138,0.3);
  --glow-sm:      0 0 20px rgba(45,138,138,0.2);
  --shadow:       0 4px 24px rgba(0,0,0,0.5);
  --shadow-lg:    0 16px 64px rgba(0,0,0,0.65);

  /* ── Shapes ── */
  --radius:       16px;
  --radius-sm:    10px;
  --radius-lg:    24px;

  /* ── Typography ── */
  --font-sans:    'Inter', system-ui, sans-serif;
  --font-head:    'Space Grotesk', system-ui, sans-serif;
  --font-script:  'Lora', 'Georgia', serif;

  --nav-h:        72px;
}

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

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }

/* ─── Section Headers ─── */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 64px; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-light);
  background: rgba(45,138,138,0.1);
  border: 1px solid var(--border-2);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 100px;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 4px 20px rgba(45,138,138,0.45);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(45,138,138,0.6); }
.btn--ghost {
  background: rgba(45,138,138,0.08);
  color: var(--text);
  border: 1px solid var(--border-2);
}
.btn--ghost:hover { background: rgba(45,138,138,0.15); border-color: var(--border-3); }
.btn--outline {
  background: transparent;
  color: var(--teal-light);
  border: 2px solid var(--teal);
}
.btn--outline:hover { background: rgba(45,138,138,0.1); border-color: var(--teal-light); }
.btn--white { background: #fff; color: var(--navy); font-weight: 700; }
.btn--white:hover { background: var(--mint); transform: translateY(-2px); }
.btn--ghost-white {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
}
.btn--ghost-white:hover { background: rgba(255,255,255,0.18); }
.btn--full { width: 100%; justify-content: center; }

/* ════════════════════════════════════
   LOGO SVG
════════════════════════════════════ */
.nav__logo { display: flex; align-items: center; gap: 12px; }
.logo-svg-wrap { flex-shrink: 0; }
.logo-wordmark {
  font-family: var(--font-script);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.logo-wordmark .logo-the {
  font-size: 14px;
  font-weight: 400;
  display: block;
  color: var(--teal-pale);
  letter-spacing: 0.06em;
  font-style: italic;
}

/* ════════════════════════════════════
   NAV
════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(6,14,20,0.88);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}
.nav__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--teal-pale); }
.nav__cta {
  background: var(--grad) !important;
  color: #fff !important;
  padding: 9px 20px !important;
  border-radius: 100px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 16px rgba(45,138,138,0.4) !important;
}
.nav__hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav__hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px; transition: all 0.3s;
}

/* ════════════════════════════════════
   HERO
════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--nav-h);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 15% 50%, rgba(26,80,96,0.45) 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 85% 30%, rgba(45,138,138,0.2) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 50% 80%, rgba(15,37,53,0.8) 0%, transparent 70%),
    linear-gradient(180deg, transparent 55%, var(--bg) 100%);
}
.hero__container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px 100px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(45,138,138,0.08);
  border: 1px solid var(--border-2);
  border-radius: 100px;
  padding: 8px 18px;
  margin-bottom: 28px;
  animation: fadeUp 0.7s ease both;
}
.badge-dot {
  width: 8px; height: 8px;
  background: var(--teal-light);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--teal-light);
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(44px, 6.5vw, 86px);
  font-weight: 800;
  line-height: 1.06;
  color: #fff;
  max-width: 840px;
  margin-bottom: 24px;
  animation: fadeUp 0.7s 0.1s ease both;
}
.hero__highlight {
  display: inline-block;
  background: linear-gradient(135deg, var(--teal-light), var(--teal-pale));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.75;
  margin-bottom: 40px;
  animation: fadeUp 0.7s 0.2s ease both;
}
.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 72px;
  animation: fadeUp 0.7s 0.3s ease both;
}
.hero__stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  animation: fadeUp 0.7s 0.4s ease both;
}
.stat { display: flex; flex-direction: column; }
.stat__number {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.stat__plus { font-size: 28px; font-weight: 700; color: var(--teal-light); }
.stat__label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.stat__divider { width: 1px; height: 48px; background: var(--border-2); }
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-dim);
  font-size: 12px;
  letter-spacing: 0.05em;
  animation: fadeUp 1s 0.8s ease both;
}
.scroll-indicator {
  width: 24px; height: 40px;
  border: 2px solid var(--border-2);
  border-radius: 100px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
}
.scroll-indicator__dot {
  width: 4px; height: 8px;
  background: var(--teal);
  border-radius: 100px;
  animation: scrollDot 1.8s ease infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(16px); opacity: 0; }
}

/* ════════════════════════════════════
   MARQUEE
════════════════════════════════════ */
.marquee-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  overflow: hidden;
  padding: 16px 0;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
}
.marquee__track span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.marquee__track .dot { color: var(--teal); }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ════════════════════════════════════
   SERVICES
════════════════════════════════════ */
.services { background: var(--bg); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(45,138,138,0.06), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover {
  border-color: var(--border-3);
  transform: translateY(-4px);
  box-shadow: var(--glow);
}
.service-card:hover::before { opacity: 1; }

.service-card__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  color: white;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.service-card h3 {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}
.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.service-card__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.service-card__tags span {
  font-size: 11px;
  font-weight: 600;
  color: var(--teal-light);
  background: rgba(45,138,138,0.1);
  border: 1px solid var(--border-2);
  border-radius: 100px;
  padding: 3px 10px;
  letter-spacing: 0.04em;
}
.service-card__arrow { color: var(--text-dim); transition: all 0.3s; }
.service-card:hover .service-card__arrow { color: var(--teal-light); transform: translateX(4px); }

/* ════════════════════════════════════
   ABOUT
════════════════════════════════════ */
.about { background: var(--bg-2); }
.about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.about__visual { position: relative; height: 520px; }
.about__card-stack { position: relative; height: 100%; }
.acard {
  position: absolute;
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border);
}
.acard--back {
  width: 80%; height: 70%;
  bottom: 0; right: -10px;
  background: var(--bg-card);
  transform: rotate(3deg);
}
.acard--mid {
  width: 75%;
  top: 40px; left: -10px;
  background: var(--bg-card2);
  border-color: var(--border-2);
  transform: rotate(-2deg);
}
.acard--front {
  width: 85%;
  top: 60px; left: 30px;
  background: linear-gradient(135deg, #0a1f2e, #0f2d3a);
  border-color: var(--border-3);
  box-shadow: var(--shadow-lg), 0 0 60px rgba(45,138,138,0.15);
  z-index: 2;
}
.acard__line { height: 10px; background: rgba(255,255,255,0.05); border-radius: 4px; margin-bottom: 12px; }
.acard__line--short { width: 60%; }
.acard__circle { width: 48px; height: 48px; border-radius: 50%; background: rgba(45,138,138,0.15); margin-top: 20px; }
.acard__code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 13px;
  line-height: 1.9;
  color: var(--text-muted);
}
.code-kw { color: var(--teal-light); }
.code-str { color: var(--teal-pale); }
.code-num { color: var(--mint); }

.acard__metric { margin-bottom: 20px; }
.metric-num {
  display: block;
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--teal-light), var(--teal-pale));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}
.metric-label { font-size: 13px; color: var(--text-muted); }

.bar-row {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: var(--text-muted); margin-bottom: 10px;
}
.bar-row > span:first-child { min-width: 110px; }
.bar-row > span:last-child { min-width: 36px; text-align: right; color: #fff; font-weight: 600; }
.bar { flex: 1; height: 6px; background: rgba(255,255,255,0.05); border-radius: 100px; overflow: hidden; }
.bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal-dark), var(--teal-light));
  border-radius: 100px;
  transition: width 1.5s ease;
}

.about__badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  background: var(--bg-card2);
  border: 1px solid var(--border-2);
  border-radius: 100px;
  padding: 8px 16px;
  white-space: nowrap;
  box-shadow: var(--shadow);
  z-index: 3;
}
.about__badge--1 { bottom: 40px; left: -20px; }
.about__badge--2 { top: 20px; right: -20px; }
.about__content .section-tag { text-align: left; }
.about__content .section-title { text-align: left; }
.about__lead { font-size: 18px; color: var(--text); font-weight: 500; margin-bottom: 16px; line-height: 1.6; }
.about__body { font-size: 15px; color: var(--text-muted); line-height: 1.8; margin-bottom: 36px; }
.about__pillars { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }
.pillar { display: flex; gap: 16px; align-items: flex-start; }
.pillar__icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(45,138,138,0.1);
  border: 1px solid var(--border-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-light);
}
.pillar h4 { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.pillar p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ════════════════════════════════════
   WORK
════════════════════════════════════ */
.work { background: var(--bg); }
.work__filters { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }

.filter-btn {
  font-size: 13px; font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 20px;
  transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
  box-shadow: 0 4px 14px rgba(45,138,138,0.4);
}

.work__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.project-card--large { grid-column: span 2; }
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-3);
  box-shadow: var(--glow);
}
.project-card__img {
  height: 220px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-card--large .project-card__img { height: 280px; }
.project-card__body { padding: 24px; }
.project-card__tags { display: flex; gap: 8px; margin-bottom: 12px; }
.tag {
  font-size: 11px; font-weight: 600;
  color: var(--teal-pale);
  background: rgba(45,138,138,0.1);
  border: 1px solid var(--border-2);
  border-radius: 100px;
  padding: 3px 10px;
  letter-spacing: 0.04em;
}
.project-card__body h3 {
  font-family: var(--font-head);
  font-size: 18px; font-weight: 600; color: #fff; margin-bottom: 8px;
}
.project-card__body p { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.project-card__meta { display: flex; gap: 16px; }
.project-card__meta span { font-size: 12px; font-weight: 600; color: var(--text-dim); }
.work__cta { text-align: center; margin-top: 48px; }

/* ── Project mock illustrations ── */
.project-mock {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.project-mock--dashboard .pmock-bar {
  display: flex; gap: 5px; padding: 10px 14px;
  background: rgba(255,255,255,0.05); border-radius: 8px 8px 0 0;
}
.project-mock--dashboard .pmock-bar span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.2); }
.project-mock--dashboard .pmock-content {
  display: flex; flex: 1;
  background: rgba(255,255,255,0.03);
  border-radius: 0 0 8px 8px; overflow: hidden; min-height: 140px;
}
.project-mock--dashboard .pmock-sidebar { width: 60px; background: rgba(255,255,255,0.03); border-right: 1px solid rgba(255,255,255,0.05); }
.project-mock--dashboard .pmock-main { flex: 1; padding: 12px; }
.project-mock--dashboard .pmock-row--chart {
  height: 60px;
  background: linear-gradient(to bottom, rgba(45,138,138,0.4), rgba(45,138,138,0.04));
  border-radius: 6px; margin-bottom: 12px;
}
.project-mock--dashboard .pmock-cards { display: flex; gap: 8px; }
.project-mock--dashboard .pmock-card { flex: 1; height: 36px; background: rgba(255,255,255,0.04); border-radius: 6px; }

.pmob-screen {
  width: 100px; background: rgba(255,255,255,0.05);
  border-radius: 18px; padding: 12px 8px;
  border: 1px solid rgba(255,255,255,0.08);
}
.pmob-notch { width: 30px; height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; margin: 0 auto 8px; }
.pmob-status { height: 6px; background: rgba(255,255,255,0.05); border-radius: 3px; margin-bottom: 10px; }
.pmob-hero-img { height: 48px; background: linear-gradient(135deg,rgba(45,138,138,0.4),rgba(45,138,138,0.06)); border-radius: 8px; margin-bottom: 8px; }
.pmob-text { height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; margin-bottom: 6px; }
.pmob-text--short { width: 70%; }
.pmob-btn { height: 22px; background: rgba(45,138,138,0.4); border-radius: 100px; margin-top: 10px; }

.ai-chat { width: 160px; }
.ai-msg { display: flex; margin-bottom: 10px; }
.ai-msg--out { justify-content: flex-end; }
.ai-bubble { height: 16px; width: 80px; background: rgba(45,138,138,0.2); border-radius: 12px 12px 12px 2px; }
.ai-bubble--out { background: rgba(45,138,138,0.38); border-radius: 12px 12px 2px 12px; width: 60px; }
.ai-bubble--long { width: 110px; height: 26px; }
.ai-input-bar { display: flex; align-items: center; }
.ai-input { flex: 1; height: 26px; background: rgba(255,255,255,0.05); border-radius: 100px; }

.ecom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px; }
.ecom-item { height: 80px; background: rgba(45,138,138,0.15); border-radius: 8px; }
.fitness-ring { display: flex; align-items: center; justify-content: center; }

/* ════════════════════════════════════
   PROCESS
════════════════════════════════════ */
.process { background: var(--bg-2); }
.process__steps { display: flex; align-items: flex-start; }
.process-step { flex: 1; text-align: center; padding: 0 20px; }
.process-step__num {
  font-family: var(--font-head);
  font-size: 48px; font-weight: 900;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1; margin-bottom: 12px; opacity: 0.3;
}
.process-step__icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: rgba(45,138,138,0.1);
  border: 1px solid var(--border-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-light);
  margin: 0 auto 16px;
}
.process-step h3 { font-family: var(--font-head); font-size: 18px; font-weight: 600; color: #fff; margin-bottom: 10px; }
.process-step p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.process-step__connector {
  flex-shrink: 0;
  width: 80px; height: 2px;
  background: linear-gradient(90deg, rgba(45,138,138,0.5), rgba(94,207,200,0.5));
  margin-top: 56px;
  position: relative;
}
.process-step__connector::after {
  content: '';
  position: absolute; right: -4px; top: -4px;
  width: 10px; height: 10px;
  border-top: 2px solid var(--teal-light);
  border-right: 2px solid var(--teal-light);
  transform: rotate(45deg);
}

/* ════════════════════════════════════
   TEAM
════════════════════════════════════ */
.team { background: var(--bg); }
.team__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}
.team-card:hover { transform: translateY(-4px); border-color: var(--border-3); }
.team-card__avatar {
  width: 72px; height: 72px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 22px; font-weight: 700; color: #fff;
  margin: 0 auto 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.team-card h3 { font-family: var(--font-head); font-size: 17px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.team-card__role { display: block; font-size: 12px; font-weight: 600; color: var(--teal-light); letter-spacing: 0.04em; margin-bottom: 12px; }
.team-card p { font-size: 13px; color: var(--text-muted); line-height: 1.65; margin-bottom: 20px; }
.team-card__links { display: flex; justify-content: center; gap: 12px; }
.team-card__links a {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(45,138,138,0.08);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s;
}
.team-card__links a:hover {
  background: rgba(45,138,138,0.18);
  color: var(--teal-light);
  border-color: var(--border-3);
}

/* ════════════════════════════════════
   TESTIMONIALS
════════════════════════════════════ */
.testimonials { background: var(--bg-2); overflow: hidden; }
.testimonials__track {
  display: grid;
  grid-template-columns: repeat(4, 100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.tcard {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 780px;
  margin: 0 auto;
  width: 100%;
}
.tcard__stars { font-size: 20px; color: var(--teal-light); margin-bottom: 20px; letter-spacing: 4px; }
.tcard__quote { font-size: 18px; color: var(--text); line-height: 1.75; margin-bottom: 28px; font-style: italic; }
.tcard__author { display: flex; align-items: center; gap: 14px; }
.tcard__avatar {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.tcard__author strong { display: block; font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 2px; }
.tcard__author span { font-size: 13px; color: var(--text-muted); }
.testimonials__dots { display: flex; justify-content: center; gap: 8px; margin-top: 32px; }
.tdot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-2); transition: all 0.3s; }
.tdot.active { width: 24px; border-radius: 100px; background: var(--teal); }

/* ════════════════════════════════════
   CTA BAND
════════════════════════════════════ */
.cta-band { position: relative; padding: 80px 0; overflow: hidden; }
.cta-band__bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #081E2A, #0D3030);
}
.cta-band__bg::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 15% 50%, rgba(26,80,96,0.6) 0%, transparent 70%),
    radial-gradient(ellipse 50% 70% at 85% 50%, rgba(45,138,138,0.35) 0%, transparent 70%);
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band__inner { text-align: center; }
.cta-band h2 {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700; color: #fff; margin-bottom: 16px;
}
.cta-band p { font-size: 18px; color: rgba(196,232,228,0.75); margin-bottom: 36px; }
.cta-band__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ════════════════════════════════════
   CONTACT
════════════════════════════════════ */
.contact { background: var(--bg); }
.contact__inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: flex-start; }
.contact__info .section-tag { text-align: left; }
.contact__info .section-title { text-align: left; font-size: 38px; }
.contact__info > p { color: var(--text-muted); margin-bottom: 40px; line-height: 1.7; }
.contact__details { display: flex; flex-direction: column; gap: 20px; }
.contact-detail { display: flex; align-items: flex-start; gap: 16px; }
.contact-detail__icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 12px;
  background: rgba(45,138,138,0.1);
  border: 1px solid var(--border-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-light);
}
.contact-detail strong { display: block; font-size: 13px; font-weight: 600; color: #fff; margin-bottom: 2px; }
.contact-detail a, .contact-detail span { font-size: 14px; color: var(--text-muted); }
.contact-detail a:hover { color: var(--teal-light); }

.contact__form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 14px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(45,138,138,0.18);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-dim); }
.form-group select option { background: var(--bg-card); }
.form-group textarea { resize: vertical; min-height: 100px; }

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  font-size: 14px; font-weight: 500;
  color: var(--teal-pale);
  background: rgba(45,138,138,0.08);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-top: 16px;
}
.form-success.visible { display: flex; }

/* ════════════════════════════════════
   FOOTER
════════════════════════════════════ */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 72px 0 32px;
}
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer__brand p {
  font-size: 14px; color: var(--text-muted); line-height: 1.7;
  margin: 16px 0 24px; max-width: 280px;
}
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(45,138,138,0.08);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s;
}
.footer__social a:hover {
  background: rgba(45,138,138,0.2);
  color: var(--teal-light);
  border-color: var(--border-3);
}
.footer__links-group h4 {
  font-size: 13px; font-weight: 700; color: #fff;
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 20px;
}
.footer__links-group ul { display: flex; flex-direction: column; gap: 10px; }
.footer__links-group a { font-size: 14px; color: var(--text-muted); transition: color 0.2s; }
.footer__links-group a:hover { color: var(--teal-light); }
.footer__bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-dim);
}

/* ─── Real logo image ─── */
/*
 * Logo is RGBA transparent with dark navy text + teal marks.
 * On a dark background the text becomes invisible, so we use
 * brightness(0) invert(1) — standard industry practice for
 * dark-mode headers — which produces a crisp all-white logo.
 * A teal glow ties it back to the brand palette.
 */
.nav__logo-img {
  height: 80px;
  width: auto;
  display: block;
  transition: opacity 0.25s;
}
.nav__logo-img:hover { opacity: 0.85; }

.footer__logo-link { display: inline-block; margin-bottom: 4px; }
.footer__logo-img {
  height: 75px;
  width: auto;
  display: block;
}
.footer__logo-img:hover { opacity: 0.85; }

/* ─── Circuit decorative lines ─── */
.circuit-deco {
  position: absolute;
  pointer-events: none;
  opacity: 0.08;
}

/* ════════════════════════════════════
   ANIMATIONS & REVEAL
════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ════════════════════════════════════
   RESPONSIVE
════════════════════════════════════ */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .about__inner { gap: 48px; }
}
@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .nav__links {
    display: none; flex-direction: column;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: rgba(6,14,20,0.97);
    backdrop-filter: blur(20px);
    padding: 24px; gap: 4px;
    border-bottom: 1px solid var(--border);
  }
  .nav__links.open { display: flex; }
  .nav__hamburger { display: flex; }
  .hero__stats { gap: 20px; }
  .stat__divider { display: none; }
  .services__grid { grid-template-columns: 1fr; }
  .about__inner { grid-template-columns: 1fr; }
  .about__visual { height: 360px; order: 2; }
  .about__badge--1 { left: 0; }
  .about__badge--2 { right: 0; }
  .work__grid { grid-template-columns: 1fr; }
  .project-card--large { grid-column: span 1; }
  .process__steps { flex-direction: column; align-items: center; gap: 32px; }
  .process-step__connector { width: 2px; height: 40px; margin: 0; }
  .process-step__connector::after { display: none; }
  .team__grid { grid-template-columns: 1fr 1fr; }
  .contact__inner { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .btn { justify-content: center; }
  .team__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .contact__form { padding: 24px; }
}
