:root {
  /* Paleta tomada del logo: fondo #1a1819 y turquesa #42babf */
  --ink: #1a1819;
  --ink-2: #232122;
  --text: #2a2d33;
  --muted: #646a74;
  --line: #e4e7ea;
  --bg: #ffffff;
  --soft: #f3f7f8;
  --teal: #42babf;
  --teal-hover: #5ccace;
  --teal-dark: #1f7f83; /* turquesa oscuro para texto sobre blanco (contraste AA) */
  --teal-soft: #e3f5f6;
  --wa: #25d366;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(17, 18, 20, .08);
  --head: "Montserrat", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; font-family: var(--body); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--teal-dark); }
h1, h2, h3 { font-family: var(--head); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 900; letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 1.2rem; font-weight: 800; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 780px; }
.lead { font-size: 1.12rem; color: var(--muted); }
.eyebrow { font-family: var(--head); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-dark); margin: 0 0 .8rem; }
.eyebrow--light { color: var(--teal); }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-family: var(--head); font-weight: 700; font-size: .98rem; padding: .9rem 1.4rem; border-radius: 999px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--teal); color: var(--ink); }
.btn--primary:hover { background: var(--teal-hover); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--ghost-dark { border-color: var(--teal-dark); color: var(--teal-dark); margin-top: 1rem; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--sm { padding: .55rem 1.1rem; font-size: .9rem; }
.btn--block { width: 100%; }

/* Header */
.topbar { position: sticky; top: 0; z-index: 50; background: var(--ink); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: block; line-height: 0; }
.logo { display: block; width: 68px; height: 68px; border-radius: 50%; }
.logo--footer { width: 120px; height: 120px; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a:not(.btn) { color: #e8ecef; text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--teal); }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .2s; }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% 10%, var(--teal-soft), transparent 60%), var(--soft); padding: clamp(48px, 8vw, 96px) 0; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--teal-dark); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6rem 0 1.4rem; }
.hero__badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .95rem; color: var(--text); }
.hero__badges b { color: var(--teal-dark); }
.hero__media { position: relative; height: 520px; }
.hero__img { position: absolute; border-radius: 22px; box-shadow: var(--shadow); object-fit: cover; border: 6px solid #fff; }
.hero__img--a { width: 56%; height: 82%; left: 0; top: 4%; transform: rotate(-3deg); }
.hero__img--b { width: 46%; height: 58%; right: 0; top: 0; transform: rotate(3deg); }
.hero__img--c { width: 42%; height: 46%; right: 8%; bottom: 0; transform: rotate(-2deg); }
.hero__sticker { position: absolute; left: 38%; bottom: 6%; background: var(--ink); color: #fff; font-family: var(--head); font-weight: 600; padding: 14px 18px; border-radius: 14px; font-size: .95rem; box-shadow: var(--shadow); transform: rotate(-4deg); }
.hero__sticker b { color: var(--teal); }

/* Franja */
.strip { background: var(--ink); color: #fff; padding: 26px 0; }
.strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.strip__grid div { display: flex; flex-direction: column; border-left: 3px solid var(--teal); padding-left: 14px; }
.strip__grid b { font-family: var(--head); font-size: 1.02rem; }
.strip__grid span { color: #aab2ba; font-size: .9rem; }

/* Secciones */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--ink-2); color: #d5dade; }
.section--dark h2 { color: #fff; }
.section--dark .lead { color: #aab2ba; }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 2.2rem; }
.section__head p:last-child { color: var(--muted); }

/* Chips + grilla */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 2rem; }
.chip { font-family: var(--head); font-weight: 700; font-size: .9rem; padding: .55rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.chip[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product__img { max-height: 380px; }
.product { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.product:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.product__img { aspect-ratio: 4 / 5; background: var(--soft); overflow: hidden; }
.product__img img { width: 100%; height: 100%; object-fit: cover; }
.product__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.product__cat { font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--teal-dark); }
.product h3 { margin: .3rem 0 .4rem; }
.product p { font-size: .93rem; color: var(--muted); margin: 0 0 1rem; flex: 1; }
.product .btn { padding: .65rem 1rem; font-size: .9rem; }
.grid__more { text-align: center; margin-top: 2rem; color: var(--muted); }

/* Split / mayoristas */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding-left: 52px; min-height: 38px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -4px; width: 38px; height: 38px; border-radius: 50%; background: var(--teal); color: var(--ink); font-family: var(--head); font-weight: 900; display: grid; place-items: center; }
.steps b { color: #fff; }
.card { background: #fff; border-radius: 20px; padding: 28px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); color: var(--text); }
.form { display: grid; gap: 12px; }
.form h3 { margin: 0; }
.form__hint { margin: -4px 0 4px; color: var(--muted); font-size: .9rem; }
.form label { display: grid; gap: 4px; font-size: .86rem; font-weight: 600; color: var(--ink); }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: .7rem .85rem; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--text); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
.form__error { color: #c0392b; font-size: .88rem; margin: 0; }

/* Fábrica */
.split--rev > :first-child { order: 0; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 220px 220px; gap: 12px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.gallery img:first-child { grid-row: span 2; }
.checks { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: 10px; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-dark); font-weight: 800; font-size: .8rem; display: grid; place-items: center; top: 2px; }

/* FAQ */
details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; padding: 0 20px; }
summary { cursor: pointer; font-family: var(--head); font-weight: 700; color: var(--ink); padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--teal-dark); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 18px; color: var(--muted); }

/* Contacto */
.contact { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: 16px; }
.contact li { display: flex; gap: 14px; align-items: flex-start; }
.contact .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--ink); display: grid; place-items: center; flex: none; }
.contact .ico svg { width: 22px; height: 22px; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact b { display: block; font-family: var(--head); color: var(--ink); }
.social { display: flex; flex-wrap: wrap; gap: 10px; }
.social a { padding: .5rem 1rem; border-radius: 999px; background: var(--soft); text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--ink); }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 380px; }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* Footer */
.footer { background: var(--ink); color: #9aa3ab; padding: 36px 0; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer p { margin: .3rem 0 0; font-size: .9rem; }
.footer__brand { display: flex; align-items: center; gap: 20px; }
.footer__brand p { margin: 0; max-width: 260px; }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px rgba(37, 211, 102, .45); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }

/* Responsive */
@media (max-width: 900px) {
  .burger { display: block; }
  .logo { width: 60px; height: 60px; }
  .topbar__inner { height: 76px; }
  .nav { position: absolute; top: 76px; left: 0; right: 0; background: var(--ink); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 18px; display: none; }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid #2a2d33; }
  .nav .btn { margin-top: 12px; }
  .hero__grid, .split { grid-template-columns: 1fr; gap: 36px; }
  .hero__media { height: 400px; }
  .strip__grid { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .split--rev > :first-child { order: 2; }
}
@media (max-width: 520px) {
  .hero__media { height: 330px; }
  .hero__cta .btn { width: 100%; }
  .gallery { grid-template-rows: 160px 160px; }
  .card { padding: 22px; }
  .hide-sm { display: none; }
  .product__body { padding: 12px; }
  .product h3 { font-size: 1rem; }
  .product p { font-size: .84rem; line-height: 1.45; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
