:root {
  --yellow: #F5C518;
  --dark: #2b2622;
  --ink: #1c1916;
  --muted: #6b6358;
  --bg: #ffffff;
  --bg-alt: #faf8f4;
  --line: #ece7df;
  --radius: 14px;
  --container: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { color: var(--dark); line-height: 1.15; }

a { color: inherit; text-decoration: none; }

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand-logo { height: 40px; display: block; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-weight: 600; font-size: 0.95rem; color: var(--dark); }
.nav a:hover { color: var(--muted); }
.nav-cta {
  background: var(--dark);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 999px;
}
.nav-cta:hover { background: #000; }

/* HERO */
.hero {
  background: linear-gradient(180deg, #fffdf6 0%, #ffffff 100%);
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: #fff7da;
  border: 1px solid #f3e7a8;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 900; }
.hero h1 .hl {
  background: linear-gradient(180deg, transparent 62%, var(--yellow) 62%);
}
.lead { font-size: 1.15rem; color: #463f37; margin-top: 18px; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform .08s ease, background .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--yellow); color: var(--dark); }
.btn-primary:hover { background: #ecbb0c; }
.btn-ghost { background: #fff; color: var(--dark); border: 1.5px solid var(--dark); }
.btn-ghost:hover { background: var(--dark); color: #fff; }

.hero-card {
  background: var(--dark);
  color: #fff;
  border-radius: 20px;
  padding: 34px;
  text-align: center;
}
.spec-badge {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--yellow);
  letter-spacing: -1px;
}
.hero-points {
  list-style: none;
  margin-top: 18px;
  display: grid;
  gap: 10px;
}
.hero-points li {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 10px;
  font-weight: 600;
}

/* SECTIONS */
.section { padding: 76px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b58a00;
  margin-bottom: 10px;
}
.section h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 900; margin-bottom: 28px; }

/* PRODUCTO */
.product-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}
.product-visual {
  background: linear-gradient(135deg, #fff7da, #fde6a8);
  border: 1px solid #f1de9a;
  border-radius: 18px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.pipe {
  width: 78%;
  height: 64px;
  border-radius: 40px;
  background:
    repeating-linear-gradient(90deg,
      #ffffff 0 12px,
      #e7e2d8 12px 16px);
  box-shadow: inset 0 -10px 20px rgba(0,0,0,0.08), 0 10px 30px rgba(0,0,0,0.12);
  transform: rotate(-6deg);
}
.check-list { list-style: none; margin: 18px 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  width: 20px; height: 20px;
  background: var(--yellow);
  color: var(--dark);
  font-weight: 900;
  font-size: 0.8rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.muted { color: var(--muted); margin-top: 14px; font-size: 0.95rem; }

/* FEATURES */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,0.07); }
.feature-icon {
  width: 52px; height: 52px;
  background: #fff7da;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  color: var(--dark);
}
.feature-icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.1rem; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 0.95rem; }

/* CERTIFICACIÓN */
.cert-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}
.cert-qr {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  max-width: 320px;
  margin: 0 auto;
}
.cert-qr img { width: 100%; max-width: 230px; height: auto; }
.cert-qr figcaption { margin-top: 12px; font-size: 0.9rem; color: var(--muted); }

/* EMPRESA */
.empresa-inner { text-align: center; }
.lead-center { max-width: 720px; margin: 0 auto; font-size: 1.12rem; color: #463f37; }

/* CONTACTO */
.contacto-inner { text-align: center; }
.contact-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 30px;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color .15s ease;
}
a.contact-card:hover { border-color: var(--yellow); }
.contact-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 700; }
.contact-value { font-size: 1.15rem; font-weight: 700; color: var(--dark); }

/* FOOTER */
.site-footer { background: var(--dark); color: #cfc8bd; padding: 36px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer-logo { height: 30px; background: #fff; padding: 7px 12px; border-radius: 10px; }
.footer-inner p { font-size: 0.9rem; }

/* RESPONSIVE */
@media (max-width: 860px) {
  .nav a:not(.nav-cta) { display: none; }
  .hero-inner, .product-grid, .cert-inner { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .hero-card { max-width: 420px; }
}
@media (max-width: 480px) {
  .features { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}
