:root {
  --bg: #020617;
  --bg-soft: #0f172a;
  --bg-elevated: #111c31;
  --panel: rgba(15, 23, 42, 0.72);
  --panel-strong: rgba(15, 23, 42, 0.92);
  --text: #f8fafc;
  --muted: #94a3b8;
  --muted-strong: #cbd5e1;
  --border: rgba(255, 255, 255, 0.08);
  --accent: #dc2626;
  --accent-soft: rgba(220, 38, 38, 0.18);
  --accent-glow: rgba(239, 68, 68, 0.28);
  --white-soft: rgba(255, 255, 255, 0.85);
  --shadow: 0 30px 60px rgba(2, 6, 23, 0.45);
  --shadow-soft: 0 18px 44px rgba(2, 6, 23, 0.28);
  --radius: 24px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top, rgba(220, 38, 38, 0.18), transparent 24%),
    radial-gradient(circle at 85% 12%, rgba(59, 130, 246, 0.08), transparent 22%),
    linear-gradient(180deg, #020617 0%, #020617 38%, #06111f 100%);
  color: var(--text);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: -2;
}

body::before {
  top: -12rem;
  left: -10rem;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.16), transparent 72%);
  filter: blur(12px);
}

body::after {
  right: -12rem;
  bottom: 5%;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(148, 163, 184, 0.09), transparent 68%);
  filter: blur(18px);
}

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

button,
input,
textarea {
  font: inherit;
}

#particle-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  opacity: 0.45;
  pointer-events: none;
}

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

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

.section-dark {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.72));
}

.glass-card {
  background: var(--panel);
  border: 1px solid var(--border);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    background-color 0.28s ease,
    box-shadow 0.28s ease;
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.glass-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(240px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(239, 68, 68, 0.24), transparent 38%),
    radial-gradient(520px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.08), transparent 48%);
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}

.glass-card:hover::after,
.glass-card:focus-within::after {
  opacity: 1;
}

.glass-card:hover,
.glass-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(239, 68, 68, 0.22);
  background: rgba(17, 28, 49, 0.86);
  box-shadow:
    0 28px 60px rgba(2, 6, 23, 0.52),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(2, 6, 23, 0.62);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 30px rgba(2, 6, 23, 0.18);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  width: auto;
  height: 2.3rem;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(220, 38, 38, 0.2));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links a {
  padding: 0.8rem 1rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.nav-cta {
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  background: var(--panel);
  color: var(--text);
  padding: 0.7rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.3rem;
  padding: 0 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

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

.button-primary {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: #fff;
  box-shadow: 0 18px 40px rgba(220, 38, 38, 0.28);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 20px 45px rgba(220, 38, 38, 0.36);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--white-soft);
  background: rgba(255, 255, 255, 0.03);
}

.button-light {
  background: #fff;
  color: #020617;
  box-shadow: 0 20px 50px rgba(255, 255, 255, 0.08);
}

.hero {
  min-height: calc(100vh - 84px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 2rem;
  align-items: center;
}

.hero-copy,
.hero-panel {
  position: relative;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(18px);
  pointer-events: none;
}

.hero-glow-large {
  inset: auto auto 15% 5%;
  width: 36rem;
  height: 36rem;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.22), transparent 70%);
  animation: pulse 10s infinite ease-in-out;
}

.hero-glow-small {
  inset: 6rem 10% auto auto;
  width: 18rem;
  height: 18rem;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 75%);
  animation: float 12s infinite ease-in-out;
}

.eyebrow,
.section-kicker,
.panel-label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(239, 68, 68, 0.22);
  background: rgba(239, 68, 68, 0.08);
  color: #fca5a5;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: #ef4444;
  box-shadow: 0 0 0 8px rgba(239, 68, 68, 0.15);
  animation: blink 2.4s infinite ease-out;
}

.hero h1,
.section-heading h2,
.hero-panel h2,
.split-panel h2 {
  margin: 0;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 14ch;
  font-size: clamp(2.25rem, 4.8vw, 4.4rem);
  text-wrap: balance;
}

.lead,
.section-heading p,
.panel-note,
.feature-card p,
.stat p,
.split-panel p,
.contact-copy p {
  color: var(--muted);
  line-height: 1.8;
}

.lead {
  max-width: 52rem;
  margin: 1.5rem 0 0;
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  color: var(--muted-strong);
}

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

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.hero-tags span {
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--white-soft);
  font-size: 0.86rem;
  font-weight: 600;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.metric,
.hero-panel,
.feature-card,
.stat,
.split-panel,
.contact-card {
  border-radius: var(--radius);
}

.metric {
  padding: 1.25rem;
}

.metric strong,
.stat strong {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 1rem;
}

.metric span {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.hero-panel {
  padding: 2rem;
  background:
    linear-gradient(180deg, rgba(17, 28, 49, 0.86), rgba(15, 23, 42, 0.82)),
    var(--panel);
}

.hero-panel h2 {
  margin-bottom: 1.15rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.panel-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.panel-stats div {
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.panel-stats strong,
.contact-method strong {
  display: block;
  margin-bottom: 0.3rem;
}

.panel-stats span {
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.9rem;
}

.panel-list {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.panel-list li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--white-soft);
  line-height: 1.7;
}

.panel-list li::before {
  content: "";
  position: absolute;
  top: 0.7rem;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #ef4444;
}

.panel-divider {
  height: 1px;
  margin: 1.5rem 0;
  background: rgba(255, 255, 255, 0.1);
}

.section-heading {
  max-width: 46rem;
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 1rem;
}

.section-heading.narrow {
  max-width: 40rem;
}

.cards-grid,
.stats-grid {
  display: grid;
  gap: 1.2rem;
}

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

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

.feature-card {
  position: relative;
  padding: 2rem;
}

.card-tag {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.16);
  color: #fca5a5;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.icon-box {
  display: inline-grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.18);
}

.icon-box svg {
  width: 2rem;
  height: 2rem;
}

.feature-card h3 {
  margin: 0 0 0.85rem;
  font-size: 1.4rem;
}

.explainer-panel {
  margin-bottom: 1.4rem;
}

.feature-card a {
  display: inline-flex;
  margin-top: 1rem;
  color: #fca5a5;
  font-weight: 700;
  align-items: center;
  gap: 0.45rem;
}

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

.stat {
  padding: 1.75rem;
}

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

.faq-item {
  padding: 1.75rem;
}

.faq-item h3 {
  margin: 0 0 0.85rem;
  font-size: 1.12rem;
  line-height: 1.4;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  padding: 2rem;
  background:
    linear-gradient(135deg, rgba(17, 28, 49, 0.85), rgba(15, 23, 42, 0.8)),
    var(--panel);
}

.bullet-points {
  display: grid;
  gap: 1rem;
}

.bullet-points p {
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.contact-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 2rem;
  align-items: start;
}

.contact-methods {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-method {
  display: grid;
  gap: 0.35rem;
  padding: 1.1rem 1.2rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.03);
}

.contact-method strong {
  color: var(--text);
}

.contact-method span {
  color: var(--muted);
  line-height: 1.6;
}

.contact-card {
  display: grid;
  gap: 1rem;
  padding: 2rem;
  background:
    linear-gradient(180deg, rgba(17, 28, 49, 0.88), rgba(15, 23, 42, 0.84)),
    var(--panel);
}

.form-intro {
  margin: 0 0 0.35rem;
  color: var(--muted-strong);
  line-height: 1.7;
}

.contact-card label {
  display: grid;
  gap: 0.55rem;
  color: var(--white-soft);
  font-weight: 600;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 0.95rem 1rem;
  color: var(--text);
  background: rgba(2, 6, 23, 0.7);
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.contact-card input:focus,
.contact-card textarea:focus {
  border-color: rgba(239, 68, 68, 0.38);
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.08);
}

.site-footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(circle at top, rgba(220, 38, 38, 0.08), transparent 32%),
    rgba(2, 6, 23, 0.98);
}

.footer-shell {
  padding: 2rem;
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(8, 14, 28, 0.96)),
    var(--panel);
}

.footer-brand-block {
  display: grid;
  gap: 1rem;
  max-width: 25rem;
}

.footer-brand-block p {
  margin: 0;
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
}

.footer-logo {
  width: auto;
  height: 1.95rem;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(220, 38, 38, 0.18));
}

.footer-description {
  margin: 0;
  line-height: 1.7;
  color: var(--muted);
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.footer-badges span {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--white-soft);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) repeat(3, minmax(180px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.footer-column {
  display: grid;
  gap: 0.75rem;
}

.footer-column h3 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

.footer-column a,
.footer-column p,
.footer-bottom p,
.footer-bottom a {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.footer-column a:hover,
.footer-column a:focus-visible,
.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.floating-whatsapp {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0 1.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 20px 40px rgba(21, 128, 61, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 24px 46px rgba(21, 128, 61, 0.38);
}

.back-to-top {
  position: fixed;
  right: 1.15rem;
  bottom: 5.55rem;
  z-index: 44;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 23, 42, 0.82);
  color: var(--text);
  box-shadow: 0 18px 36px rgba(2, 6, 23, 0.34);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.24s ease,
    transform 0.24s ease,
    border-color 0.24s ease,
    background-color 0.24s ease,
    box-shadow 0.24s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  border-color: rgba(239, 68, 68, 0.26);
  background: rgba(17, 28, 49, 0.92);
  box-shadow: 0 22px 42px rgba(2, 6, 23, 0.42);
}

.back-to-top span {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
}

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

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(16px);
  }
}

@keyframes blink {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.22);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .contact-wrap,
  .split-panel,
  .cards-grid,
  .stats-grid,
  .hero-metrics,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .panel-stats {
    grid-template-columns: 1fr 1fr;
  }

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

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

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-block;
  }

  .nav {
    flex-wrap: wrap;
    padding: 0.8rem 0;
  }

  .brand-logo {
    height: 1.95rem;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 0 0.8rem;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 0.65rem 0;
  }

  .nav-cta {
    display: none;
  }

  .hero-tags {
    gap: 0.6rem;
  }

  .hero-tags span {
    font-size: 0.8rem;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 5rem 0;
  }

  .container {
    width: min(calc(100% - 1.25rem), var(--container));
  }

  .hero-tags,
  .panel-stats {
    grid-template-columns: 1fr;
  }

  .brand-logo {
    height: 1.7rem;
  }

  .hero-actions .button,
  .contact-card .button,
  .contact-method {
    width: 100%;
  }

  .hero-tags {
    display: grid;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-logo {
    height: 1.6rem;
  }

  .footer-top,
  .footer-bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-shell {
    padding: 1.5rem;
  }

  .floating-whatsapp {
    right: 0.9rem;
    bottom: 0.9rem;
    min-height: 3.2rem;
    padding: 0 1rem;
    font-size: 0.92rem;
  }

  .back-to-top {
    right: 0.9rem;
    bottom: 5rem;
    width: 3rem;
    height: 3rem;
  }
}
