:root {
  --bg: #070b14;
  --bg-soft: #0d1424;
  --text: #eef4ff;
  --muted: #95a4c4;
  --line: rgba(158, 184, 255, 0.12);
  --blue: #3a7bff;
  --cyan: #59f0ff;
  --violet: #9d4dff;
  --glow: 0 0 30px rgba(89, 240, 255, 0.18);
  --shadow: 0 20px 60px rgba(3, 8, 18, 0.55);
  --radius: 24px;
  --container: 1180px;
  --header-height: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(58, 123, 255, 0.16), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(157, 77, 255, 0.14), transparent 24%),
    linear-gradient(180deg, #05070d 0%, #070b14 38%, #05070d 100%);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

canvas,
.noise-layer,
.orb {
  pointer-events: none;
}

.page-shell {
  position: relative;
  isolation: isolate;
}

.noise-layer {
  position: fixed;
  inset: 0;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 160px 160px;
  mask-image: radial-gradient(circle at center, black 55%, transparent 100%);
  z-index: -3;
}

.orb {
  position: fixed;
  width: 36rem;
  height: 36rem;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  z-index: -2;
}

.orb-left {
  top: -10rem;
  left: -14rem;
  background: linear-gradient(135deg, var(--blue), transparent 70%);
}

.orb-right {
  top: 6rem;
  right: -12rem;
  background: linear-gradient(135deg, var(--violet), transparent 70%);
}

#particle-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.72;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 6rem 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 3rem;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cyan);
}

h1,
h2,
h3,
.brand-text {
  font-family: "Syne", sans-serif;
  letter-spacing: -0.03em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1.4rem;
  font-size: clamp(1.9rem, 4.1vw, 3.4rem);
  line-height: 1.08;
}

#hero-title {
  width: min(100%, 720px);
  min-height: 4.2em;
  display: grid;
  grid-template-rows: auto 1.15em auto;
  align-content: start;
}

.hero-line {
  display: block;
}

.hero-line-dynamic {
  display: flex;
  align-items: center;
  height: 1.15em;
  overflow: hidden;
}

.hero-line-sub {
  width: 100%;
}

.typed-word-wrap {
  display: inline-flex;
  align-items: baseline;
  width: 12.5ch;
  min-width: 12.5ch;
  color: var(--cyan);
  text-shadow: 0 0 18px rgba(89, 240, 255, 0.2);
  white-space: nowrap;
  overflow: hidden;
}

.typed-word {
  display: inline-block;
  width: 100%;
}

.typed-cursor {
  width: 0.08em;
  height: 0.9em;
  margin-left: 0.08em;
  align-self: center;
  background: currentColor;
  box-shadow: 0 0 14px rgba(89, 240, 255, 0.45);
  animation: blinkCursor 0.9s steps(1) infinite;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
}

h3 {
  margin-bottom: 0.8rem;
  font-size: 1.25rem;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(22px);
  background: rgba(4, 9, 19, 0.45);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.site-header.scrolled {
  background: rgba(4, 9, 19, 0.82);
  border-color: var(--line);
}

.navbar {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
}

.brand-logo {
  width: auto;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(58, 123, 255, 0.18));
}

.footer-logo {
  height: 66px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-menu a {
  color: #d6e3ff;
  font-size: 0.95rem;
  transition: color 0.25s ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--cyan);
}

.nav-cta {
  padding: 0.8rem 1.15rem;
  border: 1px solid rgba(89, 240, 255, 0.3);
  border-radius: 999px;
  background: rgba(9, 17, 33, 0.7);
}

.nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(8, 14, 27, 0.9);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 6px auto;
  background: var(--text);
}

.hero {
  min-height: calc(100vh - 1rem);
  display: flex;
  align-items: center;
  padding-top: 7rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 3rem;
  align-items: center;
}

.hero-text {
  max-width: 700px;
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 2.4rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #06111d;
  background: linear-gradient(135deg, var(--cyan), #9fd5ff 42%, #8a88ff 75%, var(--violet));
  box-shadow: 0 18px 50px rgba(58, 123, 255, 0.28);
}

.button-secondary {
  border-color: rgba(158, 184, 255, 0.25);
  background: rgba(10, 17, 31, 0.66);
  color: var(--text);
}

.hero-metrics,
.manifesto-grid,
.service-grid,
.differentials-grid,
.portfolio-grid {
  display: grid;
  gap: 1.4rem;
}

.hero-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 680px;
}

.metric-card,
.glass-card,
.service-card,
.differential-card,
.project-card,
.process-step,
.final-cta-box {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(11, 18, 34, 0.84), rgba(7, 12, 24, 0.78));
  box-shadow: var(--shadow);
}

.metric-card::before,
.glass-card::before,
.service-card::before,
.differential-card::before,
.project-card::before,
.process-step::before,
.final-cta-box::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(89, 240, 255, 0.16), transparent 30%, transparent 70%, rgba(157, 77, 255, 0.16));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.metric-card:hover::before,
.glass-card:hover::before,
.service-card:hover::before,
.differential-card:hover::before,
.project-card:hover::before,
.process-step:hover::before,
.final-cta-box:hover::before {
  opacity: 1;
}

.metric-card {
  padding: 1.4rem;
  border-radius: 20px;
  backdrop-filter: blur(20px);
}

.metric-card strong,
.panel-primary strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text);
  font-size: 1.05rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.visual-core {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1 / 1.08;
  border-radius: 32px;
  background:
    radial-gradient(circle at center, rgba(89, 240, 255, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(10, 17, 30, 0.78), rgba(7, 12, 24, 0.45));
  border: 1px solid rgba(158, 184, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02), var(--shadow);
  overflow: hidden;
}

.visual-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(89, 240, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(89, 240, 255, 0.08) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at center, black 42%, transparent 92%);
}

.visual-ring {
  position: absolute;
  inset: 16%;
  border-radius: 50%;
  border: 1px solid rgba(89, 240, 255, 0.22);
  animation: spin 16s linear infinite;
}

.ring-two {
  inset: 24%;
  border-color: rgba(157, 77, 255, 0.18);
  animation-direction: reverse;
  animation-duration: 22s;
}

.visual-panel {
  position: absolute;
  padding: 1.2rem;
  border-radius: 22px;
  border: 1px solid rgba(158, 184, 255, 0.16);
  background: rgba(7, 14, 28, 0.7);
  backdrop-filter: blur(18px);
}

.panel-primary {
  top: 11%;
  left: 9%;
  width: 68%;
}

.panel-secondary {
  right: 9%;
  bottom: 12%;
  width: 48%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.panel-label,
.project-tag {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--cyan);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pulse-dot {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(89, 240, 255, 0.5);
  animation: pulse 2.4s infinite;
}

.manifesto-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.glass-card {
  padding: 2rem;
  border-radius: 28px;
  backdrop-filter: blur(20px);
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  padding: 1.6rem;
  border-radius: 26px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(89, 240, 255, 0.18);
  border-radius: 999px;
  background: rgba(8, 14, 27, 0.88);
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 0 18px rgba(89, 240, 255, 0.08);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(89, 240, 255, 0.28);
  box-shadow: 0 24px 60px rgba(2, 8, 20, 0.68), 0 0 28px rgba(58, 123, 255, 0.12);
}

.icon-box {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.3rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(58, 123, 255, 0.16), rgba(89, 240, 255, 0.08));
  border: 1px solid rgba(89, 240, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02), var(--glow);
}

.icon-box svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.differentials-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.differential-card {
  padding: 1.7rem;
  border-radius: 24px;
}

.portfolio-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faq-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.faq-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(11, 18, 34, 0.84), rgba(7, 12, 24, 0.78));
  box-shadow: var(--shadow);
}

.faq-item::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(89, 240, 255, 0.16), transparent 30%, transparent 70%, rgba(157, 77, 255, 0.16));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.faq-item:hover::before,
.faq-item.is-open::before {
  opacity: 1;
}

.faq-question {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.45rem 1.6rem;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.faq-question span:first-child {
  font-family: "Syne", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
}

.faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1px solid rgba(89, 240, 255, 0.18);
  background: rgba(8, 14, 27, 0.86);
  color: var(--cyan);
  font-size: 1.5rem;
  line-height: 1;
}

.faq-answer {
  position: relative;
  z-index: 1;
  padding: 0 1.6rem 1.5rem;
}

.faq-answer p {
  margin-bottom: 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.pricing-card,
.pricing-extra-block {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(11, 18, 34, 0.84), rgba(7, 12, 24, 0.78));
  box-shadow: var(--shadow);
}

.pricing-card::before,
.pricing-extra-block::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(89, 240, 255, 0.16), transparent 30%, transparent 70%, rgba(157, 77, 255, 0.16));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.pricing-card:hover::before,
.pricing-extra-block:hover::before,
.pricing-card-featured::before {
  opacity: 1;
}

.pricing-card {
  padding: 1.8rem;
  border-radius: 28px;
}

.pricing-card-featured {
  border-color: rgba(89, 240, 255, 0.26);
  transform: translateY(-6px);
}

.pricing-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.3rem 0.75rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: rgba(89, 240, 255, 0.08);
  border: 1px solid rgba(89, 240, 255, 0.16);
  color: var(--cyan);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pricing-text,
.pricing-note {
  max-width: 34ch;
}

.pricing-value {
  margin: 1.4rem 0 0.45rem;
  font-family: "Syne", sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1;
  color: var(--text);
}

.pricing-note {
  margin-bottom: 1.25rem;
  color: var(--cyan);
}

.pricing-list,
.pricing-extra-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-list li,
.pricing-extra-list li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--muted);
  line-height: 1.65;
}

.pricing-list li + li,
.pricing-extra-list li + li {
  margin-top: 0.65rem;
}

.pricing-list li::before,
.pricing-extra-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  box-shadow: 0 0 12px rgba(89, 240, 255, 0.34);
}

.pricing-extras {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 1.6rem;
}

.pricing-extra-block {
  padding: 1.5rem;
  border-radius: 24px;
}

.pricing-extra-title {
  margin-bottom: 1rem;
  color: var(--text);
  font-family: "Syne", sans-serif;
  font-size: 1.05rem;
}

.project-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.8rem;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(8, 14, 25, 0.2), rgba(8, 14, 25, 0.96)),
    radial-gradient(circle at top right, rgba(58, 123, 255, 0.3), transparent 34%),
    radial-gradient(circle at left bottom, rgba(157, 77, 255, 0.26), transparent 42%);
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(89, 240, 255, 0.28);
}

.project-card a {
  margin-top: 1rem;
  color: var(--cyan);
  font-weight: 700;
}

.process-carousel {
  position: relative;
}

.process-carousel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.process-carousel-head p {
  margin-bottom: 0;
}

.process-controls {
  display: flex;
  gap: 0.8rem;
  flex: 0 0 auto;
}

.process-arrow {
  width: 54px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(8, 14, 27, 0.88);
  color: var(--text);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.process-arrow:hover,
.process-arrow:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(89, 240, 255, 0.28);
  color: var(--cyan);
}

.process-arrow:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.process-viewport {
  overflow: hidden;
}

.process-line {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2rem) / 3);
  gap: 1rem;
  transition: transform 0.45s ease;
  will-change: transform;
}

.process-step {
  min-height: 100%;
  padding: 1.7rem;
  border-radius: 24px;
}

.process-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: rgba(58, 123, 255, 0.18);
  color: var(--cyan);
  font-weight: 700;
}

.process-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.process-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(158, 184, 255, 0.26);
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.process-dot.is-active {
  background: var(--cyan);
  transform: scale(1.18);
  box-shadow: 0 0 16px rgba(89, 240, 255, 0.4);
}

.final-cta-box {
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 32px;
  text-align: center;
  background:
    radial-gradient(circle at top, rgba(89, 240, 255, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(10, 18, 34, 0.94), rgba(6, 10, 20, 0.96));
}

.final-cta-box p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
  background: rgba(5, 9, 18, 0.9);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer-brand {
  margin-bottom: 1rem;
}

.site-footer h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 0.75rem;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--cyan);
}

.wa-widget {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 60;
}

.wa-widget-toggle {
  position: relative;
  width: 68px;
  height: 68px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(180deg, #34e06f 0%, #25d366 100%);
  box-shadow: 0 18px 40px rgba(3, 8, 18, 0.42), 0 0 34px rgba(37, 211, 102, 0.34);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: whatsappFloat 2.8s ease-in-out infinite, whatsappPulse 2.8s ease-in-out infinite;
}

.wa-widget-toggle:hover,
.wa-widget-toggle:focus-visible {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 22px 44px rgba(3, 8, 18, 0.46), 0 0 42px rgba(37, 211, 102, 0.5);
}

.wa-widget-toggle svg {
  width: 36px;
  height: 36px;
}

.wa-widget-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: #ff4d67;
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(255, 77, 103, 0.35);
}

.wa-chat-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 1rem);
  width: min(360px, calc(100vw - 2rem));
  border: 1px solid rgba(89, 240, 255, 0.16);
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(10, 18, 34, 0.98), rgba(6, 10, 20, 0.98));
  box-shadow: 0 26px 70px rgba(2, 8, 18, 0.62);
  transform-origin: bottom right;
  animation: waPanelIn 0.35s ease;
}

.wa-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0.9rem 0.85rem;
  background: linear-gradient(135deg, rgba(19, 34, 60, 0.98), rgba(10, 18, 34, 0.98));
  border-bottom: 1px solid rgba(89, 240, 255, 0.1);
}

.wa-chat-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.wa-chat-brand img {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 0 22px rgba(58, 123, 255, 0.24);
}

.wa-chat-brand strong {
  display: block;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.15;
}

.wa-chat-brand span {
  color: var(--cyan);
  font-size: 0.74rem;
}

.wa-chat-close {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid rgba(158, 184, 255, 0.16);
  border-radius: 12px;
  background: rgba(8, 14, 27, 0.74);
  color: var(--text);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.wa-chat-body {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  background:
    radial-gradient(circle at top right, rgba(58, 123, 255, 0.18), transparent 34%),
    radial-gradient(circle at left bottom, rgba(157, 77, 255, 0.14), transparent 40%),
    linear-gradient(180deg, rgba(7, 12, 24, 0.96), rgba(9, 16, 29, 0.98));
}

.wa-bubble {
  max-width: 88%;
  padding: 0.8rem 0.9rem;
  border-radius: 18px 18px 18px 6px;
  color: #e9f4ff;
  font-size: 0.92rem;
  line-height: 1.45;
  box-shadow: 0 10px 24px rgba(2, 8, 18, 0.28);
}

.wa-bubble-received {
  background: linear-gradient(180deg, rgba(18, 28, 48, 0.96), rgba(12, 20, 36, 0.96));
  border: 1px solid rgba(89, 240, 255, 0.1);
  animation: waBubbleIn 0.45s ease both;
}

.wa-bubble-received:nth-child(2) {
  animation-delay: 0.08s;
}

.wa-bubble-received:nth-child(3) {
  animation-delay: 0.16s;
}

.wa-bubble-received:nth-child(4) {
  animation-delay: 0.24s;
}

.wa-chat-footer {
  padding: 1rem;
  border-top: 1px solid rgba(89, 240, 255, 0.1);
  background: rgba(6, 10, 20, 0.98);
}

.wa-chat-cta {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: linear-gradient(180deg, #34e06f 0%, #25d366 100%);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 16px 30px rgba(37, 211, 102, 0.2);
}

.wa-chat-note {
  margin: 0.7rem 0 0;
  font-size: 0.72rem;
  line-height: 1.45;
  color: #8ea5cf;
}

@keyframes whatsappFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes whatsappPulse {
  0%,
  100% {
    box-shadow: 0 18px 40px rgba(3, 8, 18, 0.42), 0 0 34px rgba(37, 211, 102, 0.3);
  }
  50% {
    box-shadow: 0 22px 46px rgba(3, 8, 18, 0.46), 0 0 42px rgba(37, 211, 102, 0.48);
  }
}

@keyframes waPanelIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes waBubbleIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-bottom {
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(89, 240, 255, 0.5);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(89, 240, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(89, 240, 255, 0);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes blinkCursor {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

@media (max-width: 1120px) {
  .hero-grid,
  .manifesto-grid,
  .service-grid,
  .differentials-grid,
  .pricing-grid,
  .pricing-extras,
  .portfolio-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-line {
    grid-auto-columns: calc((100% - 1rem) / 2);
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 76px;
  }

  .section {
    padding: 4.8rem 0;
  }

  .hero {
    min-height: auto;
    padding-top: 6rem;
  }

  h1 {
    font-size: clamp(1.7rem, 4.8vw, 2.5rem);
    line-height: 1.1;
  }

  #hero-title {
    width: min(100%, 620px);
    min-height: 4.3em;
    grid-template-rows: auto 1.15em auto;
  }

  .hero-grid,
  .manifesto-grid,
  .service-grid,
  .differentials-grid,
  .pricing-grid,
  .pricing-extras,
  .portfolio-grid,
  .footer-grid,
  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .process-carousel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .process-line {
    grid-auto-columns: 100%;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 1rem;
    left: 1rem;
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(6, 11, 21, 0.95);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }

  .nav-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .panel-primary {
    width: 78%;
  }

  .panel-secondary {
    width: 60%;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 1.2rem), var(--container));
  }

  h1 {
    font-size: clamp(1.35rem, 6.4vw, 1.8rem);
    line-height: 1.12;
  }

  #hero-title {
    width: 100%;
    min-height: 4.6em;
    grid-template-rows: auto 1.15em auto;
  }

  h2 {
    font-size: clamp(1.8rem, 10vw, 2.8rem);
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .metric-card,
  .glass-card,
  .service-card,
  .differential-card,
  .faq-item,
  .pricing-card,
  .pricing-extra-block,
  .project-card,
  .process-step,
  .final-cta-box {
    border-radius: 22px;
  }

  .visual-core {
    min-height: 420px;
  }

  .brand-logo,
  .footer-logo {
    height: 40px;
  }

  .process-arrow {
    width: 50px;
    height: 50px;
  }

  .wa-widget {
    right: 1rem;
    bottom: 1rem;
  }

  .wa-chat-panel {
    width: min(340px, calc(100vw - 1rem));
    right: 0;
  }

  .wa-widget-toggle {
    width: 60px;
    height: 60px;
  }

  .wa-widget-toggle svg {
    width: 30px;
    height: 30px;
  }

  .wa-chat-brand img {
    width: 40px;
    height: 40px;
  }

  .wa-bubble {
    max-width: 92%;
  }

  .panel-primary,
  .panel-secondary {
    width: auto;
    left: 1rem;
    right: 1rem;
  }

  .panel-secondary {
    bottom: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .wa-widget-toggle {
    animation: none;
  }
}
