@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;520;650;750;800&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --surface-2: #eef3ff;
  --ink: #162033;
  --muted: #667087;
  --line: #dce4f2;
  --brand: #0737ff;
  --brand-dark: #082c9e;
  --accent: #ff650f;
  --accent-soft: #fff0e7;
  --teal: #18b7ac;
  --magenta: #ed1775;
  --shadow: 0 18px 55px rgba(10, 42, 130, 0.1);
  --radius: 8px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 8% 16%, rgba(7, 55, 255, 0.08), transparent 26%),
    radial-gradient(circle at 90% 8%, rgba(255, 101, 15, 0.1), transparent 24%),
    linear-gradient(145deg, rgba(237, 23, 117, 0.06), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f7f8ff 32%, #eef3ff 100%);
  color: var(--ink);
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto auto;
  width: min(42vw, 520px);
  height: 340px;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 101, 15, 0.16), rgba(237, 23, 117, 0.14) 45%, rgba(7, 55, 255, 0.1));
  clip-path: polygon(18% 0, 100% 0, 86% 62%, 48% 44%, 26% 82%, 0 30%);
  opacity: 0.78;
  z-index: -1;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(20px, 4vw, 56px);
  background: rgba(247, 248, 251, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(217, 228, 221, 0.8);
}

.site-header::before,
.site-footer::before {
  content: "";
  position: absolute;
  left: clamp(20px, 4vw, 56px);
  right: clamp(20px, 4vw, 56px);
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--magenta), #7d5cff, var(--brand));
}

.site-header {
  position: sticky;
}

.site-header::before {
  bottom: -2px;
  opacity: 0.45;
}

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

.brand-logo {
  display: block;
  width: 148px;
  height: auto;
  mix-blend-mode: multiply;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  color: var(--muted);
  font-size: 0.94rem;
}

.main-nav a[aria-current="page"], .main-nav a:hover { color: var(--ink); }

.main-nav a {
  position: relative;
  padding: 6px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--magenta), var(--brand));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.main-nav a[aria-current="page"]::after,
.main-nav a:hover::after {
  transform: scaleX(1);
}

.header-cta, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-weight: 750;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.header-cta, .button.primary {
  background: linear-gradient(90deg, var(--accent), var(--magenta) 52%, var(--brand));
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(255, 101, 15, 0.25), 0 10px 28px rgba(7, 55, 255, 0.12);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.65);
  color: var(--ink);
}

.button.light { border-color: rgba(255,255,255,0.35); color: var(--surface); background: rgba(255,255,255,0.08); }
.button:hover, .header-cta:hover { transform: translateY(-1px); }

.menu-toggle { display: none; }

.hero, .section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(64px, 9vw, 118px) clamp(20px, 4vw, 56px);
}

.hero {
  isolation: isolate;
}

.home-hero {
  position: relative;
  display: block;
  min-height: calc(100vh - 76px);
}

.hero-copy {
  max-width: 940px;
}

.page-hero {
  position: relative;
  min-height: 54vh;
  display: grid;
  align-content: center;
  padding-bottom: clamp(46px, 6vw, 86px);
}

.home-hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto clamp(20px, 5vw, 72px) 20px auto;
  width: min(34vw, 390px);
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--magenta), var(--brand));
  opacity: 0.72;
}

.home-hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 12% auto auto clamp(20px, 4vw, 56px);
  width: min(52vw, 620px);
  height: 260px;
  background: linear-gradient(110deg, rgba(255, 101, 15, 0.12), rgba(237, 23, 117, 0.08), rgba(7, 55, 255, 0.1));
  clip-path: polygon(0 12%, 72% 0, 100% 44%, 44% 100%, 8% 78%);
  z-index: -1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: "Space Grotesk", Manrope, ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
}
h1 { font-size: clamp(2.7rem, 6vw, 5.8rem); line-height: 0.98; letter-spacing: 0; margin-bottom: 24px; max-width: 850px; }
h2 { font-size: clamp(2rem, 4vw, 3.55rem); line-height: 1.04; letter-spacing: 0; margin-bottom: 18px; }
h3 { font-size: 1.05rem; line-height: 1.25; margin-bottom: 10px; }

.hero-lead {
  font-size: clamp(1.08rem, 2vw, 1.34rem);
  color: #314139;
  max-width: 700px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

.trust-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trust-points span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.68);
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-panel {
  max-width: 760px;
  margin: 28px 0 8px;
  padding: 22px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 84% 16%, rgba(255, 101, 15, 0.26), transparent 28%),
    linear-gradient(160deg, #071a67, #0b267e 48%, #172033);
  color: var(--surface);
  box-shadow: var(--shadow);
}

.panel-head, .metric-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255,255,255,0.74);
  font-size: 0.92rem;
}

.panel-head strong { color: var(--accent); }

.flow-card {
  margin: 28px 0 10px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
}

.flow-label { color: #ffb184; font-weight: 800; font-size: 0.8rem; }
.flow-card p { margin: 8px 0 0; font-size: 1.05rem; }
.flow-line { height: 38px; width: 2px; background: var(--accent); margin-left: 26px; opacity: 0.8; }

.flow-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}

.flow-grid div, .metric-row div {
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.09);
}

.flow-grid strong, .flow-grid span, .metric-row b, .metric-row span { display: block; }
.flow-grid span, .metric-row span { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.metric-row b { color: #ffb184; font-size: 1.5rem; }

.section-heading {
  position: relative;
  max-width: 760px;
  margin-bottom: 34px;
  padding-bottom: 18px;
}

.section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(390px, 72vw);
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--magenta), #7d5cff, var(--brand));
}

.section-heading p:not(.eyebrow), .split-section p, .proof-band p, .final-cta p { color: var(--muted); font-size: 1.05rem; }

.pain-grid, .cards, .quick-grid {
  display: grid;
  gap: 14px;
}

.pain-grid { grid-template-columns: repeat(3, 1fr); }
.cards.four, .quick-grid { grid-template-columns: repeat(4, 1fr); }

.pain-grid article, .card, .quick-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  box-shadow: 0 10px 35px rgba(23,33,29,0.05);
}

.pain-grid article::before,
.card::before,
.quick-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--magenta), var(--brand));
}

.pain-grid article {
  padding: 20px;
  font-weight: 750;
  min-height: 112px;
}

.tinted {
  max-width: none;
  background:
    linear-gradient(90deg, rgba(255, 101, 15, 0.08), rgba(237, 23, 117, 0.05) 40%, rgba(7, 55, 255, 0.08)),
    radial-gradient(circle at 18% 12%, rgba(24, 183, 172, 0.1), transparent 24%),
    linear-gradient(135deg, #eef3ff 0%, #f8fbff 56%, #fff0e7 100%);
}

.tinted > * {
  max-width: 1068px;
  margin-left: auto;
  margin-right: auto;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 42px;
  align-items: center;
}

.steps-card {
  display: grid;
  gap: 12px;
  padding: 22px;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.steps-card span {
  padding: 18px;
  border-radius: var(--radius);
  background: #f3f6ff;
  font-weight: 800;
}

.compare {
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.compare.good {
  background: linear-gradient(145deg, #ffffff, #eff8f1);
}

.card, .quick-card { padding: 22px; }
.card p, .quick-card p { color: var(--muted); margin-bottom: 0; }
.quick-card span { color: var(--brand); font-weight: 800; font-size: 0.82rem; text-transform: uppercase; }

.section-cta {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(255, 101, 15, 0.08), rgba(237, 23, 117, 0.05), rgba(7, 55, 255, 0.08)),
    linear-gradient(135deg, #ffffff 0%, #eef3ff 100%);
}

.section-cta p { margin: 0; max-width: 680px; font-weight: 720; }

.timeline {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.timeline li {
  position: relative;
  overflow: hidden;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--magenta), var(--brand));
}

.timeline span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--brand);
  font-weight: 900;
}

.timeline p { color: var(--muted); margin: 0; font-size: 0.94rem; }

.proof-band {
  max-width: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background:
    linear-gradient(135deg, rgba(237, 23, 117, 0.16), transparent 42%),
    #071a67;
  color: var(--surface);
}

.proof-band::before {
  content: "";
  position: absolute;
  left: clamp(20px, 4vw, 56px);
  right: clamp(20px, 4vw, 56px);
  top: 0;
  height: 8px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, var(--accent), var(--magenta), #7d5cff, var(--brand));
}

.proof-band {
  position: relative;
}

.proof-band > * { max-width: 760px; }

.final-cta {
  text-align: center;
  max-width: 900px;
}

.final-cta .hero-actions { justify-content: center; }

.site-footer {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
  padding: 48px clamp(20px, 4vw, 56px) 28px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 101, 15, 0.18), transparent 24%),
    linear-gradient(135deg, #071a67 0%, #082c9e 62%, #071a67 100%);
  color: rgba(255,255,255,0.76);
}

.site-footer::before {
  top: 0;
}

.site-footer a { color: var(--surface); }
.footer-brand { color: var(--surface); }
.footer-links { display: grid; gap: 10px; }
.site-footer small { grid-column: 1 / -1; color: rgba(255,255,255,0.52); }

.logo-cloud {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.logo-cloud span {
  display: grid;
  place-items: center;
  min-height: 86px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  font-weight: 800;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding-top: 24px;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 30px;
}

.contact-list a {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-weight: 750;
}

.cal-box {
  padding: 24px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 85% 10%, rgba(255, 101, 15, 0.26), transparent 28%),
    linear-gradient(135deg, #071a67 0%, #082c9e 70%, #071a67 100%);
  color: var(--surface);
}

.cal-box p { color: rgba(255,255,255,0.72); }

.contact-form {
  display: grid;
  gap: 14px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 750;
  font-size: 0.92rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdfb;
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
}

.contact-form textarea { resize: vertical; }

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  font-size: 0;
  box-shadow: 0 16px 40px rgba(14, 66, 36, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  line-height: 0;
}

.whatsapp-float::before {
  content: "";
  display: block;
  width: 46px;
  height: 46px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 3.2A12.7 12.7 0 0 0 5.1 22.5L3.6 28.8l6.4-1.7A12.7 12.7 0 1 0 16 3.2Zm0 2.4a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repeat;
  transform: translateY(3px);
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(14, 66, 36, 0.34);
}

.footer-brand .brand-logo {
  background: #fff;
  border-radius: 4px;
  padding: 4px 6px;
  mix-blend-mode: normal;
}

@media (max-width: 960px) {
  .menu-toggle {
    display: inline-grid;
    place-items: center;
    margin-left: auto;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.74);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    padding: 0;
    color: var(--ink);
    font-size: 0;
    box-shadow: 0 10px 26px rgba(10, 42, 130, 0.08);
    line-height: 0;
  }

  .menu-toggle::before {
    content: "";
    display: block;
    width: 34px;
    height: 25px;
    background:
      linear-gradient(currentColor, currentColor) center 0 / 100% 3px no-repeat,
      linear-gradient(currentColor, currentColor) center 50% / 100% 3px no-repeat,
      linear-gradient(currentColor, currentColor) center 100% / 100% 3px no-repeat;
    border-radius: 999px;
    transform: translateY(4px);
  }

  .main-nav, .header-cta { display: none; }
  .site-header.nav-open .main-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 68px;
    display: grid;
    gap: 6px;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .home-hero, .split-section { grid-template-columns: 1fr; min-height: auto; }
  .pain-grid, .cards.four, .quick-grid, .timeline { grid-template-columns: 1fr; }
  .contact-layout, .logo-cloud { grid-template-columns: 1fr; }
  .section-cta, .proof-band { flex-direction: column; align-items: flex-start; }
  .site-footer { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hero, .section { padding: 54px 18px; }
  h1 { font-size: 2.55rem; }
  h2 { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
}
