:root{
  /* ===== Boutique Light Theme ===== */
  --bg: #fbfaf7;          /* ivory */
  --soft: #f4f2ed;        /* soft section */
  --card: #ffffff;        /* cards */
  --text: #1c1c1c;        /* softer black */
  --muted: rgba(28,28,28,.68);
  --line: rgba(0,0,0,.08);

  --accent: #b08d57;      /* soft gold */
  --shadow: 0 18px 50px rgba(28,28,28,.08);
  --radius: 18px;
  --max: 1040px;

  /* HERO background image */
  --hero-image: url("../../imgs/Landing-Ventas.png");
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height:1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a{ color:inherit; }
.container{
  width:min(var(--max), calc(100% - 40px));
  margin:0 auto;
}

/* Accessibility */
.skip-link{
  position:absolute; left:-999px; top:auto;
  width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left:20px; top:20px; width:auto; height:auto;
  padding:10px 14px; background:#111; color:#fff; border-radius:10px;
  z-index:9999;
}

/* ===== Topbar premium: transparente y se activa con scroll ===== */
.topbar{
  position: fixed;
  top:0;
  left:0;
  width:100%;
  z-index:50;

  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: none;

  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}

.topbar.scrolled{
  background: rgba(251,250,247,.78);
  border-bottom: 1px solid rgba(0,0,0,.06);
  backdrop-filter: blur(12px);
}

.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
}
.brand__logo{
  height:28px;
  width:auto;
  border-radius:8px;
}
.brand__name{
  font-weight:650;
  letter-spacing:.2px;
}

.topbar__nav{
  display:flex;
  gap:14px;
  align-items:center;
}

.topbar__link{
  text-decoration:none;
  font-size:14px;
  color: var(--muted);
  padding:8px 10px;
  border-radius:10px;
}

.topbar__link:hover{
  color: var(--text);
  background: rgba(0,0,0,.035);
}

/* CTA del header (sobrio) */
.topbar__link--cta{
  background: rgba(255,255,255,.65);
  color: var(--text);
  border:1px solid rgba(0,0,0,.12);
  padding: 8px 12px;
  box-shadow: 0 10px 30px rgba(28,28,28,.06);
}

.topbar__link--cta:hover{
  background: rgba(255,255,255,.85);
}

/* ===== Hero (imagen visible + overlay suave) ===== */
.hero{
  padding: 120px 0 58px;
  position: relative;
  overflow: hidden;

  background:
    radial-gradient(900px 320px at 12% 0%, rgba(176,141,87,.14), transparent 62%),
    linear-gradient(180deg, rgba(251,250,247,.62), rgba(251,250,247,.82)),
    var(--hero-image);

  background-size: auto, auto, cover;
  background-position: center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat;
}

.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(800px 280px at 90% 20%, rgba(0,0,0,.04), transparent 60%);
  pointer-events:none;
}

.hero__inner{
  position: relative;
  max-width: 880px;
}

.eyebrow{
  margin:0 0 14px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .18em;
}

.hero__title{
  margin:0 0 18px;
  font-size: clamp(34px, 4.2vw, 50px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--text);
}

.hero__subtitle{
  margin:0 0 26px;
  color: var(--muted);
  font-size: 16px;
  max-width: 74ch;
}

.hero__actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
}

.hero__micro{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  margin-top:18px;
  color: var(--muted);
  font-size: 13px;
}

/* ===== Sections ===== */
.section{
  padding: 58px 0;
  border-top: 1px solid var(--line);
}

.section--soft{
  background: var(--soft);
}

.section__title{
  margin:0 0 10px;
  font-size: 22px;
  letter-spacing: -0.01em;
  font-weight: 650;
}

.section__lead{
  margin:0 0 22px;
  color: var(--muted);
  max-width: 84ch;
}

/* ===== Layout grids ===== */
.grid{ display:grid; gap:14px; }
.grid--2{ grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid--3{ grid-template-columns: repeat(3, minmax(0,1fr)); }

/* ===== Cards ===== */
.card{
  background: var(--card);
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.card--flat{ box-shadow:none; }

.card__title{
  margin:0 0 10px;
  font-size:16px;
  font-weight: 650;
}

.card__text{
  margin:0 0 10px;
  color:var(--muted);
}
.card__text:last-child{ margin-bottom:0; }

.list{
  margin:0;
  padding-left: 18px;
  color: var(--muted);
}
.list li{ margin: 8px 0; }

/* ===== Mini blocks ===== */
.mini{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 10px 30px rgba(28,28,28,.06);
}

.mini__title{
  margin:0 0 8px;
  font-size:15px;
  font-weight: 650;
}

.mini__text{
  margin:0;
  color:var(--muted);
  font-size:14px;
}

/* Nota (oro suave) */
.note{
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(176,141,87,.22);
  color: rgba(28,28,28,.72);
  background: rgba(176,141,87,.10);
}

/* ===== Timeline ===== */
.timeline{ display:grid; gap: 12px; }

.step{
  display:flex;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 10px 30px rgba(28,28,28,.05);
}

.step__n{
  width:34px;
  height:34px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--line);
  color: var(--text);
  background: rgba(176,141,87,.12);
  flex: 0 0 auto;
  font-weight: 650;
}

.step__title{
  margin:0 0 4px;
  font-size:15px;
  font-weight: 650;
}

.step__text{
  margin:0;
  color: var(--muted);
  font-size:14px;
}

.divider{
  height: 1px;
  background: var(--line);
  margin: 18px 0;
}

/* ===== Buttons (premium, no agresivos) ===== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  text-decoration:none;
  border-radius: 12px;
  padding: 13px 20px;
  border:1px solid rgba(0,0,0,.12);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .02em;
  transition: background .15s ease, border-color .15s ease, transform .05s ease, box-shadow .15s ease;
}

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

.btn--primary{
  background: var(--accent);
  color:#fff;
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(176,141,87,.22);
}

.btn--primary:hover{
  filter: brightness(.96);
}

.btn--ghost{
  background: rgba(255,255,255,.55);
  color: var(--text);
  border:1px solid rgba(0,0,0,.15);
}

.btn--ghost:hover{
  background: rgba(255,255,255,.78);
}

.btn--lg{
  padding: 14px 20px;
  font-size: 15px;
}

/* Botón ancho completo (para cards de planes) */
.btn--full{
  width: 100%;
  margin-top: auto;
}

/* ===== CTA section ===== */
.cta{
  padding: 66px 0;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(1000px 420px at 10% 0%, rgba(176,141,87,.20), transparent 55%),
    linear-gradient(0deg, rgba(244,242,237,.85), rgba(244,242,237,.35));
}

.cta__inner{ max-width: 860px; }

.cta__title{
  margin:0 0 10px;
  font-size:24px;
  font-weight: 650;
}

.cta__subtitle{
  margin:0 0 18px;
  color:var(--muted);
  max-width: 84ch;
}

.cta__actions{
  display:flex;
  flex-direction:column;
  gap:12px;
  align-items:flex-start;
}

.small{ font-size:13px; }
.muted{ color:var(--muted); }

/* ===== Footer ===== */
.footer{
  border-top: 1px solid var(--line);
  padding: 18px 0;
  background: var(--bg);
}

.footer__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.footer__link{
  text-decoration:none;
  color:var(--muted);
}
.footer__link:hover{ color:var(--text); }


/* ===================================================
   SECCIÓN INVERSIÓN — estilos nuevos
   =================================================== */

.inversion{
  background:
    radial-gradient(800px 300px at 100% 0%, rgba(176,141,87,.10), transparent 55%),
    var(--soft);
}

/* Strip de pasos del flujo */
.flow-strip{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(28,28,28,.04);
}

.flow-item{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.flow-icon{
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(176,141,87,.14);
  border: 1px solid rgba(176,141,87,.22);
  color: var(--accent);
  font-size: 12px;
  font-weight: 650;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.flow-sep{
  color: var(--line);
  font-size: 16px;
  flex-shrink: 0;
}

/* Grid de planes */
.planes-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
  align-items: start;
  margin-bottom: 20px;
}

/* Card de plan base */
.plan-card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 10px 30px rgba(28,28,28,.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

/* Card destacada */
.plan-card--featured{
  border: 2px solid var(--accent);
  box-shadow: 0 20px 50px rgba(176,141,87,.16);
}

.plan-card__badge{
  position: absolute;
  top: -12px;
  left: 22px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .06em;
  padding: 4px 12px;
  border-radius: 20px;
}

.plan-card__head{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.plan-card__name{
  margin: 0;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -.01em;
}

.plan-card__desc{
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.plan-card__price{
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.plan-card__amount{
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -.02em;
  color: var(--text);
}

.plan-card__features{
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}

.plan-card__features li{
  font-size: 13px;
  color: var(--muted);
  padding-left: 18px;
  position: relative;
}

.plan-card__features li::before{
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 11px;
}

/* Nota debajo de los planes */
.inversion__nota{
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  line-height: 1.7;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}


/* ===== Responsive ===== */
@media (max-width: 860px){
  .topbar__nav{ display:none; }
  .grid--2{ grid-template-columns: 1fr; }
  .grid--3{ grid-template-columns: 1fr; }

  .hero{
    padding: 110px 0 50px;
  }

  /* Planes: 1 columna en mobile */
  .planes-grid{
    grid-template-columns: 1fr;
  }

  /* Flujo: wrappea bien */
  .flow-strip{
    gap: 8px;
    padding: 14px;
  }

  .flow-sep{
    display: none;
  }

  .flow-item{
    flex: 1 1 calc(50% - 8px);
  }
}
