/* ============================================================
   Complex Inc — Landing Page Styles
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --ink: #0b1220;
  --ink-2: #111c2e;
  --ink-3: #18263c;
  --accent: #ffc221;
  --accent-deep: #966500;
  --accent-soft: #fff5da;

  --paper: #ffffff;
  --paper-2: #f5f7fa;
  --text: #1b2433;
  --muted: #5c6a80;
  --line: #e5eaf0;

  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 16px 40px rgba(11, 18, 32, 0.07);
  --shadow-lg: 0 28px 70px rgba(11, 18, 32, 0.13);

  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -0.03em; }
p { margin: 0; }
ul { margin: 0; padding: 0; }

::selection { background: var(--accent); color: var(--ink); }

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.section { padding: 108px 0; }

/* ---------- Shared components ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-deep);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.eyebrow-light { color: var(--accent); }

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(255, 194, 33, 0.16);
  animation: pulse 2.2s infinite;
  margin-right: 4px;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 5px rgba(255, 194, 33, 0.16); }
  50% { box-shadow: 0 0 0 10px rgba(255, 194, 33, 0.02); }
}

.section-head { max-width: 720px; margin-bottom: 58px; }
.section-head-center { margin-inline: auto; text-align: center; }
.section-head h2 {
  margin: 16px 0 14px;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 800;
}
.section-head p { color: var(--muted); font-size: 1.03rem; max-width: 600px; }
.section-head-center p { margin-inline: auto; }
.section-head-light h2 { color: #fff; }
.section-head-light p { color: rgba(255, 255, 255, 0.62); }
.section-head-light .eyebrow { margin-bottom: 0; }

.underline-accent {
  background: linear-gradient(transparent 62%, rgba(255, 194, 33, 0.55) 62%);
  padding-inline: 3px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 14px 22px;
  font-size: 0.94rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(255, 194, 33, 0.24);
}
.btn-primary:hover { background: #ffcd4a; box-shadow: 0 14px 30px rgba(255, 194, 33, 0.34); }

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
}
.btn-outline-light:hover { border-color: var(--accent); color: var(--accent); background: rgba(255, 194, 33, 0.07); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); box-shadow: 0 12px 26px rgba(11, 18, 32, 0.2); }

.btn-sm { padding: 11px 18px; font-size: 0.86rem; }
.btn-lg { padding: 16px 26px; font-size: 0.98rem; }
.btn-block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 800;
  transition: color 0.2s ease;
}
.text-link svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.text-link:hover { color: var(--accent-deep); }
.text-link:hover svg { transform: translateX(4px); }
.text-link.dark { color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 18, 32, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 78px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--accent);
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(255, 194, 33, 0.22);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-name {
  display: flex;
  align-items: baseline;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.brand-name span { color: var(--accent); }
.brand-name small {
  display: block;
  margin-left: 7px;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.5);
}

.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.91rem;
  font-weight: 600;
  transition: color 0.2s ease;
}
.nav a:hover { color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 0.91rem;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.header-phone svg { width: 18px; height: 18px; color: var(--accent); }
.header-phone:hover { color: var(--accent); }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span {
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 66px;
  background: radial-gradient(1000px 620px at 82% 12%, #1b2b46 0%, transparent 62%),
              linear-gradient(155deg, #0b1220 0%, #101a2c 62%, #0b1220 100%);
  color: #fff;
}
.hero-glow {
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  right: -160px;
  top: -140px;
  background: radial-gradient(circle, rgba(255, 194, 33, 0.16), transparent 68%);
  pointer-events: none;
}
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 60px;
}
.hero-copy h1 {
  margin: 22px 0 20px;
  font-size: clamp(2.7rem, 4.9vw, 4.35rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.045em;
}
.text-accent { color: var(--accent); }
.hero-lead {
  max-width: 580px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.06rem;
  line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 30px; }
.hero-proof { display: flex; align-items: center; gap: 14px; }
.hero-proof p { color: rgba(255, 255, 255, 0.62); font-size: 0.9rem; }
.hero-proof strong { color: #fff; }
.stars { display: flex; gap: 3px; color: var(--accent); }
.stars svg { width: 16px; height: 16px; }

/* Hero visual */
.hero-visual { position: relative; }
.visual-card {
  position: relative;
  height: 440px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(150deg, rgba(28, 44, 70, 0.9), rgba(11, 18, 32, 0.96));
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: visible;
}
.circuit-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  stroke: rgba(255, 194, 33, 0.2);
  stroke-width: 1.2;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.circuit-art circle { fill: var(--accent); stroke: none; }

.visual-head {
  position: absolute;
  top: 24px;
  left: 26px;
  right: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.85);
}
.live-badge span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.15);
}
.visual-head-sub { font-size: 0.7rem; color: rgba(255, 255, 255, 0.42); font-weight: 600; }

.bolt-wrap {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.bolt-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 194, 33, 0.18);
}
.ring-1 { width: 230px; height: 230px; }
.ring-2 { width: 310px; height: 310px; border-style: dashed; border-color: rgba(255, 194, 33, 0.1); }
.bolt-icon {
  width: 104px;
  height: 104px;
  color: var(--accent);
  filter: drop-shadow(0 12px 34px rgba(255, 194, 33, 0.4));
  animation: float 5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(19, 30, 49, 0.92);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
}
.float-card strong { display: block; font-size: 0.82rem; color: #fff; }
.float-card small { display: block; font-size: 0.68rem; color: rgba(255, 255, 255, 0.5); }
.float-top { top: 104px; right: -10px; animation: float 6s ease-in-out infinite 0.5s; }
.float-bottom { bottom: 104px; left: -14px; animation: float 6.5s ease-in-out infinite 1.2s; }
.float-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(255, 194, 33, 0.16);
  color: var(--accent);
}
.float-icon.alt { background: rgba(74, 222, 128, 0.14); color: #4ade80; }
.float-icon svg { width: 19px; height: 19px; }

.visual-foot {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 23px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
}
.visual-foot-line { flex: 1; height: 1px; background: rgba(255, 255, 255, 0.1); }

/* Hero stats */
.hero-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 72px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.stat strong { display: block; font-size: 2.05rem; font-weight: 800; color: var(--accent); letter-spacing: -0.04em; }
.stat span { font-size: 0.86rem; color: rgba(255, 255, 255, 0.55); }

/* ---------- Services ---------- */
.services { background: var(--paper); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  padding: 36px 32px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.service-card:hover {
  transform: translateY(-7px);
  border-color: rgba(255, 194, 33, 0.55);
  box-shadow: var(--shadow-lg);
}
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-deep);
}
.service-icon svg { width: 27px; height: 27px; }
.service-card:hover .service-icon { background: var(--accent); color: var(--ink); }
.service-card h3 { margin: 24px 0 10px; font-size: 1.18rem; font-weight: 800; }
.service-card p { color: var(--muted); font-size: 0.94rem; line-height: 1.7; }
.service-card .text-link { margin-top: 22px; }

/* ---------- About ---------- */
.about { background: var(--paper-2); }
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 84px;
}
.about-visual { position: relative; min-height: 460px; }
.about-card.main-card {
  width: 100%;
  max-width: 450px;
  height: 420px;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, #1a2942, #0c1423);
  box-shadow: 0 30px 70px rgba(11, 18, 32, 0.22);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.about-card.main-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(255, 194, 33, 0.13), transparent 58%);
}
.panel {
  position: relative;
  width: 248px;
  padding: 16px;
  border-radius: 13px;
  background: #f8fafc;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #64748b;
  margin-bottom: 13px;
}
.panel-led { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.14); }
.panel-body { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.breaker {
  height: 27px;
  border-radius: 5px;
  background: #e6ebf1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
}
.breaker span { width: 8px; height: 14px; border-radius: 2px; background: #94a3b8; }
.breaker i { width: 6px; height: 6px; border-radius: 50%; background: #cbd5e1; }
.breaker.on { background: #fff2cd; }
.breaker.on span { background: #f0a500; }
.breaker.on i { background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.14); }
.panel-foot { margin-top: 13px; text-align: center; font-size: 0.52rem; font-weight: 700; letter-spacing: 0.12em; color: #94a3b8; }

.about-card.badge-card {
  position: absolute;
  right: -8px;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 20px;
  border-radius: 15px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  max-width: 290px;
}
.badge-check {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--accent);
  color: var(--ink);
}
.badge-check svg { width: 20px; height: 20px; }
.badge-card strong { display: block; font-size: 0.88rem; }
.badge-card small { display: block; font-size: 0.74rem; color: var(--muted); }

.about-copy h2 { margin: 16px 0 18px; font-size: clamp(2rem, 3.4vw, 2.75rem); font-weight: 800; }
.lead { color: var(--muted); font-size: 1.02rem; line-height: 1.78; max-width: 560px; }
.check-list { display: grid; gap: 15px; margin: 30px 0 36px; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; font-size: 0.95rem; }
.check {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(255, 194, 33, 0.2);
  color: var(--accent-deep);
  margin-top: 2px;
}
.check svg { width: 13px; height: 13px; }
.about-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }

/* ---------- Process ---------- */
.process {
  position: relative;
  overflow: hidden;
  background: radial-gradient(760px 420px at 50% -10%, rgba(255, 194, 33, 0.09), transparent 65%), var(--ink);
  color: #fff;
}
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.process-step {
  position: relative;
  overflow: hidden;
  padding: 36px 32px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  transition: transform 0.28s ease, background 0.28s ease, border-color 0.28s ease;
}
.process-step:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 194, 33, 0.32); }
.step-number {
  position: absolute;
  top: 18px;
  right: 26px;
  font-size: 2.7rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.055);
  letter-spacing: -0.06em;
}
.step-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 194, 33, 0.14);
  color: var(--accent);
}
.step-icon svg { width: 25px; height: 25px; }
.process-step h3 { margin: 26px 0 10px; font-size: 1.16rem; font-weight: 800; color: #fff; }
.process-step p { font-size: 0.92rem; line-height: 1.72; color: rgba(255, 255, 255, 0.58); }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--paper); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card {
  padding: 34px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.review-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.review-stars { color: var(--accent); letter-spacing: 3px; font-size: 1.05rem; line-height: 1; }
.review-card blockquote { margin: 20px 0 26px; font-size: 0.96rem; line-height: 1.8; color: #3d4b60; }
.reviewer { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.avatar-1 { background: linear-gradient(135deg, #f59e0b, #ea580c); }
.avatar-2 { background: linear-gradient(135deg, #2563eb, #4338ca); }
.avatar-3 { background: linear-gradient(135deg, #0d9488, #0f766e); }
.reviewer strong { display: block; font-size: 0.9rem; }
.reviewer small { display: block; font-size: 0.76rem; color: var(--muted); }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: 76px 0;
  background: linear-gradient(110deg, #0b1220 0%, #15243b 100%);
  color: #fff;
}
.cta-banner::after {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  right: -100px;
  top: -220px;
  background: radial-gradient(circle, rgba(255, 194, 33, 0.16), transparent 65%);
}
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 44px; }
.cta-inner h2 { margin: 14px 0 8px; font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 800; }
.cta-inner p { color: rgba(255, 255, 255, 0.62); font-size: 1.02rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; flex-shrink: 0; }

/* ---------- Contact ---------- */
.contact { background: var(--paper-2); }
.contact-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 76px; }
.contact-info h2 { margin: 16px 0 16px; font-size: clamp(2rem, 3.4vw, 2.7rem); font-weight: 800; }
.info-list { margin-top: 32px; }
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.info-item:first-child { padding-top: 0; }
.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--accent-deep);
}
.info-icon svg { width: 20px; height: 20px; }
.info-item strong { display: block; font-size: 0.94rem; }
.info-item a, .info-item .plain { display: block; font-size: 0.9rem; font-weight: 700; color: var(--ink); transition: color 0.2s ease; }
.info-item a:hover { color: var(--accent-deep); }
.info-item small { display: block; font-size: 0.76rem; color: var(--muted); margin-top: 2px; }
.info-item small a { display: inline; font-size: 0.76rem; font-weight: 700; color: var(--accent-deep); }
.info-item small a:hover { color: var(--ink); }

.contact-form {
  padding: 42px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.contact-form h3 { font-size: 1.5rem; font-weight: 800; }
.form-sub { color: var(--muted); font-size: 0.92rem; margin: 7px 0 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 8px; font-size: 0.8rem; font-weight: 800; color: #334155; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid #dbe2ea;
  border-radius: 10px;
  background: #fbfcfe;
  color: var(--text);
  font-size: 0.93rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #a3afbf; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 194, 33, 0.16);
}
.field input.invalid, .field select.invalid { border-color: #ef4444; box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1); }
.form-note { text-align: center; font-size: 0.76rem; color: var(--muted); margin-top: 14px; }
.form-success {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #ecfdf3;
  border: 1px solid #bbf7d0;
  color: #166534;
  font-size: 0.88rem;
}
.form-success svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.form-success strong { display: block; }

/* ---------- Footer ---------- */
.site-footer { padding: 82px 0 0; background: #080e19; color: rgba(255, 255, 255, 0.6); }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 50px; }
.footer-brand p { max-width: 310px; margin: 22px 0 24px; font-size: 0.92rem; line-height: 1.75; }
.footer-address { color: rgba(255, 255, 255, 0.48); }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: #fff;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.footer-social svg { width: 17px; height: 17px; }
.footer-col h4 { margin-bottom: 20px; color: #fff; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.footer-col a { display: block; margin-bottom: 12px; font-size: 0.91rem; transition: color 0.2s ease, transform 0.2s ease; }
.footer-col a:hover { color: var(--accent); transform: translateX(3px); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 64px;
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.8rem;
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: #ffcd4a; transform: translateY(-3px); }
.back-to-top svg { width: 20px; height: 20px; }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js [data-reveal].in-view { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .nav { gap: 20px; }
  .header-actions { gap: 13px; }
  .header-phone { display: none; }
  .about-layout { gap: 50px; }
  .contact-layout { gap: 50px; }
}

@media (max-width: 992px) {
  .section { padding: 88px 0; }
  .hero-layout { grid-template-columns: 1fr; gap: 56px; }
  .hero-copy { max-width: 720px; }
  .hero-visual { max-width: 560px; width: 100%; margin-inline: auto; }
  .services-grid, .process-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .about-layout, .contact-layout { grid-template-columns: 1fr; gap: 60px; }
  .about-visual { max-width: 500px; margin-inline: auto; width: 100%; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 44px; }
}

@media (max-width: 768px) {
  .container { width: min(100% - 36px, 1180px); }
  .header-inner { min-height: 70px; }
  .menu-toggle { display: flex; }
  .header-actions .btn { display: none; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 10px 24px 20px;
    background: var(--ink-2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  }
  .nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav a { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.07); font-size: 1rem; }
  .hero { padding: 64px 0 54px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 56px; }
  .visual-card { height: 400px; }
  .float-top { right: -6px; top: 96px; }
  .float-bottom { left: -6px; bottom: 96px; }
  .about-card.badge-card { right: 0; }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .hero-copy h1 { font-size: clamp(2.35rem, 9vw, 3.2rem); }
  .hero-lead { font-size: 0.98rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-proof { flex-wrap: wrap; }
  .visual-card { height: 350px; }
  .visual-head { top: 18px; left: 20px; right: 20px; }
  .visual-head-sub { display: none; }
  .bolt-icon { width: 78px; height: 78px; }
  .ring-1 { width: 180px; height: 180px; }
  .ring-2 { width: 250px; height: 250px; }
  .float-card { padding: 10px 12px; gap: 8px; transform: scale(0.85); }
  .float-top { top: 78px; right: -18px; transform-origin: right center; }
  .float-bottom { bottom: 78px; left: -18px; transform-origin: left center; }
  .float-card strong { font-size: 0.76rem; }
  .float-card small { font-size: 0.62rem; }
  .float-icon { width: 30px; height: 30px; }
  .visual-foot { left: 20px; right: 20px; bottom: 17px; }
  .stat strong { font-size: 1.7rem; }

  .services-grid, .process-grid, .reviews-grid { grid-template-columns: 1fr; }
  .about-visual { min-height: 400px; }
  .about-card.main-card { height: 360px; }
  .about-card.badge-card { bottom: 10px; right: -4px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 28px 22px; }
  .cta-banner { padding: 60px 0; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { margin-top: 46px; }
  .back-to-top { right: 16px; bottom: 16px; }
}

@media (max-width: 420px) {
  .brand-name { font-size: 1.02rem; }
  .brand-name small { font-size: 0.5rem; }
  .visual-card { height: 320px; }
  .float-card small { display: none; }
  .about-card.badge-card { position: static; margin: -28px auto 0; }
}

/* ---------- Reduced motion ---------- */
@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; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
