:root {
  color-scheme: light;
  --bg: #f4faf4;
  --bg-deep: #eaf5ec;
  --panel: rgba(255, 255, 255, 0.96);
  --panel-soft: rgba(18, 168, 90, 0.05);
  --panel-strong: rgba(255, 255, 255, 0.98);
  --border: rgba(16, 68, 45, 0.12);
  --text: #173227;
  --muted: #567164;
  --muted-strong: #234336;
  --brand: #12a85a;
  --brand-bright: #b7e45f;
  --accent: #f2b548;
  --accent-soft: rgba(242, 181, 72, 0.16);
  --shadow: 0 26px 64px rgba(28, 73, 49, 0.12);
  --shadow-soft: 0 14px 34px rgba(28, 73, 49, 0.1);
  --radius: 22px;
  --radius-sm: 16px;
  --max-width: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 10%, rgba(18, 168, 90, 0.12), transparent 24%),
    radial-gradient(circle at 88% 8%, rgba(242, 181, 72, 0.14), transparent 20%),
    linear-gradient(180deg, #f8fcf8 0%, #eef7f0 44%, #f5fbf6 100%);
}

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

img,
video,
iframe {
  display: block;
  max-width: 100%;
}

button,
input,
select {
  font: inherit;
}

.page-shell {
  position: relative;
  overflow: hidden;
}

.site-header,
.hero,
.impact-strip,
.section,
.site-footer {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  backdrop-filter: blur(18px);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(18, 68, 45, 0.08);
  z-index: -1;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 4.3rem;
  height: 3rem;
  padding: 0.35rem 0.45rem;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 0 0 0.2rem rgba(183, 228, 95, 0.1);
}

.brand__mark img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.brand__copy {
  display: grid;
  gap: 0.1rem;
}

.brand__copy strong {
  font-size: 1rem;
  line-height: 1;
}

.brand__copy small {
  color: var(--muted);
  font-size: 0.8rem;
}

.top-nav {
  display: none;
  align-items: center;
  gap: 1.2rem;
  color: var(--muted-strong);
  font-size: 0.94rem;
}

.top-nav a:hover,
.footer-links a:hover,
.hero__trust-row a:hover {
  color: var(--brand);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-phone {
  display: none;
  color: var(--muted-strong);
  white-space: nowrap;
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.35rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

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

.btn--primary {
  color: #10180f;
  background: linear-gradient(135deg, var(--brand-bright), #f6c25b);
  box-shadow: 0 16px 32px rgba(183, 228, 95, 0.16);
}

.btn--secondary {
  color: var(--brand);
  background: #fff;
  border: 1px solid rgba(18, 168, 90, 0.18);
}

.btn--ghost {
  color: var(--brand);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(18, 168, 90, 0.14);
}

.btn--block {
  width: 100%;
}

.glass-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(245, 250, 246, 0.94)),
    var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero {
  position: relative;
  display: grid;
  gap: 1.5rem;
  align-items: start;
  padding: 2rem 0 2.4rem;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  filter: blur(14px);
}

.hero-glow--left {
  top: 2%;
  left: -8%;
  width: 24rem;
  height: 24rem;
  background: radial-gradient(circle, rgba(18, 168, 90, 0.14), transparent 68%);
}

.hero-glow--right {
  right: -10%;
  top: -3%;
  width: 24rem;
  height: 24rem;
  background: radial-gradient(circle, rgba(242, 181, 72, 0.14), transparent 62%);
}

.hero-grid {
  position: absolute;
  right: -10%;
  bottom: 9%;
  width: 26rem;
  height: 15rem;
  border-radius: 28px;
  transform: rotate(-8deg);
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 1.55rem 1.55rem, 1.55rem 1.55rem;
  border: 1px solid rgba(18, 68, 45, 0.06);
  opacity: 0.22;
}

.hero__content {
  max-width: 42rem;
}

.hero__eyebrow,
.hero__cta-row,
.hero__trust-row {
  display: flex;
  flex-wrap: wrap;
}

.hero__eyebrow {
  gap: 0.75rem;
  margin-bottom: 0.8rem;
}

.eyebrow-pill,
.section-kicker,
.scheme-badge,
.video-tag {
  display: inline-flex;
  width: fit-content;
  padding: 0.48rem 0.78rem;
  border-radius: 999px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.eyebrow-pill {
  color: #315d41;
  background: rgba(183, 228, 95, 0.14);
  border: 1px solid rgba(183, 228, 95, 0.18);
}

.eyebrow-pill--soft,
.section-kicker,
.scheme-badge,
.video-tag {
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(18, 68, 45, 0.08);
}

.hero h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2.2rem, 7vw, 4.7rem);
  line-height: 1.04;
}

.hero__lead {
  margin: 1.15rem 0 0;
  max-width: 36rem;
  color: var(--muted-strong);
  font-size: 1.04rem;
  line-height: 1.7;
}

.hero-points,
.lead-points,
.checklist {
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.hero-points li,
.lead-points li,
.checklist li {
  position: relative;
  padding-left: 1.55rem;
  color: var(--muted-strong);
}

.hero-points li::before,
.lead-points li::before,
.checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--brand-bright);
  font-weight: 700;
}

.hero__cta-row {
  gap: 0.9rem;
  margin-top: 1.55rem;
}

.hero__trust-row {
  gap: 1.15rem;
  margin-top: 1.15rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero__trust-row a {
  text-decoration: underline;
  text-decoration-color: rgba(18, 68, 45, 0.18);
  text-underline-offset: 0.22rem;
}

.hero__visual {
  display: grid;
  gap: 0.9rem;
  align-self: start;
}

.hero-media-stack {
  display: grid;
  gap: 1rem;
}

.hero-video-card,
.calculator-card,
.results-card,
.why-loom-panel,
.why-loom-support,
.apply-checklist,
.lead-wrap {
  padding: 1.3rem;
}

.hero-video-card {
  position: relative;
  overflow: hidden;
}

.hero-video-card--secondary {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.hero-video-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-bright), var(--accent));
}

.hero-video-card__copy,
.results-card__header,
.section__intro {
  display: grid;
  gap: 0.6rem;
}

.hero-video-frame,
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  margin-top: 1rem;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #f6fbf6, #ecf6ef);
  border: 1px solid rgba(18, 68, 45, 0.08);
}

.hero-video-frame--secondary {
  aspect-ratio: 16 / 10;
  margin-top: 0.35rem;
}

.hero-video-frame video,
.video-frame video,
.video-frame iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.hero-fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.hero-fact-grid article,
.impact-card,
.results-grid article,
.results-card__footer div,
.lead-action-box {
  background: rgba(248, 252, 248, 0.92);
  border: 1px solid rgba(18, 68, 45, 0.08);
  border-radius: 18px;
}

.hero-fact-grid article {
  padding: 0.95rem;
}

.hero-fact-grid span,
.impact-card__label,
.results-grid span,
.results-card__footer span,
.lead-action-box span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  margin-bottom: 0.38rem;
}

.hero-fact-grid strong,
.results-grid strong,
.results-card__footer strong,
.lead-action-box strong {
  font-size: 1.18rem;
}

.impact-strip {
  display: grid;
  gap: 1rem;
  margin-top: 0.2rem;
}

.impact-card {
  padding: 1.15rem;
}

.impact-card strong {
  display: block;
  margin-top: 0.4rem;
  font-size: 1.75rem;
}

.section {
  padding: 4.6rem 0 0;
}

.section__intro {
  max-width: 45rem;
  margin-bottom: 1.6rem;
}

.section__intro h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
}

.section__intro p,
.benefit-card p,
.why-loom-points p,
.support-ladder span,
.apply-step p,
.calculator-note,
.video-card p,
.story-card figcaption span,
.lead-copy p,
.faq-answer p,
.site-footer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.benefit-grid,
.video-grid,
.story-grid,
.apply-steps {
  display: grid;
  gap: 1rem;
}

.benefit-card,
.apply-step,
.video-card,
.story-card,
.faq-item,
.banner-card,
.why-loom-points article {
  border-radius: var(--radius);
  border: 1px solid rgba(18, 68, 45, 0.08);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
}

.benefit-card,
.apply-step,
.video-card {
  padding: 1.35rem;
}

.benefit-card h3,
.video-card h3,
.apply-step h3,
.why-loom-panel h3,
.why-loom-support h3,
.apply-checklist h3 {
  margin: 0 0 0.45rem;
  font-size: 1.16rem;
}

.why-loom-layout,
.apply-layout,
.calculator-layout,
.lead-wrap {
  display: grid;
  gap: 1rem;
}

.why-loom-panel__copy {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.why-loom-panel__copy img {
  width: 6.5rem;
  padding: 0.45rem 0.6rem;
  border-radius: 18px;
  background: #fff;
}

.why-loom-points,
.support-ladder {
  display: grid;
  gap: 0.85rem;
}

.why-loom-points article {
  padding: 1rem;
}

.why-loom-points strong,
.support-ladder strong {
  display: block;
  margin-bottom: 0.35rem;
}

.support-ladder {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
}

.support-ladder li {
  padding-left: 0.2rem;
  color: var(--muted-strong);
}

.apply-step span {
  display: inline-grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  margin-bottom: 0.85rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-bright), var(--accent));
  color: #10180f;
  font-weight: 800;
}

.apply-checklist__cta {
  margin-top: 1.2rem;
}

.field {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.field span {
  color: var(--muted-strong);
  font-size: 0.94rem;
}

.field input,
.field select,
.field__with-prefix {
  width: 100%;
  border: 1px solid rgba(18, 68, 45, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
}

.field input,
.field select {
  padding: 0.95rem 1rem;
}

.field select {
  appearance: none;
}

.field__with-prefix {
  display: flex;
  align-items: center;
  padding-left: 1rem;
}

.field__with-prefix span {
  margin: 0;
  color: var(--muted);
}

.field__with-prefix input {
  border: 0;
  background: transparent;
}

.calculator-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.results-grid,
.results-card__footer {
  display: grid;
  gap: 0.9rem;
}

.results-grid article,
.results-card__footer div {
  padding: 1rem;
}

.video-card {
  overflow: hidden;
}

.video-card__copy {
  padding: 0 0 1rem;
}

.story-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.story-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.story-card figcaption {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1rem 1.1rem;
  flex: 1;
}

.story-card figcaption strong {
  font-size: 1rem;
}

.lead-wrap {
  align-items: start;
}

.lead-action-box {
  display: inline-grid;
  gap: 0.2rem;
  margin-top: 1.4rem;
  padding: 1rem 1.05rem;
}

.lead-form .form-status {
  margin: 0.85rem 0 0;
  min-height: 1.5rem;
  color: var(--muted);
  line-height: 1.55;
}

.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-trigger {
  width: 100%;
  border: 0;
  padding: 1.2rem 1.25rem;
  text-align: left;
  color: var(--text);
  background: transparent;
  font-weight: 700;
  cursor: pointer;
}

.faq-answer {
  padding: 0 1.25rem 1.2rem;
}

.banner-card {
  display: grid;
  gap: 1rem;
  align-items: center;
  padding: 1.55rem;
  background:
    linear-gradient(90deg, rgba(18, 168, 90, 0.08), transparent 45%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(242, 248, 243, 0.98));
}

.banner-card h2 {
  margin: 0.75rem 0 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.1;
}

.site-footer {
  padding: 4.4rem 0 8rem;
}

.footer-shell {
  display: grid;
  gap: 1.4rem;
  padding: 1.6rem;
  background:
    radial-gradient(circle at top left, rgba(18, 168, 90, 0.14), transparent 32%),
    radial-gradient(circle at bottom right, rgba(242, 181, 72, 0.14), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(243, 249, 244, 0.96));
}

.footer-hero {
  display: grid;
  gap: 1rem;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(18, 68, 45, 0.08);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-brand__copy {
  display: grid;
  gap: 0.3rem;
}

.footer-brand__copy strong {
  font-size: 1.25rem;
}

.footer-brand__logo {
  display: inline-grid;
  place-items: center;
  width: 6rem;
  padding: 0.55rem 0.65rem;
  border-radius: 18px;
  background: #fff;
}

.footer-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-grid {
  display: grid;
  gap: 1rem;
}

.footer-panel {
  padding: 1.15rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(18, 68, 45, 0.08);
}

.footer-panel__label {
  display: inline-flex;
  margin-bottom: 0.7rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(18, 168, 90, 0.08);
  color: var(--muted-strong);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.footer-panel h3 {
  margin: 0 0 0.8rem;
  font-size: 1.15rem;
  line-height: 1.25;
}

.footer-checklist {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-checklist li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--muted-strong);
}

.footer-checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted-strong);
}

.footer-links--stack,
.footer-contact-list {
  display: grid;
  gap: 0.8rem;
}

.footer-links--stack a,
.footer-contact-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(18, 68, 45, 0.08);
  color: var(--muted-strong);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  padding-top: 0.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 6rem;
  z-index: 30;
  display: inline-grid;
  place-items: center;
  width: 3.3rem;
  height: 3.3rem;
  border-radius: 50%;
  background: #25d366;
  color: #07110f;
  font-weight: 900;
  box-shadow: 0 20px 34px rgba(37, 211, 102, 0.24);
}

.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 0.85rem;
  z-index: 29;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  width: min(calc(100% - 1rem), 34rem);
  padding: 0.65rem;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(18, 68, 45, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.video-cta-panel {
  display: grid;
  gap: 1rem;
  min-height: 17rem;
  padding: 1.1rem;
  margin-top: 1rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(18, 168, 90, 0.05), rgba(242, 181, 72, 0.08));
  border: 1px solid rgba(18, 68, 45, 0.08);
}

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

.video-cta-list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--muted-strong);
}

.video-cta-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}

.video-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn {
    transition: none;
  }
}

@media (min-width: 720px) {
  .impact-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .benefit-grid,
  .apply-steps,
  .results-grid,
  .results-card__footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .lead-wrap {
    grid-template-columns: 1.04fr 0.96fr;
  }

  .banner-card {
    grid-template-columns: 1fr auto;
  }

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

  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 0.9fr;
  }
}

@media (min-width: 900px) {
  .top-nav,
  .header-phone {
    display: flex;
  }

  .hero {
    grid-template-columns: minmax(0, 1.06fr) minmax(22rem, 0.94fr);
    align-items: center;
    min-height: calc(100vh - 5rem);
    gap: 2rem;
    padding: 3rem 0;
  }

  .why-loom-layout,
  .apply-layout,
  .calculator-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

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

@media (min-width: 1080px) {
  .story-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .benefit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 899px) {
  .site-header::before {
    border-radius: 24px;
  }

  .brand__copy small {
    display: none;
  }

  .header-cta .btn {
    padding-inline: 1rem;
    font-size: 0.88rem;
  }
}

@media (max-width: 719px) {
  .site-header,
  .hero,
  .impact-strip,
  .section,
  .site-footer {
    width: min(calc(100% - 1rem), var(--max-width));
  }

  .hero {
    padding: 1.5rem 0 2rem;
  }

  .hero h1 {
    max-width: 11ch;
    font-size: clamp(2rem, 10vw, 2.75rem);
  }

  .hero__lead {
    font-size: 0.98rem;
  }

  .hero__cta-row,
  .calculator-actions {
    flex-direction: column;
  }

  .hero__cta-row .btn,
  .calculator-actions .btn {
    width: 100%;
  }

  .hero__visual {
    display: grid;
  }

  .hero-video-card--secondary {
    display: none;
  }

  .hero-video-card {
    padding: 1.05rem;
  }

  .hero-video-frame {
    margin-top: 0.8rem;
  }

  .hero-fact-grid,
  .benefit-grid,
  .video-grid,
  .story-grid,
  .apply-steps,
  .calculator-layout,
  .results-grid,
  .results-card__footer,
  .why-loom-layout,
  .apply-layout,
  .lead-wrap {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    align-items: flex-start;
  }

  .footer-cta-group .btn,
  .video-cta-actions .btn {
    width: 100%;
  }
}
