/* ===================================================
   CTS — Cloud Tecnology Systems
   CSS principal — versão cPanel / hospedagem estática
   =================================================== */

:root {
  --cts-blue: #005BDF;
  --cts-blue-ink: #0041a3;
  --cts-blue-wash: #eaf1ff;
  --black: #0a0a0a;
  --ink: #111418;
  --muted: #6b7280;
  --line: #e6e8ec;
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --radius: 14px;
}

/* ========== RESET ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01" on, "cv11" on;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
::selection { background: var(--cts-blue); color: white; }

.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

/* ========== CONTAINER ========== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes drift {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(8px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ========== SCROLL REVEAL ========== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ======================================================
   NAV
   ====================================================== */
#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
#site-nav.scrolled {
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.nav-brand img { height: 34px; width: auto; }
.nav-brand-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  margin-left: 4px;
  line-height: 1.45;
}
.nav-links {
  display: flex;
  gap: 36px;
  font-size: 15px;
}
.nav-links a {
  position: relative;
  padding: 8px 0;
  transition: color .2s;
}
.nav-links a:hover { color: var(--cts-blue); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-cta {
  padding: 11px 20px;
  background: var(--black);
  color: white !important;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .2s, transform .2s;
}
.nav-cta:hover { background: var(--cts-blue) !important; transform: translateY(-1px); }
.nav-burger {
  display: none;
  padding: 8px;
  align-items: center;
  justify-content: center;
}
.nav-mobile {
  display: none;
  background: white;
  border-top: 1px solid var(--line);
  padding: 16px 20px;
  flex-direction: column;
  gap: 14px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a { font-size: 15px; padding: 4px 0; }

/* ======================================================
   HERO
   ====================================================== */
#top {
  position: relative;
  padding-top: 140px;
  padding-bottom: 120px;
  overflow: hidden;
  background: var(--bg);
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(0,91,223,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,91,223,0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 40%, transparent 100%);
  pointer-events: none;
}
.hero-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  background: var(--cts-blue-wash);
  color: var(--cts-blue-ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 28px;
}
.hero-tag-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cts-blue);
  box-shadow: 0 0 0 4px rgba(0,91,223,0.18);
  animation: pulse 2.2s ease-in-out infinite;
  flex-shrink: 0;
}
.hero-h1 {
  font-size: clamp(44px, 6.2vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin-bottom: 28px;
  max-width: 1000px;
}
.hero-highlight {
  display: inline-block;
  color: var(--cts-blue);
  font-style: italic;
  font-weight: 500;
}
.hero-lede {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 40px;
}
.hero-btns {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  background: var(--cts-blue);
  color: white !important;
  border-radius: 999px;
  font-weight: 500;
  font-size: 16px;
  transition: transform .2s, box-shadow .2s, background .2s;
  box-shadow: 0 10px 30px -10px rgba(0,91,223,0.5);
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -10px rgba(0,91,223,0.6);
  background: var(--cts-blue-ink) !important;
}
.hero-cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 22px;
  font-weight: 500;
  font-size: 16px;
  color: var(--ink);
}
.hero-stats {
  display: flex;
  gap: 56px;
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.hero-stat { display: flex; flex-direction: column; gap: 4px; }
.hero-stat-num {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-stat-num sup { font-size: 20px; }
.hero-stat-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}

/* Hero visual */
.hero-visual {
  position: relative;
  height: 520px;
}
.hero-visual-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-card-back {
  position: absolute;
  top: 20px; right: 0;
  width: 78%;
  background: var(--black);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.4);
  transform: rotate(3deg);
  animation: fadeUp .8s ease .15s backwards;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #e6e8ec;
  line-height: 1.7;
}
.card-dots { display: flex; gap: 6px; margin-bottom: 14px; align-items: center; }
.card-dot { width: 10px; height: 10px; border-radius: 50%; }
.card-dot-r { background: #ff5f57; }
.card-dot-y { background: #febc2e; }
.card-dot-g { background: #28c840; }
.card-title { margin-left: auto; font-size: 10px; color: #6b7280; }
.code-line { display: block; }
.code-muted { color: #6b7280; }
.code-blue  { color: var(--cts-blue); }
.code-green { color: #4ade80; }

.hero-card-front {
  position: absolute;
  bottom: 10px; left: 0;
  width: 72%;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.25);
  transform: rotate(-3deg);
  animation: fadeUp .8s ease .3s backwards;
}
.card-front-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.card-front-live {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
}
.card-pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 1.8s infinite;
}
.card-front-title { font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.flow-nodes { display: flex; align-items: center; gap: 6px; }
.flow-node {
  padding: 8px 12px;
  background: var(--bg-soft);
  color: var(--ink);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid var(--line);
  white-space: nowrap;
}
.flow-node.hl {
  background: var(--cts-blue);
  color: white;
  border-color: transparent;
}
.flow-line {
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(to right, var(--line) 0 4px, transparent 4px 8px);
  min-width: 12px;
}
.card-front-footer {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}
.card-front-growth { color: var(--cts-blue); font-weight: 600; }

/* Floating badges */
.hero-badge {
  position: absolute;
  padding: 10px 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 8px 24px -12px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 8px;
}
.badge-site {
  top: 8%; left: 6%;
  transform: rotate(-4deg);
  animation: fadeUp .8s ease .4s backwards, drift 6s ease-in-out 1.4s infinite;
}
.badge-video {
  top: 54%; left: 68%;
  transform: rotate(5deg);
  animation: fadeUp .8s ease .55s backwards, drift 6s ease-in-out 1.55s infinite;
}
.badge-icon-blue {
  width: 24px; height: 24px;
  border-radius: 6px;
  background: var(--cts-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.badge-icon-black {
  width: 24px; height: 24px;
  border-radius: 6px;
  background: var(--black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ======================================================
   SERVICES
   ====================================================== */
#servicos {
  padding: 120px 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.services-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  margin-bottom: 64px;
  align-items: end;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--cts-blue);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
}
.eyebrow-bar { width: 24px; height: 1px; background: var(--cts-blue); display: inline-block; flex-shrink: 0; }
.section-h2 {
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 600;
}
.services-lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 440px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.service-card {
  background: white;
  padding: 36px 32px;
  position: relative;
  cursor: pointer;
  transition: background .3s ease, color .3s ease;
  min-height: 340px;
  display: flex;
  flex-direction: column;
}
.service-card:hover { background: var(--black); color: white; }
.service-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
}
.service-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  opacity: 0.5;
}
.service-icon-wrap {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--cts-blue-wash);
  color: var(--cts-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease;
  flex-shrink: 0;
}
.service-card:hover .service-icon-wrap { background: var(--cts-blue); color: white; }
.service-kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 8px;
}
.service-title { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 14px; }
.service-desc { font-size: 14.5px; line-height: 1.55; opacity: 0.72; margin-bottom: 20px; }
.service-bullets { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.service-bullets li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.service-bullet-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--cts-blue);
  flex-shrink: 0;
}
.service-arrow {
  position: absolute; bottom: 20px; right: 20px;
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: all .3s ease;
}
.service-card:hover .service-arrow { opacity: 1; transform: translate(0,0); }

/* CTA card (6th cell) */
.service-cta-card {
  background: var(--cts-blue);
  color: white;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 340px;
}
.service-cta-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  opacity: 0.75;
  margin-bottom: 28px;
}
.service-cta-title { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; margin-bottom: 14px; }
.service-cta-desc  { font-size: 14.5px; line-height: 1.55; opacity: 0.9; }
.svc-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  background: white;
  color: var(--cts-blue) !important;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  align-self: flex-start;
  transition: transform .2s;
  margin-top: 28px;
}
.svc-btn:hover { transform: translateY(-2px); }

/* ======================================================
   WHY
   ====================================================== */
#porque {
  padding: 120px 0;
  background: var(--black);
  color: white;
  position: relative;
  overflow: hidden;
}
.why-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.why-glow {
  position: absolute;
  top: -20%; left: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,91,223,0.35) 0%, transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
  position: relative;
}
.why-sticky { position: sticky; top: 120px; }
.why-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--cts-blue);
  text-transform: uppercase;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.why-h2 {
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin-bottom: 24px;
}
.why-highlight { color: var(--cts-blue); font-style: italic; font-weight: 500; }
.why-lede { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,0.65); max-width: 420px; }
.why-points { display: flex; flex-direction: column; gap: 4px; }
.why-point {
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  align-items: baseline;
}
.why-num { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--cts-blue); }
.why-point-title { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 10px; }
.why-point-desc  { font-size: 16px; line-height: 1.55; color: rgba(255,255,255,0.6); }

/* ======================================================
   PROCESS
   ====================================================== */
#processo {
  padding: 120px 0;
  background: var(--bg-soft);
}
.process-head { margin-bottom: 64px; }
.process-h2-highlight { color: var(--cts-blue); font-style: italic; font-weight: 500; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process-line {
  position: absolute;
  top: 30px; left: 6%; right: 6%;
  height: 1px;
  background: repeating-linear-gradient(to right, var(--line) 0 6px, transparent 6px 12px);
  z-index: 0;
}
.process-step { position: relative; z-index: 1; }
.process-circle {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: white;
  border: 1.5px solid var(--cts-blue);
  color: var(--cts-blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 28px;
  box-shadow: 0 0 0 8px var(--bg-soft);
}
.process-title { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 10px; }
.process-desc  { font-size: 15px; line-height: 1.55; color: var(--muted); }

/* ======================================================
   CLIENTS
   ====================================================== */
#clientes {
  padding: 120px 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.clients-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  gap: 40px;
  flex-wrap: wrap;
}
.clients-h2-highlight { color: var(--cts-blue); }
.marquee-wrap {
  overflow: hidden;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 80px;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 64px;
  animation: marquee 40s linear infinite;
  width: max-content;
}
.marquee-item {
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: -0.01em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 12px;
}
.marquee-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cts-blue);
  flex-shrink: 0;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: center;
}
.testimonial-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}
.testimonial-list { display: flex; flex-direction: column; gap: 4px; }
.testimonial-btn {
  text-align: left;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 32px 1fr 16px;
  gap: 14px;
  align-items: center;
  color: var(--muted);
  transition: color .2s;
  width: 100%;
  background: none;
  border-left: none;
  border-right: none;
  border-bottom: none;
}
.testimonial-btn:last-child { border-bottom: 1px solid var(--line); }
.testimonial-btn.active { color: var(--ink); }
.t-idx { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--muted); }
.testimonial-btn.active .t-idx { color: var(--cts-blue); }
.t-name { font-weight: 600; font-size: 15px; color: var(--ink); }
.t-role { font-size: 13px; color: var(--muted); }
.t-arrow { opacity: 0.3; transition: opacity .2s; }
.testimonial-btn.active .t-arrow { opacity: 1; }

.testimonial-card {
  padding: 48px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.testimonial-quote-icon { color: var(--cts-blue); margin-bottom: 24px; }
.testimonial-quote {
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 32px;
  animation: fadeUp .5s ease;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--cts-blue);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 15px;
  flex-shrink: 0;
}
.testimonial-author-name { font-weight: 600; font-size: 15px; }
.testimonial-author-role { font-size: 13px; color: var(--muted); }

/* ======================================================
   CONTACT / CTA
   ====================================================== */
#contato {
  padding: 120px 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.cta-sticky { position: sticky; top: 120px; }
.cta-h2 {
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin-bottom: 24px;
}
.cta-h2-highlight { color: var(--cts-blue); font-style: italic; font-weight: 500; }
.cta-lede { font-size: 17px; line-height: 1.55; color: var(--muted); max-width: 440px; margin-bottom: 40px; }
.contact-items { display: flex; flex-direction: column; gap: 18px; }
.contact-item { display: flex; gap: 14px; align-items: center; }
.contact-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--cts-blue-wash);
  color: var(--cts-blue);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-label { font-size: 12px; color: var(--muted); }
.contact-value { font-size: 15px; font-weight: 500; }

.form-box {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.form-grid { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field-label-row { display: flex; justify-content: space-between; margin-bottom: 8px; }
.field-label { font-size: 13px; font-weight: 500; color: var(--ink); display: block; }
.field-error { font-size: 12px; color: #dc2626; }
.cts-input {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: white;
  transition: border-color .15s, box-shadow .15s;
  outline: none;
  display: block;
}
.cts-input::placeholder { color: #a3a7ae; }
.cts-input:focus {
  border-color: var(--cts-blue);
  box-shadow: 0 0 0 4px rgba(0,91,223,0.12);
}
textarea.cts-input { resize: vertical; }
.service-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.service-btn {
  padding: 9px 14px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  transition: all .15s;
  cursor: pointer;
}
.service-btn.active {
  border-color: var(--cts-blue);
  background: var(--cts-blue);
  color: white;
}
.cts-submit {
  padding: 16px 24px;
  background: var(--cts-blue);
  color: white;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all .2s;
  box-shadow: 0 10px 30px -10px rgba(0,91,223,0.5);
  margin-top: 8px;
  width: 100%;
  cursor: pointer;
}
.cts-submit:hover {
  transform: translateY(-2px);
  background: var(--cts-blue-ink);
  box-shadow: 0 14px 40px -10px rgba(0,91,223,0.6);
}
.cts-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.form-success {
  text-align: center;
  padding: 40px 0;
  animation: fadeUp .5s ease;
  display: none;
}
.form-success.show { display: block; }
.form-success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--cts-blue-wash);
  color: var(--cts-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.form-success h3 { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 10px; }
.form-success p  { font-size: 16px; color: var(--muted); line-height: 1.55; max-width: 340px; margin: 0 auto; }

/* ======================================================
   FOOTER
   ====================================================== */
footer {
  background: var(--black);
  color: white;
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.footer-logo-wrap {
  width: 40px; height: 40px;
  background: white;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.footer-logo-wrap img { height: 28px; }
.footer-brand-name { font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.footer-brand-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-about {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
  max-width: 360px;
  margin-bottom: 24px;
}
.footer-socials { display: flex; gap: 10px; }
.social-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
  color: white;
  flex-shrink: 0;
}
.social-btn:hover { background: var(--cts-blue); border-color: var(--cts-blue); }
.footer-col-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: rgba(255,255,255,0.8); font-size: 14.5px; transition: color .15s; }
.footer-links a:hover { color: var(--cts-blue); }
.footer-links li { color: rgba(255,255,255,0.8); font-size: 14.5px; }
.foot-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 16px;
}
.foot-bottom-links { display: flex; gap: 24px; }
.foot-bottom-links a { color: rgba(255,255,255,0.4); transition: color .15s; }
.foot-bottom-links a:hover { color: var(--cts-blue); }
.foot-version {
  font-family: 'JetBrains Mono', monospace;
  color: rgba(255,255,255,0.3);
}

/* ======================================================
   RESPONSIVE
   ====================================================== */
@media (max-width: 960px) {
  .container { padding: 0 24px; }
  .hero-layout { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 380px; }
  .services-head { grid-template-columns: 1fr; gap: 24px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-sticky { position: static; }
  .cta-grid { grid-template-columns: 1fr; gap: 40px; }
  .cta-sticky { position: static; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process-line { display: none; }
  .testimonial-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
}
@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .process-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}
