@font-face {
  font-family: "Omnium";
  src: url("assets/Omnium-Medium.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Omnium";
  src: url("assets/Omnium-SemiBold.otf") format("opentype");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Omnium";
  src: url("assets/Omnium-Bold.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Comfortaa";
  src: url("assets/Comfortaa-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Comfortaa";
  src: url("assets/Comfortaa-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: "Omnium", system-ui, sans-serif;
  --accent: #00c878;
  --accent-dark: #007b4c;
  --accent-soft: #e9fbf3;
  --ink: #24353a;
  --muted: #5e6e72;
  --line: #d9e3e1;
  --surface: #ffffff;
  --canvas: #eef5f3;
  --error: #b42318;
  --card-radius: 18px;
  --control-radius: 14px;
  background: var(--canvas);
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100dvh;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 200, 120, 0.08), transparent 30rem),
    var(--canvas);
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(0, 123, 76, 0.35);
  outline-offset: 3px;
}

.page-shell {
  min-height: 100dvh;
  padding: 28px 18px 42px;
}

.funnel {
  width: min(940px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(36, 53, 58, 0.08);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(15, 76, 55, 0.11);
}

.brand-header {
  min-height: 92px;
  padding: 22px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fafffd;
  border-bottom: 1px solid var(--line);
}

.brand-logo {
  width: 145px;
  height: auto;
}

.brand-header p {
  margin: 0;
  color: var(--accent-dark);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.progress {
  display: grid;
  grid-template-columns: auto minmax(32px, 1fr) auto minmax(32px, 1fr) auto;
  align-items: start;
  padding: 24px clamp(22px, 7vw, 80px) 20px;
  background: var(--accent-soft);
}

.progress-four {
  grid-template-columns: auto minmax(20px, 1fr) auto minmax(20px, 1fr) auto minmax(20px, 1fr) auto;
}

.progress-item {
  min-width: 86px;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: #7a8b87;
  text-align: center;
}

.progress-item span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 2px solid #9eb5ae;
  border-radius: 50%;
  background: #f8fffc;
  font-family: "Comfortaa", sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.progress-item strong {
  font-size: 15px;
  font-weight: 600;
}

.progress-item.current,
.progress-item.complete {
  color: var(--accent-dark);
}

.progress-item.current span,
.progress-item.complete span {
  border-color: var(--accent);
  background: var(--accent);
  color: #083f2b;
}

.progress-line {
  height: 2px;
  margin-top: 16px;
  background: #b9cbc6;
}

.progress-line.complete {
  background: var(--accent);
}

.hero-media {
  background: #073f2e;
}

.hero-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.form-content {
  padding: clamp(34px, 6vw, 62px);
}

.assessment-content {
  padding-top: clamp(32px, 5vw, 50px);
}

.intro-copy {
  margin-bottom: 38px;
}

.intro-copy h1,
.intro-copy h2 {
  margin: 0 0 10px;
  color: var(--accent-dark);
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.intro-copy h2 {
  font-size: clamp(27px, 4vw, 38px);
}

.intro-copy p,
.offer-copy > p,
.confirmation-visual > p {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.intro-copy.compact {
  margin-bottom: 32px;
}

.question-block {
  margin: 0 0 40px;
  padding: 0;
  border: 0;
}

.question-block legend {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  font-size: clamp(21px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.3;
}

.question-block legend span {
  flex: 0 0 auto;
  padding: 7px 12px 6px;
  border-radius: 10px;
  background: var(--accent-dark);
  color: #f7fffb;
  font-size: 15px;
  font-weight: 600;
}

.helper {
  margin: 0 0 14px;
  color: var(--muted);
}

.option-grid {
  display: grid;
  gap: 12px;
}

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

.choice {
  min-height: 62px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid #b9cbc6;
  border-radius: var(--control-radius);
  background: #fff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.choice:hover {
  border-color: var(--accent-dark);
  transform: translateY(-1px);
}

.choice:active,
.primary-button:active,
.whatsapp-button:active {
  transform: translateY(1px);
}

.choice.selected {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.choice-control {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 2px solid #5d7a71;
  background: white;
}

.checkbox-control {
  border-radius: 6px;
}

.radio-control {
  border-radius: 50%;
}

.choice.selected .choice-control {
  border-color: var(--accent-dark);
  box-shadow: inset 0 0 0 5px white;
  background: var(--accent);
}

.error-banner {
  margin: -12px 0 18px;
  padding: 13px 15px;
  border-radius: 12px;
  background: #fff0ee;
  color: var(--error);
  font-weight: 600;
}

.primary-button,
.whatsapp-button {
  width: 100%;
  min-height: 58px;
  padding: 14px 24px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: var(--control-radius);
  background: var(--accent);
  color: #083f2b;
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(0, 123, 76, 0.18);
  transition: background-color 180ms ease, transform 180ms ease;
}

.primary-button:hover,
.whatsapp-button:hover {
  background: #14dc8b;
}

.primary-button:disabled {
  opacity: 0.68;
  cursor: progress;
}

.button-loading::after {
  content: "...";
  display: inline-block;
  width: 1.4em;
  overflow: hidden;
  vertical-align: bottom;
  animation: loading-dots 1.1s steps(4, end) infinite;
}

.offer-panel {
  padding: clamp(34px, 6vw, 62px);
  background: #073f2e;
  color: #f7fffb;
}

.offer-copy {
  margin-bottom: 30px;
}

.offer-copy .offer-label {
  margin-bottom: 8px;
  color: #95f2c6;
  font-size: 16px;
  font-weight: 600;
}

.offer-copy h1 {
  max-width: 700px;
  margin: 0 0 12px;
  font-size: clamp(30px, 5vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.offer-copy > p:last-child {
  color: #d1e6df;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.journey-grid article {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--card-radius);
  background: rgba(255, 255, 255, 0.07);
}

.journey-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
}

.journey-grid span {
  display: block;
  padding: 14px;
  color: #f7fffb;
  font-weight: 600;
  text-align: center;
}

.field-group {
  display: grid;
  gap: 9px;
  margin-bottom: 24px;
}

.field-group label {
  font-weight: 600;
}

.field-group > input,
.phone-input {
  min-height: 58px;
  border: 1.5px solid #aebfba;
  border-radius: var(--control-radius);
  background: #fff;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.field-group > input {
  width: 100%;
  padding: 14px 16px;
}

.field-group > input:focus,
.phone-input:focus-within {
  border-color: var(--accent-dark);
  box-shadow: 0 0 0 4px rgba(0, 200, 120, 0.12);
}

.field-group input::placeholder {
  color: #71827e;
}

.field-group input[aria-invalid="true"],
.phone-input:has(input[aria-invalid="true"]) {
  border-color: var(--error);
}

.phone-input {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
}

.phone-input span {
  padding: 0 15px;
  border-right: 1px solid var(--line);
  color: var(--accent-dark);
  font-family: "Comfortaa", sans-serif;
  font-weight: 700;
}

.phone-input input {
  min-width: 0;
  height: 56px;
  padding: 14px 15px;
  border: 0;
  outline: 0;
  background: transparent;
}

.field-error {
  margin: 0;
  color: var(--error);
  font-size: 14px;
  font-weight: 600;
}

.contact-form .primary-button {
  margin: 10px 0 24px;
}

.appointment-hero {
  padding: clamp(28px, 5vw, 46px);
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 28px;
  align-items: center;
  background: #073f2e;
  color: #f7fffb;
}

.appointment-hero img {
  width: 100%;
  aspect-ratio: 1;
  display: block;
  object-fit: cover;
  border-radius: var(--card-radius);
}

.appointment-hero p,
.appointment-hero h1,
.appointment-hero span {
  margin: 0;
}

.appointment-hero p {
  margin-bottom: 8px;
  color: #95f2c6;
  font-weight: 600;
}

.appointment-hero h1 {
  margin-bottom: 10px;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.05;
}

.appointment-hero span {
  color: #d1e6df;
  font-size: 17px;
}

.select-group select {
  width: 100%;
  min-height: 58px;
  padding: 14px 48px 14px 16px;
  border: 1.5px solid #aebfba;
  border-radius: var(--control-radius);
  background: #fff;
  color: var(--ink);
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--accent-dark) 50%), linear-gradient(135deg, var(--accent-dark) 50%, transparent 50%);
  background-position: calc(100% - 21px) 25px, calc(100% - 15px) 25px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.select-group select:focus {
  border-color: var(--accent-dark);
  box-shadow: 0 0 0 4px rgba(0, 200, 120, 0.12);
}

.select-group select:disabled {
  background-color: #f4f7f6;
  color: #7a8f88;
  cursor: not-allowed;
}

.select-group select[aria-invalid="true"] {
  border-color: var(--error);
}

.appointment-summary {
  margin: 30px 0 22px;
  padding: 18px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 18px;
  border-radius: var(--card-radius);
  background: #f1f6f4;
}

.appointment-summary span {
  color: var(--muted);
}

.appointment-summary strong {
  text-align: right;
}

.consent-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 11px;
  align-items: start;
  margin-top: 16px;
  color: #465957;
  font-size: 15px;
  line-height: 1.55;
}

.consent-row input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--accent-dark);
}

.consent-row a {
  color: var(--accent-dark);
  font-weight: 600;
}

.consent-error {
  margin-top: 8px;
}

.service-note {
  margin-top: 28px;
  padding: 18px;
  border-radius: var(--card-radius);
  background: #f1f6f4;
}

.service-note strong {
  color: var(--accent-dark);
}

.service-note p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.text-button {
  margin: 22px auto 0;
  display: block;
  border: 0;
  background: transparent;
  color: var(--accent-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.confirmation-visual {
  padding: clamp(48px, 8vw, 78px) 24px;
  display: grid;
  justify-items: center;
  background: #073f2e;
  color: #f7fffb;
  text-align: center;
}

.success-mark {
  width: 76px;
  height: 76px;
  margin-bottom: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #083f2b;
  font-family: "Comfortaa", sans-serif;
  font-size: 38px;
  font-weight: 700;
}

.confirmation-visual > p:first-of-type {
  margin-bottom: 8px;
  color: #95f2c6;
  font-weight: 600;
}

.confirmation-visual h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.05;
}

.confirmation-visual > p:last-child {
  color: #d1e6df;
}

.confirmation-content {
  padding: clamp(34px, 6vw, 62px);
}

.registration-card {
  margin-bottom: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background: var(--accent-soft);
  text-align: center;
}

.registration-card > p {
  margin: 0 0 5px;
  color: var(--accent-dark);
  font-weight: 600;
}

.registration-card > strong {
  display: block;
  margin-bottom: 22px;
  color: var(--accent-dark);
  font-family: "Comfortaa", sans-serif;
  font-size: clamp(26px, 5vw, 38px);
}

.registration-card dl {
  margin: 0;
  padding-top: 16px;
  display: grid;
  gap: 10px;
  border-top: 1px solid #bfd8ce;
}

.registration-card dl div {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 16px;
  text-align: left;
}

.registration-card dt {
  color: var(--muted);
}

.registration-card dd {
  margin: 0;
  font-weight: 600;
}

.next-actions {
  display: grid;
  gap: 14px;
  margin-bottom: 30px;
}

.next-actions article {
  padding: 20px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
}

.next-actions article > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-family: "Comfortaa", sans-serif;
  font-weight: 700;
}

.next-actions h2 {
  margin: 0 0 5px;
  color: var(--accent-dark);
  font-size: 20px;
}

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

.whatsapp-button {
  background: #18c978;
}

.whatsapp-note {
  margin: 12px 0 0;
  color: var(--muted);
  text-align: center;
}

.site-footer {
  width: min(940px, 100%);
  margin: 28px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #536763;
  font-size: 14px;
}

.site-footer img {
  width: 112px;
  height: auto;
  opacity: 0.75;
}

.site-footer p {
  margin: 0;
  text-align: right;
}

.panel-enter-active,
.panel-leave-active {
  transition: opacity 200ms ease, transform 200ms ease;
}

.panel-enter-from {
  opacity: 0;
  transform: translateY(10px);
}

.panel-leave-to {
  opacity: 0;
  transform: translateY(-6px);
}

@keyframes loading-dots {
  0% { width: 0; }
  100% { width: 1.4em; }
}

@media (max-width: 720px) {
  .page-shell {
    padding: 0;
  }

  .funnel {
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .brand-header {
    min-height: 72px;
    padding: 16px 20px;
  }

  .brand-logo {
    width: 124px;
  }

  .brand-header p {
    font-size: 14px;
  }

  .progress {
    padding: 18px 12px 16px;
  }

  .progress-four {
    grid-template-columns: auto minmax(8px, 1fr) auto minmax(8px, 1fr) auto minmax(8px, 1fr) auto;
  }

  .progress-item {
    min-width: 58px;
    gap: 6px;
  }

  .progress-item strong {
    font-size: 11px;
  }

  .progress-item span {
    width: 30px;
    height: 30px;
  }

  .progress-line {
    margin-top: 14px;
  }

  .form-content,
  .offer-panel,
  .confirmation-content {
    padding: 32px 20px;
  }

  .intro-copy h1,
  .intro-copy h2,
  .offer-copy h1 {
    font-size: 31px;
  }

  .intro-copy p,
  .offer-copy > p,
  .confirmation-visual > p {
    font-size: 16px;
  }

  .question-block legend {
    align-items: flex-start;
    font-size: 21px;
  }

  .question-block legend span {
    margin-top: 1px;
  }

  .option-grid-two {
    grid-template-columns: 1fr;
  }

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

  .journey-grid article:last-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .journey-grid article:last-child img {
    aspect-ratio: 4 / 3;
  }

  .appointment-hero {
    grid-template-columns: 110px 1fr;
    gap: 18px;
    padding: 28px 20px;
  }

  .appointment-hero h1 {
    font-size: 27px;
  }

  .appointment-hero span {
    font-size: 15px;
  }

  .site-footer {
    margin: 0;
    padding: 26px 20px;
    flex-direction: column;
    align-items: flex-start;
    background: #e6efec;
  }

  .site-footer p {
    text-align: left;
  }
}

@media (max-width: 430px) {
  .brand-header p {
    max-width: 105px;
    text-align: right;
  }

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

  .journey-grid article:last-child {
    grid-column: auto;
    display: block;
  }
}

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