:root {
  --forest: #173d26;
  --forest-2: #1f5233;
  --leaf: #3c9a3f;
  --lime: #8cc63f;
  --cream: #f7f3ea;
  --sand: #efe7d6;
  --paper: #fffdf8;
  --wood: #a86b3c;
  --ink: #1c2a20;
  --muted: #5d6b60;
  --line: rgba(23, 61, 38, .12);
  --wa: #1fae55;
  --wa-d: #178a43;
  --r: 18px;
  --r-lg: 28px;
  --sh: 0 1px 2px rgba(23,61,38,.06), 0 8px 24px -8px rgba(23,61,38,.18);
  --sh-lg: 0 2px 6px rgba(23,61,38,.06), 0 24px 60px -18px rgba(23,61,38,.35);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.55; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.015em; color: var(--forest); }
p { margin: 0; }
button { font: inherit; cursor: pointer; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 12px; left: 12px; z-index: 100; background: var(--forest); color: #fff; padding: 10px 16px; border-radius: 10px; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 8px; }

/* Buttons */
.btn { --bg: var(--forest); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .9em 1.4em; border-radius: 999px; border: 1.5px solid transparent; background: var(--bg); color: var(--fg); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, border-color .2s, color .2s; }
.btn svg { width: 1.25em; height: 1.25em; flex: none; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(23,61,38,.55); }
.btn:active { transform: translateY(0); }
.btn--primary { --bg: var(--forest); }
.btn--primary:hover { --bg: var(--forest-2); }
.btn--wa { --bg: var(--wa); }
.btn--wa:hover { --bg: var(--wa-d); box-shadow: 0 10px 24px -10px rgba(31,174,85,.7); }
.btn--ghost { background: transparent; color: var(--forest); border-color: rgba(23,61,38,.25); }
.btn--ghost:hover { border-color: var(--forest); background: rgba(23,61,38,.04); }
.btn--light { --bg: #fff; --fg: var(--forest); }
.btn--sm { padding: .62em 1.05em; font-size: 14px; }
.btn--lg { padding: 1.05em 1.7em; font-size: 17px; }
.btn--block { width: 100%; }

.eyebrow { display: inline-flex; align-items: center; gap: .55em; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--leaf); margin-bottom: 14px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(140,198,63,.22); }
.eyebrow--light { color: var(--lime); }
.muted { color: var(--muted); }

/* Header */
.top { position: sticky; top: 0; z-index: 40; background: rgba(247,243,234,.82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.top.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -14px rgba(23,61,38,.35); }
.top__in { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand img { height: 56px; width: auto; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink); padding: 8px 14px; border-radius: 999px; transition: background .2s, color .2s; }
.nav a:hover { background: rgba(23,61,38,.07); color: var(--forest); }

/* Hero */
.hero { position: relative; padding: 56px 0 72px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -30% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(closest-side, rgba(140,198,63,.22), transparent 70%); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.4vw, 66px); }
.hero h1 em { font-style: italic; color: var(--leaf); }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); margin-top: 22px; max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.facts { list-style: none; padding: 0; margin: 40px 0 0; display: flex; gap: 0; border-top: 1px solid var(--line); padding-top: 22px; }
.facts li { flex: 1; display: flex; flex-direction: column; padding-right: 16px; }
.facts li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.facts strong { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--forest); line-height: 1.1; }
.facts span { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.hero__media { position: relative; }
.hero__photo { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-lg); aspect-ratio: 4/3.4; transform: rotate(1.2deg); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 18s var(--ease) infinite alternate; }
@keyframes heroZoom { from { transform: scale(1.02); } to { transform: scale(1.1); } }
.hero__badge { position: absolute; left: -22px; bottom: 34px; background: var(--paper); border-radius: 20px; padding: 16px 22px; box-shadow: var(--sh-lg); display: grid; animation: float 6s ease-in-out infinite; }
.hero__badge-k { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; }
.hero__badge-v { font-family: var(--serif); font-weight: 700; font-size: 30px; color: var(--forest); line-height: 1.15; }
.hero__badge-n { font-size: 13px; color: var(--muted); }
.hero__leaf { position: absolute; right: -26px; top: -30px; width: 110px; color: var(--lime); opacity: .9; transform: rotate(18deg); animation: sway 7s ease-in-out infinite; transform-origin: 20% 90%; }
@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes sway { 50% { transform: rotate(8deg); } }

/* Values */
.values { background: var(--paper); border-block: 1px solid var(--line); padding: 34px 0; }
.values__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value { display: flex; gap: 14px; align-items: flex-start; }
.value__ic { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(140deg, rgba(140,198,63,.22), rgba(60,154,63,.14)); color: var(--forest); }
.value__ic svg { width: 24px; height: 24px; }
.value h3 { font-size: 15.5px; font-weight: 650; color: var(--forest); margin: 2px 0 4px; }
.value p { font-size: 14px; color: var(--muted); }

/* Catalog */
.catalog { padding: 88px 0 64px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 46px); }
.section-head .muted { margin-top: 10px; max-width: 38em; }
.section-head--center { justify-content: center; text-align: center; flex-direction: column; align-items: center; }
.controls { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; background: var(--paper); padding: 5px; border-radius: 999px; border: 1px solid var(--line); }
.chip { border: 0; background: transparent; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); transition: background .2s, color .2s; }
.chip:hover { color: var(--forest); }
.chip.is-on { background: var(--forest); color: #fff; }
.select select { appearance: none; -webkit-appearance: none; border: 1px solid var(--line); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='m1 1.5 5 5 5-5' stroke='%23173d26' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center; padding: 11px 40px 11px 16px; border-radius: 999px; font: 500 14px var(--sans); color: var(--ink); cursor: pointer; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card { background: var(--paper); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh); display: flex; flex-direction: column; border: 1px solid rgba(23,61,38,.06); transition: transform .4s var(--ease), box-shadow .4s var(--ease); opacity: 0; transform: translateY(18px); }
.grid.is-in .card { opacity: 1; transform: none; transition: opacity .6s var(--ease) var(--d), transform .6s var(--ease) var(--d), box-shadow .4s var(--ease); }
.grid.is-in .card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); transition-delay: 0s; }
.card__media { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--sand); aspect-ratio: 4/3; overflow: hidden; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .5s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__alt { opacity: 0; }
.card:hover .card__alt { opacity: 1; }
.card__tag { position: absolute; left: 14px; top: 14px; background: rgba(255,253,248,.92); backdrop-filter: blur(6px); color: var(--forest); font-size: 12px; font-weight: 650; padding: 6px 11px; border-radius: 999px; letter-spacing: .02em; }
.card__count { position: absolute; right: 14px; bottom: 14px; background: rgba(23,61,38,.72); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(6px); }
.card__body { padding: 20px 22px 18px; display: flex; flex-direction: column; flex: 1; }
.card__kind { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--leaf); font-weight: 600; }
.card__title { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--forest); margin: 4px 0 12px; }
.card__meta { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: 13.5px; }
.card__meta li { display: inline-flex; align-items: center; gap: 6px; }
.card__meta svg { width: 16px; height: 16px; color: var(--wood); }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px dashed rgba(23,61,38,.16); }
.card__price strong { display: block; font-family: var(--serif); font-size: 24px; font-weight: 700; color: var(--ink); line-height: 1.1; }
.card__price small { color: var(--muted); font-size: 12.5px; }
.card__more { margin-top: 12px; align-self: flex-start; border: 0; background: none; padding: 4px 0; color: var(--forest); font-weight: 600; font-size: 14px; }
.card__more span { display: inline-block; transition: transform .25s var(--ease); }
.card__more:hover span { transform: translateX(4px); }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* Custom banner */
.custom { padding: 24px 0 40px; }
.custom__box { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 48px 56px; border-radius: 32px; color: #fff; background: radial-gradient(120% 140% at 100% 0%, #3c9a3f 0%, transparent 55%), linear-gradient(135deg, #173d26, #1f5233); box-shadow: var(--sh-lg); }
.custom__box::after { content: ''; position: absolute; right: -60px; bottom: -80px; width: 280px; height: 280px; border-radius: 50%; border: 40px solid rgba(140,198,63,.16); }
.custom__copy { position: relative; z-index: 1; max-width: 640px; }
.custom h2 { color: #fff; font-size: clamp(26px, 3vw, 38px); }
.custom p { margin-top: 10px; color: rgba(255,255,255,.82); font-size: 17px; }
.custom .btn { position: relative; z-index: 1; }

/* How */
.how { padding: 72px 0 88px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.step { position: relative; background: var(--paper); border-radius: var(--r-lg); padding: 28px 24px; border: 1px solid var(--line); }
.step__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--forest); color: #fff; font-family: var(--serif); font-weight: 700; font-size: 19px; margin-bottom: 18px; box-shadow: 0 0 0 6px rgba(140,198,63,.2); }
.step h3 { font-size: 18px; font-weight: 650; color: var(--forest); margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* Contact */
.contact { background: var(--forest); color: #fff; padding: 88px 0; position: relative; overflow: hidden; }
.contact::before { content: ''; position: absolute; left: -10%; top: -40%; width: 60vw; height: 60vw; background: radial-gradient(closest-side, rgba(140,198,63,.18), transparent 70%); }
.contact__grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.contact h2 { color: #fff; font-size: clamp(32px, 4vw, 50px); }
.contact__lead { color: rgba(255,255,255,.78); font-size: 18px; margin: 14px 0 28px; max-width: 30em; }
.contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.contact__list a { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); text-decoration: none; transition: background .25s, transform .25s var(--ease); word-break: break-word; }
.contact__list a:hover { background: rgba(255,255,255,.11); transform: translateX(4px); }
.contact__list small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--lime); font-weight: 600; }
.contact__ic { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(140,198,63,.16); color: var(--lime); }
.contact__ic svg { width: 22px; height: 22px; }

/* Footer */
.foot { background: #10301d; color: rgba(255,255,255,.7); padding: 34px 0; font-size: 14px; }
.foot__in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot img { height: 46px; width: auto; }
.foot__dc { margin-left: auto; padding-right: 72px; }
.foot a { color: #fff; }

/* FAB */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 12px 30px -8px rgba(31,174,85,.7); transition: transform .25s var(--ease); }
.fab svg { width: 32px; height: 32px; }
.fab::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1; animation: ping 2.6s var(--ease) infinite; }
.fab:hover { transform: scale(1.08); }
@keyframes ping { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(1.7); opacity: 0; } }

/* Modal */
.modal { border: 0; padding: 0; width: min(1060px, 100% - 32px); max-height: min(90vh, 900px); border-radius: 28px; background: var(--paper); color: var(--ink); box-shadow: 0 40px 120px -20px rgba(0,0,0,.5); overflow: hidden; }
.modal::backdrop { background: rgba(16,48,29,.55); backdrop-filter: blur(6px); }
.modal[open] { animation: pop .45s var(--ease); }
.modal[open]::backdrop { animation: fade .35s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.97); } }
@keyframes fade { from { opacity: 0; } }
.modal__in { display: grid; grid-template-columns: 1.15fr 1fr; max-height: inherit; }
.modal__x { position: absolute; right: 14px; top: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,253,248,.92); color: var(--forest); display: grid; place-items: center; box-shadow: var(--sh); transition: transform .2s var(--ease); }
.modal__x:hover { transform: rotate(90deg); }
.modal__x svg { width: 20px; height: 20px; }
.modal__media { background: var(--sand); display: flex; flex-direction: column; min-height: 0; }
.modal__photo { flex: 1; min-height: 320px; position: relative; }
.modal__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s var(--ease); }
.modal__photo img.is-on { opacity: 1; }
.modal__thumbs { display: flex; gap: 8px; padding: 10px; }
.modal__thumbs:empty { display: none; }
.modal__thumbs button { width: 76px; height: 58px; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid transparent; opacity: .65; transition: opacity .2s, border-color .2s; }
.modal__thumbs button[aria-current="true"] { border-color: var(--forest); opacity: 1; }
.modal__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.modal__body { padding: 40px 36px 32px; overflow-y: auto; }
.modal__body h2 { font-size: 38px; }
.modal__price { font-family: var(--serif); font-size: 30px; font-weight: 700; margin: 8px 0 16px; }
.modal__price small { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--muted); }
.modal__desc { color: var(--muted); }
.modal__h { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--leaf); margin: 24px 0 10px; }
.spec { margin: 0; display: grid; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.spec div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 16px; font-size: 14.5px; }
.spec div:nth-child(odd) { background: rgba(140,198,63,.07); }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; font-weight: 600; text-align: right; color: var(--ink); }
.modal__cta { display: grid; gap: 10px; margin-top: 24px; }
.modal__note { font-size: 13px; color: var(--muted); margin-top: 14px; text-align: center; }

/* Reveal (siempre activo, suave) */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.values__grid .reveal:nth-child(2), .steps .reveal:nth-child(2) { transition-delay: .08s; }
.values__grid .reveal:nth-child(3), .steps .reveal:nth-child(3) { transition-delay: .16s; }
.values__grid .reveal:nth-child(4), .steps .reveal:nth-child(4) { transition-delay: .24s; }
.hero__media.reveal { transition-delay: .12s; }

/* Responsive */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .values__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .top__in { justify-content: space-between; height: 68px; }
  .brand img { height: 48px; }
  .hero { padding: 28px 0 56px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__media { order: -1; }
  .hero__photo { transform: none; aspect-ratio: 4/3; }
  .hero__badge { left: 12px; bottom: -22px; padding: 12px 18px; }
  .hero__badge-v { font-size: 24px; }
  .hero__leaf { width: 76px; right: -8px; top: -20px; }
  .contact__grid { grid-template-columns: 1fr; gap: 36px; }
  .custom__box { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
  .modal { width: 100%; max-height: 94vh; border-radius: 24px 24px 0 0; margin: auto 0 0; }
  .modal__in { grid-template-columns: 1fr; overflow-y: auto; max-height: 94vh; }
  .modal__photo { min-height: 0; aspect-ratio: 4/3; flex: none; }
  .modal__body { overflow: visible; padding: 26px 22px 28px; }
  .modal__body h2 { font-size: 30px; }
}
@media (max-width: 600px) {
  .grid { grid-template-columns: 1fr; gap: 20px; }
  .values__grid { grid-template-columns: 1fr; gap: 18px; }
  .steps { grid-template-columns: 1fr; }
  .facts strong { font-size: 21px; }
  .facts li + li { padding-left: 12px; }
  .facts li { padding-right: 8px; }
  .section-head { margin-bottom: 26px; }
  .controls { width: 100%; }
  .chips { width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; justify-content: flex-start; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { padding: 8px 12px; font-size: 13.5px; white-space: nowrap; flex: none; }
  .foot { padding-bottom: 92px; }
  .select, .select select { width: 100%; }
  .catalog { padding-top: 64px; }
  .top .btn span { display: none; }
  .top .btn { padding: .65em; }
  .foot__dc { margin-left: 0; }
  .fab { width: 56px; height: 56px; right: 16px; bottom: 16px; }
}
