/* ==========================================================================
   HAIGUAN FACTORY — hoja de estilos del sitio
   ========================================================================== */

:root {
  --brand: #1f6f5c;
  --brand-2: #2f8f74;
  --brand-3: #0d2b23;
  --accent: #c9853f;
  --wa: #25d366;
  --ink: #0f1e19;
  --ink-2: #4b5c56;
  --ink-3: #7d8f89;
  --paper: #ffffff;
  --paper-2: #f5f8f6;
  --line: #dfe7e3;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 30, 25, .05), 0 12px 30px -14px rgba(15, 30, 25, .16);
  --shadow-lg: 0 24px 60px -26px rgba(15, 30, 25, .3);
  --max: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
a { color: var(--brand); }
h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.18; letter-spacing: -.015em; font-weight: 700; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.wrap--narrow { max-width: 820px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--brand-3); color: #fff; padding: .7rem 1.1rem; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

.ico { width: 20px; height: 20px; flex: none; }
.ico--xs { width: 14px; height: 14px; }
.ico--sm { width: 16px; height: 16px; }
.ico--lg { width: 26px; height: 26px; }

/* ---------------------------------------------------------------- botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .78rem 1.35rem; border: 1.5px solid transparent; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: .95rem; line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -10px rgba(31, 111, 92, .8); }
.btn--primary:hover { background: #175a4a; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand-2); color: var(--brand); }
.btn--light { background: #fff; color: var(--brand-3); }
.btn--wa { background: var(--wa); color: #04321a; }
.btn--wa:hover { background: #1fbe5a; }
.btn--sm { padding: .55rem 1rem; font-size: .86rem; }
.btn--lg { padding: 1rem 1.7rem; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* ---------------------------------------------------------------- topbar */
.topbar { background: var(--brand-3); color: #bcd9cd; font-size: .82rem; }
.topbar__in { display: flex; align-items: center; gap: .6rem; padding: .55rem 1.25rem; }
.topbar__in .ico { color: var(--brand-2); }

/* ---------------------------------------------------------------- header */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.hdr__in { display: flex; align-items: center; gap: 1.25rem; min-height: 74px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand__mark { width: 42px; height: 42px; display: block; color: var(--brand-3); }
.brand__txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand__txt strong { font-size: 1.06rem; letter-spacing: .14em; }
.brand__txt em { font-style: normal; font-size: .7rem; color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; }

.nav { display: flex; gap: 1.6rem; margin-left: auto; }
.nav a { position: relative; text-decoration: none; color: var(--ink-2); font-weight: 550; font-size: .95rem; }
.nav a:hover, .nav a.is-active { color: var(--brand); }
.nav a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -26px; height: 2px; background: var(--brand);
}
.hdr__side { display: flex; align-items: center; gap: .7rem; margin-left: .5rem; }
.langsw {
  display: inline-flex; align-items: center; gap: .35rem; text-decoration: none;
  color: var(--ink-2); font-weight: 650; font-size: .82rem; letter-spacing: .06em;
  border: 1.5px solid var(--line); border-radius: 999px; padding: .38rem .7rem;
}
.langsw:hover { border-color: var(--brand-2); color: var(--brand); }
.burger { display: none; flex-direction: column; justify-content: center; gap: 4px; width: 42px; height: 38px; background: #fff; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; }
.burger span { display: block; width: 18px; height: 2px; margin: 0 auto; background: var(--ink); border-radius: 2px; }

/* ---------------------------------------------------------------- hero */
.hero { padding: 4.5rem 0 3.5rem; background: linear-gradient(180deg, #f6faf8 0%, #ffffff 100%); overflow: hidden; }
.hero__in { display: grid; grid-template-columns: 1.06fr .94fr; gap: 3rem; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: .4rem; margin-bottom: 1.1rem;
  background: #e8f3ef; color: var(--brand); border: 1px solid #cfe7dd;
  border-radius: 999px; padding: .38rem .9rem; font-size: .8rem; font-weight: 650; letter-spacing: .04em;
}
.hero h1 { font-size: clamp(2.05rem, 4vw, 3.2rem); }
.lede { font-size: 1.1rem; color: var(--ink-2); max-width: 60ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero__art { position: relative; }
.hero__art img { width: 100%; height: auto; }

/* ---------------------------------------------------------------- hero oscuro */
.hero--dark {
  position: relative;
  padding: 4.2rem 0 3.6rem;
  background: radial-gradient(125% 125% at 80% 8%, #17513f 0%, #0d2b23 48%, #071a15 100%);
  color: #eaf5f0;
  overflow: hidden;
}
.hero--dark h1 { color: #fff; }
.hero--dark .lede { color: #a9cabd; }
.hero__glow {
  position: absolute; top: -18rem; right: -14rem; width: 54rem; height: 54rem;
  background: radial-gradient(circle, rgba(47, 143, 116, .38) 0%, rgba(47, 143, 116, 0) 62%);
  pointer-events: none;
}
.hero--dark .hero__in { position: relative; }
.badge--dark { background: rgba(127, 208, 184, .13); color: #7fd0b8; border-color: rgba(127, 208, 184, .3); }
.hero__hints { display: flex; flex-wrap: wrap; gap: .55rem 1.5rem; margin: 1.8rem 0 0; }
.hero__hints li { display: flex; align-items: center; gap: .45rem; font-size: .88rem; color: #9ec9b8; }
.hero__hints .ico { color: #7fd0b8; }

/* barra de confianza bajo el hero */
.trustbar { background: #071a15; border-top: 1px solid rgba(127, 208, 184, .15); }
.trustbar__in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 1.5rem 1.25rem; }
.trust { display: flex; flex-direction: column; gap: .1rem; }
.trust strong { color: #fff; font-size: 1.05rem; letter-spacing: -.01em; }
.trust span { color: #6e9c8c; font-size: .8rem; }

/* países */
.ctry { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; margin-bottom: 1.6rem; }
.ctry__pill {
  display: inline-flex; align-items: center; padding: .5rem 1.1rem;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  font-weight: 600; font-size: .9rem; color: var(--ink-2);
}
.ctry__pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-2); margin-right: .5rem; }

.sec .kicker--center { display: block; text-align: center; margin-bottom: .55rem; }

/* ---------------------------------------------------------------- secciones */
.sec { padding: 4.6rem 0; }
.sec--alt { background: var(--paper-2); }
.sec--tight { padding-top: 2.6rem; }
.sec__title { font-size: clamp(1.55rem, 2.6vw, 2.15rem); text-align: center; }
.sec__title--left { text-align: left; }
.sec__sub { text-align: center; color: var(--ink-2); max-width: 64ch; margin: .7rem auto 2.8rem; }
.sec__more { display: flex; justify-content: center; margin-top: 2.6rem; }
.fineprint { font-size: .84rem; color: var(--ink-3); }
.fineprint--center { text-align: center; margin-top: 1.8rem; }

.usp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.usp__i { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.usp__i .ico { color: var(--brand-2); margin-bottom: .8rem; }
.usp__i h3 { font-size: 1.05rem; }
.usp__i p { color: var(--ink-2); font-size: .93rem; margin: 0; }

.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.cat {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: inherit; cursor: pointer; transition: .18s ease;
}
.cat:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c6ded5; }
.cat__art {
  flex: none; width: 78px; height: 92px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 12px;
  background: radial-gradient(120% 85% at 50% 8%, #f2f7f4, #fcfdfd);
}
.cat__art img { width: 100%; height: 100%; object-fit: contain; }
.cat__body { display: flex; flex-direction: column; gap: .12rem; min-width: 0; }
.cat__ico { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #eaf4f0; color: var(--brand); margin-bottom: .5rem; }
.cat__ico svg { width: 20px; height: 20px; }
.cat strong { font-size: 1rem; }
.cat__n { font-size: .8rem; color: var(--ink-3); }
.cat__go { display: inline-flex; align-items: center; gap: .3rem; margin-top: .6rem; font-size: .84rem; font-weight: 650; color: var(--brand); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(292px, 1fr)); gap: 1.5rem; }

/* ---------------------------------------------------------------- tarjetas */
.card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__media { position: relative; display: block; padding: 1.1rem 1.1rem .3rem; background: radial-gradient(120% 85% at 50% 8%, #f2f7f4, #fcfdfd); }
.card__media img { display: block; width: 100%; height: auto; aspect-ratio: 400 / 470; object-fit: contain; }
.flag {
  position: absolute; top: .9rem; left: .9rem; z-index: 2;
  background: var(--accent); color: #fff; border-radius: 999px;
  padding: .28rem .7rem; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.flag--inline { position: static; }
.flag--soft { background: #e8f3ef; color: var(--brand); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 1.3rem 1.35rem; }
.card__meta { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .6rem; }
.chip { background: #eef4f1; color: var(--brand); border-radius: 999px; padding: .22rem .65rem; font-size: .72rem; font-weight: 650; }
.code { font-size: .74rem; color: var(--ink-3); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.card__title { font-size: 1.09rem; margin-bottom: .3rem; }
.card__title a { text-decoration: none; color: inherit; }
.card__title a:hover { color: var(--brand); }
.card__tag { font-size: .86rem; color: var(--accent); font-weight: 600; margin-bottom: .8rem; }
.card__bullets { display: flex; flex-direction: column; gap: .38rem; margin-bottom: 1.1rem; }
.card__bullets li { display: flex; gap: .5rem; align-items: flex-start; font-size: .86rem; color: var(--ink-2); }
.card__bullets .ico { color: var(--brand-2); margin-top: .22rem; }
.card__foot {
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  margin-top: auto; padding-top: .9rem; border-top: 1px dashed var(--line);
}
.moq { display: flex; align-items: baseline; gap: .3rem; }
.moq strong { font-size: 1.2rem; color: var(--brand); }
.moq span { font-size: .74rem; color: var(--ink-3); }
.price { font-size: .82rem; font-weight: 650; color: var(--ink-2); text-align: right; }
.price--ask { color: var(--ink-3); font-weight: 550; }
.card__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.card__actions .btn { flex: 1 1 auto; min-width: 0; }

/* ---------------------------------------------------------------- banda B2B */
.voice { background: var(--brand-3); color: #eaf5f0; padding: 3.4rem 0; }
.voice__in { display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; flex-wrap: wrap; }
.voice h2 { font-size: clamp(1.4rem, 2.4vw, 1.95rem); color: #fff; margin-bottom: .5rem; }
.voice p { color: #a9cabd; max-width: 62ch; margin: 0; }
.kicker { display: inline-block; margin-bottom: .6rem; font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-2); }

/* ---------------------------------------------------------------- FAQ */
.faq { display: flex; flex-direction: column; gap: .7rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.2rem; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-weight: 650; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--brand); transition: transform .2s; }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq p { margin: .8rem 0 0; color: var(--ink-2); font-size: .94rem; }

/* ---------------------------------------------------------------- cabeceras de página */
.pagehead { padding: 3rem 0 1.6rem; background: linear-gradient(180deg, #f6faf8, #fff); border-bottom: 1px solid var(--line); }
.pagehead h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: .5rem; }
.pagehead .lede { font-size: 1.02rem; }
.pagehead--dark { background: var(--brand-3); border-bottom: 0; }
.pagehead--dark h1 { color: #fff; }
.pagehead--dark .lede { color: #a9cabd; }
.pagehead--dark .crumbs, .pagehead--dark .crumbs a { color: #86b3a3; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .82rem; color: var(--ink-3); margin-bottom: .9rem; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--brand); }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.chipbtn {
  display: inline-flex; align-items: center; padding: .5rem 1rem; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink-2);
  font-size: .88rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: .15s;
}
.chipbtn:hover { border-color: var(--brand-2); color: var(--brand); }
.chipbtn.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }
.count { font-size: .85rem; color: var(--ink-3); margin-bottom: 1.4rem; }
.empty { text-align: center; color: var(--ink-3); padding: 2rem 0; }

/* ---------------------------------------------------------------- ficha de producto */
.prod { display: grid; grid-template-columns: .92fr 1.08fr; gap: 3rem; align-items: start; }
.prod__media { position: sticky; top: 100px; }
.prod__media img { width: 100%; height: auto; background: radial-gradient(120% 85% at 50% 8%, #f1f6f3, #fcfdfd); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.prod__flags {
  position: absolute; top: .9rem; left: .9rem; z-index: 2;
  display: flex; flex-wrap: wrap; gap: .5rem; max-width: calc(100% - 1.8rem); margin: 0;
}
/* las dos insignias se colocan igual: dentro del marco de la foto */
.prod__flags .flag { position: static; }
.prod__info h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: .4rem; }
.prod__tag { color: var(--accent); font-weight: 650; margin-bottom: 1rem; }
.prod__desc { color: var(--ink-2); }
.blist { display: flex; flex-direction: column; gap: .5rem; margin: 1.3rem 0; }
.blist li { display: flex; gap: .6rem; align-items: flex-start; font-size: .93rem; color: var(--ink-2); }
.blist .ico { color: var(--brand-2); margin-top: .25rem; }

.prodfacts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; margin: 1.4rem 0 1.6rem; }
.prodfacts > div { background: #fff; padding: .9rem 1.1rem; }
.prodfacts span { display: block; font-size: .74rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.prodfacts strong { font-size: .96rem; }
.prod__cta { display: flex; flex-wrap: wrap; gap: .7rem; }

.specs { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.specs th, .specs td { text-align: left; padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); font-size: .93rem; vertical-align: top; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.specs th { width: 34%; font-weight: 600; color: var(--ink-2); background: #fafcfb; }
.specs td { color: var(--ink); }

/* ---------------------------------------------------------------- mayoreo */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.tier { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); }
.tier__q { font-size: 1.05rem; font-weight: 700; color: var(--brand); }
.tier__m { color: var(--ink-2); font-size: .9rem; margin: .6rem 0 1.1rem; flex: 1; }
.tier__cta { display: inline-flex; align-items: center; gap: .3rem; font-size: .86rem; font-weight: 650; color: var(--brand); text-decoration: none; }

.ws { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.ws__box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; box-shadow: var(--shadow); }
.ws__box h2 { display: flex; align-items: center; gap: .6rem; font-size: 1.12rem; }
.ws__box h2 .ico { color: var(--brand-2); }
.ws__box p { color: var(--ink-2); font-size: .94rem; }
.ws__box--wide { grid-column: 1 / -1; }

/* ---------------------------------------------------------------- canales de contacto */
.channels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.chan {
  display: flex; flex-direction: column; gap: .3rem; padding: 1.6rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: inherit; box-shadow: var(--shadow); transition: .18s;
}
a.chan:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #c6ded5; }
.chan .ico { color: var(--brand-2); }
.chan strong { font-size: 1.05rem; }
.chan p { color: var(--ink-2); font-size: .9rem; margin: 0; }
.chan__v { font-weight: 650; font-size: .95rem; color: var(--brand); }
.chan__go { display: inline-flex; align-items: center; gap: .3rem; margin-top: .7rem; font-size: .86rem; font-weight: 650; color: var(--brand); }
.chan--wa { border-color: #b9ecd0; background: linear-gradient(180deg, #f2fdf7, #fff); }
.chan--wa .ico { color: #128c48; }
.chan--wide { grid-column: 1 / -1; }

/* ---------------------------------------------------------------- formulario */
.leadform { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.leadform__head { margin-bottom: 1.5rem; }
.leadform__head h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.leadform__head p { color: var(--ink-2); font-size: .93rem; margin: 0; }
.leadform__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.fld { display: flex; flex-direction: column; gap: .35rem; font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.fld--full { grid-column: 1 / -1; }
.fld input, .fld select, .fld textarea {
  font: inherit; font-size: .95rem; font-weight: 400; color: var(--ink);
  padding: .72rem .85rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fdfefe; width: 100%; transition: .15s;
}
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 0; border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(47, 143, 116, .14); background: #fff; }
.fld textarea { resize: vertical; min-height: 110px; }
.fld.is-bad input, .fld.is-bad textarea, .fld.is-bad select { border-color: #d94a4a; background: #fff7f7; }
.hpf { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.leadform__foot { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin-top: 1.5rem; }
.leadform__privacy { font-size: .78rem; color: var(--ink-3); margin: 0; flex: 1; min-width: 220px; }
.leadform__status { margin: 1.1rem 0 0; padding: .9rem 1.1rem; border-radius: var(--radius-sm); font-size: .93rem; font-weight: 600; }
.leadform__status.is-ok { background: #e9f8ef; color: #12703f; border: 1px solid #b9ecd0; }
.leadform__status.is-err { background: #fdeeee; color: #a32626; border: 1px solid #f3cfcf; }

/* ---------------------------------------------------------------- 404 */
.nf { text-align: center; padding: 3rem 0 4rem; }
.nf__code { display: block; font-size: 4.6rem; font-weight: 800; color: #e2ece8; letter-spacing: -.03em; }
.nf .hero__cta { justify-content: center; }

/* ---------------------------------------------------------------- footer */
.ftr { background: #0a221c; color: #9dc0b3; padding: 3.4rem 0 1.6rem; margin-top: 0; }
.ftr__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.2rem; }
.ftr__brand { display: block; font-size: 1.05rem; letter-spacing: .14em; color: #fff; margin-bottom: .8rem; }
.ftr__col p { font-size: .88rem; }
.ftr__col h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: #6e9c8c; margin-bottom: .9rem; }
.ftr__col ul { display: flex; flex-direction: column; gap: .5rem; }
.ftr__col a { color: #cfe5db; text-decoration: none; font-size: .89rem; }
.ftr__col a:hover { color: #fff; text-decoration: underline; }
.ftr__contact li { display: flex; align-items: center; gap: .5rem; font-size: .89rem; color: #cfe5db; }
.ftr__contact .ico { color: #4d8874; }
.ftr__note { font-size: .8rem; color: #6e9c8c; }
.ftr__bottom {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid #1a3a31; font-size: .8rem; color: #6e9c8c;
}
.ftr__legal { max-width: 52ch; }

/* ---------------------------------------------------------------- barra móvil */
.stickybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: none; gap: .6rem; padding: .7rem .9rem calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px -18px rgba(15, 30, 25, .5);
}

/* ---------------------------------------------------------------- proceso (4 pasos) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin: 0; padding: 0; list-style: none; }
.step {
  position: relative; padding: 1.6rem 1.5rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.step__n {
  display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: .9rem;
  border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: .95rem;
}
.step h3 { font-size: 1rem; margin-bottom: .45rem; min-height: 2.7em; }
.step p { margin: 0; color: var(--ink-2); font-size: .9rem; }
/* conector entre pasos */
.step::after {
  content: ""; position: absolute; top: 32px; right: -1.1rem; width: 1.1rem; height: 2px;
  background: var(--line);
}
.step:last-child::after { display: none; }

/* ---------------------------------------------------------------- banda de fábrica */
.factory { background: var(--brand-3); color: #eaf5f0; padding: 4rem 0; }
.factory h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.factory__sub { color: #a9cabd; max-width: 64ch; }
.factory__nums {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem;
  margin: 2.4rem 0 2.2rem; padding-top: 2rem;
  border-top: 1px solid rgba(127, 208, 184, .18);
}
.factory__nums dt { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 700; color: #7fd0b8; letter-spacing: -.02em; }
.factory__nums dd { margin: .25rem 0 0; color: #8fb3a5; font-size: .86rem; }

/* ---------------------------------------------------------------- botón flotante de WhatsApp */
.fab {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 70;
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.25rem; border-radius: 999px;
  background: var(--wa); color: #04321a; font-weight: 700; font-size: .92rem; text-decoration: none;
  box-shadow: 0 16px 34px -14px rgba(4, 50, 26, .65);
  transition: transform .16s ease, box-shadow .16s ease;
}
.fab:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(4, 50, 26, .7); }

/* nombre chino de la fábrica, junto al logotipo del pie */
.ftr__zh { font-size: .7em; font-weight: 500; color: #7fb3a2; letter-spacing: .1em; }

/* el botón flotante de WhatsApp no debe tapar la línea legal del pie */
@media (min-width: 721px) {
  .ftr__bottom { padding-bottom: 3.6rem; }
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1020px) {
  .usp, .cats { grid-template-columns: repeat(2, 1fr); }
  .tiers { grid-template-columns: repeat(2, 1fr); }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { display: none; }
  .trustbar__in { grid-template-columns: repeat(2, 1fr); gap: 1.2rem 1rem; }
}

@media (max-width: 900px) {
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: .5rem 1.25rem 1rem; display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .nav a.is-active::after { display: none; }
  .nav a.is-active { font-weight: 700; }
  .burger { display: flex; }
  .hdr__side .btn { display: none; }
  .hdr { position: relative; }
  .hero__in, .prod { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 420px; margin: 0 auto; }
  .prod__media { position: relative; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .leadform__grid, .ws, .channels { grid-template-columns: 1fr; }
  .ws__box--wide, .chan--wide { grid-column: auto; }
}

@media (max-width: 720px) {
  body { font-size: 16px; padding-bottom: 74px; }
  .sec { padding: 3.2rem 0; }
  .stickybar { display: flex; }
  .usp, .cats, .tiers { grid-template-columns: 1fr; }
  .ftr__grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .leadform { padding: 1.4rem; }
  .brand__txt em { display: none; }
  .topbar { font-size: .76rem; }
  /* en móvil ya existe la barra inferior fija: el botón flotante sobra */
  .fab { display: none; }
  .hero--dark { padding: 2.8rem 0 2.6rem; }
  .factory { padding: 3rem 0; }
  .factory__nums { grid-template-columns: repeat(2, 1fr); gap: 1.2rem 1rem; }
  .cat__art { width: 64px; height: 76px; }
  .trustbar__in { padding: 1.2rem 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

@media print {
  .hdr, .stickybar, .ftr, .leadform { display: none; }
}
