/* ==========================================================================
   Global Digital Design — Stylesheet
   ========================================================================== */

:root {
  /* Brand palette — sampled from the Global Digital Design logo */
  --navy-950: #0c0a28;   /* deepest facet — hero / footer background */
  --navy-800: #14133a;   /* raised dark surface */
  --navy-700: #1c1c4a;   /* dark card / border on dark */
  --navy-600: #2e365e;   /* wordmark navy — headings on light */
  --blue-700: #085c9c;
  --blue-600: #0f76b8;
  --blue-500: #1190cf;   /* primary accent */
  --blue-400: #34abe2;   /* hover / secondary accent */
  --cyan-300: #8ad7f8;   /* light highlight */

  --ink: #171a35;        /* body text on light */
  --ink-soft: #545b7a;   /* muted text on light */
  --paper: #f6f8fb;      /* light section background */
  --paper-alt: #eef2f8;  /* alt light section background */
  --white: #ffffff;

  --line: #e2e7f1;       /* light hairline border */
  --line-dark: rgba(255, 255, 255, 0.12);

  --shadow-soft: 0 20px 50px -20px rgba(12, 10, 40, 0.25);
  --shadow-card: 0 1px 2px rgba(12, 10, 40, 0.06), 0 12px 28px -16px rgba(12, 10, 40, 0.12);

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: "Syne", "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy-600);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--blue-400);
  outline-offset: 3px;
  border-radius: 4px;
}

.section-dark a:focus-visible,
.section-dark button:focus-visible {
  outline-color: var(--cyan-300);
}

/* ---- Eyebrow / badges ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-500);
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-500);
  flex-shrink: 0;
}
.section-dark .eyebrow { color: var(--cyan-300); }
.section-dark .eyebrow::before { background: var(--cyan-300); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
  min-height: 48px;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--blue-400), var(--blue-600));
  color: var(--white);
  box-shadow: 0 14px 30px -10px rgba(17, 144, 207, 0.55);
}
.btn-primary:hover { box-shadow: 0 18px 34px -8px rgba(17, 144, 207, 0.65); }

.btn-ghost {
  background: transparent;
  color: var(--navy-600);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--blue-500); color: var(--blue-500); }

.section-dark .btn-ghost {
  color: var(--white);
  border-color: var(--line-dark);
}
.section-dark .btn-ghost:hover { border-color: var(--cyan-300); color: var(--cyan-300); }

.btn-block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 0;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), padding 0.3s var(--ease);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -20px rgba(12, 10, 40, 0.3);
  padding: 10px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark { height: 34px; width: auto; }
.brand-word {
  font-family: "Syne", "Manrope", sans-serif;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--white);
  transition: color 0.25s var(--ease);
}
.site-header.is-scrolled .brand-word { color: var(--navy-600); }
.footer-brand-word { color: var(--white) !important; font-size: 17px; }

@media (max-width: 639px) {
  .brand-word { display: none; }
  .header-actions .btn-primary { display: none; }
}

@media (min-width: 640px) {
  .brand-word { font-size: 18px; }
}

.main-nav { display: none; }
.main-nav ul { display: flex; align-items: center; gap: 32px; }
.main-nav a {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  position: relative;
  padding: 6px 2px;
  transition: color 0.25s var(--ease);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--cyan-300);
  transition: right 0.25s var(--ease);
  border-radius: 2px;
}
.main-nav a:hover::after { right: 0; }

.site-header.is-scrolled .main-nav a { color: var(--navy-600); }
.site-header.is-scrolled .main-nav a::after { background: var(--blue-500); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions .btn-primary { padding: 12px 22px; font-size: 14px; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; color: var(--navy-600); }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 101;
  background: var(--navy-950);
  padding: 100px 28px 40px;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.3s var(--ease);
  overflow-y: auto;
}
.mobile-nav.is-open { transform: translateY(0); opacity: 1; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
  display: block;
  padding: 16px 4px;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  border-bottom: 1px solid var(--line-dark);
}
.mobile-nav .btn { margin-top: 28px; }
.mobile-nav-close {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
.mobile-nav-close svg { width: 20px; height: 20px; }

body.nav-open { overflow: hidden; }

@media (min-width: 960px) {
  .main-nav { display: block; }
  .nav-toggle, .mobile-nav { display: none; }
}

/* ==========================================================================
   Section scaffolding
   ========================================================================== */

section { position: relative; }
.section-pad { padding: 110px 0; }
@media (max-width: 640px) { .section-pad { padding: 76px 0; } }

.section-dark {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.86);
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-light { background: var(--white); }
.section-tint { background: var(--paper); }

.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); margin-top: 14px; line-height: 1.15; }
.section-head p { margin-top: 16px; font-size: 17px; color: var(--ink-soft); }
.section-dark .section-head p { color: rgba(255,255,255,0.68); }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  background: var(--navy-950);
  padding: 168px 0 100px;
  overflow: hidden;
  isolation: isolate;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--navy-950);
}
.hero-video-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(1.05) contrast(1.08);
}
.hero-video-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--cyan-300), var(--navy-950) 75%);
  mix-blend-mode: color;
}
.hero-video-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1100px 620px at 82% -10%, rgba(52, 171, 226, 0.2), transparent 60%),
    linear-gradient(180deg, rgba(12, 10, 40, 0.5) 0%, rgba(12, 10, 40, 0.78) 55%, rgba(12, 10, 40, 0.92) 100%);
}

.hero-video-toggle {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  background: rgba(12, 10, 40, 0.55);
  backdrop-filter: blur(6px);
  color: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.hero-video-toggle:hover { background: rgba(12, 10, 40, 0.8); color: var(--white); border-color: var(--cyan-300); }
.hero-video-toggle svg { width: 16px; height: 16px; }
.hero-video-toggle .icon-play { display: none; }
.hero-video-toggle.is-paused .icon-pause { display: none; }
.hero-video-toggle.is-paused .icon-play { display: block; }

@media (prefers-reduced-motion: reduce) {
  .hero-video-toggle { display: none; }
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 980px) {
  .hero .container { grid-template-columns: 1.05fr 0.95fr; gap: 40px; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-dark);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin-bottom: 26px;
}
.hero-badge .stars { display: inline-flex; gap: 2px; color: var(--cyan-300); }
.hero-badge .stars svg { width: 14px; height: 14px; }
.hero-badge strong { color: var(--white); }

.hero h1 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  color: var(--white);
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--cyan-300), var(--blue-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  margin-top: 22px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.68);
  max-width: 540px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-trustbar {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 28px 36px;
}
.hero-trustbar div { display: flex; flex-direction: column; gap: 2px; }
.hero-trustbar strong { font-family: "Syne", "Manrope", sans-serif; font-size: 24px; color: var(--white); font-weight: 800; }
.hero-trustbar span { font-size: 13px; color: rgba(255,255,255,0.55); }

/* Hero visual: browser + phone mockup */
.hero-visual { position: relative; }
.mock-browser {
  border-radius: var(--radius-lg);
  background: #0f1130;
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
}
.mock-browser .mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  background: #14163a;
  border-bottom: 1px solid var(--line-dark);
}
.mock-browser .mock-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.mock-browser .mock-url {
  margin-left: 10px;
  flex: 1;
  height: 20px;
  border-radius: 6px;
  background: rgba(255,255,255,0.07);
}
.mock-screen { padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.mock-hero-block {
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(52,171,226,0.28), rgba(17,144,207,0.12));
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mock-line { height: 10px; border-radius: 6px; background: rgba(255,255,255,0.22); }
.mock-line.w-70 { width: 70%; }
.mock-line.w-50 { width: 50%; }
.mock-line.w-40 { width: 40%; height: 8px; background: rgba(255,255,255,0.14); }
.mock-chip {
  align-self: flex-start;
  margin-top: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--blue-400);
  font-size: 11px;
  font-weight: 700;
  color: var(--navy-950);
}
.mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-card { border-radius: 10px; background: rgba(255,255,255,0.05); border: 1px solid var(--line-dark); padding: 14px 10px; display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center; }
.mock-card .mock-icon { width: 26px; height: 26px; border-radius: 8px; background: rgba(138,215,248,0.22); }
.mock-card .mock-line { width: 80%; }

.hero-float-card {
  position: absolute;
  left: -28px;
  bottom: -26px;
  width: 200px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-float-card .ring {
  width: 44px; height: 44px; border-radius: 50%;
  background: conic-gradient(var(--blue-500) 0% 92%, var(--line) 92% 100%);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hero-float-card .ring::after {
  content: "92%";
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 800; color: var(--navy-600);
}
.hero-float-card strong { display: block; font-size: 13px; color: var(--navy-600); }
.hero-float-card span { font-size: 12px; color: var(--ink-soft); }

@media (max-width: 640px) {
  .hero-float-card { left: 0; bottom: -20px; width: 168px; padding: 12px; }
  .mock-browser { transform: none; }
}

/* ==========================================================================
   Logo strip
   ========================================================================== */
.logo-strip { padding: 46px 0; border-bottom: 1px solid var(--line); }
.logo-strip p { text-align: center; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 28px; }
.logo-strip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px 56px;
}
.logo-strip-row span {
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: #b7bdd1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.logo-strip-row span svg { width: 20px; height: 20px; }

/* ==========================================================================
   Problem / checklist section
   ========================================================================== */

.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
@media (min-width: 900px) { .problem-grid { grid-template-columns: 1fr 1fr; gap: 70px; } }

.check-list { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 16px;
  color: var(--ink);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--paper);
  border: 1px solid var(--line);
}
.check-list li .tick {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--blue-500);
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.check-list li .tick svg { width: 13px; height: 13px; color: var(--white); }
.check-list.cross li .tick { background: #cbd3e1; }

.problem-callout {
  margin-top: 28px;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: var(--navy-950);
  color: var(--white);
  font-weight: 600;
  font-size: 16px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.problem-callout svg { width: 22px; height: 22px; color: var(--cyan-300); flex-shrink: 0; margin-top: 2px; }

/* ==========================================================================
   Results / portfolio (dark, alternating device mockups)
   ========================================================================== */

.result-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
  padding: 64px 0;
}
.result-row + .result-row { border-top: 1px solid var(--line-dark); }
@media (min-width: 940px) {
  .result-row { grid-template-columns: 1fr 1fr; gap: 64px; }
  .result-row.flip .result-copy { order: 2; }
  .result-row.flip .result-media { order: 1; }
}

.result-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan-300);
  margin-bottom: 14px;
}
.result-copy h3 { font-size: clamp(22px, 2.6vw, 30px); color: var(--white); line-height: 1.25; }
.result-copy p { margin-top: 14px; color: rgba(255,255,255,0.68); font-size: 15.5px; line-height: 1.7; }
.result-feats { margin-top: 18px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 18px; }
.result-feats li { display: flex; gap: 8px; align-items: center; font-size: 14px; color: rgba(255,255,255,0.82); }
.result-feats li svg { width: 15px; height: 15px; color: var(--blue-400); flex-shrink: 0; }

.result-badge {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  background: rgba(52, 171, 226, 0.1);
  border: 1px solid rgba(52, 171, 226, 0.28);
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}
.result-badge svg { width: 18px; height: 18px; color: var(--cyan-300); }

.result-media { position: relative; }
.device-browser {
  border-radius: 14px;
  overflow: hidden;
  background: #10122c;
  border: 1px solid var(--line-dark);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.55);
}
.device-browser .mock-bar { padding: 10px 12px; }
.device-body { padding: 20px; }
.device-phone {
  position: absolute;
  width: 34%;
  min-width: 120px;
  right: -6%;
  bottom: -10%;
  border-radius: 22px;
  background: #10122c;
  border: 6px solid #191b3f;
  box-shadow: 0 24px 50px -20px rgba(0,0,0,0.6);
  overflow: hidden;
}
.device-phone .notch { height: 16px; background: #191b3f; display: flex; justify-content: center; }
.device-phone .notch::after { content:""; width: 40%; height: 8px; border-radius: 0 0 8px 8px; background:#10122c; }
.device-phone-body { padding: 12px; display: flex; flex-direction: column; gap: 8px; }

.result-swatches { display: flex; gap: 8px; margin-bottom: 14px; }
.result-swatches span { width: 22px; height: 22px; border-radius: 6px; display: inline-block; }

/* ==========================================================================
   Services / how we help
   ========================================================================== */

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 700px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .service-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(17,144,207,0.35); box-shadow: 0 22px 40px -18px rgba(17,144,207,0.28); }
.service-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue-400), var(--blue-700));
  margin-bottom: 22px;
}
.service-icon svg { width: 26px; height: 26px; color: var(--white); }
.service-card h3 { font-size: 19px; margin-bottom: 10px; }
.service-card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; flex: 1; }
.service-card .service-link {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-500);
}
.service-card .service-link svg { width: 15px; height: 15px; transition: transform 0.2s var(--ease); }
.service-card:hover .service-link svg { transform: translateX(3px); }

/* ==========================================================================
   Process
   ========================================================================== */

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  counter-reset: step;
}
@media (min-width: 900px) { .process-grid { grid-template-columns: repeat(4, 1fr); gap: 28px; } }

.process-step { position: relative; padding: 8px 8px 8px 0; }
@media (min-width: 900px) { .process-step { padding: 0; } }
.process-num {
  font-family: "Syne", "Manrope", sans-serif;
  font-size: 44px;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--line);
  line-height: 1;
  margin-bottom: 18px;
}
.process-step h3 { font-size: 17px; margin-bottom: 8px; }
.process-step p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }
.process-connector {
  display: none;
}
@media (min-width: 900px) {
  .process-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 22px;
    right: -14px;
    width: 28px;
    height: 1px;
    background: var(--line);
  }
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 720px) { .testimonial-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .testimonial-grid { grid-template-columns: repeat(3, 1fr); } }

.testimonial-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.testimonial-stars { display: flex; gap: 3px; color: var(--blue-500); }
.testimonial-stars svg { width: 16px; height: 16px; }
.testimonial-card p.quote { font-size: 15.5px; line-height: 1.7; color: var(--ink); flex: 1; }
.testimonial-person { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-400), var(--navy-600));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700; font-size: 14px;
  flex-shrink: 0;
}
.testimonial-person strong { display: block; font-size: 14px; color: var(--navy-600); }
.testimonial-person span { font-size: 13px; color: var(--ink-soft); }

/* ==========================================================================
   CTA banner
   ========================================================================== */

.cta-banner {
  border-radius: 28px;
  background:
    radial-gradient(600px 300px at 15% 20%, rgba(52,171,226,0.35), transparent 60%),
    linear-gradient(135deg, var(--navy-950), #12143a);
  padding: 64px 40px;
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.cta-banner h2 { font-size: clamp(26px, 3.4vw, 38px); color: var(--white); }
.cta-banner p { margin: 16px auto 0; max-width: 520px; color: rgba(255,255,255,0.7); font-size: 16px; }
.cta-banner .hero-actions { justify-content: center; margin-top: 30px; }

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 940px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: 64px; } }

.contact-info-list { display: flex; flex-direction: column; gap: 22px; margin-top: 30px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-item .icon-badge {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: rgba(17,144,207,0.1);
  display: flex; align-items: center; justify-content: center;
}
.contact-info-item .icon-badge svg { width: 20px; height: 20px; color: var(--blue-500); }
.contact-info-item strong { display: block; font-size: 15px; color: var(--navy-600); margin-bottom: 2px; }
.contact-info-item span, .contact-info-item a { font-size: 14.5px; color: var(--ink-soft); }
.contact-info-item a:hover { color: var(--blue-500); }

.social-row { display: flex; gap: 10px; margin-top: 30px; }
.social-row a {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.social-row a svg { width: 18px; height: 18px; color: var(--navy-600); }
.social-row a:hover { background: var(--blue-500); border-color: var(--blue-500); }
.social-row a:hover svg { color: var(--white); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
}
.form-row { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 560px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--navy-600); }
.field .req { color: var(--blue-500); }
.field input,
.field select,
.field textarea {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: var(--paper);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
  min-height: 48px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(17,144,207,0.12);
}
.field small { font-size: 12.5px; color: var(--ink-soft); }
.field.has-error input,
.field.has-error textarea { border-color: #dc2626; background: #fef2f2; }
.field-error { font-size: 12.5px; color: #dc2626; display: none; }
.field.has-error .field-error { display: block; }

.form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  display: none;
  align-items: center;
  gap: 10px;
}
.form-status svg { width: 18px; height: 18px; flex-shrink: 0; }
.form-status.is-success { display: flex; background: #ecfdf5; color: #047857; }
.form-status.is-error { display: flex; background: #fef2f2; color: #dc2626; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { background: var(--navy-950); color: rgba(255,255,255,0.65); padding: 76px 0 28px; }
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--line-dark);
}
@media (min-width: 860px) { .footer-top { grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr; gap: 32px; } }

.footer-brand .brand img { height: 34px; }
.footer-brand p { margin-top: 18px; font-size: 14.5px; line-height: 1.7; max-width: 320px; color: rgba(255,255,255,0.55); }

.footer-col h4 { color: var(--white); font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 13px; }
.footer-col a { font-size: 14.5px; color: rgba(255,255,255,0.6); transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--cyan-300); }

.footer-bottom {
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  color: rgba(255,255,255,0.45);
}
.footer-bottom .social-row a { border-color: var(--line-dark); }
.footer-bottom .social-row a svg { color: rgba(255,255,255,0.7); }

/* ==========================================================================
   Utility
   ========================================================================== */

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue-500);
  color: var(--white);
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

@media (max-width: 900px) {
  .result-media { margin-top: 8px; }
  .device-phone { position: static; width: 60%; margin-top: 16px; }
}
