:root {
  --bg: #edf4ff;
  --surface: #f8fbff;
  --surface-2: #dff1ff;
  --text: #0f1c2b;
  --muted: #475569;
  --line: #bfd3e8;
  --primary: #0057d9;
  --primary-strong: #003f9e;
  --accent: #00b4d8;
  --radius: 18px;
  --shadow: 0 20px 50px rgba(0, 51, 102, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Sora", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

.bg-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 8% 6%, rgba(0, 180, 216, 0.14), transparent 30%),
    radial-gradient(circle at 90% 9%, rgba(0, 87, 217, 0.18), transparent 36%),
    linear-gradient(160deg, #f8fcff 0%, #edf4ff 48%, #f6fbff 100%);
}

.site-header {
  width: min(1100px, 92vw);
  margin: 1.2rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(191, 211, 232, 0.8);
  background: rgba(248, 252, 255, 0.82);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  position: sticky;
  top: 1rem;
  z-index: 30;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: inherit;
}

.brand-mark img {
  width: 70%;
  height: 70%;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.brand-text {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.88rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.94rem;
}

.nav-cta {
  padding: 0.45rem 0.8rem;
  background: var(--surface-2);
  border-radius: 999px;
}

.menu-toggle {
  display: none;
}

main {
  width: min(1100px, 92vw);
  margin: 2rem auto 4rem;
}

section {
  margin-top: 3.4rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1.08;
  margin: 0.4rem 0 1rem;
  max-width: 16ch;
}

.hero-copy {
  max-width: 64ch;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
}

.hero-cta,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  text-decoration: none;
  padding: 0.78rem 1.05rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
  border-color: var(--line);
}

.btn-whatsapp {
  background: #128c4e;
  color: #fff;
}

.btn-whatsapp:hover {
  background: #0f7a43;
}

.hero-highlights {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.hero-highlights li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 0.9rem;
  font-size: 0.94rem;
}

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

.metrics article {
  background: linear-gradient(165deg, #ffffff, #e7f3ff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}

.metrics h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 2.5rem);
}

.metrics p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.section-head {
  margin-bottom: 1rem;
}

.section-head h2 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  max-width: 26ch;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
}

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

.process ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.process li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  padding: 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.process li span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--primary);
  background: rgba(0, 76, 119, 0.12);
}

.process h3 {
  margin: 0;
}

.process p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem;
  background: var(--surface);
}

.faq details + details {
  margin-top: 0.65rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq p {
  color: var(--muted);
  margin-bottom: 0;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(150deg, #fdfefe, #e8f4ff 70%);
  padding: clamp(1rem, 4vw, 2rem);
}

.contact-card h2 {
  margin-top: 0.45rem;
}

.contact-card p {
  color: var(--muted);
  max-width: 65ch;
}

.form-feedback {
  margin-top: 1rem;
  margin-bottom: 0.8rem;
  min-height: 1.4rem;
  font-weight: 600;
}

.form-feedback.success {
  color: #0f7a43;
}

.form-feedback.error {
  color: #9e1b32;
}

.contact-form {
  margin-top: 0.6rem;
  display: grid;
  gap: 0.55rem;
  max-width: 700px;
}

.contact-form label {
  font-weight: 600;
  font-size: 0.92rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.78rem;
  font-family: "Sora", sans-serif;
  font-size: 0.95rem;
  background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(0, 76, 119, 0.2);
  border-color: var(--primary);
}

.contact-form button {
  justify-self: start;
  margin-top: 0.35rem;
}

.site-footer {
  width: min(1100px, 92vw);
  margin: 1rem auto 2.2rem;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

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

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

@media (max-width: 900px) {
  .hero-highlights,
  .metrics,
  .cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    border-radius: 18px;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-flex;
    padding: 0.5rem 0.7rem;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: #fff;
    font-family: "IBM Plex Mono", monospace;
  }

  .site-nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    padding-top: 0.4rem;
  }

  .site-nav.open {
    display: flex;
  }

  .hero-highlights,
  .metrics,
  .cards {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
