@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;900&display=swap');

:root {
  --navy-1: #0f2818;
  --navy-2: #163b23;
  --navy-3: #1f5c34;
  --coral: #4caf6d;
  --coral-dark: #388a54;
  --ink: #10261a;
  --muted: #5c6d63;
  --line: #e3ece5;
  --bg-soft: #f6faf6;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 40, 24, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 19px;
  color: #fff;
  letter-spacing: -0.3px;
}
.logo-img { height: 30px; width: 30px; object-fit: contain; display: block; }
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 500;
  transition: color .15s;
}
.nav-links a:hover { color: #fff; }
.nav .btn { padding: 9px 18px; font-size: 13px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--navy-1);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 24px 20px;
    gap: 4px;
    display: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-links .btn { margin-top: 8px; text-align: center; }
  .nav-toggle { display: block; }
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 8px 24px rgba(76,175,109,0.35);
}
.btn-primary:hover { background: var(--coral-dark); transform: translateY(-1px); }
.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
}
.btn-ghost:hover { background: rgba(255,255,255,0.15); }
.btn-outline {
  background: #fff;
  color: var(--navy-1);
  border: 1.5px solid var(--line);
}
.btn-outline:hover { border-color: var(--navy-3); }

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--navy-1) 0%, var(--navy-2) 55%, var(--navy-3) 100%);
  color: #fff;
  padding: 90px 0 110px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 60px;
  background: #fff;
  clip-path: ellipse(60% 100% at 50% 100%);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(76,175,109,0.15);
  border: 1px solid rgba(76,175,109,0.4);
  color: #bdeecb;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: -1px;
  max-width: 780px;
  line-height: 1.12;
}
.hero h1 em {
  font-style: normal;
  color: var(--coral);
}
.hero p.lead {
  margin-top: 22px;
  font-size: 18px;
  color: rgba(255,255,255,0.72);
  max-width: 620px;
  line-height: 1.6;
}
.hero-actions {
  margin-top: 38px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-meta {
  margin-top: 56px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-meta div { font-size: 13px; color: rgba(255,255,255,0.5); }
.hero-meta strong { display: block; color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 2px; }

/* SECTION SCAFFOLD */
section { padding: 96px 0; }
.section-eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--coral);
  margin-bottom: 12px;
}
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--navy-1);
}
.section-head p {
  margin-top: 14px;
  font-size: 16.5px;
  color: var(--muted);
  line-height: 1.65;
}
.section-alt { background: var(--bg-soft); }

/* PROBLEM GRID */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 780px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
}
.card .icon { font-size: 26px; margin-bottom: 14px; }
.card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }

/* FLOW */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 900px) { .flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } }
.flow-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 20px;
  position: relative;
}
.flow-step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--navy-1);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}
.flow-step .icon { font-size: 24px; margin-bottom: 8px; }
.flow-step h4 { font-size: 14.5px; font-weight: 700; margin-bottom: 6px; }
.flow-step p { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* PRODUCT CARD (home) */
.product-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  padding: 32px;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.product-card:hover {
  border-color: var(--coral);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(76,175,109,0.14);
}
.product-card .icon { font-size: 34px; margin-bottom: 16px; }
.product-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.product-card p { font-size: 15px; color: var(--muted); line-height: 1.6; margin-bottom: 20px; }
.product-card-link { font-size: 14.5px; font-weight: 700; color: var(--coral); margin-top: auto; }

/* PRODUCT PAGE HERO */
.back-link {
  display: inline-block;
  color: rgba(255,255,255,0.6);
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 20px;
}
.back-link:hover { color: #fff; }
.hero-product { padding-bottom: 90px; }
.hero-product .product-tag,
.hero-product .product-tag.alt { margin-bottom: 18px; }
.hero-product h1 {
  font-size: clamp(28px, 4.4vw, 44px);
  font-weight: 900;
  letter-spacing: -1px;
  max-width: 780px;
  line-height: 1.15;
}

/* STAT STRIP (mermas, finanzas) */
.stat-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px 28px;
}
.stat-strip.three { justify-content: space-between; }
.stat { flex: 1; min-width: 140px; text-align: center; }
.stat-icon { display: block; font-size: 24px; margin-bottom: 10px; }
.stat-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  margin-bottom: 6px;
}
.stat-value { display: block; font-size: 23px; font-weight: 800; color: var(--navy-1); letter-spacing: -0.3px; }
.stat.highlight .stat-value { color: var(--coral); }
.stat-op { font-size: 26px; font-weight: 900; color: var(--muted); }
@media (max-width: 680px) {
  .stat-op { display: none; }
}

/* PRODUCT BLOCK */
.product-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy-1);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 18px;
}
.product-tag.alt { background: var(--coral); }

.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; margin-top: 8px; }
@media (max-width: 700px) { .feature-list { grid-template-columns: 1fr; } }
.feature-list li {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink);
  align-items: flex-start;
  line-height: 1.5;
}
.feature-list li .dot { font-size: 17px; line-height: 1.5; flex-shrink: 0; }

.quality-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.quality-tags span {
  background: var(--navy-1);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 999px;
}

/* TAG PILLS (hero, comprobantes) */
.tag-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.tag-pills span {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
}
.tag-pills.outline span {
  background: #fff;
  border: 1.5px solid var(--line);
  color: var(--ink);
}

/* QUALITY TABLE dots */
.q-dot {
  display: inline-block;
  width: 9px; height: 9px;
  border-radius: 50%;
  margin-right: 9px;
  vertical-align: middle;
}
.quality-table td:first-child { font-weight: 700; }
.q-bueno { background: #2e7d4f; }
.q-proceso { background: #4caf6d; }
.q-mediano { background: #b08d3e; }
.q-canica { background: #7a4a2b; }
.q-aceite { background: #c9a227; }
.q-limpio { background: #9aa79f; }

/* PRICING */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
@media (max-width: 780px) { .pricing-grid { grid-template-columns: 1fr; } }
.pricing-grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .pricing-grid.three { grid-template-columns: 1fr; } }

.price-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.featured {
  border-color: var(--coral);
  box-shadow: 0 12px 40px rgba(76,175,109,0.14);
}
.price-card .ribbon {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--coral);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 999px;
}
.price-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.price-card .sub { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }
.price-card .amount { font-size: 32px; font-weight: 900; letter-spacing: -0.5px; color: var(--navy-1); }
.price-card .amount small { font-size: 14px; font-weight: 600; color: var(--muted); }
.price-card ul { margin: 22px 0 26px; flex-grow: 1; }
.price-card ul li {
  font-size: 14px;
  color: var(--ink);
  padding: 8px 0;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 9px;
}
.price-card ul li:first-child { border-top: none; }
.price-card ul li .dot { color: var(--coral); font-weight: 900; }
.price-card ul li.muted { color: var(--muted); }

.price-note {
  margin-top: 22px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* mini table for bodegas tiers */
.tier-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tier-table th, .tier-table td { padding: 14px 12px; text-align: center; border-bottom: 1px solid var(--line); }
.tier-table th:first-child, .tier-table td:first-child { text-align: left; }
.tier-table thead th { color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 700; }
.tier-table tbody tr:last-child td { border-bottom: none; }
.tier-table .yes { color: var(--coral); font-weight: 900; }
.tier-table .price-row td { font-weight: 800; font-size: 17px; color: var(--navy-1); padding-top: 18px; }
.tier-table-wrap { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 24px; overflow-x: auto; }

/* CTA STRIP */
.cta-strip {
  background: linear-gradient(135deg, var(--navy-1) 0%, var(--navy-2) 55%, var(--navy-3) 100%);
  color: #fff;
  border-radius: 24px;
  padding: 56px 48px;
  text-align: center;
}
.cta-strip h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -0.5px; }
.cta-strip p { margin-top: 12px; color: rgba(255,255,255,0.65); font-size: 16px; }
.cta-strip .hero-actions { justify-content: center; margin-top: 30px; }

/* CONTACT FORM */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-intro h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -0.5px; color: var(--navy-1); margin-top: 8px; }
.contact-intro p { margin-top: 14px; font-size: 16px; color: var(--muted); line-height: 1.6; }
.contact-direct {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
}
.contact-direct strong { display: block; color: var(--ink); margin-bottom: 4px; }
.contact-direct a { color: var(--coral); font-weight: 700; }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .contact-form .form-row { grid-template-columns: 1fr; } }
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  font-weight: 400;
  color: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 11px 13px;
  background: var(--bg-soft);
  resize: vertical;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--coral);
  background: #fff;
}
.contact-form button { margin-top: 4px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { font-size: 13.5px; font-weight: 600; min-height: 18px; }
.form-status.ok { color: var(--coral-dark); }
.form-status.err { color: #b3261e; }

/* FOOTER */
footer {
  background: var(--navy-1);
  color: rgba(255,255,255,0.55);
  padding: 48px 0 32px;
}
footer .foot-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
footer .brand { margin-bottom: 8px; }
footer .foot-desc { font-size: 13.5px; max-width: 320px; line-height: 1.6; }
footer .foot-contact { font-size: 13.5px; text-align: right; }
footer .foot-contact a { color: #fff; font-weight: 600; }
footer .foot-bottom {
  padding-top: 22px;
  font-size: 12.5px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
@media (max-width: 600px) {
  footer .foot-top { flex-direction: column; }
  footer .foot-contact { text-align: left; }
}
