:root {
  --bg: #070b14;
  --bg-elevated: #0c1220;
  --ink: #e8eef9;
  --muted: #94a3b8;
  --blue: #3b82f6;
  --blue-bright: #60a5fa;
  --blue-deep: #1d4ed8;
  --line: rgba(148, 163, 184, 0.18);
  --danger: #f87171;
  --ok: #4ade80;
  --radius: 4px;
  --font-display: "Bricolage Grotesque", Georgia, serif;
  --font-body: "Sora", system-ui, sans-serif;
  --max: 1120px;
  --header-h: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  background: var(--bg);
  overflow-x: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.ambient__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: drift 18s ease-in-out infinite alternate;
}

.ambient__glow--a {
  width: min(70vw, 640px);
  height: min(70vw, 640px);
  top: -12%;
  right: -8%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.55), transparent 68%);
}

.ambient__glow--b {
  width: min(60vw, 520px);
  height: min(60vw, 520px);
  bottom: 8%;
  left: -12%;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.4), transparent 70%);
  animation-delay: -6s;
}

.ambient__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, black, transparent);
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-3%, 4%, 0) scale(1.08);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: var(--header-h);
  padding: 0.75rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(7, 11, 20, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(7, 11, 20, 0.9);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  flex-shrink: 1;
}

.brand__logo {
  width: 2.35rem;
  height: 2.35rem;
  flex-shrink: 0;
  border-radius: 6px;
  object-fit: cover;
  background: #000;
}

.brand__logo--footer {
  width: 2.75rem;
  height: 2.75rem;
}

.brand__name,
.site-footer__brand span:last-child {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav {
  display: none;
  gap: 1.5rem;
  flex-shrink: 0;
}

.nav a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--ink);
}

.header-cta {
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease,
    color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.btn--sm {
  padding: 0.55rem 0.85rem;
  font-size: 0.8rem;
}

.btn--primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.28);
}

.btn--primary:hover:not(:disabled) {
  box-shadow: 0 14px 36px rgba(37, 99, 235, 0.4);
}

.btn--ghost {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(12, 18, 32, 0.5);
}

.btn--ghost:hover {
  border-color: rgba(96, 165, 250, 0.45);
  color: var(--blue-bright);
}

.hero {
  display: grid;
  gap: 2rem;
  align-items: center;
  min-height: min(100svh - var(--header-h), 920px);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(1.75rem, 5vh, 3.5rem) clamp(1rem, 4vw, 2.5rem)
    clamp(2.5rem, 7vh, 4.5rem);
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 7vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #f4f8ff;
  text-shadow: 0 0 40px rgba(59, 130, 246, 0.35);
  margin-bottom: 0.85rem;
}

.hero__title {
  font-size: clamp(1.35rem, 3.8vw, 2.2rem);
  font-weight: 600;
  max-width: 20ch;
  color: var(--ink);
}

.hero__lead {
  margin-top: 1.1rem;
  max-width: 40ch;
  color: var(--muted);
  font-size: clamp(0.95rem, 2.4vw, 1.02rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero__visual {
  display: grid;
  place-items: center;
  min-height: 220px;
}

.hero-stage {
  position: relative;
  width: min(100%, 380px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.hero-stage__ring {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px solid rgba(96, 165, 250, 0.28);
  background:
    radial-gradient(circle at 35% 30%, rgba(96, 165, 250, 0.18), transparent 45%),
    radial-gradient(circle at 70% 70%, rgba(29, 78, 216, 0.25), transparent 50%);
  animation: pulse-ring 5.5s ease-in-out infinite;
}

.hero-stage__core {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.75rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3.2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero-stage__core span {
  padding: 0.3rem 0;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.12), transparent);
}

.hero-stage__beam {
  position: absolute;
  width: 42%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-bright), transparent);
  top: 22%;
  right: 6%;
  transform: rotate(-28deg);
  animation: beam 3.8s ease-in-out infinite;
}

@keyframes rise-soft {
  from {
    opacity: 0.35;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes pulse-ring {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.03);
    opacity: 0.85;
  }
}

@keyframes beam {
  0%,
  100% {
    opacity: 0.35;
    transform: rotate(-28deg) translateX(0);
  }
  50% {
    opacity: 1;
    transform: rotate(-28deg) translateX(8px);
  }
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 8vh, 5.5rem) clamp(1rem, 4vw, 2.5rem);
}

.section__intro {
  max-width: 42rem;
  margin-bottom: clamp(1.75rem, 4vh, 2.75rem);
}

.section__intro h2 {
  font-size: clamp(1.45rem, 3.2vw, 2.1rem);
  margin-bottom: 0.85rem;
}

.section__intro p {
  color: var(--muted);
  font-size: 1.02rem;
}

.solutions {
  padding-top: clamp(3.5rem, 9vh, 6rem);
  padding-bottom: clamp(4rem, 10vh, 6.5rem);
}

.solutions__list {
  display: grid;
  gap: 1.75rem;
  margin-top: 0.25rem;
}

.solution {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  padding: 1.5rem 0.15rem 1.75rem;
  border-top: 1px solid var(--line);
}

.solution:last-child {
  border-bottom: 1px solid var(--line);
  padding-bottom: 2rem;
}

.solution__index {
  color: var(--blue-bright);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.solution h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.4rem);
}

.solution > p {
  color: var(--muted);
  font-size: 0.98rem;
}

.solution__points {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.35rem;
}

.solution__points li {
  position: relative;
  padding-left: 1rem;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.45;
}

.solution__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--blue);
}

.steps {
  display: grid;
  gap: 0;
  counter-reset: step;
}

.steps li {
  display: grid;
  gap: 0.35rem;
  padding: 1.25rem 0 1.25rem 3.25rem;
  position: relative;
  border-bottom: 1px solid var(--line);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1.2rem;
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(96, 165, 250, 0.4);
  border-radius: 50%;
  color: var(--blue-bright);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
}

.steps strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.steps span {
  color: var(--muted);
}

.contact__panel {
  display: grid;
  gap: 2rem;
  padding: clamp(1.35rem, 4vw, 2.5rem);
  background:
    linear-gradient(160deg, rgba(59, 130, 246, 0.12), transparent 42%),
    var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact__copy h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  max-width: 18ch;
  margin-bottom: 0.85rem;
}

.contact__copy > p {
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 1.5rem;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
}

.contact-form__row {
  display: grid;
  gap: 0.9rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
}

.contact-form label span {
  font-size: 0.82rem;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 11, 20, 0.65);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(96, 165, 250, 0.55);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.contact-form textarea {
  resize: vertical;
  min-height: 7rem;
}

.contact-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.contact-form__status {
  min-height: 1.35rem;
  font-size: 0.9rem;
}

.contact-form__status.is-error {
  color: var(--danger);
}

.contact-form__status.is-ok {
  color: var(--ok);
}

.contact__hint {
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact__hint a {
  color: var(--blue-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact__social-label {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

.social-links {
  display: grid;
  gap: 0.75rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.social-link:hover {
  border-color: rgba(96, 165, 250, 0.5);
  background: rgba(59, 130, 246, 0.08);
}

.social-link__icon {
  width: 2.4rem;
  height: 2.4rem;
  color: var(--blue-bright);
  flex-shrink: 0;
}

.social-link__icon svg {
  width: 100%;
  height: 100%;
}

.social-link strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.social-link em {
  display: block;
  font-style: normal;
  color: var(--muted);
  font-size: 0.86rem;
  margin-top: 0.15rem;
}

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.25rem, 5vh, 3.25rem) clamp(1.25rem, 5vw, 3rem)
    clamp(1.75rem, 4vh, 2.5rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.site-footer__copy {
  margin-top: 1.5rem;
  font-size: 0.82rem;
}

.whatsapp-float {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 30;
  width: 3.25rem;
  height: 3.25rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.45);
}

.whatsapp-float svg {
  width: 1.65rem;
  height: 1.65rem;
}

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

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .reveal.is-pending:not(.is-visible) {
    opacity: 0;
    transform: translateY(18px);
  }

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

@media (min-width: 640px) {
  .contact-form__row {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 1.75rem;
  }
}

@media (min-width: 860px) {
  .nav {
    display: flex;
  }

  .solutions__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--line);
    align-items: stretch;
    margin-inline: 0.25rem;
  }

  .solution {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2rem 1.75rem;
    border-top: none;
    border-right: 1px solid var(--line);
  }

  .solution:last-child {
    border-right: none;
    border-bottom: none;
    padding-right: 0.5rem;
    padding-bottom: 2rem;
  }

  .solution:first-child {
    padding-left: 0.5rem;
  }
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
  }

  .contact__panel {
    grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.85fr);
    align-items: start;
  }
}

@media (max-width: 380px) {
  .header-cta {
    padding-inline: 0.65rem;
  }

  .brand__name {
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
