:root {
  --verde: #0a6633;
  --verde-2: #138a45;
  --lima: #95c11f;
  --tinta: #13201a;
  --gris: #5b6660;
  --linea: #e3e8e4;
  --fondo: #ffffff;
  --tinte: #f3f7ef;
  --wa: #1fae55;
  --radio: 14px;
  --sombra: 0 10px 30px -12px rgba(10, 40, 25, .25);
  --head: "Archivo", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--body); color: var(--tinta); background: var(--fondo); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--gris); }
.muted-l { color: #cfe1d5; font-size: 1.05rem; }
.tiny { font-size: .8rem; color: var(--gris); margin-top: 1rem; }
.link { font-weight: 700; color: var(--verde); text-decoration: none; font-size: 1.15rem; }

.eyebrow { font-family: var(--head); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--lima); margin-bottom: .6rem; }
.eyebrow--dark { color: var(--verde-2); }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.35em; border-radius: 999px; font-weight: 700; font-family: var(--body); font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn--sm { padding: .55em 1.05em; font-size: .92rem; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #179748; }
.btn--lime { background: var(--lima); color: #10260f; }
.btn--lime:hover { background: #a6d42a; }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--line { border-color: var(--verde); color: var(--verde); background: #fff; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--linea); }
.top__in { display: flex; align-items: center; gap: 24px; height: 64px; }
.top__logo img { height: 38px; width: auto; }
.top__nav { display: flex; gap: 22px; margin-left: auto; }
.top__nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--gris); }
.top__nav a:hover { color: var(--verde); }
@media (max-width: 760px) { .top__nav { display: none; } .top .btn { margin-left: auto; } }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(120% 140% at 85% 0%, #138a45 0%, #0a6633 45%, #06371c 100%); }
.hero__flag { position: absolute; right: -40px; top: 0; bottom: 0; width: min(46vw, 560px); opacity: .16;
  background-image: conic-gradient(var(--lima) 25%, transparent 0 50%, var(--lima) 0 75%, transparent 0);
  background-size: 88px 88px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.hero__in { position: relative; padding: clamp(56px, 10vw, 112px) 0 clamp(48px, 7vw, 80px); }
.hero h1 { font-size: clamp(2.6rem, 7vw, 4.8rem); font-weight: 900; max-width: 12ch; }
.hero h1 span { color: var(--lima); }
.hero__lead { font-size: clamp(1.05rem, 1.8vw, 1.25rem); max-width: 46ch; color: #dcebe1; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6rem 0 0; }
.perks { list-style: none; padding: 0; margin: 2.6rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; max-width: 980px; }
.perks li { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 14px 16px; font-size: .93rem; color: #dcebe1; }
.perks b { display: block; color: #fff; font-family: var(--head); font-size: 1.05rem; }

/* Secciones */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--tint { background: var(--tinte); }
.section--dark { background: #0b2a19; color: #fff; }
.section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 24px; margin-bottom: 20px; }
.section__head h2 { margin: 0; }
.count { display: inline-block; vertical-align: middle; font-size: .9rem; background: var(--lima); color: #10260f; border-radius: 999px; padding: .15em .65em; margin-left: .3em; font-family: var(--body); }

/* Filtros */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 24px; }
.filters input, .filters select { font: inherit; padding: .65em 1em; border: 1px solid var(--linea); border-radius: 999px; background: #fff; }
.filters input { flex: 1 1 220px; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-size: .9rem; font-weight: 600; padding: .5em 1em; border-radius: 999px; border: 1px solid var(--linea); background: #fff; color: var(--gris); cursor: pointer; }
.chip.is-on { background: var(--verde); color: #fff; border-color: var(--verde); }

/* Tarjetas */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--linea); border-radius: var(--radio); overflow: hidden; display: flex; flex-direction: column; cursor: pointer; transition: box-shadow .2s, transform .2s; text-align: left; font: inherit; color: inherit; padding: 0; }
.card:hover { box-shadow: var(--sombra); transform: translateY(-3px); }
.card__img { position: relative; aspect-ratio: 4 / 3; background: #e9eee9; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; left: 10px; top: 10px; background: var(--lima); color: #10260f; font-weight: 700; font-size: .75rem; padding: .3em .7em; border-radius: 999px; }
.card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__t { font-family: var(--head); font-weight: 800; font-size: 1.2rem; margin: 0; }
.card__t small { font-weight: 600; color: var(--gris); font-size: .85rem; margin-left: .3em; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: .85rem; color: var(--gris); }
.precio { margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--linea); }
.precio__lbl { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--verde-2); font-weight: 700; }
.precio__main { font-family: var(--head); font-size: 1.55rem; font-weight: 900; color: var(--verde); line-height: 1.1; }
.precio__alt { font-size: .85rem; color: var(--gris); }
.vacio { text-align: center; padding: 40px 0; color: var(--gris); }

/* Pasos crédito */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 28px 0; }
.step { background: #fff; border-radius: var(--radio); padding: 24px; border: 1px solid var(--linea); }
.step__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--verde); color: var(--lima); font-family: var(--head); font-weight: 900; font-size: 1.2rem; margin-bottom: 14px; }
.step p { color: var(--gris); margin: 0; }
.note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; background: var(--verde); color: #fff; border-radius: var(--radio); padding: 20px 24px; }
.note p { margin: 0; max-width: 60ch; }

/* Factibilidad de crédito */
.facti { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; margin-top: 40px; background: #fff; border: 1px solid var(--linea); border-radius: 18px; padding: clamp(20px, 4vw, 40px); }
@media (max-width: 820px) { .facti { grid-template-columns: 1fr; gap: 20px; } }
.facti h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; }
.facti__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.facti__list li { padding-left: 22px; position: relative; font-weight: 600; }
.facti__list li::before { content: ""; position: absolute; left: 0; top: .45em; width: 10px; height: 10px; background: var(--lima); }
.form--light { padding: 0; background: none; }
.form--light input, .form--light select { background: #fff; }
.form input.is-bad { border-color: #c0392b; background: #fdf3f2; }
.form__err { margin: 0; color: #b0281a; font-weight: 600; font-size: .9rem; }
.facti__calc { margin: 0; padding: 10px 14px; border-radius: 10px; background: var(--tinte); font-size: .92rem; }
.facti__calc b { color: var(--verde); }

/* Servicios */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 0; margin-top: 28px; border-top: 1px solid var(--linea); }
.services article { padding: 22px 20px 22px 0; border-bottom: 1px solid var(--linea); }
.services h3 { color: var(--verde); }
.services h3::before { content: ""; display: inline-block; width: 10px; height: 10px; background: var(--lima); margin-right: 10px; vertical-align: middle; }
.services p { color: var(--gris); margin: 0; }

/* Vende */
.vende { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 820px) { .vende { grid-template-columns: 1fr; gap: 28px; } }
.form { background: #fff; color: var(--tinta); border-radius: var(--radio); padding: 24px; display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
.form input, .form select { font: inherit; font-weight: 400; padding: .7em .9em; border: 1px solid var(--linea); border-radius: 10px; width: 100%; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .check { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.form .check input { width: 18px; height: 18px; }

/* Ubicación */
.ubica { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: center; }
@media (max-width: 820px) { .ubica { grid-template-columns: 1fr; } }
.big { font-family: var(--head); font-size: 1.5rem; font-weight: 700; }
.map { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--radio); background: var(--tinte); }

/* Footer */
.foot { background: var(--tinte); padding: 36px 0; font-size: .92rem; }
.foot__in { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.foot__logo { height: 48px; width: auto; mix-blend-mode: multiply; }
.foot p { margin: 0 0 .35em; }
.social { display: flex; gap: 16px; }
.social a { font-weight: 700; color: var(--verde); text-decoration: none; }

/* Botón flotante */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 10px 24px -8px rgba(0,0,0,.4); }

/* Ficha */
.ficha { width: min(1080px, 100% - 24px); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 18px; overflow: auto; }
.ficha::backdrop { background: rgba(6, 25, 15, .7); }
.ficha__x { position: absolute; right: 12px; top: 10px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: var(--sombra); }
.ficha__in { display: grid; grid-template-columns: 1.25fr 1fr; }
@media (max-width: 860px) { .ficha__in { grid-template-columns: 1fr; } }
.galeria { background: #0d1611; }
.galeria__main { position: relative; aspect-ratio: 1; }
.galeria__main img { width: 100%; height: 100%; object-fit: contain; }
.g-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); font-size: 1.6rem; cursor: pointer; }
.g-prev { left: 10px; } .g-next { right: 10px; }
.g-count { position: absolute; bottom: 10px; right: 12px; color: #fff; font-size: .8rem; background: rgba(0,0,0,.5); padding: .2em .6em; border-radius: 999px; }
.galeria__thumbs { display: flex; gap: 6px; padding: 8px; overflow-x: auto; }
.galeria__thumbs button { flex: 0 0 64px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: none; opacity: .6; }
.galeria__thumbs button.is-on { border-color: var(--lima); opacity: 1; }
.galeria__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.ficha__info { padding: 28px; }
.ficha__info h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.precios { display: grid; gap: 4px; background: var(--tinte); border-radius: 12px; padding: 14px 16px; margin: 14px 0 18px; }
.precios .precio__main { font-size: 2rem; }
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 16px; margin: 0 0 14px; }
.specs div { border-bottom: 1px solid var(--linea); padding-bottom: 6px; }
.specs dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gris); }
.specs dd { margin: 0; font-weight: 700; }
.tags { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { background: #e8f3d2; color: #2c4a0b; font-size: .82rem; font-weight: 600; padding: .3em .75em; border-radius: 999px; }
.ficha__cta { display: grid; gap: 10px; }
