/* =========================================================
   AGROPRO — Sistema de Diseño
   Producción inteligente. Ventas seguras.
   Inspirado en Apple / Linear / Notion / Stripe / Material 3
   ========================================================= */

:root{
  /* Marca */
  --primary: #2E7D32;
  --primary-dark: #1E5220;
  --primary-light: #E8F3E9;
  --secondary: #8BC34A;
  --secondary-light: #F1F8E9;
  --accent: #F59E0B;
  --accent-light: #FEF3E2;
  --info: #0EA5E9;
  --info-light: #E6F7FE;
  --error: #DC2626;
  --error-light: #FDEDED;
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --text: #1F2937;
  --text-muted: #6B7280;
  --text-soft: #9CA3AF;
  --border: #E5E9EF;

  /* Elevación */
  --shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.05);
  --shadow-md: 0 4px 12px rgba(17, 24, 39, 0.08);
  --shadow-lg: 0 12px 32px rgba(17, 24, 39, 0.12);
  --shadow-glow: 0 8px 24px rgba(46, 125, 50, 0.18);

  /* Forma */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Ritmo */
  --gap: 24px;
  --ease: cubic-bezier(.4,0,.2,1);

  /* Layout */
  --sidebar-w: 264px;
  --topbar-h: 76px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
h1,h2,h3,h4,h5{ margin: 0 0 .4em 0; font-weight: 700; letter-spacing: -0.02em; }
p{ margin: 0 0 1em 0; color: var(--text-muted); }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin:0; padding:0; }
img{ max-width: 100%; display:block; }
button{ font-family: inherit; cursor: pointer; }
input, select, textarea{ font-family: inherit; font-size: 15px; }

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

/* ---------- Animations ---------- */
@keyframes fadeUp{ from{ opacity:0; transform: translateY(16px);} to{ opacity:1; transform: translateY(0);} }
@keyframes fadeIn{ from{ opacity:0; } to{ opacity:1; } }
@keyframes pop{ from{ opacity:0; transform: scale(.94);} to{ opacity:1; transform: scale(1);} }
@keyframes pulseDot{ 0%,100%{ opacity:1;} 50%{ opacity:.35;} }
@keyframes floatIn{ from{ opacity:0; transform: translateY(10px);} to{ opacity:1; transform:none; } }
.animate-in{ animation: fadeUp .6s var(--ease) both; }
.animate-in.d1{ animation-delay:.05s; } .animate-in.d2{ animation-delay:.1s; }
.animate-in.d3{ animation-delay:.15s; } .animate-in.d4{ animation-delay:.2s; }
.animate-in.d5{ animation-delay:.25s; } .animate-in.d6{ animation-delay:.3s; }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 14px 24px; border-radius: var(--radius-pill); border: none;
  font-weight: 600; font-size: 15px; transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .15s var(--ease);
  white-space: nowrap;
}
.btn svg{ width:18px; height:18px; flex-shrink:0; }
.btn:active{ transform: scale(.97); }
.btn-primary{ background: var(--primary); color:#fff; box-shadow: var(--shadow-glow); }
.btn-primary:hover{ background: var(--primary-dark); box-shadow: 0 12px 28px rgba(46,125,50,.28); }
.btn-secondary{ background:#fff; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-secondary:hover{ background: var(--primary-light); }
.btn-accent{ background: var(--accent); color:#fff; box-shadow: 0 8px 24px rgba(245,158,11,.28); }
.btn-accent:hover{ filter: brightness(.95); }
.btn-ghost{ background: transparent; color: var(--text); }
.btn-ghost:hover{ background: #F1F5F9; }
.btn-whatsapp{ background:#25D366; color:#fff; box-shadow: 0 8px 20px rgba(37,211,102,.3); }
.btn-whatsapp:hover{ background:#1fbd59; }
.btn-lg{ padding: 18px 32px; font-size: 17px; }
.btn-sm{ padding: 9px 16px; font-size: 13.5px; }
.btn-block{ width: 100%; }
.btn-icon{ width:44px; height:44px; padding:0; border-radius: 50%; background:#fff; border:1px solid var(--border); color: var(--text); }
.btn-icon:hover{ background: #F1F5F9; }
.btn:disabled{ opacity:.5; cursor:not-allowed; }

/* ---------- Cards ---------- */
.card{
  background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); padding: 28px; transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.card-hover:hover{ box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card-pad-sm{ padding: 18px; }
.card-flat{ border:none; box-shadow:none; background: var(--bg); }

/* ---------- Badges / Pills ---------- */
.badge{ display:inline-flex; align-items:center; gap:6px; padding: 6px 14px; border-radius: var(--radius-pill); font-size: 12.5px; font-weight: 700; }
.badge-green{ background: var(--primary-light); color: var(--primary); }
.badge-amber{ background: var(--accent-light); color: #B45309; }
.badge-blue{ background: var(--info-light); color: #0369A1; }
.badge-red{ background: var(--error-light); color: var(--error); }
.badge-gray{ background:#F1F5F9; color: var(--text-muted); }
.dot{ width:8px; height:8px; border-radius:50%; display:inline-block; }
.dot-green{ background: var(--primary); } .dot-amber{ background: var(--accent); }
.dot-red{ background: var(--error); } .dot-blue{ background: var(--info); }
.dot-live{ animation: pulseDot 1.6s ease-in-out infinite; }

/* ---------- Top marketing nav (Landing) ---------- */
.marketing-nav{
  position: sticky; top:0; z-index: 50; background: rgba(248,250,252,.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.marketing-nav .container{ display:flex; align-items:center; justify-content:space-between; height: 84px; }
.brand{ display:flex; align-items:center; gap:10px; font-weight:800; font-size: 20px; color: var(--primary-dark); }
.brand .logo-mark{ width:38px; height:38px; border-radius: 11px; background: linear-gradient(135deg, var(--primary), var(--secondary)); display:flex; align-items:center; justify-content:center; color:#fff; font-size:19px; box-shadow: var(--shadow-glow); }
.nav-links{ display:flex; gap:32px; align-items:center; }
.nav-links a{ font-weight:600; font-size:14.5px; color: var(--text-muted); transition: color .15s; }
.nav-links a:hover{ color: var(--primary); }
.nav-actions{ display:flex; gap:12px; align-items:center; }
.mobile-toggle{ display:none; background:none; border:none; }

/* ---------- Hero ---------- */
.hero{ padding: 88px 0 60px; text-align:center; position:relative; overflow:hidden; }
.hero::before{
  content:""; position:absolute; inset: -20% -10% auto -10%; height: 520px; z-index:-1;
  background: radial-gradient(60% 60% at 50% 0%, rgba(46,125,50,.14), rgba(139,195,74,.05) 60%, transparent 80%);
}
.eyebrow{ display:inline-flex; align-items:center; gap:8px; background:#fff; border:1px solid var(--border); padding: 8px 18px; border-radius: var(--radius-pill); font-size:13px; font-weight:700; color: var(--primary); box-shadow: var(--shadow-sm); margin-bottom: 22px;}
.hero h1{ font-size: 56px; max-width: 780px; margin: 0 auto 20px; line-height:1.08; }
.hero .accent-text{ background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hero .lead{ font-size: 19px; max-width: 560px; margin: 0 auto 34px; }
.hero-actions{ display:flex; gap:16px; justify-content:center; margin-bottom: 56px; flex-wrap:wrap; }
.hero-stats{ display:flex; justify-content:center; gap:56px; flex-wrap:wrap; }
.hero-stat b{ font-size: 30px; display:block; color: var(--primary-dark); }
.hero-stat span{ font-size: 13.5px; color: var(--text-muted); font-weight:600; }
.hero-visual{ margin-top: 56px; }
.hero-visual img, .hero-visual .mock{ border-radius: 24px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }

/* ---------- Section generic ---------- */
.section{ padding: 84px 0; }
.section-alt{ background: #fff; border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.section-head{ text-align:center; max-width: 640px; margin: 0 auto 52px; }
.section-head .eyebrow{ margin-bottom:14px; }
.section-head h2{ font-size: 38px; }

/* ---------- Grids ---------- */
.grid{ display:grid; gap: var(--gap); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
.grid-5{ grid-template-columns: repeat(5,1fr); }

/* ---------- Feature / Benefit cards ---------- */
.feature-card{ text-align:left; }
.icon-tile{ width:56px; height:56px; border-radius: var(--radius-md); display:flex; align-items:center; justify-content:center; margin-bottom:18px; }
.icon-tile svg{ width:26px; height:26px; }
.tile-green{ background: var(--primary-light); color: var(--primary); }
.tile-amber{ background: var(--accent-light); color:#B45309; }
.tile-blue{ background: var(--info-light); color:#0369A1; }
.tile-secondary{ background: var(--secondary-light); color:#33691E; }
.feature-card h3{ font-size:19px; }
.feature-card p{ font-size: 14.5px; margin:0; }

/* ---------- How it works / steps ---------- */
.steps-row{ display:flex; gap: var(--gap); counter-reset: step; }
.step-card{ flex:1; position:relative; padding-top: 8px; }
.step-num{ width:44px; height:44px; border-radius:50%; background: var(--primary); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:800; margin-bottom:18px; box-shadow: var(--shadow-glow); }

/* ---------- Sectores ---------- */
.sector-pill{ display:flex; flex-direction:column; align-items:center; gap:10px; padding: 26px 14px; border-radius: var(--radius-lg); background:#fff; border:1px solid var(--border); text-align:center; }
.sector-pill .icon-tile{ margin-bottom:2px; }
.sector-pill span{ font-weight:700; font-size:14px; }

/* ---------- Testimonials ---------- */
.testimonial{ display:flex; flex-direction:column; gap:16px; }
.stars{ color: var(--accent); letter-spacing:2px; }
.testi-person{ display:flex; align-items:center; gap:12px; margin-top:6px; }
.avatar{ width:44px; height:44px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:800; color:#fff; font-size:15px; }
.testi-person b{ display:block; font-size:14.5px; }
.testi-person span{ font-size: 12.5px; color: var(--text-muted); }

/* ---------- Pricing ---------- */
.price-card{ text-align:center; position:relative; }
.price-card.featured{ border: 2px solid var(--primary); box-shadow: var(--shadow-glow); transform: scale(1.03); }
.price-card .plan-tag{ position:absolute; top:-14px; left:50%; transform:translateX(-50%); background:var(--primary); color:#fff; font-size:11.5px; font-weight:800; padding:6px 16px; border-radius: var(--radius-pill); }
.price-card h3{ font-size:20px; margin-bottom:4px; }
.price-card .price{ font-size:42px; font-weight:800; margin: 14px 0 4px; }
.price-card .price span{ font-size:14px; font-weight:600; color: var(--text-muted); }
.plan-list{ text-align:left; margin: 22px 0; display:flex; flex-direction:column; gap:12px; }
.plan-list li{ display:flex; gap:10px; align-items:flex-start; font-size:14px; color: var(--text-muted); }
.plan-list svg{ width:18px; height:18px; color: var(--primary); flex-shrink:0; margin-top:1px; }

/* ---------- Contact ---------- */
.contact-wrap{ display:grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items:center; }
.field{ margin-bottom:18px; }
.field label{ display:block; font-weight:700; font-size:13.5px; margin-bottom:8px; }
.field input, .field select, .field textarea{
  width:100%; padding:14px 16px; border-radius: var(--radius-sm); border:1.5px solid var(--border); background:#fff; color:var(--text);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-light); }
.contact-points{ display:flex; flex-direction:column; gap:20px; }
.contact-point{ display:flex; gap:16px; align-items:flex-start; }

/* ---------- Footer ---------- */
.site-footer{ background: #14261a; color:#cfe8d2; padding: 64px 0 28px; }
.site-footer a{ color:#cfe8d2; opacity:.85; }
.site-footer a:hover{ opacity:1; color:#fff; }
.footer-grid{ display:grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px;}
.footer-grid h4{ color:#fff; font-size:13.5px; text-transform:uppercase; letter-spacing:.06em; margin-bottom:18px;}
.footer-grid ul{ display:flex; flex-direction:column; gap:12px; font-size:14px; }
.footer-brand p{ color:#9fc6a4; max-width:280px; }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.12); padding-top:24px; display:flex; justify-content:space-between; font-size:13px; color:#8fb894; flex-wrap:wrap; gap:12px; }
.social-row{ display:flex; gap:12px; }
.social-row a{ width:36px; height:36px; border-radius:50%; background: rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; }

/* =========================================================
   APP SHELL (Dashboards)
   ========================================================= */
.app-shell{ display:flex; min-height: 100vh; }
.sidebar{
  width: var(--sidebar-w); flex-shrink:0; background: #16281B; color:#dcefdd; padding: 24px 18px; position: sticky; top:0; height:100vh;
  display:flex; flex-direction:column; gap: 6px; z-index: 40;
}
.sidebar .brand{ color:#fff; padding: 6px 10px 26px; }
.sidebar-section-title{ font-size:11px; text-transform:uppercase; letter-spacing:.08em; color:#7fa384; margin: 18px 10px 8px; font-weight:700; }
.side-link{ display:flex; align-items:center; gap:14px; padding: 13px 14px; border-radius: 14px; font-weight:600; font-size:14.5px; color:#c3ddc5; transition: background .15s, color .15s; }
.side-link svg{ width:20px; height:20px; flex-shrink:0; }
.side-link:hover{ background: rgba(255,255,255,.06); color:#fff; }
.side-link.active{ background: linear-gradient(135deg, var(--primary), #256029); color:#fff; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.side-bottom{ margin-top:auto; display:flex; flex-direction:column; gap:6px; }
.side-user{ display:flex; align-items:center; gap:12px; padding:14px; border-radius:14px; background: rgba(255,255,255,.06); }
.side-user b{ font-size:13.5px; color:#fff; display:block; }
.side-user span{ font-size:12px; color:#9dc2a0; }

.main{ flex:1; min-width:0; }
.topbar{
  height: var(--topbar-h); display:flex; align-items:center; justify-content:space-between; padding: 0 36px;
  background: rgba(248,250,252,.9); backdrop-filter: blur(10px); position: sticky; top:0; z-index:30; border-bottom:1px solid var(--border);
}
.topbar h1{ font-size: 22px; margin:0; }
.topbar-sub{ font-size:13.5px; color: var(--text-muted); margin-top:2px; }
.topbar-actions{ display:flex; align-items:center; gap:14px; }
.search-box{ display:flex; align-items:center; gap:10px; background:#fff; border:1px solid var(--border); border-radius: var(--radius-pill); padding:10px 18px; min-width:240px; }
.search-box input{ border:none; outline:none; flex:1; font-size:14px; }
.icon-btn-badge{ position:relative; }
.icon-btn-badge::after{ content:""; position:absolute; top:8px; right:9px; width:8px; height:8px; border-radius:50%; background: var(--error); border:2px solid #fff; }
.page{ padding: 32px 36px 64px; max-width: 1360px; }
.mobile-only{ display:none; }

/* Stat cards */
.stat-card{ display:flex; flex-direction:column; gap:10px; }
.stat-top{ display:flex; align-items:center; justify-content:space-between; }
.stat-value{ font-size: 30px; font-weight:800; letter-spacing:-0.01em; }
.stat-label{ font-size:13.5px; color: var(--text-muted); font-weight:600; }
.stat-trend{ font-size:12.5px; font-weight:700; display:flex; align-items:center; gap:4px; }
.trend-up{ color: var(--primary); } .trend-down{ color: var(--error); }

/* Progress ring */
.ring{ position:relative; width:96px; height:96px; }
.ring svg{ transform: rotate(-90deg); width:100%; height:100%; }
.ring-track{ fill:none; stroke:#E5E9EF; stroke-width:10; }
.ring-value{ fill:none; stroke-linecap:round; stroke-width:10; transition: stroke-dashoffset 1s var(--ease); }
.ring-label{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:19px; }

/* Simple bar chart */
.bar-chart{ display:flex; align-items:flex-end; gap:10px; height:160px; padding-top:10px; }
.bar-chart .bar-col{ flex:1; display:flex; flex-direction:column; align-items:center; gap:8px; height:100%; justify-content:flex-end; }
.bar-chart .bar{ width:100%; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, var(--secondary), var(--primary)); transition: height 1s var(--ease); }
.bar-chart .bar-label{ font-size:11.5px; color: var(--text-muted); font-weight:600; }

/* Line / area sparkline via svg is inlined per-page */
.legend-row{ display:flex; gap:18px; flex-wrap:wrap; margin-top:14px;}
.legend-item{ display:flex; align-items:center; gap:8px; font-size:12.5px; color:var(--text-muted); font-weight:600; }
.legend-swatch{ width:10px; height:10px; border-radius:3px; }

/* Timeline */
.timeline{ position:relative; padding-left: 28px; }
.timeline::before{ content:""; position:absolute; left:9px; top:6px; bottom:6px; width:2px; background: var(--border); }
.timeline-item{ position:relative; padding-bottom: 26px; }
.timeline-item:last-child{ padding-bottom:0; }
.timeline-dot{ position:absolute; left:-28px; top:2px; width:20px; height:20px; border-radius:50%; background:#fff; border:3px solid var(--primary); }
.timeline-item.pending .timeline-dot{ border-color: var(--text-soft); }
.timeline-item.risk .timeline-dot{ border-color: var(--error); }
.timeline-time{ font-size:12px; color: var(--text-soft); font-weight:700; margin-bottom:2px; }

/* Task checklist */
.task-row{ display:flex; align-items:center; gap:16px; padding:16px; border-radius: var(--radius-md); border:1px solid var(--border); background:#fff; margin-bottom:12px; transition: all .2s; }
.task-row.done{ opacity:.6; }
.task-row.done .task-title{ text-decoration: line-through; }
.task-row.skipped{ opacity:.55; background: var(--error-light); border-color: transparent; }
.task-check{ width:30px; height:30px; border-radius:9px; border:2px solid var(--border); flex-shrink:0; display:flex; align-items:center; justify-content:center; background:#fff; transition: all .15s; }
.task-check.checked{ background: var(--primary); border-color: var(--primary); color:#fff; }
.task-title{ font-weight:700; font-size:14.5px; }
.task-sub{ font-size:12.5px; color: var(--text-muted); }
.task-actions{ margin-left:auto; display:flex; gap:8px; }
.chip-btn{ border:1px solid var(--border); background:#fff; padding:7px 13px; border-radius: var(--radius-pill); font-size:12px; font-weight:700; color: var(--text-muted); }
.chip-btn.on-green{ background: var(--primary-light); color: var(--primary); border-color: transparent; }
.chip-btn.on-red{ background: var(--error-light); color: var(--error); border-color: transparent; }

/* Tables */
.table-wrap{ overflow-x:auto; }
table.data-table{ width:100%; border-collapse: collapse; font-size:14px; }
.data-table th{ text-align:left; font-size:11.5px; text-transform:uppercase; letter-spacing:.05em; color: var(--text-soft); padding: 10px 16px; border-bottom: 1px solid var(--border); font-weight:700;}
.data-table td{ padding: 16px; border-bottom: 1px solid var(--border); vertical-align:middle; }
.data-table tr:last-child td{ border-bottom:none; }
.data-table tr:hover td{ background: #FAFBFD; }
.row-media{ display:flex; align-items:center; gap:12px; }
.row-thumb{ width:44px; height:44px; border-radius:12px; object-fit:cover; background: var(--primary-light); }

/* Alerts */
.alert{ display:flex; gap:14px; padding:16px; border-radius: var(--radius-md); align-items:flex-start; }
.alert svg{ width:22px; height:22px; flex-shrink:0; }
.alert-warning{ background: var(--accent-light); color:#92400E; }
.alert-info{ background: var(--info-light); color:#075985; }
.alert-error{ background: var(--error-light); color: var(--error); }
.alert-success{ background: var(--primary-light); color: var(--primary-dark); }

/* Form stepper */
.stepper{ display:flex; align-items:center; justify-content:center; gap:8px; margin-bottom: 40px; }
.stepper-dot{ width:38px; height:38px; border-radius:50%; background:#fff; border:2px solid var(--border); display:flex; align-items:center; justify-content:center; font-weight:800; font-size:14px; color: var(--text-soft); }
.stepper-dot.active{ background: var(--primary); border-color: var(--primary); color:#fff; box-shadow: var(--shadow-glow); }
.stepper-dot.complete{ background: var(--primary-light); border-color: var(--primary); color: var(--primary); }
.stepper-line{ width:56px; height:2px; background: var(--border); }
.stepper-line.complete{ background: var(--primary); }
.form-step{ display:none; animation: fadeIn .3s; }
.form-step.active{ display:block; }
.option-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:14px; }
.option-card{ border:2px solid var(--border); border-radius: var(--radius-md); padding: 20px; text-align:center; background:#fff; transition: all .15s; }
.option-card:hover{ border-color: var(--secondary); }
.option-card.selected{ border-color: var(--primary); background: var(--primary-light); }
.option-card .icon-tile{ margin: 0 auto 10px; }

/* Empty / center helpers */
.flex-between{ display:flex; align-items:center; justify-content:space-between; }
.flex-center{ display:flex; align-items:center; justify-content:center; }
.flex-gap{ display:flex; align-items:center; gap:10px; }
.text-center{ text-align:center; }
.mt-0{margin-top:0;} .mb-0{margin-bottom:0;}
.muted{ color: var(--text-muted); }
.w-full{ width:100%; }

/* Toast */
.toast{
  position: fixed; bottom: 28px; right: 28px; background:#16281B; color:#fff; padding:16px 22px; border-radius: var(--radius-md);
  display:flex; align-items:center; gap:12px; box-shadow: var(--shadow-lg); z-index:200; font-weight:600; font-size:14px;
  transform: translateY(140%); transition: transform .35s var(--ease); max-width: 340px;
}
.toast.show{ transform: translateY(0); }
.toast svg{ width:20px; height:20px; color: var(--secondary); flex-shrink:0; }

/* Floating WhatsApp */
.fab-whatsapp{
  position: fixed; bottom: 28px; right:28px; width:60px; height:60px; border-radius:50%; background:#25D366; color:#fff;
  display:flex; align-items:center; justify-content:center; box-shadow: 0 10px 26px rgba(37,211,102,.4); z-index:90;
}
.fab-whatsapp svg{ width:28px; height:28px; }

/* Map placeholder */
.map-box{
  height: 260px; border-radius: var(--radius-lg); background:
    repeating-linear-gradient(45deg, #eef3ee, #eef3ee 12px, #e5ede4 12px, #e5ede4 24px);
  position:relative; overflow:hidden; border:1px solid var(--border);
}
.map-pin{ position:absolute; width:40px; height:40px; border-radius:50% 50% 50% 0; background: var(--primary); transform: translate(-50%,-100%) rotate(-45deg); box-shadow: var(--shadow-glow); }
.map-pin::after{ content:""; position:absolute; width:14px; height:14px; background:#fff; border-radius:50%; top:8px; left:8px; }

/* Product gallery */
.gallery-main{ border-radius: var(--radius-lg); overflow:hidden; height: 380px; }
.gallery-thumbs{ display:flex; gap:12px; margin-top:12px; }
.gallery-thumbs .thumb{ width:76px; height:76px; border-radius: var(--radius-sm); overflow:hidden; border:2px solid transparent; cursor:pointer; }
.gallery-thumbs .thumb.active{ border-color: var(--primary); }

/* Login / role select */
.auth-shell{ min-height:100vh; display:flex; align-items:center; justify-content:center; padding: 40px 20px; background:
  radial-gradient(60% 60% at 50% 0%, rgba(46,125,50,.10), transparent 70%), var(--bg); }
.role-card{ display:flex; flex-direction:column; align-items:center; text-align:center; gap:14px; cursor:pointer; }
.role-card .icon-tile{ width:72px; height:72px; border-radius:22px; }
.role-card .icon-tile svg{ width:34px; height:34px; }

/* Utility spacing */
.section-sm{ padding: 48px 0; }
.gap-sm{ gap:12px; } .gap-md{ gap:20px; } .gap-lg{ gap:32px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px){
  .grid-4{ grid-template-columns: repeat(2,1fr); }
  .grid-5{ grid-template-columns: repeat(3,1fr); }
  .grid-3{ grid-template-columns: repeat(2,1fr); }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .contact-wrap{ grid-template-columns: 1fr; }
  .hero h1{ font-size:44px; }
  .steps-row{ flex-wrap:wrap; }
  .step-card{ flex: 1 1 45%; }
}

@media (max-width: 900px){
  .sidebar{ position: fixed; left:-300px; top:0; height:100vh; transition: left .25s var(--ease); box-shadow: var(--shadow-lg); }
  .sidebar.open{ left:0; }
  .sidebar-overlay{ display:none; position:fixed; inset:0; background: rgba(0,0,0,.4); z-index:35; }
  .sidebar-overlay.show{ display:block; }
  .mobile-only{ display:flex; }
  .search-box{ display:none; }
  .page{ padding: 24px 18px 60px; }
  .topbar{ padding: 0 18px; }
}

@media (max-width: 768px){
  .nav-links{ display:none; }
  .mobile-toggle{ display:block; }
  .grid-2, .grid-3, .grid-4, .grid-5{ grid-template-columns: 1fr; }
  .hero h1{ font-size:34px; }
  .hero .lead{ font-size:16px; }
  .footer-grid{ grid-template-columns: 1fr; gap:28px; }
  .section{ padding: 56px 0; }
  .section-head h2{ font-size:28px; }
  .option-grid{ grid-template-columns: 1fr 1fr; }
  .container{ padding: 0 18px; }
  .price-card.featured{ transform:none; }
}
