:root {
  --bg: #f3f5f8;
  --panel: rgba(255, 255, 255, 0.78);
  --ink: #111318;
  --muted: #4d5562;
  --brand: #0a84ff;
  --accent: #111318;
  --line: rgba(15, 18, 24, 0.09);
  --radius: 20px;
  --shadow: 0 18px 40px rgba(12, 18, 28, 0.09);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at 20% -10%, #e7f3ff 0%, transparent 42%),
    radial-gradient(circle at 100% 0%, #ffe8dd 0%, transparent 36%),
    var(--bg);
  color: var(--ink);
  line-height: 1.5;
  position: relative;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  filter: blur(40px);
  z-index: -1;
  opacity: 0.35;
}

body::before {
  background: #bcecff;
  left: -100px;
  top: 28%;
}

body::after {
  background: #ffe2d1;
  right: -110px;
  top: 62%;
}

.container {
  width: min(1080px, calc(100% - 2rem));
  margin-inline: auto;
}

.text-center {
  text-align: center;
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, #fbfcfe 0%, #eff5fb 100%);
  color: var(--ink);
  padding: 5.2rem 0 5.8rem;
  border-bottom: 1px solid var(--line);
}

.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 132, 255, 0.19) 0%, rgba(10, 132, 255, 0) 70%);
  right: -140px;
  top: -120px;
  animation: floatBlob 9s ease-in-out infinite;
}

.hero__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
  align-items: center;
}

.hero__content h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4rem);
  max-width: 14ch;
  font-family: "Fraunces", serif;
  letter-spacing: -0.02em;
  line-height: 1.04;
  transition: opacity 220ms ease;
}

.hero__content p {
  margin: 1rem 0 1.4rem;
  max-width: 56ch;
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero__chips {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.hero__chips span {
  border: 1px solid rgba(14, 19, 26, 0.12);
  border-radius: 999px;
  padding: 0.34rem 0.72rem;
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(8px);
}

.hero__media {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(16, 20, 29, 0.08);
  box-shadow: 0 26px 40px rgba(14, 19, 26, 0.15);
  background: rgba(255, 255, 255, 0.55);
  transform: perspective(900px) rotateY(-5deg);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.hero__media:hover {
  transform: perspective(900px) rotateY(-2deg) translateY(-2px);
  box-shadow: 0 30px 44px rgba(14, 19, 26, 0.18);
}

.hero__media img {
  width: 100%;
  height: 100%;
  max-height: 320px;
  object-fit: cover;
  display: block;
}

.hero__media figcaption {
  padding: 0.55rem 0.7rem;
  font-size: 0.85rem;
  color: #3a4554;
}

.btn {
  display: inline-block;
  border: none;
  border-radius: 999px;
  background: #111318;
  color: #fff;
  padding: 0.75rem 1.2rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, opacity 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(11, 15, 22, 0.22);
  opacity: 0.95;
}

.btn:active {
  transform: translateY(0);
}

.btn--small {
  padding: 0.5rem 0.95rem;
  font-size: 0.88rem;
}

.quick-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(250, 252, 255, 0.72);
  border-bottom: 1px solid rgba(18, 24, 35, 0.08);
}

.quick-nav__inner {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  justify-content: flex-end;
  padding: 0.45rem 0;
}

.quick-nav__inner a:not(.btn) {
  text-decoration: none;
  color: #204056;
  font-weight: 700;
  font-size: 0.92rem;
}

.quick-nav .btn--small {
  background: #111318;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

section[id] {
  scroll-margin-top: 90px;
}

.flow {
  display: grid;
  gap: 1.2rem;
  margin-top: 0.6rem;
  margin-bottom: 2rem;
}

.pulse-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.65rem;
}

.pulse-card {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(17, 19, 24, 0.08);
  border-radius: 18px;
  padding: 0.8rem;
  box-shadow: 0 16px 28px rgba(14, 19, 28, 0.08);
  backdrop-filter: blur(10px);
}

.pulse-card span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #eef8ff;
  font-size: 1.08rem;
}

.pulse-card p {
  margin: 0.5rem 0 0;
  font-size: 0.94rem;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem;
  position: relative;
  backdrop-filter: blur(16px);
}

.panel::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(90deg, rgba(10, 132, 255, 0.26), rgba(255, 159, 10, 0.22));
}

.panel h2 {
  margin: 0;
  font-family: "Fraunces", serif;
  letter-spacing: -0.01em;
}

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

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
}

.step-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.82);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.step-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(18, 46, 61, 0.12);
}

.step-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #d6eef7;
  color: #0a5770;
}

.step-icon svg {
  width: 18px;
  height: 18px;
}

.step-card h3 {
  margin: 0.5rem 0 0.3rem;
  font-size: 1rem;
}

.panel--moments {
  background: linear-gradient(120deg, #fff6ef 0%, #ffffff 62%);
}

.panel--interest {
  background: linear-gradient(120deg, #edf9f2 0%, #ffffff 62%);
  border-color: #cfe8d9;
}

.panel--quiz {
  position: relative;
  border: 2px solid rgba(10, 132, 255, 0.46);
  background: linear-gradient(120deg, rgba(238, 249, 255, 0.95) 0%, rgba(255, 255, 255, 0.95) 62%);
  box-shadow: 0 20px 36px rgba(10, 132, 255, 0.15);
}

.panel--quiz::before {
  content: "DESTACADO";
  position: absolute;
  top: -11px;
  left: 14px;
  background: #0b6e8d;
  color: #fff;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.24rem 0.55rem;
}

.panel--quiz h2 {
  color: #0a5871;
}

.panel--quiz.is-focus {
  z-index: 90;
  box-shadow: 0 28px 56px rgba(8, 18, 30, 0.42);
  transform: translateY(-2px) scale(1.01);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.moments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  margin-top: 0.9rem;
}

.moment-card {
  border: 1px solid #f0d6c2;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.moment-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.moment-card div {
  padding: 0.7rem;
}

.moment-card h3 {
  margin: 0 0 0.22rem;
  font-size: 1rem;
}

.moment-card p {
  margin: 0;
}

.quiz-form,
.lead-form {
  display: grid;
  gap: 0.65rem;
}

.quiz-progress {
  margin: 0.4rem 0 0.85rem;
}

.quiz-progress p {
  margin: 0 0 0.3rem;
  font-size: 0.9rem;
  color: #205268;
  font-weight: 700;
}

.quiz-progress__track {
  height: 10px;
  border-radius: 999px;
  background: #dcecf6;
  overflow: hidden;
}

.quiz-progress__bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #0b6e8d 0%, #1aa0c5 100%);
  transition: width 260ms ease;
}

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cdddea;
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.captcha-wrap {
  min-height: 66px;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #5fa7c5;
  box-shadow: 0 0 0 3px rgba(95, 167, 197, 0.2);
}

.result {
  margin-top: 0.9rem;
  border: 1px dashed rgba(10, 132, 255, 0.38);
  border-radius: 16px;
  background: rgba(247, 252, 255, 0.88);
  padding: 0.95rem;
  color: var(--muted);
}

.result.is-loading {
  opacity: 0.75;
}

.result h3 {
  margin: 0 0 0.35rem;
  color: var(--ink);
}

.result-profile {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1.15rem;
}

.result-profile span {
  width: 2.1rem;
  height: 2.1rem;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  background: #e9f4ff;
  color: #1b4c69;
  font-size: 1.35rem;
  line-height: 1;
}

.result-label {
  margin-top: 0.6rem;
  margin-bottom: 0.35rem;
  color: #083f55;
  font-size: 1.05rem;
  font-weight: 800;
  background: #dff3fb;
  border: 1px solid #9dcbe0;
  border-radius: 10px;
  padding: 0.45rem 0.6rem;
}

.result ul {
  margin: 0.25rem 0 0.75rem;
  padding: 0.7rem 0.8rem 0.7rem 1.55rem;
  border: 1px solid #b9dced;
  border-radius: 10px;
  background: #f2fbff;
}

.result li {
  margin: 0.28rem 0;
  color: #17455a;
  font-weight: 600;
}

.status {
  min-height: 1.2rem;
  color: #0b6e8d;
  font-weight: 700;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.9);
  color: #1a3950;
  border: 1px solid rgba(17, 19, 24, 0.12);
}

.footer {
  background: #0f2f3f;
  color: #fff;
  padding: 1rem 0;
}

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.62rem 0.85rem;
  box-shadow: 0 14px 26px rgba(17, 49, 31, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-weight: 800;
  font-size: 0.9rem;
}

.whatsapp-float svg {
  width: 19px;
  height: 19px;
}

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

.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1000;
}

.focus-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 10, 18, 0.66);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  z-index: 80;
}

body.is-focus-mode .focus-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.modal.is-open {
  display: block;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 20, 30, 0.55);
}

.modal__panel {
  position: relative;
  width: min(640px, calc(100% - 2rem));
  margin: 8vh auto 0;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96) 0%, rgba(245, 251, 255, 0.96) 100%);
  border-radius: 22px;
  border: 1px solid rgba(17, 19, 24, 0.1);
  box-shadow: 0 26px 48px rgba(0, 0, 0, 0.22);
  padding: 1.1rem;
  max-height: 82vh;
  overflow: auto;
  backdrop-filter: blur(18px);
}

.modal__panel--calc {
  width: min(720px, calc(100% - 2rem));
}

@keyframes floatBlob {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(14px);
  }

  100% {
    transform: translateY(0);
  }
}

.modal__close {
  position: absolute;
  right: 0.6rem;
  top: 0.5rem;
  border: 1px solid #cdddea;
  background: #fff;
  color: #24495f;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
}

.modal__subtitle {
  margin-top: 0.2rem;
  color: #355069;
  font-weight: 600;
}

.modal__list {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.65rem;
}

.modal-advantage-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0.72rem;
  border-radius: 14px;
  border: 1px solid rgba(14, 20, 30, 0.11);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 20px rgba(12, 28, 46, 0.08);
}

.modal-advantage__image {
  width: 100%;
  height: 126px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(14, 20, 30, 0.12);
}

.modal-advantage__text {
  color: #1f4560;
  font-weight: 600;
}

.calc-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.65rem;
  margin-top: 0.55rem;
}

.calc-result {
  margin-top: 0.8rem;
  border: 1px solid rgba(10, 132, 255, 0.26);
  border-radius: 12px;
  background: rgba(241, 250, 255, 0.9);
  padding: 0.75rem;
}

.calc-result p {
  margin: 0.22rem 0;
  color: #21465f;
}

.calc-result strong {
  color: #0f334b;
}

.calc-table-wrap {
  margin-top: 0.75rem;
  max-height: 260px;
  overflow: auto;
  border: 1px solid rgba(17, 19, 24, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
}

.calc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.calc-table thead th {
  position: sticky;
  top: 0;
  background: #edf6ff;
  color: #20435b;
  text-align: left;
  padding: 0.55rem 0.6rem;
  border-bottom: 1px solid rgba(17, 19, 24, 0.1);
}

.calc-table tbody td {
  padding: 0.5rem 0.6rem;
  border-bottom: 1px solid rgba(17, 19, 24, 0.07);
  color: #29475f;
}

.calc-whatsapp-link {
  display: inline-block;
  margin-top: 0.8rem;
  color: #1f7f47;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid rgba(37, 211, 102, 0.5);
}

.panel--faq details {
  border: 1px solid #d6e4ef;
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  background: #fbfdff;
  margin-top: 0.55rem;
}

.panel--faq summary {
  cursor: pointer;
  font-weight: 700;
  color: #1a435a;
}

.panel--faq details p {
  margin: 0.45rem 0 0.1rem;
}

.faq-highlight {
  border: 1px solid rgba(10, 132, 255, 0.22);
  background: rgba(239, 248, 255, 0.9);
  border-radius: 10px;
  padding: 0.5rem 0.65rem;
  margin: 0.5rem 0;
}

.faq-highlight p {
  margin: 0.2rem 0;
}

.faq-list {
  margin: 0.45rem 0 0.55rem;
  padding: 0.65rem 0.85rem 0.65rem 1.45rem;
  border: 1px solid rgba(17, 19, 24, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.86);
}

.faq-list li {
  margin: 0.2rem 0;
  color: #244057;
  font-weight: 600;
}

.faq-note {
  font-size: 0.82rem;
  color: #566a7f;
}

@media (max-width: 640px) {
  .hero {
    padding: 3.5rem 0 4.2rem;
  }

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

  .hero__media img {
    max-height: 230px;
  }

  .quick-nav__inner {
    justify-content: space-between;
  }
}
