:root {
  --verde: #1D9E75;
  --verde-dark: #085041;
  --verde-light: #E1F5EE;
  --verde-mid: #0F6E56;
  --wa: #25D366;
  --text: #111;
  --text-muted: #555;
  --text-hint: #999;
  --border: rgba(0,0,0,0.1);
  --border-strong: rgba(0,0,0,0.18);
  --bg: #fff;
  --bg-surface: #f7f7f5;
  --radius: 14px;
  --radius-sm: 8px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── NAV ── */
nav {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  z-index: 100;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap; /* clave */
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
@media (max-width: 768px) {

  .nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav-brand-logo {
    width: 26px;
  }

  .nav-brand-text {
    font-size: 13px;
  }
}
.nav-brand img {
  height: 36px;
  width: auto;
}
.nav-logo {
  height: clamp(44px, 6vw, 60px);
  width: auto;
}
.nav-brand-text {
  font-family: 'Syne', sans-serif;
  font-size: clamp(15px, 2vw, 20px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.01em;
}
.nav-brand-text span { color: var(--verde); }
.nav-link-page {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  transition: color .15s;
}
.nav-link-page:hover { color: var(--text); }
@media (max-width: 480px) { .nav-link-page { display: none; } }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--wa);
  position: relative;
  overflow: hidden;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: 100px;
  text-decoration: none;
  transition: opacity .15s, transform .1s;
}
.nav-cta:hover { opacity: .88; }
.nav-cta:active { transform: scale(.97); }
.nav-cta svg { width: 15px; height: 15px; fill: #fff; flex-shrink: 0; }
@media (max-width: 768px) { .nav-cta { display: none; } }

/* ── HERO ── */
.hero {
  padding: 80px 0 72px;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(ellipse at 75% 40%, rgba(29,158,117,.06) 0%, transparent 65%);
}
.hero-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--bg-surface);
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 28px;
}
.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin-bottom: 24px;
  max-width: 700px;
}
.hero h1 em {
  font-style: normal;
  color: var(--verde);
}
.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-muted);
  font-weight: 300;
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  background: transparent;
  border: 1.5px solid var(--border-strong);
  padding: 12px 24px;
  border-radius: 100px;
  text-decoration: none;
  transition: border-color .2s, background .2s, transform .2s, box-shadow .2s;
}
.btn-outline:hover {
  border-color: var(--text);
  background: var(--bg-surface);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.10);
}
.hero-note {
  font-size: 13px;
  color: var(--text-hint);
  font-weight: 300;
  letter-spacing: .01em;
}
.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  border: 1.5px solid var(--border-strong);
  border-radius: 100px;
  padding: 6px 14px;
  transition: border-color .15s, color .15s, background .15s;
}
.hero-link:hover {
  border-color: var(--text);
  color: var(--text);
  background: var(--bg-surface);
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--wa);
  position: relative;
  overflow: hidden;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 13px 26px;
  border-radius: 100px;
  text-decoration: none;
  transition: opacity .15s, transform .1s;
}
.btn-primary:hover { opacity: .88; }
.btn-primary:active { transform: scale(.97); }
.btn-primary svg { width: 18px; height: 18px; fill: #fff; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  padding: 13px 0;
  transition: color .15s;
}
.btn-ghost:hover { color: var(--text); }

/* ── TRUST BAR ── */
.trust {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 300;
}
.trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--verde);
  flex-shrink: 0;
}

/* ── SECTION HEADER ── */
.sec-header {
  margin-bottom: 48px;
}
.sec-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--verde);
  margin-bottom: 12px;
}
.sec-header h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
  margin-bottom: 12px;
}
.sec-header p {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 300;
  max-width: 500px;
}

/* ── PLANS ── */
.plans-sec {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
}
.plans-grid-bottom {
  margin-top: 16px;
}
@media (max-width: 860px) {
  .plans-grid { grid-template-columns: 1fr; }
  .plan-card.featured {
    background: linear-gradient(155deg, rgba(29,158,117,.11) 0%, rgba(29,158,117,.02) 65%);
    animation: featuredGlowMobile 2.4s ease-in-out infinite;
    border-width: 2.5px;
  }
}

@media (hover: none) {
  .plan-card:active,
  .plan-card.is-touched {
    border-color: var(--verde);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
  }
  .plan-card.featured:active,
  .plan-card.featured.is-touched {
    animation: none;
    background: rgba(29,158,117,.15);
    box-shadow: 0 8px 40px 6px rgba(29,158,117,.42);
    transform: translateY(-4px);
  }
}

.plan-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color .2s, transform .2s;
}
.plan-card:hover {
  border-color: var(--border-strong);
}
.plan-card.featured {
  border: 2px solid var(--verde);
  position: relative;
  animation: featuredGlow 3.5s ease-in-out infinite;
}
@media (hover: hover) {
  .plan-card:hover { transform: translateY(-2px); }
  .plan-card.featured:hover {
    animation: none;
    box-shadow: 0 0 24px rgba(29,158,117,.22);
  }
}

.plan-badge {
  font-size: 11px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 100px;
  display: inline-block;
  width: fit-content;
  letter-spacing: .02em;
}
.b-starter { background: var(--verde-light); color: var(--verde-dark); }
.b-pro { background: var(--verde); color: #fff; }
.b-full { background: var(--verde-dark); color: #9FE1CB; }
.b-custom { background: #111; color: #fff; }

.plan-name {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.15;
}
.plan-desc {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.6;
  margin-top: 10px;
}

.plan-divider { height: 1px; background: var(--border); }

.plan-card.plan-card-custom {
  border: 2px solid #111;
  background: #fafaf9;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 28px;
}

.plan-card-custom-col {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-card-custom-divider {
  width: 1px;
  height: auto;
  align-self: stretch;
  margin: 0;
}

.plan-card-custom-feats {
  flex: 2;
  min-width: 260px;
}

.plan-card-custom-right {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: space-between;
}

.wa-plan-btn.dark {
  background: #111;
}

.author-credit {
  color: var(--text-muted);
}

.feats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feats li {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}
.feats li::before {
  content: '';
  width: 6px;
  height: 6px;
  min-width: 6px;
  border-radius: 50%;
  background: var(--verde);
  margin-top: 6px;
}

.modes {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mode {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.mode.dim { color: var(--text-hint); font-style: italic; }
.mode svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--verde); }

.wa-plan-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: 13px 16px;
  background: var(--verde);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: opacity .15s, transform .1s;
  margin-top: auto;
}
.wa-plan-btn:hover { opacity: .88; }
.wa-plan-btn:active { transform: scale(.98); }
.wa-plan-btn svg { width: 15px; height: 15px; fill: #fff; flex-shrink: 0; }

/* ── HOW IT WORKS ── */
.how-sec {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 680px) {
  .steps { grid-template-columns: 1fr; gap: 32px; }
}
.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--verde-mid);
  line-height: 1;
  margin-bottom: 12px;
}
.step h3 {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.step p {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.65;
}

/* ── CONTACT ── */
.contact-sec {
  padding: 80px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 720px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
.contact-info h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.contact-info p {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 32px;
}
.contact-chips {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chip {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
}
.chip-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--verde-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chip-icon svg { width: 16px; height: 16px; color: var(--verde-mid); }

.contact-form-wrap {
  background: var(--bg-surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 32px;
}
.contact-form-wrap h3 {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}
.contact-form-wrap > p {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 24px;
}
.cform { display: flex; flex-direction: column; gap: 12px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .frow { grid-template-columns: 1fr; } }

.cform input,
.cform textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color .15s;
  appearance: none;
  -webkit-appearance: none;
}
.cform input:focus,
.cform textarea:focus {
  border-color: var(--verde);
  box-shadow: 0 0 0 3px rgba(29,158,117,.12);
}
.cform input::placeholder,
.cform textarea::placeholder { color: var(--text-hint); }
.cform textarea { resize: vertical; min-height: 100px; }

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

.form-status {
  min-height: 22px;
  font-size: 14px;
  color: #b00020;
  margin-top: 10px;
}

.send-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: 13px 20px;
  background: var(--wa);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: opacity .15s, transform .1s;
}
.send-btn:hover { opacity: .88; }
.send-btn:active { transform: scale(.98); }
.send-btn svg { width: 18px; height: 18px; fill: #fff; flex-shrink: 0; }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  margin-top: auto;
}
.foot-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.foot-brand {
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
}
.foot-brand span { color: var(--verde); }
.foot-logo { height: 28px; width: auto; vertical-align: middle; margin-right: 8px; }
.foot-sub { font-size: 13px; color: var(--text-hint); }
.foot-contact { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.foot-contact a {
  font-size: 13px; color: var(--text-muted); text-decoration: none;
  transition: color .15s;
}
.foot-contact a:hover { color: var(--verde); }

/* ── STATS ── */
.stats-sec {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  margin-bottom: 40px;
}
@media (max-width: 720px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  color: var(--verde);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-lbl { font-size: 13px; color: var(--text-muted); font-weight: 300; line-height: 1.5; }
.stats-cta { text-align: center; margin-top: 16px; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-tag, .hero h1, .hero-sub, .hero-actions {
  animation: fadeUp .6s ease both;
}
.hero h1    { animation-delay: .08s; }
.hero-sub   { animation-delay: .16s; }
.hero-actions { animation-delay: .24s; }

/* ── WA FLOAT ── */
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,.35); }
  50% { box-shadow: 0 4px 28px rgba(37,211,102,.55), 0 0 0 10px rgba(37,211,102,.1); }
}
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 54px;
  height: 54px;
  background: var(--wa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37,211,102,.35);
  animation: waPulse 2.8s ease-in-out infinite;
  transition: transform .15s;
  z-index: 200;
}
.wa-float:hover {
  animation: none;
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(37,211,102,.5);
}
.wa-float svg { width: 26px; height: 26px; fill: #fff; }
.wa-float-label {
  position: absolute;
  right: calc(100% + 12px);
  background: #111;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  padding: 6px 14px;
  border-radius: 100px;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity .2s, transform .2s;
  pointer-events: none;
}
.wa-float:hover .wa-float-label {
  opacity: 1;
  transform: translateX(0);
}

/* ── ANIMACIONES ── */
@keyframes featuredGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(29,158,117,0); }
  50%       { box-shadow: 0 0 20px 4px rgba(29,158,117,.16); }
}
@keyframes featuredGlowMobile {
  0%, 100% { box-shadow: 0 2px 18px rgba(29,158,117,.22); }
  50%       { box-shadow: 0 4px 44px 10px rgba(29,158,117,.42); }
}

@keyframes btnShimmer {
  0%    { transform: translateX(-180%); opacity: 1; }
  18%   { transform: translateX(320%);  opacity: 1; }
  18.1% { opacity: 0; }
  100%  { transform: translateX(-180%); opacity: 0; }
}

.btn-primary::after,
.nav-cta::after,
.wa-plan-btn::after,
.send-btn::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 45%;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  animation: btnShimmer 4.5s ease-in-out infinite;
  pointer-events: none;
}
.nav-cta::after    { animation-delay: .7s; }
.send-btn::after   { animation-delay: 1.4s; }
.wa-plan-btn::after { animation-delay: 2s; }

/* ── PÁGINA SECUNDARIA ── */
.page-container {
  max-width: 900px;
  margin: auto;
  padding: 60px 24px;
}

.page-container h1 {
  font-family: 'Syne', sans-serif;
  font-size: 42px;
  margin-bottom: 20px;
}

.page-container h2 {
  font-family: 'Syne', sans-serif;
  margin-top: 40px;
  font-size: 24px;
}

.page-container p {
  color: #555;
  font-size: 16px;
}

.page-container ul {
  margin-top: 10px;
  padding-left: 18px;
}

.page-container li {
  margin-bottom: 8px;
  color: #555;
}

.page-back {
  display: inline-block;
  margin-top: 40px;
  text-decoration: none;
  color: #1D9E75;
  font-weight: 500;
}

.page-highlight {
  color: #1D9E75;
  font-weight: 500;
}
