/* Página de venta de Ferretería Online — misma base visual que la del Punto de Venta Bar */
:root {
  --bg: #f5f3ef;
  --bg-2: #ece7df;
  --surface: #ffffff;
  --ink: #1c1917;
  --ink-2: #44403c;
  --muted: #78716c;
  --line: #e2dcd2;
  --accent: #c2410c;
  --accent-hover: #9a3412;
  --accent-soft: #fff1e8;
  --dark: #1c1917;
  --good: #15803d;
  --radius: 14px;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; letter-spacing: -.02em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin: 0 0 .7rem; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 36em; }

/* Botones */
.b {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem; font: 600 .95rem/1 var(--font);
  padding: .75rem 1.15rem; border-radius: 10px; border: 1.5px solid transparent; text-decoration: none; cursor: pointer;
  transition: background .15s, transform .08s, border-color .15s; white-space: nowrap;
}
.b:active { transform: translateY(1px); }
.b-pri { background: var(--accent); color: #fff; }
.b-pri:hover { background: var(--accent-hover); }
.b-ghost { background: transparent; color: var(--ink); border-color: #cfc7ba; }
.b-ghost:hover { border-color: var(--ink); }
.b-lg { padding: 1rem 1.5rem; font-size: 1.02rem; }
.b-block { width: 100%; }

/* Barra superior */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(245, 243, 239, .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 1.5rem; height: 68px; }
.nav-logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.mark { width: 36px; height: 36px; border-radius: 10px; background: var(--accent); color: #fff; display: grid; place-items: center; font: 800 1.1rem var(--display); }
.nav-name { display: flex; flex-direction: column; font: 800 1.05rem/1.1 var(--display); }
.nav-name small { font: 500 .72rem var(--font); color: var(--muted); letter-spacing: .02em; }
.nav-links { display: flex; gap: 1.4rem; margin-left: auto; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; gap: .5rem; }
.nav-cta .b { padding: .6rem 1rem; }

/* Hero */
.hero { padding: 4.5rem 0 3.5rem; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr); gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 800; margin-bottom: 1.2rem; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-cta { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.8rem; }
.hero-cta.center { justify-content: center; }
.hero-note { font-size: .88rem; color: var(--muted); margin-top: 1rem; }
.hero-shot { position: relative; padding-bottom: 2.5rem; }
.frame { margin: 0; background: var(--surface); border-radius: 12px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 30px 60px -20px rgba(28, 25, 23, .3), 0 10px 20px -10px rgba(28, 25, 23, .15); }
.frame-bar { height: 26px; background: #ebe6de; display: flex; gap: 6px; align-items: center; padding: 0 10px; }
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: #cfc7ba; }
.hero .frame { transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
.phone {
  position: absolute; right: -10px; bottom: 0; width: 30%; margin: 0; border-radius: 26px; overflow: hidden;
  border: 7px solid #1c1917; background: #1c1917; box-shadow: 0 30px 50px -15px rgba(28, 25, 23, .45);
}

/* Franja de datos */
.strip { background: var(--dark); color: #f5f5f4; }
.strip-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 1.6rem 0; }
.strip b { display: block; font: 800 1.7rem var(--display); color: #fdba74; }
.strip span { font-size: .9rem; color: #d6d3d1; }

/* Secciones */
.sec { padding: 5.5rem 0; }
.sec-alt { background: var(--bg-2); }
.sec-head { max-width: 720px; margin-bottom: 2.8rem; }
.sec h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.feat svg { color: var(--accent); margin-bottom: .9rem; }
.feat h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.feat p { margin: 0; color: var(--ink-2); font-size: .96rem; }

.show { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 3.5rem; align-items: center; }
.show + .show { margin-top: 5rem; }
.show.rev .show-txt { order: 2; }
.show-txt h2 { margin-bottom: 1rem; }
.show-txt p { color: var(--ink-2); font-size: 1.05rem; }
.checks { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .55rem; }
.checks li { padding-left: 1.9rem; position: relative; }
.checks li::before {
  content: ''; position: absolute; left: 0; top: .25em; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c2410c' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 70% no-repeat;
}

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; counter-reset: paso; }
.steps li { counter-increment: paso; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; gap: .4rem; }
.steps li::before { content: counter(paso); font: 800 2.4rem/1 var(--display); color: var(--accent); margin-bottom: .4rem; }
.steps b { font-family: var(--display); font-size: 1.2rem; }
.steps span { color: var(--ink-2); }

/* Precio */
.sec-dark { background: var(--dark); color: #f5f5f4; }
.sec-dark p { color: #d6d3d1; }
.sec-dark .eyebrow { color: #fdba74; }
.price-in { display: grid; grid-template-columns: 1fr minmax(0, 420px); gap: 3rem; align-items: center; }
.price-in > div > p { font-size: 1.1rem; max-width: 30em; }
.price-card { background: var(--surface); color: var(--ink); border-radius: 20px; padding: 2rem; position: relative; }
.price-card .checks { margin: 1.4rem 0 1.6rem; }
.price-tag { position: absolute; top: -14px; left: 2rem; background: #fdba74; color: #431407; font-weight: 700; font-size: .82rem; padding: .3rem .8rem; border-radius: 999px; }
.price { display: flex; align-items: baseline; gap: .4rem; margin-top: .4rem; }
.price small { font: 700 1.3rem var(--display); color: var(--muted); }
.price b { font: 800 3.4rem/1 var(--display); letter-spacing: -.03em; }
.price-per { margin: .3rem 0 0; color: var(--muted) !important; }

/* FAQ */
.faq-wrap { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; font-weight: 600; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: .3rem; top: .9rem; font: 400 1.6rem/1 var(--font); color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 1.2rem; color: var(--ink-2); }

.cta-final { padding: 5rem 0; background: var(--accent); color: #fff; text-align: center; }
.cta-final h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.cta-final p { color: #ffedd5; font-size: 1.1rem; }
.cta-final .b-pri { background: #fff; color: var(--accent); }
.cta-final .b-pri:hover { background: #ffedd5; }
.cta-final .b-ghost { color: #fff; border-color: rgba(255, 255, 255, .5); }
.cta-final .b-ghost:hover { border-color: #fff; }

/* Pie */
.foot { background: #0f0d0c; color: #a8a29e; padding: 2.5rem 0; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2rem; }
.foot-prd { display: flex; flex-direction: column; gap: .3rem; text-decoration: none; color: #e7e5e4; }
.foot-prd small { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: #a8a29e; }
.foot-prd img { max-height: 54px; width: auto; }
.foot-links { display: flex; gap: 1.3rem; flex-wrap: wrap; margin-left: auto; }
.foot-links a { color: #d6d3d1; text-decoration: none; font-size: .92rem; }
.foot-links a:hover { color: #fff; }
.foot-copy { width: 100%; margin: 0; font-size: .82rem; }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 56px; height: 56px; border-radius: 50%;
  background: #1fa855; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px -5px rgba(0, 0, 0, .35);
}
.wa-float:hover { background: #178a45; }

/* Registro */
.reg { padding: 3.5rem 0 5rem; }
.reg-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 3.5rem; align-items: start; }
.reg-side { position: sticky; top: 110px; }
.reg-side h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 1rem; }
.reg-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 2rem; display: flex; flex-direction: column; gap: 1rem; box-shadow: 0 20px 50px -25px rgba(28, 25, 23, .25); }
.reg-card h2 { font-size: 1.15rem; margin-top: .4rem; }
.reg-card label { display: flex; flex-direction: column; gap: .35rem; font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.reg-card label small { font-weight: 400; color: var(--muted); }
.reg-card input:not([type=checkbox]) {
  font: inherit; font-size: 1rem; font-weight: 400; color: var(--ink); border: 1.5px solid #d6cfc4; border-radius: 10px; padding: .75rem .85rem; width: 100%; background: #fff;
}
.reg-card input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.chk { flex-direction: row !important; align-items: flex-start; gap: .65rem !important; font-weight: 400 !important; color: var(--ink) !important; }
.chk input { width: 18px; height: 18px; margin-top: .15rem; accent-color: var(--accent); flex: none; }
.reg-err { background: #fdecec; color: #7f1d1d; border-radius: 10px; padding: .8rem 1rem; }
.reg-err p { margin: .15rem 0; }
.reg-alt { text-align: center; margin: 0; color: var(--muted); font-size: .92rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Responsive */
@media (max-width: 980px) {
  .hero-in, .show, .price-in, .reg-in { grid-template-columns: minmax(0, 1fr); }
  .show.rev .show-txt { order: 0; }
  .show { gap: 2rem; }
  .hero .frame { transform: none; }
  .feats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .reg-side { position: static; }
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
}
@media (max-width: 620px) {
  .hero { padding: 2.5rem 0 2rem; }
  .sec { padding: 3.8rem 0; }
  .feats, .g2 { grid-template-columns: minmax(0, 1fr); }
  .strip-in { grid-template-columns: 1fr 1fr; }
  .phone { width: 38%; right: 0; border-width: 5px; border-radius: 18px; }
  .hide-sm { display: none; }
  .nav-name small { display: none; }
  .hero-cta .b { flex: 1 1 100%; }
  .reg-card { padding: 1.4rem; }
  .foot-links { margin-left: 0; }
}

/* Agregados para Ferretería Online */
.price-alt { margin: .5rem 0 0; font-weight: 600; color: var(--ink-2) !important; }
.price-alt b { color: var(--accent); }
.price-impl { margin: 0 0 1.4rem; padding: .9rem 1rem; border-radius: 12px; background: var(--bg); font-size: .9rem; color: var(--ink-2) !important; }
.price-impl b { color: var(--ink); }
.hero .frame img, .show .frame img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; width: 100%; }
.phone img { aspect-ratio: 9 / 18; object-fit: cover; object-position: top; width: 100%; }
.reg-ok { background: #e8f5ec; color: #14532d; border-radius: 10px; padding: .8rem 1rem; }
