:root {
  --navy: #284474;
  --ink: #0a0a0a;
  --blue: #004AAD;
  --muted: #6e6e73;
  --paper: #ffffff;
  --tint: #f5f5f7;
  --line: #e5e5ea;
  --wa: #22c35e;
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
  font-weight: 300;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.08; margin: 0 0 .4em; font-weight: 600; letter-spacing: -0.02em; }
p { margin: 0 0 1em; color: var(--muted); line-height: 1.6; font-weight: 400; }
.center { text-align: center; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; gap: 16px; }
.brand img { height: 22px; width: auto; }

.menu-btn { display: flex; flex-direction: column; justify-content: center; gap: 4px; width: 34px; height: 34px; background: none; border: none; cursor: pointer; }
.menu-btn span { display: block; height: 1.5px; background: var(--ink); border-radius: 2px; }

.nav-links {
  position: fixed; inset: 0 0 auto 0; top: 53px; z-index: 45;
  background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 2px; padding: 8px 20px 18px;
  transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--ink); padding: 13px 4px; border-bottom: 1px solid var(--line); }
.nav-links a:last-child { border-bottom: none; margin-top: 8px; }
.nav-links a.nav-cta { text-align: center; padding: 14px 24px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px;
  font-weight: 500; font-size: 15px;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  width: 100%;
}
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -8px rgba(34,195,94,.5); }
.btn-ghost { background: transparent; border-color: #d2d2d7; color: var(--ink); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.link-cta { color: var(--blue); font-weight: 500; font-size: 15px; }

.eyebrow { text-transform: uppercase; font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--blue); margin-bottom: 12px; }
.eyebrow-light { color: #7fa8e8; }

/* Hero */
.hero { padding: 52px 0 0; text-align: center; }
.hero-h1 { font-size: clamp(32px, 9vw, 48px); font-weight: 600; margin: 0 0 14px; }
.hero-h1 .accent { color: var(--blue); }
.hero-sub { font-size: 17px; color: var(--muted); max-width: 40ch; margin: 0 auto 26px; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; max-width: 320px; margin: 0 auto; }
.hero-visual { margin-top: 30px; padding: 0 10px; }
.hero-disc { max-width: 640px; width: 100%; margin: 0 auto; }

/* Feature (producto protagonista) */
.feature { padding: 56px 0; background: var(--tint); }
.feature-grid { display: flex; flex-direction: column; gap: 24px; align-items: center; }
.feature-visual img { max-width: 340px; width: 100%; margin: 0 auto; }
.feature-copy { text-align: center; }
.feature-h2 { font-size: clamp(30px, 8vw, 42px); font-weight: 600; }
.feature-h2 .accent { color: var(--blue); }
.feature-sub { font-size: 16px; max-width: 38ch; margin: 14px auto 24px; }
.feature-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 14px; margin-bottom: 22px; }
.feature-stats > :last-child { grid-column: 1 / -1; }
.feature-stats b { display: block; font-size: 19px; font-weight: 600; }
.feature-stats span { font-size: 11.5px; color: var(--muted); }

/* Sections */
.section { padding: 60px 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark p { color: #98989d; }
.light { color: #fff; }
.section-h2 { font-size: clamp(26px, 7vw, 36px); font-weight: 600; margin-bottom: 32px; }

/* Catalog grid */
.zr-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px; }
.zr-card { text-align: center; padding: 18px 10px; }
.zr-img { background: var(--tint); border-radius: var(--radius); padding: 14px; margin-bottom: 14px; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.zr-img img { max-height: 100%; max-width: 100%; object-fit: contain; }
.zr-card h3 { font-size: 16px; margin-bottom: 2px; }
.zr-card p { font-size: 12px; margin-bottom: 8px; }
.zr-card a { font-size: 13px; color: var(--blue); font-weight: 500; }
.catalog-cta { text-align: center; margin-top: 40px; }
.catalog-cta .btn { width: auto; }

/* Why strip */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; text-align: center; }
.why-item b { display: block; font-size: 15px; margin-bottom: 4px; }
.why-item span { font-size: 12.5px; color: var(--muted); }

/* Guide table */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
.guide-table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 13.5px; }
.guide-table th, .guide-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.guide-table th { background: var(--tint); font-weight: 600; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; }
.guide-table td.rec, .guide-table td.ok { font-size: 18px; text-align: center; }
.guide-table td.rec { color: var(--blue); }
.guide-table td.ok { color: #b7c3d6; }
.guide-table tr:last-child td { border-bottom: none; }
.guide-table tr:nth-child(even) td { background: rgba(0,0,0,.012); }
.guide-table th:first-child, .guide-table td:first-child {
  position: sticky; left: 0; background: #fff; white-space: normal; min-width: 150px;
  box-shadow: 1px 0 0 var(--line);
}
.guide-table th:first-child { background: var(--tint); }
.guide-table tr:nth-child(even) td:first-child { background: #fafafa; }
.table-note { margin-top: 16px; font-size: 12.5px; text-align: center; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; }
.dot.rec { background: var(--blue); }
.dot.ok { background: #b7c3d6; }

/* Cases */
.cases-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 24px; }
.cases-grid img { width: 100%; height: 160px; object-fit: cover; border-radius: 14px; }

/* Certs */
.certs-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 32px; }
.cert-badge { border: 1px solid #2c2c2e; border-radius: var(--radius); padding: 22px 14px; text-align: center; }
.cert-badge b { display: block; font-size: 18px; margin-bottom: 4px; }
.cert-badge span { font-size: 12px; color: #98989d; }
.cert-note { margin-top: 28px; font-size: 13px; color: #98989d; }

/* Contact */
.contact-links { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; font-size: 14px; color: var(--blue); }

/* Footer */
.footer { background: var(--tint); padding: 30px 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.footer-logo { height: 18px; opacity: .7; }
.footer p { margin: 0; font-size: 12px; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s cubic-bezier(.2,.7,.3,1), transform .65s cubic-bezier(.2,.7,.3,1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

.zr-card, .cert-badge { transition: transform .25s ease, box-shadow .25s ease; }
.zr-card:hover, .cert-badge:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(0,0,0,.18); }

.nav-links a { position: relative; }
@media (min-width: 1024px) {
  .nav-links a:not(.nav-cta)::after {
    content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1.5px;
    background: var(--blue); transition: right .2s ease;
  }
  .nav-links a:not(.nav-cta):hover::after { right: 0; }
}

/* WhatsApp float */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  background: var(--wa); color: #fff;
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -10px rgba(34,195,94,.6);
}

/* ============ TABLET (min-width 640px) ============ */
@media (min-width: 640px) {
  .wrap { padding: 0 32px; }
  .hero-actions { flex-direction: row; max-width: none; width: fit-content; }
  .btn { width: auto; }
  .zr-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(4, 1fr); }
  .certs-row { grid-template-columns: repeat(4, 1fr); }
  .cases-grid { grid-template-columns: repeat(3, 1fr); }
  .cases-grid img { height: 200px; }
  .contact-links { flex-direction: row; justify-content: center; gap: 28px; }
  .section { padding: 84px 0; }
  .feature { padding: 70px 0; }
}

/* ============ DESKTOP (min-width 1024px) ============ */
@media (min-width: 1024px) {
  .menu-btn { display: none; }
  .nav-inner { padding: 22px 20px; }
  .brand img { height: 24px; }
  .nav-links {
    position: static; display: flex; flex-direction: row; align-items: center; gap: 48px;
    background: none; border: none; padding: 0; transform: none; opacity: 1; pointer-events: auto;
  }
  .nav-links a { border-bottom: none; padding: 0; font-size: 14.5px; letter-spacing: .01em; }
  .nav-links a:last-child { margin-top: 0; }
  .nav-links a.nav-cta { padding: 14px 30px; font-size: 14px; margin-left: 16px; gap: 10px; }

  .hero { padding: 90px 0 0; }
  .hero-visual { margin-top: 48px; }
  .hero-disc { max-width: 760px; }

  .feature-grid { flex-direction: row; text-align: left; gap: 64px; }
  .feature-copy { text-align: left; }
  .feature-sub { margin: 14px 0 28px; }
  .feature-stats { text-align: left; }
  .feature-visual, .feature-copy { flex: 1; }
  .feature-visual img { max-width: 420px; }
  .feature-stats { grid-template-columns: repeat(3, 1fr); }
  .feature-stats > :last-child { grid-column: auto; }

  .zr-grid { grid-template-columns: repeat(5, 1fr); }
  .cases-grid img { height: 240px; }
  .contact-links { gap: 36px; }
}
