/* ===================== RESET & VARS ===================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* el atributo hidden debe ganarle a cualquier display de las clases */
[hidden] { display: none !important; }

:root {
  --green-950: #0e2016;
  --green-900: #16321f;
  --green-800: #1f4429;
  --green-700: #2a5c37;
  --green-600: #357245;
  --green-500: #4c8f5a;
  --green-400: #6fae7a;
  --green-100: #e4f0e4;
  --cream: #faf7f0;
  --cream-2: #f2ead9;
  --clay: #d97a52;
  --clay-dark: #b95f3a;
  --red-400: #e8705f;
  --red-500: #d64545;
  --red-600: #b8302f;
  --ink: #1c2621;
  --ink-soft: #566058;
  --white: #ffffff;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(20, 40, 25, .06);
  --shadow-md: 0 12px 30px rgba(20, 40, 25, .12);
  --shadow-lg: 0 24px 60px rgba(20, 40, 25, .18);
  --font-display: "Fraunces", serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; color: var(--green-950); line-height: 1.15; }
em { font-style: italic; color: var(--green-600); }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.noise-overlay {
  position: fixed; inset: 0; pointer-events: none; z-index: 9999;
  background-image: radial-gradient(rgba(0,0,0,.015) 1px, transparent 1px);
  background-size: 3px 3px; opacity: .5;
}

/* ===================== REVEAL ANIMATION ===================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--green-700); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--green-800); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--green-800); border: 1.5px solid var(--green-700); }
.btn-outline:hover { background: var(--green-700); color: var(--white); transform: translateY(-2px); }
.btn-ghost { background: var(--green-100); color: var(--green-800); }
.btn-ghost:hover { background: var(--green-400); color: var(--white); }
.btn-ghost-light { color: var(--cream); border: 1.5px solid rgba(250,247,240,.35); }
.btn-ghost-light:hover { background: rgba(250,247,240,.12); }
.btn-on-dark:hover { background: var(--green-500); }
.btn-sm { padding: 9px 18px; font-size: .85rem; }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }

/* ===================== HEADER ===================== */
.site-header {
  position: sticky; top: 0; z-index: 500;
  background: rgba(250, 247, 240, .78);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid rgba(28, 60, 38, .08);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(20,40,25,.08); }
/* min-height, no height fija: evita que el contenido se desborde y tape la página */
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 76px; padding-top: 8px; padding-bottom: 8px;
}

.logo { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--green-900); }
.logo-dot { color: var(--clay); }

.main-nav { display: flex; gap: 32px; }
.main-nav a { font-size: .95rem; font-weight: 500; color: var(--ink-soft); position: relative; padding: 4px 0; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--clay); transition: width .2s ease;
}
.main-nav a:hover { color: var(--green-900); }
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.nursery-cta-top { display: inline-flex; }

.cart-btn {
  position: relative; width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--green-900); background: var(--green-100);
  transition: background .2s ease;
}
.cart-btn:hover { background: var(--green-400); color: var(--white); }
.cart-badge {
  position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--clay); color: var(--white); font-size: .68rem; font-weight: 700;
  border-radius: 999px; display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--cream);
}

.menu-toggle { display: none; flex-direction: column; gap: 5px; width: 34px; height: 34px; align-items: center; justify-content: center; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--green-900); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== HERO ===================== */
.hero { position: relative; padding: 88px 0 100px; overflow: hidden; }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .35; z-index: 0; }
.hero-blob-1 { width: 480px; height: 480px; background: var(--green-400); top: -180px; right: -120px; }
.hero-blob-2 { width: 380px; height: 380px; background: var(--clay); opacity: .18; bottom: -160px; left: -140px; }

.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 700;
  color: var(--green-700); background: var(--green-100); padding: 7px 16px; border-radius: 999px;
  margin-bottom: 20px; letter-spacing: .01em;
}
.eyebrow-light { background: rgba(250,247,240,.12); color: var(--cream); }

.hero-copy h1 { font-size: clamp(2.3rem, 4.2vw, 3.6rem); letter-spacing: -.01em; margin-bottom: 20px; }
.hero-sub { font-size: 1.1rem; color: var(--ink-soft); max-width: 46ch; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--green-800); }
.stat span { font-size: .82rem; color: var(--ink-soft); }

/* hero visual */
.hero-visual { position: relative; height: 460px; }
.hero-card {
  position: absolute; background: var(--white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); padding: 16px;
}
.hero-card-main {
  width: 260px; left: 50%; top: 10px; transform: translateX(-50%);
  display: flex; flex-direction: column; gap: 10px;
}
.hero-card-img { height: 170px; border-radius: var(--radius-sm); background: linear-gradient(160deg, var(--green-100), var(--cream-2)); display: flex; align-items: center; justify-content: center; font-size: 5rem; }
.hero-card-name { font-weight: 700; font-size: .95rem; color: var(--green-950); }
.hero-card-shop { font-size: .78rem; color: var(--ink-soft); }
.hero-card-price { font-weight: 700; color: var(--clay-dark); }
.hero-card-sub { font-size: .78rem; color: var(--ink-soft); }

.hero-card-float { display: flex; align-items: center; gap: 12px; padding: 12px 16px; animation: float 5s ease-in-out infinite; }
.hero-card-a { left: -10px; bottom: 90px; animation-delay: .3s; }
.hero-card-b { right: -20px; bottom: 20px; animation-delay: 1s; }
.hero-card-c { left: 10px; bottom: -10px; animation-delay: 1.6s; }
.plant-emoji { font-size: 1.8rem; }
.check-icon { width: 34px; height: 34px; border-radius: 50%; background: var(--green-100); color: var(--green-700); display: flex; align-items: center; justify-content: center; font-weight: 800; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ===================== MARQUEE ===================== */
.marquee-section { padding: 30px 0; border-top: 1px solid rgba(28,60,38,.08); border-bottom: 1px solid rgba(28,60,38,.08); }
.marquee-label { text-align: center; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); margin-bottom: 14px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: scroll-x 26s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-size: 1.2rem; color: var(--green-600); opacity: .7; white-space: nowrap; }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===================== SECTION GENERIC ===================== */
.section { padding: 110px 0; }
.section-alt { background: var(--cream-2); }
.section-head { max-width: 620px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 14px; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }

/* ===================== STEPS ===================== */
.steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: start; gap: 8px; }
.step { background: var(--white); border-radius: var(--radius-md); padding: 32px 26px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step-number { font-family: var(--font-display); font-size: .95rem; color: var(--clay); font-weight: 700; margin-bottom: 10px; }
.step-icon { font-size: 2.2rem; margin-bottom: 14px; }
.step h3 { font-size: 1.15rem; margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: .95rem; }
.step-connector { align-self: center; width: 40px; height: 2px; background: repeating-linear-gradient(90deg, var(--green-400) 0 6px, transparent 6px 12px); margin-top: 60px; }

/* ===================== CATALOG ===================== */
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.filter-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { padding: 9px 18px; border-radius: 999px; background: var(--white); color: var(--ink-soft); font-size: .88rem; font-weight: 600; border: 1px solid rgba(28,60,38,.12); transition: all .2s ease; }
.chip:hover { border-color: var(--green-500); color: var(--green-700); }
.chip.active { background: var(--green-700); color: var(--white); border-color: var(--green-700); }

.sort-select { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--ink-soft); }
.sort-select select { padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(28,60,38,.15); background: var(--white); font-family: inherit; font-weight: 600; color: var(--green-900); }

.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px; }

.plant-card { background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; display: flex; flex-direction: column; }
.plant-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.plant-card-img { height: 150px; background: linear-gradient(160deg, var(--green-100), var(--cream-2)); display: flex; align-items: center; justify-content: center; font-size: 3.6rem; position: relative; }
.plant-badge { position: absolute; top: 10px; left: 10px; background: var(--white); font-size: .68rem; font-weight: 700; color: var(--green-700); padding: 4px 10px; border-radius: 999px; box-shadow: var(--shadow-sm); }
/* el número de vivero va destacado: es lo que permite juntar el despacho gratis */
.plant-badge.is-vivero { background: var(--green-800); color: var(--cream); font-size: .72rem; font-weight: 800; padding: 5px 12px; letter-spacing: .01em; }
.care-chip { color: var(--green-700); font-weight: 600; }
.plant-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.plant-name { font-weight: 700; font-size: 1rem; color: var(--green-950); }
.plant-shop { font-size: .78rem; color: var(--ink-soft); }
.plant-meta { font-size: .74rem; color: var(--ink-soft); margin-bottom: 4px; }
.plant-bottom { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.plant-price { font-weight: 800; color: var(--clay-dark); font-size: 1.05rem; }
.add-btn { width: 36px; height: 36px; border-radius: 50%; background: var(--green-100); color: var(--green-800); font-size: 1.2rem; font-weight: 700; display: flex; align-items: center; justify-content: center; transition: background .2s ease, transform .2s ease; }
.add-btn:hover { background: var(--green-700); color: var(--white); transform: scale(1.08); }
.add-btn.added { background: var(--clay); color: var(--white); }

.catalog-footer { text-align: center; margin-top: 48px; }

/* ===================== BENEFITS ===================== */
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.benefit { background: var(--white); border-radius: var(--radius-md); padding: 30px 24px; box-shadow: var(--shadow-sm); transition: transform .2s ease; }
.benefit:hover { transform: translateY(-4px); }
.benefit-icon { font-size: 2rem; margin-bottom: 14px; }
.benefit h3 { font-size: 1.02rem; margin-bottom: 8px; }
.benefit p { font-size: .9rem; color: var(--ink-soft); }

/* ===================== VIVEROS (DARK) ===================== */
.section-dark { background: linear-gradient(160deg, var(--green-950), var(--green-900)); color: var(--cream); }
.viveros-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.viveros-copy h2 { color: var(--cream); font-size: clamp(1.8rem, 3vw, 2.3rem); margin-bottom: 16px; }
.viveros-copy p { color: rgba(250,247,240,.75); font-size: 1.05rem; margin-bottom: 26px; max-width: 48ch; }
.viveros-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.viveros-list li { display: flex; gap: 10px; font-size: .95rem; color: rgba(250,247,240,.9); }
.viveros-list li span { color: var(--green-400); font-weight: 800; }

.dash-card { background: var(--cream); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-lg); color: var(--ink); }
.dash-card-link { display: block; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.dash-card-link:hover { transform: translateY(-4px); box-shadow: 0 30px 70px rgba(0,0,0,.22); }
.dash-btn { text-align: center; }
.dash-card-head { display: flex; align-items: center; gap: 6px; margin-bottom: 20px; }
.dash-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(28,60,38,.18); }
.dash-title { margin-left: 10px; font-size: .82rem; color: var(--ink-soft); font-weight: 600; }
.dash-row { display: flex; gap: 14px; margin-bottom: 18px; }
.dash-stat { flex: 1; background: var(--white); border-radius: var(--radius-sm); padding: 14px 16px; }
.dash-stat span { display: block; font-size: .72rem; color: var(--ink-soft); margin-bottom: 4px; }
.dash-stat strong { font-family: var(--font-display); font-size: 1.25rem; color: var(--green-800); }
.dash-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.dash-item { display: flex; align-items: center; justify-content: space-between; background: var(--white); padding: 10px 14px; border-radius: var(--radius-sm); font-size: .88rem; }
.dash-item em { font-style: normal; color: var(--ink-soft); font-size: .78rem; }
.dash-btn { width: 100%; }

/* ===================== TESTIMONIALS ===================== */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial { background: var(--white); border-radius: var(--radius-md); padding: 28px 26px; box-shadow: var(--shadow-sm); }
.testimonial p { font-size: .98rem; color: var(--ink); margin-bottom: 20px; font-style: italic; }
.testimonial-author strong { display: block; font-size: .92rem; color: var(--green-900); }
.testimonial-author span { font-size: .8rem; color: var(--ink-soft); }

/* ===================== CTA BAND ===================== */
.cta-band { background: linear-gradient(135deg, var(--clay), var(--clay-dark)); padding: 90px 0; }
.cta-band-inner { text-align: center; }
.cta-band-inner h2 { color: var(--white); font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 12px; }
.cta-band-inner p { color: rgba(255,255,255,.85); margin-bottom: 28px; }
.cta-band .btn-primary { background: var(--white); color: var(--clay-dark); }
.cta-band .btn-primary:hover { background: var(--green-950); color: var(--white); }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--green-950); color: rgba(250,247,240,.8); padding: 70px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid rgba(250,247,240,.12); }
.footer-brand p { margin-top: 14px; font-size: .9rem; max-width: 32ch; color: rgba(250,247,240,.6); }
.logo-footer { color: var(--cream); }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { color: var(--cream); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.footer-col a, .footer-static { font-size: .9rem; color: rgba(250,247,240,.7); }
.footer-col a:hover { color: var(--green-400); }
.footer-bottom { padding-top: 24px; font-size: .82rem; color: rgba(250,247,240,.5); }

/* ===================== PRODUCT DETAIL MODAL ===================== */
.plant-card { cursor: pointer; }

.modal-overlay {
  position: fixed; inset: 0; background: rgba(14,32,22,.45); backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none; transition: opacity .3s ease; z-index: 950;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }

.product-modal {
  position: fixed; top: 50%; left: 50%; width: 720px; max-width: 92vw; max-height: 88vh;
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  z-index: 960; overflow-y: auto;
  transform: translate(-50%, -48%) scale(.96); opacity: 0; pointer-events: none;
  transition: transform .3s cubic-bezier(.4,0,.2,1), opacity .3s ease;
}
.product-modal.open { transform: translate(-50%, -50%) scale(1); opacity: 1; pointer-events: auto; }

.modal-close {
  position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--green-100); color: var(--green-800); font-size: 1rem; z-index: 2;
}
.modal-close:hover { background: var(--green-400); color: var(--white); }

.product-modal-inner { display: grid; grid-template-columns: 280px 1fr; gap: 0; }
.product-modal-img {
  background: linear-gradient(160deg, var(--green-100), var(--cream-2));
  display: flex; align-items: center; justify-content: center; font-size: 7rem;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg); min-height: 320px;
}
.product-modal-body { padding: 32px 32px 32px 28px; display: flex; flex-direction: column; gap: 8px; }
.pm-badge { position: static; align-self: flex-start; margin-bottom: 4px; }
.product-modal-body h3 { font-size: 1.5rem; color: var(--green-950); }
.pm-sci { font-style: italic; color: var(--ink-soft); font-size: .88rem; }
.pm-shop { font-size: .88rem; color: var(--green-700); font-weight: 600; }
.pm-price { font-size: 1.4rem; font-weight: 800; color: var(--clay-dark); margin: 6px 0; }
.pm-desc { color: var(--ink-soft); font-size: .92rem; line-height: 1.55; margin-bottom: 6px; }

.pm-care { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 6px; }
.pm-care-item {
  display: flex; align-items: center; gap: 6px; background: var(--cream-2); color: var(--green-800);
  font-size: .8rem; font-weight: 600; padding: 6px 12px; border-radius: 999px;
}

.pm-qty-row { display: flex; align-items: center; gap: 16px; margin-top: 12px; }
.pm-qty-row > span:first-child { font-size: .88rem; font-weight: 600; color: var(--ink-soft); }
.qty-stepper { display: flex; align-items: center; gap: 14px; background: var(--cream-2); border-radius: 999px; padding: 6px 8px; }
.qty-btn { width: 28px; height: 28px; border-radius: 50%; background: var(--white); color: var(--green-800); font-weight: 700; font-size: 1rem; box-shadow: var(--shadow-sm); }
.qty-btn:hover { background: var(--green-700); color: var(--white); }
.qty-btn:disabled { opacity: .4; cursor: not-allowed; }
.qty-btn:disabled:hover { background: var(--white); color: var(--green-800); }
.qty-value {
  width: 52px; text-align: center; font-weight: 700; color: var(--green-950);
  font-family: inherit; font-size: 1rem; background: var(--white); border: 1.5px solid rgba(28,60,38,.14);
  border-radius: var(--radius-sm); padding: 6px 4px; -moz-appearance: textfield;
}
.qty-value:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(76,143,90,.16); }
.qty-value::-webkit-outer-spin-button, .qty-value::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pm-stock { font-size: .78rem; color: var(--ink-soft); margin-left: auto; }

.pm-add { width: 100%; margin-top: 20px; }
.pm-add.added { background: var(--clay); }

@media (max-width: 640px) {
  .product-modal-inner { grid-template-columns: 1fr; }
  .product-modal-img { border-radius: var(--radius-lg) var(--radius-lg) 0 0; min-height: 200px; font-size: 5rem; }
  .product-modal { top: 50%; }
}

/* ===================== CART DRAWER ===================== */
.cart-overlay { position: fixed; inset: 0; background: rgba(14,32,22,.4); backdrop-filter: blur(2px); opacity: 0; pointer-events: none; transition: opacity .3s ease; z-index: 800; }
.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: 380px; max-width: 92vw;
  background: var(--cream); z-index: 900; box-shadow: -20px 0 60px rgba(0,0,0,.15);
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 24px; border-bottom: 1px solid rgba(28,60,38,.1); }
.cart-drawer-head h3 { font-size: 1.3rem; }
.cart-close { width: 34px; height: 34px; border-radius: 50%; background: var(--green-100); font-size: 1rem; }
.cart-close:hover { background: var(--green-400); color: var(--white); }

.cart-items { flex: 1; overflow-y: auto; padding: 20px 24px; display: flex; flex-direction: column; gap: 14px; }
.cart-empty { color: var(--ink-soft); text-align: center; margin-top: 60px; font-size: .95rem; }

.cart-item { display: flex; align-items: center; gap: 12px; background: var(--white); border-radius: var(--radius-sm); padding: 12px; box-shadow: var(--shadow-sm); }
.cart-item-img { width: 48px; height: 48px; border-radius: 10px; background: var(--green-100); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info p { font-size: .88rem; font-weight: 700; color: var(--green-950); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-info span { font-size: .78rem; color: var(--ink-soft); }
.cart-item-remove { color: var(--clay-dark); font-size: .8rem; font-weight: 700; }

.cart-summary { padding: 20px 24px 28px; border-top: 1px solid rgba(28,60,38,.1); display: flex; flex-direction: column; gap: 10px; }
.cart-line { display: flex; justify-content: space-between; font-size: .92rem; color: var(--ink-soft); }
.cart-total { font-size: 1.1rem; color: var(--green-950); font-weight: 800; padding-top: 8px; border-top: 1px dashed rgba(28,60,38,.15); }
.cart-checkout { width: 100%; margin-top: 8px; }
.cart-quote { width: 100%; }

/* ===================== FOTOS Y ETIQUETA DE VIVERO ===================== */
.plant-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.plant-card-img { overflow: hidden; }
.plant-emoji-fallback { font-size: inherit; line-height: 1; }

.vivero-tag {
  display: inline-flex; align-items: center; background: var(--green-800); color: var(--cream);
  font-size: .68rem; font-weight: 800; padding: 4px 10px; border-radius: 999px;
  letter-spacing: .02em; white-space: nowrap;
}
.plant-card-img .vivero-tag { position: absolute; top: 10px; right: 10px; box-shadow: var(--shadow-sm); }
.photo-count {
  position: absolute; bottom: 10px; right: 10px; background: rgba(14,32,22,.72); color: var(--cream);
  font-size: .68rem; font-weight: 700; padding: 3px 9px; border-radius: 999px;
}

.plant-card.is-out .plant-card-img { opacity: .55; }
.out-overlay {
  position: absolute; inset: auto 0 0 0; background: var(--ink); color: var(--cream);
  font-size: .75rem; font-weight: 700; text-align: center; padding: 6px;
}
.add-btn:disabled { opacity: .35; cursor: not-allowed; }
.add-btn:disabled:hover { background: var(--green-100); color: var(--green-800); transform: none; }
.catalog-empty { grid-column: 1 / -1; text-align: center; color: var(--ink-soft); padding: 40px 0; }

/* galería del modal */
.product-modal-gallery { display: flex; flex-direction: column; background: var(--cream-2); border-radius: var(--radius-lg) 0 0 var(--radius-lg); overflow: hidden; }
.product-modal-gallery .product-modal-img { flex: 1; border-radius: 0; overflow: hidden; }
.pm-thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; }
.pm-thumb { width: 52px; height: 52px; border-radius: 8px; overflow: hidden; flex-shrink: 0; border: 2px solid transparent; opacity: .7; transition: opacity .2s ease, border-color .2s ease; }
.pm-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pm-thumb.active, .pm-thumb:hover { opacity: 1; border-color: var(--green-600); }
.pm-tags { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; flex-wrap: wrap; }
.pm-add:disabled { opacity: .5; cursor: not-allowed; }

/* ===================== CARRITO: GRUPOS Y ENVÍO GRATIS ===================== */
.cart-group { border: 1px solid rgba(28,60,38,.1); border-radius: var(--radius-md); padding: 14px; background: rgba(255,255,255,.5); display: flex; flex-direction: column; gap: 12px; }
.cart-group-head { display: flex; align-items: center; gap: 10px; }
.cart-group-name { font-size: .82rem; font-weight: 700; color: var(--green-900); }

.cart-item-img { overflow: hidden; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.cart-item-info p { margin-bottom: 2px; }
.cart-qty { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.cart-qty button { width: 22px; height: 22px; border-radius: 50%; background: var(--green-100); color: var(--green-800); font-weight: 700; font-size: .85rem; line-height: 1; }
.cart-qty button:hover { background: var(--green-700); color: var(--white); }
.cart-qty span { font-size: .82rem; font-weight: 700; min-width: 16px; text-align: center; }
.cart-item-remove { font-size: .85rem; align-self: flex-start; }

.ship-bar { display: flex; flex-direction: column; gap: 6px; }
.ship-bar-track { height: 7px; background: var(--cream-2); border-radius: 999px; overflow: hidden; }
.ship-bar-fill { height: 100%; border-radius: 999px; transition: width .4s ease, background .3s ease; }
/* rojo mientras no alcanza el mínimo, verde cuando el despacho ya es gratis */
.ship-bar.is-short .ship-bar-fill { background: linear-gradient(90deg, var(--red-500), var(--red-400)); }
.ship-bar.is-free .ship-bar-fill { background: linear-gradient(90deg, var(--green-600), var(--green-400)); }
.ship-bar-text { font-size: .78rem; color: var(--ink-soft); }
.ship-bar.is-short .ship-bar-text strong { color: var(--red-600); }
.ship-bar.is-free .ship-bar-text strong { color: var(--green-700); }

.cart-note { font-size: .75rem; color: var(--ink-soft); text-align: center; }

/* ===================== CHECKOUT MODAL ===================== */
.checkout-modal {
  position: fixed; top: 50%; left: 50%; width: 520px; max-width: 92vw; max-height: 88vh; overflow-y: auto;
  background: var(--cream); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 36px;
  z-index: 960; transform: translate(-50%, -48%) scale(.96); opacity: 0; pointer-events: none;
  transition: transform .3s cubic-bezier(.4,0,.2,1), opacity .3s ease;
}
.checkout-modal.open { transform: translate(-50%, -50%) scale(1); opacity: 1; pointer-events: auto; }
.checkout-modal h3 { font-size: 1.5rem; margin-bottom: 8px; padding-right: 30px; }
.checkout-sub { color: var(--ink-soft); font-size: .92rem; margin-bottom: 22px; }

.checkout-fields { display: flex; flex-direction: column; gap: 14px; }
.checkout-fields label { display: flex; flex-direction: column; gap: 6px; font-size: .82rem; font-weight: 700; color: var(--green-900); }
.checkout-fields input, .checkout-fields select {
  font-family: inherit; font-size: .95rem; font-weight: 500; color: var(--ink); padding: 11px 14px;
  border-radius: var(--radius-sm); border: 1.5px solid rgba(28,60,38,.15); background: var(--white);
}
.checkout-fields input:focus, .checkout-fields select:focus { outline: none; border-color: var(--green-600); }

.checkout-summary { background: var(--white); border-radius: var(--radius-md); padding: 16px 18px; display: flex; flex-direction: column; gap: 14px; margin-top: 6px; }
.co-group { display: flex; flex-direction: column; gap: 6px; padding-bottom: 12px; border-bottom: 1px dashed rgba(28,60,38,.15); }
.co-group:last-of-type { border-bottom: none; padding-bottom: 0; }
.co-group-head { display: flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; color: var(--green-900); margin-bottom: 4px; }
.co-line { display: flex; justify-content: space-between; font-size: .88rem; color: var(--ink-soft); gap: 12px; }
.co-ship { color: var(--green-700); font-weight: 600; }
.co-total { font-size: 1.05rem; font-weight: 800; color: var(--green-950); padding-top: 12px; border-top: 1px solid rgba(28,60,38,.12); }
.checkout-confirm { width: 100%; margin-top: 8px; }

.success-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--green-100); color: var(--green-700); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; font-weight: 800; margin-bottom: 16px; }
.order-recap { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.recap-row { display: flex; align-items: center; justify-content: space-between; background: var(--white); border-radius: var(--radius-sm); padding: 12px 16px; gap: 12px; }
.recap-row div { display: flex; flex-direction: column; }
.recap-row strong { font-size: .92rem; color: var(--green-950); }
.recap-row span { font-size: .78rem; color: var(--ink-soft); }
.recap-total { font-weight: 800; color: var(--clay-dark); }
.recap-note { font-size: .8rem; color: var(--ink-soft); line-height: 1.5; }

@media (max-width: 560px) {
  .checkout-modal { padding: 26px 20px; }
}

/* ===================== AVISO AL AGREGAR AL CARRITO ===================== */
.add-toast {
  position: fixed; bottom: 26px; left: 50%; transform: translate(-50%, 24px);
  background: var(--green-950); color: var(--cream); padding: 12px 14px 12px 22px; border-radius: 999px;
  display: flex; align-items: center; gap: 16px; box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; transition: opacity .3s ease, transform .3s ease;
  z-index: 700; font-size: .9rem; font-weight: 600; max-width: 92vw;
}
.add-toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.add-toast span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.add-toast button {
  background: var(--green-400); color: var(--green-950); font-weight: 800; font-size: .82rem;
  padding: 8px 16px; border-radius: 999px; white-space: nowrap; flex-shrink: 0;
}
.add-toast button:hover { background: var(--cream); }

/* ===================== BANNER DE INSTALACIÓN (PWA) ===================== */
.install-banner {
  position: fixed; bottom: 0; left: 0; right: 0; background: var(--green-950); color: var(--cream);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 20px; z-index: 750; font-size: .92rem; font-weight: 600;
}
.install-banner > div { display: flex; align-items: center; gap: 10px; }
.install-dismiss { color: var(--cream); opacity: .7; font-size: 1rem; padding: 6px; }
.install-dismiss:hover { opacity: 1; }

/* ===================== CÓDIGO DE RECEPCIÓN ===================== */
.delivery-code-box {
  background: var(--green-950); color: var(--cream); border-radius: var(--radius-md);
  padding: 20px 24px; display: flex; flex-direction: column; gap: 4px; margin-bottom: 20px; text-align: center;
}
.delivery-code-box > span { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; opacity: .8; }
.delivery-code-box strong { font-family: var(--font-display); font-size: 2.6rem; letter-spacing: .18em; color: var(--green-400); }
.delivery-code-box small { font-size: .76rem; opacity: .75; line-height: 1.45; }

.co-fields-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.region-hint { font-size: .82rem; color: var(--green-800); background: var(--green-100); padding: 10px 14px; border-radius: var(--radius-sm); }
.region-hint:empty { display: none; }

/* ===================== MODAL DE ACCESO ===================== */
.account-btn { white-space: nowrap; }

.auth-modal {
  position: fixed; top: 50%; left: 50%; width: 480px; max-width: 92vw; max-height: 88vh; overflow-y: auto;
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 34px 32px;
  z-index: 960; transform: translate(-50%, -48%) scale(.96); opacity: 0; pointer-events: none;
  transition: transform .3s cubic-bezier(.4,0,.2,1), opacity .3s ease;
}
.auth-modal.open { transform: translate(-50%, -50%) scale(1); opacity: 1; pointer-events: auto; }

.auth-tabs { display: flex; gap: 6px; background: var(--cream-2); padding: 5px; border-radius: 999px; margin-bottom: 22px; }
.auth-tab { flex: 1; padding: 10px; border-radius: 999px; font-weight: 700; font-size: .9rem; color: var(--ink-soft); transition: all .2s ease; }
.auth-tab.active { background: var(--white); color: var(--green-900); box-shadow: var(--shadow-sm); }

.auth-pane { display: none; flex-direction: column; gap: 14px; }
.auth-pane.active { display: flex; }
.auth-lead { font-size: .9rem; color: var(--ink-soft); }
.auth-section { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--green-800); margin-top: 6px; }
.auth-hint { font-size: .8rem; color: var(--green-800); background: var(--green-100); padding: 10px 14px; border-radius: var(--radius-sm); line-height: 1.5; }

.auth-pane label { display: flex; flex-direction: column; gap: 6px; font-size: .8rem; font-weight: 700; color: var(--green-900); }
.auth-pane input[type="text"], .auth-pane input[type="email"], .auth-pane input[type="tel"],
.auth-pane input[type="password"], .auth-pane select {
  font-family: inherit; font-size: .95rem; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid rgba(28,60,38,.15); background: var(--cream); color: var(--ink);
}
.auth-pane input:focus, .auth-pane select:focus { outline: none; border-color: var(--green-600); }
.auth-pane > div:not([hidden]) { display: flex; flex-direction: column; gap: 14px; }

.auth-check { flex-direction: row !important; align-items: center; gap: 10px !important; font-weight: 600 !important; font-size: .88rem !important; color: var(--ink) !important; cursor: pointer; }
.auth-check input { width: 18px; height: 18px; accent-color: var(--green-700); flex-shrink: 0; }
.auth-check-big { background: var(--cream-2); padding: 14px 16px; border-radius: var(--radius-sm); align-items: flex-start; border: 1.5px solid transparent; transition: border-color .2s ease, background .2s ease; }
.auth-check-big:has(input:checked) { border-color: var(--green-600); background: var(--green-100); }
.auth-check-big span { display: flex; flex-direction: column; gap: 2px; }
.auth-check-big small { font-weight: 400; color: var(--ink-soft); font-size: .78rem; }
.auth-submit { width: 100%; margin-top: 6px; }
.auth-demo { margin-top: 6px; }
.auth-demo code { font-size: .74rem; }

/* ===================== MENÚ DE USUARIO ===================== */
.user-menu { position: relative; }
.user-menu-btn {
  display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: var(--green-100); color: var(--green-900); font-weight: 700; font-size: .88rem;
  transition: background .2s ease;
}
.user-menu-btn:hover { background: var(--green-400); color: var(--white); }
.user-avatar {
  width: 30px; height: 30px; border-radius: 50%; background: var(--green-700); color: var(--cream);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .9rem; flex-shrink: 0;
}
.user-caret { font-size: .7rem; opacity: .7; }

.user-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 210px; background: var(--white);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: 8px; z-index: 600;
  display: flex; flex-direction: column; gap: 2px;
}
.user-dropdown a, .user-dropdown button {
  display: block; width: 100%; text-align: left; padding: 11px 14px; border-radius: var(--radius-sm);
  font-size: .9rem; font-weight: 600; color: var(--ink); transition: background .18s ease, color .18s ease;
}
.user-dropdown a:hover, .user-dropdown button:hover { background: var(--cream-2); color: var(--green-900); }
.user-dropdown button { color: var(--clay-dark); border-top: 1px solid rgba(28,60,38,.08); border-radius: 0 0 var(--radius-sm) var(--radius-sm); margin-top: 4px; }

/* ===================== BUSCADOR ===================== */
.catalog-search { position: relative; max-width: 560px; margin: 0 auto 24px; }
.catalog-search input {
  width: 100%; font-family: inherit; font-size: 1rem; padding: 15px 46px 15px 46px;
  border-radius: 999px; border: 1.5px solid rgba(28,60,38,.14); background: var(--white); color: var(--ink);
  box-shadow: var(--shadow-sm); transition: border-color .2s ease, box-shadow .2s ease;
}
.catalog-search input:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 4px rgba(76,143,90,.14); }
.catalog-search input::-webkit-search-cancel-button { display: none; }
.search-icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); font-size: 1rem; opacity: .55; }
.search-clear {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; background: var(--cream-2); color: var(--ink-soft); font-size: .8rem;
}
.search-clear:hover { background: var(--green-700); color: var(--white); }

.catalog-selects { display: flex; gap: 14px; flex-wrap: wrap; }
.link-btn { color: var(--green-700); font-weight: 700; text-decoration: underline; margin-top: 10px; }

/* etiqueta de región del vivero */
.region-tag {
  position: absolute; top: 10px; right: 10px; background: rgba(255,255,255,.92); color: var(--green-800);
  font-size: .64rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; box-shadow: var(--shadow-sm);
  max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.region-tag-inline {
  display: inline-block; background: var(--cream-2); color: var(--green-800); font-size: .7rem; font-weight: 700;
  padding: 3px 10px; border-radius: 999px; margin-left: 6px;
}

/* ===================== GOOGLE ===================== */
.google-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  padding: 13px; border-radius: 999px; border: 1.5px solid rgba(28,60,38,.18); background: var(--white);
  font-weight: 700; font-size: .92rem; color: var(--ink); transition: background .2s ease, border-color .2s ease;
}
.google-btn:hover { background: var(--cream); border-color: var(--green-500); }
.google-note { font-size: .72rem; color: var(--ink-soft); text-align: center; }

.auth-divider { display: flex; align-items: center; gap: 12px; color: var(--ink-soft); font-size: .76rem; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: rgba(28,60,38,.12); }

/* ===================== SELECTOR DE DIRECCIONES (CHECKOUT) ===================== */
.addr-picker { display: flex; flex-direction: column; gap: 10px; }
.addr-picker-head { display: flex; align-items: center; justify-content: space-between; }
.addr-picker-head > span { font-size: .8rem; font-weight: 800; color: var(--green-900); text-transform: uppercase; letter-spacing: .04em; }
.addr-add-toggle { font-size: .82rem; font-weight: 700; color: var(--green-700); text-decoration: underline; }
.addr-add-toggle:hover { color: var(--green-900); }

.addr-options { display: flex; flex-direction: column; gap: 10px; }
.addr-option {
  display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid rgba(28,60,38,.14); cursor: pointer; transition: border-color .2s ease, background .2s ease;
}
.addr-option.selected { border-color: var(--green-600); background: var(--green-100); }
.addr-option input { margin-top: 3px; accent-color: var(--green-700); flex-shrink: 0; }
.addr-body { display: flex; flex-direction: column; gap: 2px; }
.addr-body strong { font-size: .9rem; color: var(--green-950); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.addr-body small { font-size: .8rem; color: var(--ink-soft); }
.addr-default { background: var(--green-100); color: var(--green-700); font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 3px 8px; border-radius: 999px; font-style: normal; }
.addr-option.selected .addr-default { background: var(--white); }

.addr-new { display: flex; flex-direction: column; gap: 12px; background: var(--cream-2); padding: 16px; border-radius: var(--radius-sm); }

/* ===================== COTIZACIÓN IMPRIMIBLE / PDF ===================== */
.print-area { display: none; }

@media print {
  body > *:not(.print-area) { display: none !important; }
  .print-area { display: block !important; }
  @page { size: A4; margin: 14mm; }
  body { background: #fff; }
}

.quote-sheet { font-family: var(--font-body); color: #1c2621; background: #fff; padding: 0; }
.quote-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-bottom: 18px; border-bottom: 3px solid #1f4429; }
.quote-brand { display: flex; align-items: center; gap: 14px; }
.quote-logo-text { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; color: #16321f; line-height: 1; }
.quote-logo-text span { color: #d97a52; }
.quote-tagline { font-size: .76rem; color: #566058; margin-top: 3px; }
.quote-meta { text-align: right; font-size: .82rem; color: #566058; }
.quote-title { font-family: var(--font-display); font-size: 1.4rem; color: #16321f; margin-bottom: 4px; }

.quote-info { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 22px 0; }
.quote-info h4 { font-size: .68rem; text-transform: uppercase; letter-spacing: .09em; color: #566058; margin-bottom: 8px; }
.quote-info p { font-size: .84rem; line-height: 1.6; }

.quote-group { margin-bottom: 18px; break-inside: avoid; }
.quote-group h5 { font-size: .9rem; color: #1f4429; margin-bottom: 8px; font-family: var(--font-display); }
.quote-group h5 span { font-family: var(--font-body); font-weight: 400; font-size: .76rem; color: #566058; }
.quote-table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.quote-table th { background: #f2ead9; text-align: left; padding: 8px 10px; font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; color: #1f4429; }
.quote-table th:not(:first-child), .quote-table td:not(:first-child) { text-align: right; }
.quote-table td { padding: 8px 10px; border-bottom: 1px solid #e4e8e2; }
.quote-ship td { color: #566058; font-style: italic; }

.quote-totals { margin-left: auto; width: 260px; display: flex; flex-direction: column; gap: 6px; margin-top: 18px; }
.quote-totals div { display: flex; justify-content: space-between; font-size: .88rem; color: #566058; }
.quote-grand { border-top: 2px solid #1f4429; padding-top: 8px; margin-top: 4px; font-size: 1.1rem !important; font-weight: 800; color: #16321f !important; }
.quote-note { margin-top: 24px; font-size: .78rem; color: #566058; background: #f4f8f3; padding: 12px 16px; border-radius: 10px; border-left: 3px solid #4c8f5a; line-height: 1.6; }
.quote-foot { display: flex; justify-content: space-between; margin-top: 28px; padding-top: 12px; border-top: 1px solid #e4e8e2; font-size: .72rem; color: #566058; }

@media (max-width: 560px) {
  .co-fields-row { grid-template-columns: 1fr; }
}

/* ===================== SCROLL TOP ===================== */
.scroll-top {
  position: fixed; bottom: 26px; right: 26px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--green-800); color: var(--white); font-size: 1.1rem; box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none; transform: translateY(10px); transition: all .25s ease; z-index: 400;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.scroll-top:hover { background: var(--green-700); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { height: 380px; margin-top: 20px; }
  .viveros-inner { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step-connector { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .main-nav, .nursery-cta-top { display: none; }
  .menu-toggle { display: flex; }
  .main-nav.open {
    display: flex; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream);
    flex-direction: column; padding: 20px 24px; gap: 18px; box-shadow: var(--shadow-md);
    border-bottom: 1px solid rgba(28,60,38,.08);
  }
  .site-header { position: sticky; }
  .hero { padding: 56px 0 70px; }
  .hero-stats { gap: 24px; }
  .section { padding: 76px 0; }
  .benefits-grid { grid-template-columns: 1fr; }
  .catalog-toolbar { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
}
