:root { /* === Variables / Design tokens === */
  --bg: #f7fbf8;
  --bg-soft: #eef7f1;
  --text: #1a2520;
  --muted: #4f665b;
  --card: #ffffff;
  --line: #d3e6dc;
  --brand: #0a7f52;
  --brand-strong: #056342;
  --accent: #21c47b;
  --accent-strong: #0fa362;
  --danger: #b33535;
  --shadow: 0 14px 44px rgba(9, 61, 42, 0.14);
  --radius-lg: 1.25rem;
  --radius-md: 0.85rem;
  --container: min(1120px, 92vw);
}

/* === Reset / Box-sizing === */
* {
  box-sizing: border-box;
}

/* === HTML defaults === */
html {
  scroll-behavior: smooth;
}

/* === Body / Page layout & background === */
body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1100px 320px at 80% -10%, rgba(33, 196, 123, 0.18), transparent 70%),
    radial-gradient(720px 220px at 0% 12%, rgba(10, 127, 82, 0.08), transparent 65%),
    var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  padding: 5.4rem 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(10, 127, 82, 0.05), rgba(10, 127, 82, 0.01));
  border-block: 1px solid rgba(10, 127, 82, 0.12);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: #111;
  color: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 12px;
}

.topbar {
/* === Header / Topbar === */
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(245, 223, 200, 0.92);
  border-bottom: 1px solid rgba(172, 120, 84, 0.25);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem;
  padding: 0.62rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  min-width: 210px;
}

.brand img {
  width: 54px;
  height: 54px;
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy strong {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1.05rem;
  color: #1b201d;
}

.brand-copy small {
  color: #303a34;
  font-size: 0.78rem;
  font-weight: 700;
}

.topbar-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  padding: 0.28rem 0.36rem;
  border: 1px solid rgba(123, 87, 59, 0.36);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.56));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.66),
    0 6px 18px rgba(84, 53, 31, 0.14);
}

.topbar-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #1b2320;
  font-size: 0.95rem;
  padding: 0.4rem 0.74rem;
  border-radius: 999px;
  border: 1px solid transparent;
  position: relative;
  transition: transform 0.14s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.topbar-nav a:not(:last-child)::after {
  content: "";
}

.topbar-nav a:hover,
.topbar-nav a:focus-visible {
  color: #0b7c50;
  border-color: rgba(11, 124, 80, 0.26);
  background: linear-gradient(180deg, #ffffff, #f0fff7);
  box-shadow: 0 8px 16px rgba(10, 104, 66, 0.14);
  transform: translateY(-1px);
}

.topbar-nav a.is-current {
  color: #07482f;
  border-color: rgba(10, 132, 80, 0.4);
  background: linear-gradient(180deg, #f6fff9, #dbf8e8);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 7px 14px rgba(10, 114, 71, 0.16);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid rgba(58, 116, 90, 0.26);
  padding: 0.12rem;
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff, #eef8f2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.lang-btn {
  border: 0;
  background: transparent;
  color: #3d5a4d;
  padding: 0.34rem 0.74rem;
  font-weight: 800;
  font-size: 0.77rem;
  cursor: pointer;
  border-radius: 999px;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.14s ease;
}

.lang-btn.is-active {
  background: linear-gradient(180deg, #16ce73, #0eb665);
  color: #fff;
  box-shadow: 0 4px 10px rgba(10, 123, 71, 0.24);
}

.lang-btn:hover {
  color: #0b7c50;
  transform: translateY(-1px);
}

.topbar-plan-btn {
  border-radius: 999px;
  min-width: 186px;
  font-size: 1.02rem;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  border-radius: 0.65rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  margin: 0;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}

h1,
h2,
h3 {
  font-family: "Sora", "Segoe UI", sans-serif;
  line-height: 1.2;
  margin: 0 0 0.7rem;
}

h1 {
  font-size: clamp(1.85rem, 4vw, 3rem);
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  font-weight: 800;
  font-size: 0.78rem;
}

/* === Hero / Demo (intro) === */
.hero {
  padding: 0;
}

.hero-shell {
  --hero-content-width: min(80vw, 440px);
  position: relative;
  width: 100%;
  min-height: calc(100vh - 76px);
  min-height: calc(100svh - 76px);
  border-radius: 0;
  border: 0;
  background-image: url("../bghero.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  padding: clamp(1rem, 2.8vw, 2rem) clamp(0.9rem, 3vw, 2.2rem) 1.5rem;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 8%, rgba(255, 255, 255, 0.05) 90%);
  pointer-events: none;
}

.hero-shell > * {
  position: relative;
  z-index: 1;
}

.hero-main-title {
  margin-top: 0.7rem;
  margin-bottom: 0.2rem;
  width: min(99vw, 1300px);
  line-height: 1;
  min-width: 0;
  max-width: 100%;
}

.hero-title-curve {
  display: block;
  width: 100%;
  height: auto;
}

.hero-title-text {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: clamp(106px, 11vw, 166px);
  font-weight: 800;
  letter-spacing: -0.015em;
  fill: #101010;
  stroke: #ffffff;
  stroke-width: 16px;
  paint-order: stroke fill;
}

/* Mobile-only hero icon inserted after the hero title.
   Use absolute positioning so it does not shift layout flow. */
.hero-icon-mobile {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 185px;
  width: auto;
  max-width: 100%;
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 650px) {
  .hero-icon-mobile {
    display: block;
    /* place roughly between the title and the content without affecting layout */
    top: calc(var(--hero-title-offset, 72px) + 130px);
  }

  /* reduce spacing so icon integrates visually */
  .hero-main-title {
    margin-bottom: 0.2rem;
  }

  .hero-content-stack {
    gap: 0.35rem;
    transform: translateY(0);
  }
}

html[lang="es"] .hero-title-text {
  font-size: clamp(96px, 10.2vw, 150px);
  letter-spacing: 0;
}

.hero-content-stack {
  width: var(--hero-content-width);
  display: grid;
  justify-items: center;
  gap: 0.34rem;
  /* default vertical offset for hero content (desktop) */
  transform: translateY(-8rem);
  min-width: 0;
  max-width: 100%;
}

.hero-green-badge {
  margin: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: clamp(1.34rem, 3.4vw, 2.55rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.02;
  border-radius: 25px;
  border: 6px solid #fff;
  background: linear-gradient(180deg, #17cd74, #08a756);
  padding: 1.18rem 2.2rem 1.32rem;
  max-width: none;
  min-width: 0;
  max-width: 100%;
}

.hero-green-badge span {
  display: block;
  white-space: nowrap;
}

.hero-demo-card {
  width: 100%;
  margin-inline: auto;
  margin-top: 0;
  min-width: 0;
}

.hero-demo-title {
  margin: 0 0 0.48rem;
  width: 100%;
  background: #fff;
  border: 2px solid #ebebeb;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-weight: 800;
  font-size: clamp(1rem, 2.4vw, 2rem);
}

/* === Demo form (hero) === */

/* === Pricing cards responsive grid === */
.pricing-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  width: 100%;
}

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

/* Breakpoints: <=650px => 2 columns, <=350px => 1 column */
@media (max-width: 650px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* If the final item is alone in the second row (odd number of items),
     make it span both columns so it appears centered and full-width. */
  .pricing-grid > *:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 350px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* (responsive rules for .plans-grid moved below to avoid being overridden) */

.hero-test-form {
  display: grid;
  gap: 0.5rem;
}

.hero-input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.48rem;
  align-items: center;
  width: 100%;
}

.hero-input-row input[type="tel"] {
  border: 2px solid #a2549a;
  background: #fff;
  border-radius: 999px;
  padding: 0.72rem 1rem;
  color: #1d1d1d;
  font-size: 1.08rem;
  font-weight: 700;
  min-width: 0;
  width: 100%;
}

.hero-input-row input[type="tel"]::placeholder {
  color: #7a7a7a;
}

.test-send-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  padding: 0.64rem 1.18rem;
  border-radius: 9999px;
  min-width: 124px;
  background: linear-gradient(180deg, #13cd72 0%, #09b863 100%);
  border: 1px solid #fff;
  box-shadow: 0 7px 14px rgba(10, 120, 67, 0.22);
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 0.99rem;
  font-weight: 800;
  text-transform: uppercase;
}

.test-send-btn::before {
  content: "near_me";
  font-family: "Material Symbols Outlined";
  font-size: 1.15rem;
  color: #f4fff9;
  font-variation-settings:
    "FILL" 0,
    "wght" 200,
    "GRAD" 0,
    "opsz" 24;
  line-height: 1;
  transform: rotate(8deg);
}

.hero-check-row {
  margin-top: 0.1rem;
  text-align: left;
  color: #1f2d27;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(8, 95, 58, 0.2);
  border-radius: 0.7rem;
  padding: 0.3rem 0.45rem;
  gap: 0.42rem;
  font-size: 0.74rem;
  line-height: 1.24;
}

.hero-check-row input {
  width: 14px;
  height: 14px;
  margin-top: 0.07rem;
}

.hero-disclosure-links {
  text-align: left;
  margin: -0.08rem 0 0;
}

.hero-plan-btn {
  margin-top: 0;
  width: 100%;
  border-radius: 999px;
  min-width: 0;
  font-size: clamp(1.2rem, 2.9vw, 2rem);
}

.hero-feedback {
  min-height: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  text-align: left;
}

.hero-feedback:empty {
  display: none;
}

.hero-feedback:not(:empty) {
  min-height: 1.2rem;
  margin-top: 0.16rem;
  background: rgba(255, 255, 255, 0.84);
  border-radius: 0.6rem;
  padding: 0.3rem 0.5rem;
}

#demoFieldsWrap {
  display: grid;
  gap: 0.5rem;
}

.demo-state-box {
  display: grid;
  gap: 0.45rem;
  text-align: left;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(10, 112, 71, 0.22);
  border-radius: 0.85rem;
  padding: 0.6rem 0.7rem;
}

/* Ensure demo state boxes honor the `hidden` attribute (author CSS shouldn't override UA rule) */
.demo-state-box[hidden],
#demoAfterSendBox[hidden],
#demoUsedBox[hidden] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}

.demo-state-title {
  margin: 0;
  font-weight: 800;
  color: #0d6040;
}

.demo-state-copy {
  margin: 0;
  font-size: 0.92rem;
  color: #2a4338;
}

.demo-state-link {
  font-weight: 800;
  color: #0a7d51;
  text-decoration: underline;
}

.demo-retry-btn {
  width: 100%;
  margin-top: 0.15rem;
}

.demo-state-box-used {
  border-color: rgba(155, 86, 39, 0.3);
  background: rgba(255, 248, 240, 0.95);
}

.demo-confirm-dialog {
  width: min(560px, 92vw);
}

.demo-confirm-number {
  margin: 0.15rem 0 0.3rem;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1.18rem;
  font-weight: 800;
  color: #0a7f52;
}

.demo-confirm-hint {
  margin: 0 0 0.55rem;
  color: #2f473d;
  font-size: 0.92rem;
}

.demo-confirm-countdown {
  margin: 0 0 0.5rem;
  color: #3a5047;
  font-weight: 700;
}

.demo-confirm-actions {
  justify-content: flex-end;
}

.demo-confirm-btn {
  min-width: 210px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: #fff;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
}

.demo-confirm-btn.is-waiting {
  background: linear-gradient(180deg, #b9b9b9, #9f9f9f);
  border-color: #d9d9d9;
  box-shadow: none;
}

.demo-confirm-btn.is-ready {
  background: linear-gradient(90deg, #7f4cd0, #d56aa3 48%, #f2c852);
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 22px rgba(110, 59, 151, 0.28);
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* === How it works / Steps === */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.2rem;
  position: relative;
  align-items: start;
  padding: 2.6rem 1.4rem;
}

.step-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 3.2rem 1.6rem 1.6rem 1.6rem;
  box-shadow: 0 12px 26px rgba(8, 59, 41, 0.06);
  position: relative;
  z-index: 2;
  min-height: 120px;
}

.step-desc {
  margin: 0.45rem 0 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* decorative connecting line (horizontal on desktop, vertical on small screens) */
.steps-grid::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 50%;
  height: 6px;
  background: linear-gradient(90deg, rgba(10,127,82,0.12), rgba(10,127,82,0.22));
  border-radius: 6px;
  z-index: 1;
}

.step-number {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 64px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  border: 5px solid var(--brand);
  color: var(--brand-strong);
  font-weight: 900;
  font-size: 1.05rem;
  box-shadow: 0 10px 24px rgba(7,62,42,0.10);
}

.step-item h3 {
  margin: 0;
  font-size: 1.02rem;
}

.note,
.note-inline,
.muted {
  color: var(--muted);
}

.note {
  margin-top: 1rem;
  font-size: 0.95rem;
}

.note-inline {
  margin-bottom: 1.15rem;
  font-size: 0.95rem;
}

/* === Plans / Pricing section === */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

/* === Examples section === */
.examples-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1rem;
}

.example-card {
  background: linear-gradient(180deg, #ffffff, #fbfffb);
  border: 1px solid rgba(13,111,73,0.08);
  border-radius: 0.9rem;
  padding: 0.9rem 1rem 1rem 1rem;
  box-shadow: 0 10px 28px rgba(8, 59, 41, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.example-title {
  margin: 0;
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--brand-strong);
}

.example-body {
  margin: 0;
  color: #264336;
  font-size: 0.95rem;
  line-height: 1.35;
}

.example-meta {
  margin: 0;
  padding-left: 1rem;
  list-style: none;
  display: grid;
  gap: 0.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}

/* message-like header */
.example-card::before {
  content: "";
  display: block;
  height: 6px;
  width: 48px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  border-radius: 6px;
  margin-bottom: 6px;
}

.example-card .example-meta li strong {
  color: var(--brand-strong);
}

@media (max-width: 650px) {
  .examples-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .examples-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 350px) {
  .examples-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive breakpoints for .plans-grid (placed after main definition) */
@media (max-width: 650px) {
  .plans-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 350px) {
  .plans-grid {
    grid-template-columns: 1fr;
  }
}

.plan-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  background: var(--card);
  border: 1px solid #cde8dc;
  border-radius: 1rem;
  padding: 1.2rem;
  box-shadow: 0 12px 24px rgba(7, 62, 42, 0.09);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 34px rgba(7, 62, 42, 0.16);
}

.plan-card-popular {
  border: 2px solid var(--accent-strong);
  position: relative;
}

.plan-card-popular::before {
  content: "Popular";
  position: absolute;
  top: -0.7rem;
  right: 1rem;
  background: linear-gradient(90deg, #0fa362, #21c47b);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}

.plan-tag {
  display: inline-block;
  background: #edf9f3;
  color: #0d6f49;
  border: 1px solid #cae8da;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
}

.plan-card ul {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.4rem;
}

.price-block {
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px dashed #cde4da;
}

.price-block .regular {
  color: #5c7168;
  margin-bottom: 0.35rem;
}

.price-block .onearcys {
  color: #0f7f53;
  font-weight: 800;
}

.audience-grid {
/* === Audience / Benefits === */
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.2rem;
  align-items: start;
}

.chips-list {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chips-list li {
  border-radius: 999px;
  padding: 0.46rem 0.9rem;
  background: linear-gradient(180deg, #f7fff9, #effdf6);
  border: 1px solid rgba(13,111,73,0.08);
  font-weight: 800;
  font-size: 0.95rem;
  color: #0e563e;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  box-shadow: 0 6px 14px rgba(15,120,78,0.04);
  cursor: default;
}

.chips-list li:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(15,120,78,0.08);
  background: linear-gradient(180deg, #f0fff4, #e6f9ee);
}

.audience-card {
  background:
    linear-gradient(180deg, #ffffff, #eff8f3),
    radial-gradient(420px 120px at 30% 10%, rgba(33, 196, 123, 0.18), transparent 75%);
  border: 1px solid #cde5da;
  border-radius: 1rem;
  padding: 1.1rem;
  box-shadow: 0 14px 30px rgba(8, 64, 42, 0.09);
}

.section-cta {
/* === Final CTA (call to action) === */
  padding-top: 3.5rem;
}

.final-cta {
  text-align: center;
  background: linear-gradient(145deg, #e7f8ef, #d2f1e1);
  border: 1px solid #bfe6d2;
  border-radius: 1.2rem;
  padding: 2rem 1.2rem;
  box-shadow: 0 16px 36px rgba(7, 68, 44, 0.1);
}


.footer {
  margin-top: 2rem;
  background: linear-gradient(180deg, #04263a 0%, #021827 100%);
  color: #d8eef8;
  padding: 2.6rem 0 1.2rem;
}

/* === FAQ (accordion) === */
.faq {
  padding: 2.8rem 0 1.6rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
}
.faq .container {
  width: min(980px, 92vw);
  margin-inline: auto;
}
.faq-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-top: 0.9rem;
}
.faq-item {
  background: transparent;
  border-radius: 0.9rem;
  overflow: visible;
}
.faq-item > .faq-question,
.faq-item > .faq-answer {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
}
.faq-question {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.98rem;
  border-radius: 0.9rem;
  border-bottom-left-radius: 0.3rem;
  border-bottom-right-radius: 0.3rem;
  background-clip: padding-box;
  color: var(--text);
  box-shadow: 0 6px 18px rgba(8,59,41,0.04);
}
.faq-question:hover,
.faq-question:focus-visible {
  outline: none;
  box-shadow: 0 10px 26px rgba(8,59,41,0.06);
}
.faq-question .chev {
  transition: transform 220ms ease;
  display: inline-block;
  font-size: 1.1rem;
  color: var(--muted);
}
.faq-item.is-open > .faq-question .chev {
  transform: rotate(180deg);
  color: var(--brand-strong);
}
.faq-answer {
  padding: 0.85rem 1.1rem 1.05rem 1.1rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  border-top: 0;
  transition: max-height 320ms cubic-bezier(.2,.9,.3,1), opacity 220ms ease, padding 220ms ease;
  margin-top: 0.45rem;
  border-radius: 0.65rem;
  box-shadow: 0 8px 18px rgba(8,59,41,0.03) inset;
  color: var(--muted);
  background: linear-gradient(180deg, #ffffff, #fbfffb);
}
.faq-item.is-open > .faq-answer {
  opacity: 1;
}

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

.footer-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  width: 100%;
  text-align: center;
}

.footer-brand {
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: #eef9ff;
}

.footer-note {
  margin: 0.45rem 0 0.6rem;
  color: #bfe9ff;
  font-size: 0.92rem;
}

.footer-checks {
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  justify-content: center;
}

.footer-links a {
  color: #cfeeff;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  border-bottom-color: currentColor;
}

.copyright {
  text-align: center;
  margin: 1.6rem 0 0;
  color: #a7c7b8;
  font-size: 0.86rem;
}

.btn {
/* === Buttons / Utilities === */
  border: 1px solid transparent;
  border-radius: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-decoration: none;
  padding: 0.68rem 1.05rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

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

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

.btn-solid {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 18px rgba(10, 127, 82, 0.3);
}

.btn-solid:hover {
  background: var(--brand-strong);
}

.btn-solid.test-send-btn {
  border-radius: 9999px;
  border: 1px solid #fff;
  background: linear-gradient(180deg, #19dd7e 0%, #0fc86e 100%);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.33),
    0 7px 14px rgba(10, 124, 69, 0.24);
}

.btn-solid.test-send-btn:hover,
.btn-solid.test-send-btn:focus-visible {
  background: linear-gradient(180deg, #1ee484 0%, #12cd72 100%);
}

.btn-outline {
  background: #fff;
  color: var(--brand);
  border-color: #b7dccc;
}

.btn-accent {
  background: linear-gradient(90deg, var(--accent-strong), var(--accent));
  color: #fff;
  box-shadow: 0 10px 24px rgba(15, 163, 98, 0.36);
}

.btn-accent:hover {
  filter: saturate(1.06) brightness(0.97);
}

.plan-cta-btn {
  color: #fff;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: linear-gradient(90deg, #8a47c5 0%, #af58bf 34%, #d97f96 63%, #efca4b 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 10px 24px rgba(82, 35, 120, 0.24);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
  font-family: "Sora", "Segoe UI", sans-serif;
  font-weight: 800;
}

.plan-cta-btn:hover {
  filter: saturate(1.05) brightness(0.98);
}

.plan-cta-btn:active {
  filter: saturate(1) brightness(0.95);
}

.final-plan-btn {
  min-width: 210px;
}

.btn[disabled] {
  opacity: 0.62;
  cursor: not-allowed;
  transform: none;
}

:focus-visible {
  outline: 3px solid #f3b11f;
  outline-offset: 2px;
}

.modal {
/* === Modals & Dialogs === */
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 24, 16, 0.56);
}

.modal-dialog {
  position: relative;
  width: min(640px, 92vw);
  background: #fff;
  border-radius: 1rem;
  border: 1px solid #c8e4d8;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.2);
  padding: 1.2rem;
  z-index: 1;
  animation: modalIn 0.2s ease-out;
}

.modal-close {
  position: absolute;
  right: 0.65rem;
  top: 0.45rem;
  border: 0;
  background: transparent;
  font-size: 1.7rem;
  line-height: 1;
  color: #42544b;
  cursor: pointer;
}

.progress-wrap {
  margin: 0.8rem 0 1rem;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: #ebf5ef;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid #d2e9dd;
}

.progress-bar span {
  display: block;
  height: 100%;
  width: 50%;
  background: linear-gradient(90deg, #0fa362, #2ad187);
  transition: width 0.2s ease;
}

.form-step {
  display: grid;
  gap: 0.6rem;
}

.form-step label {
  font-weight: 700;
  font-size: 0.94rem;
}

.form-step input[type="text"],
.form-step input[type="url"],
.form-step input[type="tel"],
.form-step input[type="email"] {
  border: 1px solid #bbddd0;
  border-radius: 0.7rem;
  padding: 0.63rem 0.74rem;
  font-size: 0.98rem;
  color: var(--text);
  background: #fcfffd;
}

.form-step input:invalid:focus {
  border-color: var(--danger);
}

.form-actions {
  margin-top: 0.25rem;
  display: flex;
  justify-content: space-between;
  gap: 0.65rem;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: #2e433a;
}

.check-row input {
  margin-top: 0.2rem;
}

.disclosure-links {
  margin: -0.2rem 0 0.25rem;
  font-size: 0.86rem;
}

.disclosure-links a {
  color: #0b7c50;
  font-weight: 700;
}

.form-feedback {
  min-height: 1.2rem;
  margin: 0.9rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.form-feedback.error {
  color: var(--danger);
}

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

.hp-field {
  display: none;
}

.legal-wrap,
.error-wrap {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 2.5rem 0;
}

.legal-card,
.error-card {
  width: min(860px, 92vw);
  background: #fff;
  border: 1px solid #cce6da;
  border-radius: 1rem;
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.legal-card h1,
.error-card h1 {
  margin-bottom: 1rem;
}

.legal-card h2 {
  margin-top: 1.4rem;
  font-size: 1.2rem;
}

.legal-card p,
.legal-card li {
  color: #31473d;
}

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

@keyframes float {
  0%,
  100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* === Responsive / Media queries === */
@media (max-width: 1200px) {
  /* slightly reduce hero offset on medium-large screens */
  .hero-content-stack {
    transform: translateY(-7rem);
  }
}

@media (max-width: 850px) {
  .steps-grid,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  /* on narrow screens use vertical connecting line */
  .steps-grid {
    padding: 1rem 1rem 2rem 1rem;
  }

  .steps-grid::before {
    left: 34px;
    right: auto;
    top: 0.6rem;
    bottom: 0.6rem;
    width: 6px;
    height: auto;
    background: linear-gradient(180deg, rgba(10,127,82,0.12), rgba(10,127,82,0.22));
    border-radius: 8px;
    margin-left: 0;
  }

  .step-number {
    left: -26px;
    /* vertically center relative to the card */
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    font-size: 0.95rem;
  }

  .step-item {
    padding-left: 5.2rem;
    padding-top: 1.1rem;
    padding-bottom: 1rem;
    min-height: auto;
  }

  /* adjust hero offset for tablet / small desktop */
  .hero-content-stack {
    transform: translateY(-2rem);
  }
}

@media (max-width: 850px) {
  html[lang="es"] {
    font-size: 92%;
  }

  .section {
    padding: 4.2rem 0;
  }

  .topbar-inner {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 0.65rem;
    align-items: center;
  }

  .topbar-actions {
    justify-self: center;
  }

  .topbar-plan-btn {
    display: none;
  }

  .topbar-nav {
    position: absolute;
    left: 4vw;
    right: 4vw;
    top: calc(100% + 0.35rem);
    background: linear-gradient(180deg, rgba(255, 251, 244, 0.99), rgba(247, 233, 214, 0.96));
    border: 1px solid rgba(154, 108, 75, 0.38);
    border-radius: 1rem;
    padding: 0.62rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.38rem;
    box-shadow: 0 12px 30px rgba(70, 49, 31, 0.2);
  }

  .topbar.is-open .topbar-nav {
    display: flex;
  }

  .topbar-nav a:not(:last-child)::after {
    content: "";
  }

  .topbar-nav a {
    width: 100%;
    justify-content: flex-start;
    padding: 0.52rem 0.72rem;
    border-radius: 0.78rem;
    border: 1px solid rgba(153, 107, 72, 0.18);
    background: rgba(255, 255, 255, 0.74);
  }

  .topbar-nav a.is-current {
    color: #086342;
    border-color: rgba(8, 99, 66, 0.42);
    background: linear-gradient(180deg, #ecfff4, #d5f5e4);
    box-shadow: 0 6px 12px rgba(9, 90, 60, 0.16);
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    justify-self: end;
    gap: 6px;
    padding: 6px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .brand-copy strong {
    font-size: 0.95rem;
  }

  .brand-copy small {
    font-size: 0.68rem;
  }

  .hero {
    padding-top: 0;
  }

  .hero-shell {
    --hero-content-width: min(100%, 348px);
    min-height: calc(100vh - 70px);
    min-height: calc(100svh - 70px);
    border-radius: 0;
    border-width: 0;
    padding: 0.9rem 0.75rem 1.2rem;
  }

  .hero-main-title {
    margin-top: 0.25rem;
    margin-bottom: 1rem;
    width: 100%;
    max-width: 100%;
  }

  .hero-title-text {
    font-size: 195px;
    stroke-width: 18px;
    letter-spacing: -0.01em;
  }

  html[lang="es"] .hero-title-text {
    font-size: 178px;
    letter-spacing: -0.07em;
  }

  .hero-content-stack {
    gap: 0.5rem;
    /* mobile: small offset to avoid overlap */
    transform: translateY(-1rem);
  }

  .hero-green-badge {
    border-width: 4px;
    border-radius: 25px;
    margin: 0;
    max-width: none;
    padding: 0.72rem 1.1rem 0.86rem;
    font-size: clamp(1rem, 7.6vw, 2rem);
    line-height: 1.03;
  }

  .hero-demo-card {
    width: 100%;
    margin-top: 0;
  }

  .hero-demo-title {
    margin: 0 0 0.58rem;
    padding: 0.42rem 0.9rem;
    font-size: clamp(1rem, 5.4vw, 1.32rem);
  }

  .hero-input-row {
    grid-template-columns: 1fr auto;
    gap: 0.4rem;
  }

  .hero-input-row input[type="tel"] {
    min-width: 0;
    font-size: 1rem;
    padding: 0.66rem 0.92rem;
  }

  .test-send-btn {
    min-width: 104px;
    font-size: 0.94rem;
    gap: 0.34rem;
    padding: 0.52rem 0.92rem;
  }

  .test-send-btn::before {
    font-size: 1.05rem;
  }

  .hero-check-row {
    font-size: 0.63rem;
    padding: 0.22rem 0.34rem;
    line-height: 1.22;
  }

  .hero-check-row input {
    width: 12px;
    height: 12px;
    margin-top: 0.05rem;
  }

  .demo-state-copy {
    font-size: 0.82rem;
  }

  .demo-confirm-number {
    font-size: 1.04rem;
  }

  .demo-confirm-btn {
    min-width: 170px;
  }

  .hero-plan-btn {
    width: 100%;
    min-width: 0;
    margin-top: 0;
  }

  .footer-links {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .modal-dialog {
    padding: 1rem;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions .btn {
    width: 100%;
  }
}

@media (max-width: 420px) {
  /* very small phones: push content down to avoid covering title */
  .hero-content-stack {
    transform: translateY(5rem);
  }
}

@media (max-width: 250px) {
  /* hide branding text on extremely small screens */
  .brand-copy {
    display: none;
  }

  /* ensure brand image keeps layout without extra gap */
  .brand img {
    margin-right: 0;
  }
}

@media (max-width: 280px) {
  /* extra-small phones: stack hero input row into a column */
  .hero-input-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: stretch;
  }

  .hero-input-row input[type="tel"] {
    width: 100%;
  }

  .test-send-btn {
    width: 100%;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
