:root {
  --bg: #f2f6fb;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-border: rgba(11, 44, 89, 0.12);
  --text: #0d1c2e;
  --muted: #4b6078;
  --accent: #0e7bcf;
  --accent-strong: #0d4f8b;
  --soft: #dbecff;
  --shadow: 0 20px 45px rgba(13, 28, 46, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 14% 20%, #e4f2ff 0%, #f2f6fb 40%),
    linear-gradient(120deg, #f7fbff 0%, #eef4fb 100%);
  overflow-x: hidden;
}

h1,
h2,
h3,
.brand {
  font-family: "Space Grotesk", "Avenir Next", sans-serif;
  margin: 0;
}

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

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.bg-glow {
  position: fixed;
  width: 38vmax;
  height: 38vmax;
  border-radius: 999px;
  filter: blur(70px);
  z-index: -2;
  pointer-events: none;
  opacity: 0.55;
}

.bg-glow-a {
  top: -14vmax;
  right: -8vmax;
  background: #8cd3ff;
  animation: driftA 18s ease-in-out infinite alternate;
}

.bg-glow-b {
  bottom: -16vmax;
  left: -11vmax;
  background: #ffd3a0;
  animation: driftB 22s ease-in-out infinite alternate;
}

@keyframes driftA {
  from {
    transform: translateY(0) scale(1);
  }
  to {
    transform: translateY(24px) scale(1.07);
  }
}

@keyframes driftB {
  from {
    transform: translateY(0) scale(1);
  }
  to {
    transform: translateY(-28px) scale(0.94);
  }
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 16px 0;
  backdrop-filter: blur(9px);
  background: linear-gradient(
    to bottom,
    rgba(242, 246, 251, 0.92),
    rgba(242, 246, 251, 0.65)
  );
  border-bottom: 1px solid rgba(13, 28, 46, 0.08);
}

.nav-wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  letter-spacing: 0.02em;
  gap: 10px;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(14, 123, 207, 0.28);
}

.brand-text {
  display: inline-block;
  line-height: 1.06;
}

.main-nav {
  justify-self: end;
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--surface-border);
  background: rgba(255, 255, 255, 0.88);
  color: var(--accent-strong);
  border-radius: 999px;
  font-family: "Space Grotesk", "Avenir Next", sans-serif;
  font-weight: 700;
  padding: 10px 14px;
  cursor: pointer;
}

.nav-links {
  list-style: none;
  padding: 5px;
  margin: 0;
  display: inline-flex;
  gap: 6px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--surface-border);
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
  border-color: rgba(14, 123, 207, 0.22);
  color: var(--accent-strong);
}

.nav-links a[aria-current="page"] {
  background: linear-gradient(120deg, var(--accent), #24a3f3);
  color: #fff;
}

.nav-group {
  position: relative;
}

.nav-group::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 10px;
}

.nav-group-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.nav-group-toggle:hover {
  border-color: rgba(14, 123, 207, 0.22);
  color: var(--accent-strong);
}

.nav-group.current .nav-group-toggle,
.nav-group.submenu-open .nav-group-toggle {
  background: linear-gradient(120deg, var(--accent), #24a3f3);
  color: #fff;
}

.nav-group-toggle span {
  font-size: 0.75rem;
  line-height: 1;
}

.nav-submenu {
  list-style: none;
  margin: 0;
  padding: 8px;
  min-width: 220px;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: none;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--surface-border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  z-index: 20;
}

.nav-submenu a {
  display: flex;
  padding: 10px 11px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.nav-submenu a:hover {
  border-color: rgba(14, 123, 207, 0.22);
  color: var(--accent-strong);
}

.nav-group:hover .nav-submenu,
.nav-group:focus-within .nav-submenu,
.nav-group.submenu-open .nav-submenu {
  display: grid;
  gap: 4px;
}

.hero {
  padding: 90px 0 52px;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--accent-strong);
  font-weight: 700;
}

.hero h1 {
  margin-top: 14px;
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: 1.06;
  max-width: 14ch;
}

.typed {
  color: var(--accent-strong);
  position: relative;
}

.typed::after {
  content: "";
  display: inline-block;
  width: 0.11em;
  height: 0.95em;
  margin-left: 0.1em;
  background: var(--accent-strong);
  animation: blink 0.95s steps(2, start) infinite;
}

@keyframes blink {
  to {
    visibility: hidden;
  }
}

.hero-copy {
  margin-top: 18px;
  max-width: 58ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.15rem);
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 0;
  padding: 12px 20px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

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

.btn-primary {
  background: linear-gradient(120deg, var(--accent), #24a3f3);
  color: #fff;
  box-shadow: 0 14px 30px rgba(14, 123, 207, 0.25);
}

.btn-secondary {
  background: var(--surface);
  border: 1px solid var(--surface-border);
}

.btn-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.hero-strip {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  font-weight: 700;
}

.hero-strip span {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 999px;
  text-align: center;
  padding: 12px 10px;
  color: var(--muted);
}

.section {
  padding: 42px 0;
}

.section-head {
  margin-bottom: 22px;
}

.section-head h2 {
  margin-top: 10px;
  font-size: clamp(1.5rem, 3.6vw, 2.4rem);
}

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

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  transform: perspective(700px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  border-color: rgba(14, 123, 207, 0.35);
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.timeline {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 16px;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  background: var(--soft);
  color: var(--accent-strong);
}

.step h3 {
  margin: 0;
  font-size: 1.1rem;
}

.step p {
  margin: 7px 0 0;
  color: var(--muted);
}

.process-marquee {
  overflow: hidden;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid var(--surface-border);
  background: rgba(255, 255, 255, 0.66);
}

.process-track {
  width: max-content;
  display: flex;
  gap: 12px;
  padding: 14px;
  animation: processMove 26s linear infinite;
}

.process-marquee:hover .process-track {
  animation-play-state: paused;
}

.process-card {
  width: min(340px, 72vw);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.process-card h3 {
  margin: 10px 0 0;
  font-size: 1.08rem;
}

.process-card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.52;
}

.process-hint {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

@keyframes processMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.region-panel {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.region-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.56;
}

.region-panel p + p {
  margin-top: 10px;
}

.price-teaser {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.price-teaser p {
  margin: 0;
  color: var(--muted);
  line-height: 1.56;
}

.contact {
  display: grid;
  gap: 16px;
}

.contact-head {
  margin-bottom: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 14px;
  border-radius: calc(var(--radius) + 4px);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(4px);
}

.contact-panel {
  background: linear-gradient(145deg, #ffffff, #f3f8ff);
  color: var(--text);
  border: 1px solid rgba(11, 44, 89, 0.14);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.contact-panel-heading {
  margin: 0 0 10px;
  font-family: "Space Grotesk", "Avenir Next", sans-serif;
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--accent-strong);
}

.contact-methods {
  display: grid;
  gap: 10px;
}

.contact-method {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px 11px;
  border-radius: 12px;
  border: 1px solid rgba(11, 44, 89, 0.18);
  background: rgba(255, 255, 255, 0.84);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.contact-method:hover {
  border-color: rgba(14, 123, 207, 0.32);
  transform: translateY(-1px);
}

.contact-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", "Avenir Next", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--accent-strong);
  background: linear-gradient(140deg, #eaf3ff, #d8eaff);
  border: 1px solid rgba(11, 44, 89, 0.18);
}

.contact-method-copy {
  display: grid;
  gap: 2px;
}

.contact-method-copy strong {
  color: var(--text);
  font-size: 0.94rem;
}

.contact-method-copy small {
  color: var(--muted);
  font-size: 0.88rem;
}

.contact-method-whatsapp {
  border-color: rgba(37, 189, 114, 0.45);
  background: linear-gradient(145deg, #f3fff8, #ecfff4);
}

.contact-method-whatsapp:hover {
  border-color: rgba(37, 189, 114, 0.75);
}

.contact-icon-whatsapp {
  color: #0f6f42;
  background: linear-gradient(140deg, #d7f8e7, #c3f0da);
  border-color: rgba(37, 189, 114, 0.52);
}

.contact-support-chip {
  display: block;
  margin-top: 10px;
  padding: 10px 11px;
  border-radius: 12px;
  border: 1px dashed rgba(11, 44, 89, 0.24);
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-support-chip:hover {
  border-color: rgba(14, 123, 207, 0.45);
  color: var(--accent-strong);
}

.contact-badges {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-badges span {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(11, 44, 89, 0.18);
  background: rgba(255, 255, 255, 0.86);
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 700;
}

.contact-note {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.contact-panel .contact-note {
  color: var(--muted);
}

.menu-minimal .main-nav {
  position: relative;
}

.menu-minimal .nav-toggle {
  display: inline-flex;
}

.menu-minimal .nav-links {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(320px, 82vw);
  border-radius: 16px;
  padding: 10px;
  flex-direction: column;
  gap: 6px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}

.menu-minimal .topbar.menu-open .nav-links {
  display: flex;
}

.menu-minimal .nav-links a {
  width: 100%;
  border-radius: 12px;
}

.menu-minimal .nav-group {
  width: 100%;
}

.menu-minimal .nav-group-toggle {
  width: 100%;
  justify-content: space-between;
  border-radius: 12px;
}

.menu-minimal .nav-submenu {
  position: static;
  margin-top: 6px;
  padding: 6px 0 0 8px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  min-width: 0;
}

.menu-minimal .nav-group:hover .nav-submenu {
  display: none;
}

.menu-minimal .nav-group.submenu-open .nav-submenu {
  display: grid;
}

.message-window {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(11, 44, 89, 0.14);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
}

.window-top {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(11, 44, 89, 0.12);
  padding-bottom: 10px;
  margin-bottom: 2px;
}

.window-top p {
  margin: 0 0 0 4px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.94rem;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}

.dot-red {
  background: #ff6e66;
}

.dot-yellow {
  background: #ffcc44;
}

.dot-green {
  background: #30d158;
}

.message-window label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.94rem;
}

.message-window input,
.message-window select,
.message-window textarea {
  border: 1px solid rgba(11, 44, 89, 0.22);
  border-radius: 12px;
  background: #fff;
  padding: 10px 12px;
  font: inherit;
}

.message-window textarea {
  resize: vertical;
  min-height: 120px;
}

.composer-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer {
  border-top: 1px solid rgba(13, 28, 46, 0.1);
  margin-top: 26px;
  padding: 26px 0 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
}

.legal-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.legal-links a {
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.legal-links a:hover {
  border-color: var(--accent);
}

.legal-main {
  padding: 54px 0 40px;
}

.legal-main h1 {
  margin-top: 12px;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
}

.legal-card {
  margin-top: 16px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.legal-card h2 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.legal-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.legal-card a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.58;
}

.quick-meta-grid {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.quick-meta-item {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  padding: 11px 12px;
  display: grid;
  gap: 4px;
}

.quick-meta-item span {
  color: var(--muted);
  font-size: 0.88rem;
}

.quick-meta-item strong {
  font-family: "Space Grotesk", "Avenir Next", sans-serif;
  color: var(--accent-strong);
  word-break: break-word;
}

.legal-footer {
  margin-top: 10px;
}

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

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

@media (max-width: 920px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-wrap {
    grid-template-columns: 1fr;
  }

  .main-nav {
    width: 100%;
    justify-self: stretch;
    display: grid;
    justify-items: end;
  }

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

  .nav-links {
    display: none;
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    border-radius: 16px;
    flex-direction: column;
    gap: 6px;
  }

  .topbar.menu-open .nav-links {
    display: flex;
  }

  .nav-links a {
    border-radius: 12px;
  }

  .nav-group {
    width: 100%;
  }

  .nav-group-toggle {
    width: 100%;
    justify-content: space-between;
    border-radius: 12px;
  }

  .nav-submenu {
    position: static;
    margin-top: 6px;
    padding: 6px 0 0 8px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    min-width: 0;
  }

  .nav-group:hover .nav-submenu {
    display: none;
  }

  .nav-group.submenu-open .nav-submenu {
    display: grid;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-strip {
    grid-template-columns: 1fr;
  }

  .quick-meta-grid {
    grid-template-columns: 1fr;
  }

  .process-card {
    width: min(300px, 82vw);
  }
}

@media (max-width: 680px) {
  .topbar {
    position: static;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 40px;
  }

  .contact-panel,
  .message-window {
    padding: 18px;
  }

  .contact-layout {
    padding: 10px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
