:root {
  --lime: #a8d84a;
  --lime-deep: #7cb82a;
  --teal: #1aa89a;
  --teal-deep: #0d7a72;
  --ink: #0b2f36;
  --ink-soft: #31555c;
  --mist: #eef7f4;
  --fog: #f4fbf8;
  --paper: #ffffff;
  --line: rgba(11, 47, 54, 0.12);
  --grad: linear-gradient(135deg, var(--lime) 0%, var(--teal) 100%);
  --grad-soft: linear-gradient(160deg, #e8f8c8 0%, #d4f3ec 42%, #c8ebea 100%);
  --shadow: 0 18px 50px rgba(13, 70, 66, 0.14);
  --radius: 1.25rem;
  --nav-h: 4.5rem;
  --font-display: "Sora", sans-serif;
  --font-body: "Figtree", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 0.75rem);
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(168, 216, 74, 0.35), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(26, 168, 154, 0.22), transparent 55%),
    var(--fog);
  overflow-x: hidden;
}

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

a {
  color: var(--teal-deep);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ink);
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0.75rem;
  background: var(--ink);
  color: white;
  padding: 0.65rem 1rem;
  border-radius: 0.5rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 0.75rem;
}

/* Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(244, 251, 248, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.9);
}

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.2rem;
}

.brand img {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.65rem;
}

.brand span span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.55rem 0.7rem;
  border-radius: 999px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--ink);
  background: rgba(26, 168, 154, 0.12);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  background: var(--grad);
  color: white !important;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none !important;
  box-shadow: 0 10px 24px rgba(26, 168, 154, 0.28);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(26, 168, 154, 0.35);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - var(--nav-h));
  display: grid;
  align-items: stretch;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(244, 251, 248, 0.96) 0%, rgba(244, 251, 248, 0.88) 38%, rgba(244, 251, 248, 0.2) 68%, transparent 100%),
    var(--grad-soft);
  z-index: 0;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.35;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(168, 216, 74, 0.35) 0 2px, transparent 2.5px),
    radial-gradient(circle at 70% 60%, rgba(26, 168, 154, 0.28) 0 1.5px, transparent 2px);
  background-size: 42px 42px, 28px 28px;
  animation: drift 28s linear infinite;
}

@keyframes drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 84px 42px, -56px 28px; }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
  min-height: calc(100svh - var(--nav-h));
  padding: 2.5rem 0 3rem;
}

.hero-copy {
  max-width: 34rem;
  animation: rise 0.9s var(--ease) both;
}

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

.hero-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}

.hero-brand img {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 1.15rem;
  box-shadow: var(--shadow);
}

.hero-brand strong {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.hero-brand strong span {
  display: block;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 650;
  color: var(--ink);
}

.hero p {
  margin: 0 0 1.75rem;
  color: var(--ink-soft);
  font-size: 1.12rem;
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.btn-primary {
  background: var(--grad);
  color: white;
  box-shadow: 0 14px 30px rgba(26, 168, 154, 0.3);
}

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

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

.btn-secondary:hover {
  transform: translateY(-2px);
  color: var(--ink);
  background: white;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  animation: rise 1.05s var(--ease) 0.12s both;
}

.hero-glow {
  position: absolute;
  width: min(92%, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 216, 74, 0.45), rgba(26, 168, 154, 0.18) 45%, transparent 70%);
  filter: blur(8px);
  animation: pulse 5.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(0.96); opacity: 0.75; }
  50% { transform: scale(1.05); opacity: 1; }
}

.hero-logo {
  position: relative;
  width: min(100%, 360px);
  border-radius: 1.75rem;
  padding: 0.55rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.7));
  box-shadow: var(--shadow);
  transition: transform 0.45s var(--ease);
}

.hero-logo:hover {
  transform: translateY(-6px);
}

.hero-logo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1.25rem;
  background: white;
}

/* Sections */
section {
  padding: 5.5rem 0;
  position: relative;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2.75rem;
}

.section-head .eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 0.75rem;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.55rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.section-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

/* How it works */
.how {
  background:
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.65) 12%, rgba(255, 255, 255, 0.65) 88%, transparent);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 0.25rem 0.25rem 0.25rem 0;
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.6rem;
  letter-spacing: -0.06em;
  line-height: 1;
  margin-bottom: 1rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.step h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.step p {
  margin: 0;
  color: var(--ink-soft);
}

.step + .step {
  border-left: 1px solid var(--line);
  padding-left: 1.5rem;
}

.how-visual {
  margin: 2.5rem 0 0;
  max-width: 640px;
}

.how-visual img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  object-position: center 42%;
  border-radius: 1.35rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(11, 47, 54, 0.06);
}

.how-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

/* Features */
.features-stage {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 1.35rem;
}

.feature-item h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.feature-item p {
  margin: 0;
  color: var(--ink-soft);
}

.feature-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.shot-gallery {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.7rem;
}

.shot {
  margin: 0;
  width: 118px;
  border-radius: 1.15rem;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(13, 70, 66, 0.14);
  border: 1px solid rgba(11, 47, 54, 0.08);
  background: white;
}

.shot img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: top;
}

.shot-main {
  width: 148px;
}

.shot-main img {
  height: 280px;
}

/* Download */
.download {
  background: var(--grad-soft);
}

.download-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  padding: 2.25rem 0;
}

.download-copy h2 {
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.55rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.download-copy p {
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
  max-width: 34rem;
}

.qr-block {
  justify-self: end;
  text-align: center;
  background: white;
  padding: 1.25rem;
  border-radius: 1.5rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  max-width: 240px;
}

.qr-block img {
  width: 180px;
  height: 180px;
  margin: 0 auto 0.85rem;
}

.qr-block p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-weight: 600;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 760px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 2rem 1.15rem 0;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--teal-deep);
  font-weight: 500;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0 0 1.15rem;
  color: var(--ink-soft);
  max-width: 60ch;
}

/* Contact */
.contact {
  background:
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.7));
}

.contact-line {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: end;
  justify-content: space-between;
}

.contact-mail {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--ink);
  background: linear-gradient(transparent 70%, rgba(168, 216, 74, 0.45) 0);
}

.contact-mail:hover {
  color: var(--teal-deep);
}

/* Footer */
.site-footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.35rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--ink);
}

/* Privacy page */
.page-hero {
  padding: 3.5rem 0 1.5rem;
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
}

.page-hero p {
  margin: 0;
  color: var(--ink-soft);
}

.legal {
  padding: 1rem 0 5rem;
  max-width: 720px;
}

.legal h2 {
  margin: 2.25rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.legal p,
.legal li {
  color: var(--ink-soft);
}

.legal ul {
  padding-left: 1.2rem;
}

.legal code {
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
  font-size: 0.92em;
  background: rgba(26, 168, 154, 0.1);
  padding: 0.1em 0.35em;
  border-radius: 0.35em;
}

/* Guía Cómo funciona */
.guide-page {
  background:
    radial-gradient(900px 420px at 90% -8%, rgba(168, 216, 74, 0.28), transparent 58%),
    radial-gradient(700px 380px at -8% 12%, rgba(26, 168, 154, 0.16), transparent 52%),
    var(--fog);
}

.guide-top {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(244, 251, 248, 0.92);
  border-bottom: 1px solid var(--line);
}

.guide-top-inner {
  min-height: 4.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.guide {
  padding: 2.25rem 0 4rem;
}

.guide-layout {
  max-width: 720px;
  display: grid;
  gap: 1rem;
}

.guide-hero h1 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.guide-hero p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.guide-zona {
  margin: 1.35rem 0 0.15rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.guide-card,
.guide-dato,
.guide-aviso,
.guide-consejo {
  background: white;
  border-radius: 1.15rem;
  padding: 1.15rem 1.2rem;
  box-shadow: 0 8px 24px rgba(13, 70, 66, 0.08);
  border: 1px solid rgba(11, 47, 54, 0.06);
}

.guide-card h2,
.guide-card h3,
.guide-dato h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.guide-card p,
.guide-dato p {
  margin: 0;
  color: var(--ink-soft);
}

.guide-steps {
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
  counter-reset: paso;
}

.guide-steps li {
  position: relative;
  padding-left: 2.15rem;
  color: var(--ink);
  counter-increment: paso;
}

.guide-steps li::before {
  content: counter(paso);
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal-deep);
  background: rgba(26, 168, 154, 0.14);
}

.guide-steps[data-letters] {
  counter-reset: letra;
}

.guide-steps[data-letters] li {
  counter-increment: letra;
}

.guide-steps[data-letters] li::before {
  content: counter(letra, upper-alpha);
  font-size: 0.7rem;
}

.guide-dato p + p {
  margin-top: 0.65rem;
}

.guide-dato span {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal-deep);
}

.guide-dato p {
  background: #f3f7fb;
  border-radius: 0.75rem;
  padding: 0.7rem 0.8rem;
}

.guide-minis {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.9rem;
}

.guide-minis p {
  margin: 0;
  background: #f3f7fb;
  border-radius: 0.75rem;
  padding: 0.7rem 0.8rem;
  color: var(--ink-soft);
}

.guide-minis strong {
  display: block;
  color: var(--ink);
  margin-bottom: 0.15rem;
}

.guide-aviso {
  background: #fff4e5;
  border-color: rgba(230, 126, 34, 0.18);
  box-shadow: none;
}

.guide-aviso strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
}

.guide-aviso p {
  margin: 0;
  color: var(--ink-soft);
}

.guide-consejo {
  background: #e8f8f0;
  border-color: rgba(26, 168, 154, 0.16);
  box-shadow: none;
  color: var(--ink);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .features-stage,
  .download-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 1.75rem;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(244, 251, 248, 0.96) 0%, rgba(244, 251, 248, 0.78) 48%, rgba(244, 251, 248, 0.35) 100%),
      var(--grad-soft);
  }

  .hero-logo {
    width: min(100%, 280px);
  }

  .how-visual {
    max-width: 100%;
  }

  .how-visual img {
    max-height: 280px;
  }

  .shot {
    width: 100px;
  }

  .shot img {
    height: 196px;
  }

  .shot-main {
    width: 126px;
  }

  .shot-main img {
    height: 238px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .step + .step {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 1.75rem;
  }

  .qr-block {
    justify-self: start;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 1rem 1.25rem 1.25rem;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
  }

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

  .nav-links a,
  .nav-cta {
    width: 100%;
    justify-content: flex-start;
  }

  .nav-cta {
    margin-top: 0.35rem;
  }
}

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