@font-face { font-family: "Archivo"; src: url("/fonts/archivo.woff2") format("woff2"); font-weight: 400 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jetbrains-mono.woff2") format("woff2"); font-weight: 500 700; font-display: swap; }
/* JB Construcciones SPA — identidad web
   Azul y rojo tomados del logo; navy de sus flyers; gris hormigón como superficie. */
:root {
  --blue: #2C67DE;
  --blue-d: #1E4FB0;
  --red: #C53029;
  --red-d: #A3241E;
  --navy: #0B1A33;
  --navy-2: #13284D;
  --ink: #0E1117;
  --ink-2: #171B23;
  --concrete: #ECE9E4;
  --concrete-2: #DDD8D0;
  --paper: #F7F5F2;
  --white: #fff;
  --text: #15171C;
  --muted: #5E626B;
  --line: rgba(20, 22, 28, .12);
  --line-light: rgba(255, 255, 255, .14);
  --wa: #1FAF54;

  --f-display: 'Archivo', system-ui, sans-serif;
  --f-body: 'Archivo', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;

  --r: 14px;
  --r-lg: 22px;
  --shadow: 0 1px 2px rgba(10, 14, 22, .06), 0 12px 32px -12px rgba(10, 14, 22, .22);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--f-body); font-size: 17px; line-height: 1.55;
  font-variation-settings: 'wdth' 100;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.02; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.ic { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic--xl { width: 36px; height: 36px; stroke-width: 1.6; }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.t-blue { color: #5B8CF0; }
.t-red { color: #EF4B40; }

/* Tipografía */
.display {
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-variation-settings: 'wdth' 68; letter-spacing: -.01em;
  font-size: clamp(46px, 7.4vw, 104px); line-height: .9;
}
.display--sm { font-size: clamp(38px, 5.6vw, 76px); }
.h2 {
  font-family: var(--f-display); font-weight: 850; text-transform: uppercase;
  font-variation-settings: 'wdth' 72; font-size: clamp(34px, 4.6vw, 64px); line-height: .94; letter-spacing: -.005em;
}
.lead { font-size: clamp(17px, 1.5vw, 20px); color: rgba(255, 255, 255, .82); max-width: 56ch; margin-top: 22px; }
.lead--sm { font-size: 17px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-bottom: 18px; }
.eyebrow--light { color: rgba(255, 255, 255, .72); }
.eyebrow .num { display: inline-grid; place-items: center; height: 24px; padding: 0 8px; border-radius: 6px; background: var(--red); color: #fff; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(197, 48, 41, .25); }

/* Botones */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 10px; border: 0;
  background: var(--bg); color: var(--fg); font-weight: 750; font-size: 16px; letter-spacing: .01em;
  transition: transform .2s var(--ease), background .2s, box-shadow .2s; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .ic { width: 20px; height: 20px; }
.btn--red { --bg: var(--red); box-shadow: 0 10px 24px -10px rgba(197, 48, 41, .7); }
.btn--red:hover { --bg: var(--red-d); }
.btn--dark { --bg: var(--ink); }
.btn--light { --bg: #fff; --fg: var(--ink); }
.btn--ghost { --bg: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); backdrop-filter: blur(6px); }
.btn--ghost:hover { --bg: rgba(255, 255, 255, .16); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn--block { width: 100%; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 750; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.link .ic { transition: transform .2s var(--ease); }
.link:hover .ic { transform: translateX(4px); }
.iconbtn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; border: 0; background: var(--concrete); }

/* Barra superior y cabecera */
.topbar { background: var(--navy); color: rgba(255, 255, 255, .8); font-size: 13.5px; }
.topbar__in { display: flex; gap: 26px; align-items: center; min-height: 38px; }
.topbar__in span, .topbar__in a { display: inline-flex; align-items: center; gap: 7px; }
.topbar__tel { margin-left: auto; color: #fff; font-weight: 700; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand img { height: 54px; width: auto; }
.nav { display: flex; gap: 4px; margin: 0 auto; }
.nav a { padding: 10px 14px; border-radius: 8px; font-weight: 650; font-size: 15.5px; color: #2A2D35; transition: background .2s, color .2s; }
.nav a:hover { background: var(--concrete); color: var(--blue-d); }
.header__actions { display: flex; gap: 10px; align-items: center; margin-left: auto; }
.cartbtn { position: relative; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; }
.cartbtn .ic { width: 22px; height: 22px; }
.cartbtn__n { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--red); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; transform: scale(0); transition: transform .25s var(--ease); }
.cartbtn__n.on { transform: scale(1); }
.cartbtn.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.15) rotate(-6deg); } }
.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 10px; background: var(--ink); padding: 0 13px; flex-direction: column; justify-content: center; gap: 6px; }
.burger span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* HERO */
.hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; isolation: isolate; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -3; transform: scale(1.06); transition: transform 1.6s var(--ease), opacity 1.2s; opacity: 0; }
.hero__canvas.ready { opacity: 1; transform: scale(1); }
.hero__shade { position: absolute; inset: 0; z-index: -2; background:
  linear-gradient(95deg, rgba(8, 18, 38, .94) 0%, rgba(8, 18, 38, .78) 40%, rgba(8, 18, 38, .28) 72%, rgba(8, 18, 38, .4) 100%),
  radial-gradient(80% 60% at 80% 110%, rgba(44, 103, 222, .35), transparent 70%); }
.hero__stripe { position: absolute; z-index: -1; right: -6%; top: -20%; width: 44%; height: 150%; transform: skewX(-18deg); pointer-events: none;
  background: linear-gradient(90deg, transparent 0 62%, rgba(44, 103, 222, .9) 62% 72%, transparent 72% 76%, rgba(197, 48, 41, .92) 76% 86%, transparent 86%); opacity: .55; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-top: clamp(48px, 8vw, 110px); padding-bottom: clamp(56px, 8vw, 110px); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 0; margin: 38px 0 0; color: rgba(255, 255, 255, .78); font-size: 15px; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust strong { font-family: var(--f-display); font-variation-settings: 'wdth' 70; font-weight: 900; font-size: 26px; color: #fff; line-height: 1; }
.hero__trust .ic { color: #7EA4F5; width: 20px; height: 20px; }
.hero__copy > * { animation: rise .9s var(--ease) both; }
.hero__copy > :nth-child(2) { animation-delay: .08s; }
.hero__copy > :nth-child(3) { animation-delay: .16s; }
.hero__copy > :nth-child(4) { animation-delay: .24s; }
.hero__copy > :nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

/* Tarjetas de lead */
.leadcard { background: #fff; color: var(--text); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7); display: grid; gap: 14px; position: relative; animation: rise 1s .25s var(--ease) both; }
.leadcard::before { content: ''; position: absolute; left: 28px; right: 28px; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--blue) 50%, var(--red) 50%); }
.leadcard__head h2 { font-family: var(--f-display); font-variation-settings: 'wdth' 76; font-weight: 850; text-transform: uppercase; font-size: 30px; margin: 6px 0 6px; }
.leadcard__head .mono { color: var(--red); }
.leadcard__head .muted { font-size: 15px; }
.leadcard--dark { background: var(--ink-2); color: #fff; box-shadow: 0 0 0 1px var(--line-light), 0 30px 80px -30px rgba(0, 0, 0, .8); animation: none; }
.leadcard--dark .mono { color: #7EA4F5; }

.field { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: #3A3E47; }
.field input, .field select { width: 100%; height: 48px; padding: 0 14px; border-radius: 10px; border: 1.5px solid #D6D2CB; background: var(--paper); font-size: 16px; font-weight: 500; transition: border .2s, background .2s, box-shadow .2s; }
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(44, 103, 222, .15); }
.field input.invalid { border-color: var(--red); box-shadow: 0 0 0 4px rgba(197, 48, 41, .12); }
.leadcard--dark .field, .field--dark { color: rgba(255, 255, 255, .7); }
.leadcard--dark .field input, .leadcard--dark .field select, .field--dark input { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: #fff; }
.leadcard--dark .field select option { color: var(--text); }
.leadcard--dark .field input:focus, .field--dark input:focus { background: rgba(255, 255, 255, .1); }
.leadcard--dark input[type="date"] { color-scheme: dark; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.formnote { font-size: 12.5px; color: var(--muted); text-align: center; }
.leadcard--dark .formnote { color: rgba(255, 255, 255, .55); }

.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { font-size: 13px; font-weight: 700; color: #3A3E47; margin-bottom: 8px; padding: 0; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 999px; border: 1.5px solid #D6D2CB; font-size: 14px; font-weight: 650; cursor: pointer; transition: all .2s; user-select: none; }
.chips input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }

/* Franja */
.ticker { background: var(--red); color: #fff; overflow: hidden; border-block: 4px solid var(--blue); }
.ticker__track { display: flex; align-items: center; gap: 28px; width: max-content; padding: 14px 0; animation: tick 38s linear infinite; }
.ticker span { font-family: var(--f-display); font-variation-settings: 'wdth' 70; font-weight: 850; text-transform: uppercase; font-size: 22px; letter-spacing: .01em; }
.ticker i { width: 12px; height: 12px; background: #fff; transform: rotate(45deg); flex: none; }
@keyframes tick { to { transform: translateX(-50%); } }

/* Secciones */
.section { padding: clamp(72px, 10vw, 136px) 0; position: relative; }
.section--ink { background: var(--ink); color: #fff; }
.section--navy { background: linear-gradient(160deg, var(--navy) 0%, #0A1428 100%); color: #fff; overflow: hidden; }
.section--navy::after { content: ''; position: absolute; left: -10%; bottom: -30%; width: 60%; height: 70%; background: radial-gradient(closest-side, rgba(44, 103, 222, .25), transparent); pointer-events: none; }
.concrete { background-color: var(--concrete); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.sechead { max-width: 820px; margin-bottom: clamp(36px, 5vw, 64px); }
.sechead--light .lead { color: rgba(255, 255, 255, .72); }
.sechead--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* Bento servicios */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(260px, auto); gap: 16px; }
.tile { position: relative; border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: flex-end; }
.tile--hero { grid-column: span 7; grid-row: span 2; min-height: 540px; color: #fff; background: #333; }
.tile--navy { grid-column: span 5; background: var(--navy); color: #fff; }
.tile--red { grid-column: span 5; background: var(--red); color: #fff; }
.tile--light { grid-column: span 12; flex-direction: row; align-items: stretch; }
.tile__canvas { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 1.2s var(--ease); }
.tile--hero:hover .tile__canvas { transform: scale(1.04); }
.tile__body { position: relative; padding: clamp(22px, 3vw, 34px); display: grid; gap: 12px; justify-items: start; max-width: 560px; }
.tile__body h3 { font-family: var(--f-display); font-variation-settings: 'wdth' 74; font-weight: 850; text-transform: uppercase; font-size: clamp(26px, 2.6vw, 36px); }
.tile__body p { opacity: .86; }
.tile__body .mono { opacity: .75; }
.tile__body--over { background: linear-gradient(0deg, rgba(8, 12, 20, .9) 20%, rgba(8, 12, 20, 0)); max-width: none; padding-top: 120px; }
.tile__art { position: absolute; right: -10px; top: 18px; width: 58%; color: rgba(126, 164, 245, .45); }
.tile--red::after { content: ''; position: absolute; right: -40px; top: -40px; width: 200px; height: 200px; border: 28px solid rgba(255, 255, 255, .12); transform: rotate(45deg); }
.tile--light .tile__body { flex: 1; align-self: center; }
.tile__molds { flex: 1.3; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px; }
.tile__molds canvas { width: 100%; height: 100%; min-height: 180px; border-radius: 12px; object-fit: cover; }

/* Configurador */
.config { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; background: var(--ink-2); border-radius: var(--r-lg); padding: 14px; box-shadow: 0 0 0 1px var(--line-light); }
.config__stage { position: relative; border-radius: 14px; overflow: hidden; min-height: 420px; background: #444; touch-action: pan-y; user-select: none; }
.config__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
#cfgPlain { clip-path: inset(0 calc(100% - var(--split, 30%)) 0 0); }
.config__handle { position: absolute; top: 0; bottom: 0; left: var(--split, 30%); width: 44px; margin-left: -22px; cursor: ew-resize; display: grid; place-items: center; z-index: 2; }
.config__handle::before { content: ''; position: absolute; top: 0; bottom: 0; width: 3px; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, .5); }
.config__handle span { position: relative; width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .4); }
.config__handle span::before, .config__handle span::after { content: ''; position: absolute; top: 50%; width: 0; height: 0; border: 6px solid transparent; margin-top: -6px; }
.config__handle span::before { left: 7px; border-right-color: var(--ink); }
.config__handle span::after { right: 7px; border-left-color: var(--ink); }
.config__tag { position: absolute; bottom: 14px; z-index: 1; padding: 6px 10px; border-radius: 8px; background: rgba(8, 12, 20, .72); backdrop-filter: blur(6px); font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.config__tag--l { left: 14px; }
.config__tag--r { right: 14px; }
.config__panel { padding: clamp(8px, 1.6vw, 18px); display: grid; gap: 22px; align-content: start; }
.cgroup { display: grid; gap: 10px; }
.cgroup__label { font-size: 13px; font-weight: 750; letter-spacing: .02em; display: flex; justify-content: space-between; gap: 8px; }
.cgroup__label .muted, .cgroup__label output { font-weight: 600; color: rgba(255, 255, 255, .6); }
.checkout .cgroup__label { color: var(--text); }
.patterns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.patbtn { position: relative; border: 0; padding: 0; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 10; background: #555; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .12); transition: box-shadow .2s, transform .2s; }
.patbtn canvas { width: 100%; height: 100%; }
.patbtn span { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 8px 6px; font-size: 12px; font-weight: 750; color: #fff; text-align: left; background: linear-gradient(0deg, rgba(0, 0, 0, .75), transparent); }
.patbtn[aria-checked="true"] { box-shadow: 0 0 0 3px var(--blue); }
.patbtn:hover { transform: translateY(-2px); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.sw { width: 38px; height: 38px; border-radius: 50%; border: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28), 0 0 0 2px transparent; transition: box-shadow .2s, transform .2s; }
.sw[aria-checked="true"] { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25), 0 0 0 3px var(--ink-2), 0 0 0 5px #fff; }
.sw:hover { transform: scale(1.08); }
.swatches--sm .sw { width: 30px; height: 30px; }
input[type="range"] { width: 100%; accent-color: var(--red); height: 28px; }
.estimate { display: grid; gap: 16px; padding: 18px; border-radius: 14px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line-light); }
.estimate .mono { color: #7EA4F5; }
.estimate__val { font-family: var(--f-display); font-variation-settings: 'wdth' 76; font-weight: 850; font-size: clamp(26px, 2.6vw, 34px); margin: 4px 0; font-variant-numeric: tabular-nums; }
.estimate .muted { color: rgba(255, 255, 255, .55); }
.usos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; margin-top: 20px; border-radius: 14px; overflow: hidden; background: var(--line-light); }
.usos div { background: var(--ink); padding: 18px 20px; display: grid; gap: 2px; }
.usos strong { font-weight: 750; }
.usos span { font-size: 13.5px; color: rgba(255, 255, 255, .55); }

/* Proceso */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; border-top: 2px solid var(--ink); }
.steps li { padding: 26px 26px 10px 0; position: relative; }
.steps li + li { padding-left: 26px; border-left: 1px solid var(--line); }
.steps__n { font-family: var(--f-display); font-variation-settings: 'wdth' 64; font-weight: 900; font-size: 72px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--blue); display: block; margin-bottom: 18px; }
.steps li:nth-child(even) .steps__n { -webkit-text-stroke-color: var(--red); }
.steps h3 { font-size: 21px; font-weight: 800; margin-bottom: 8px; line-height: 1.15; }
.steps p { color: var(--muted); font-size: 15.5px; }

/* Hormigón */
.mixer { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: start; position: relative; z-index: 1; }
.mixer .lead { color: rgba(255, 255, 255, .75); }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.checks .ic { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--red); stroke-width: 3; }
.calc { margin-top: 34px; padding: 20px; border-radius: 16px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-light); }
.calc .mono { color: #7EA4F5; margin-bottom: 12px; }
.calc__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.calc__out { margin-top: 14px; font-size: 17px; }
.calc__out strong { font-family: var(--f-display); font-variation-settings: 'wdth' 76; font-size: 28px; font-weight: 850; color: #fff; margin: 0 4px; font-variant-numeric: tabular-nums; }
.calc__out .muted { color: rgba(255, 255, 255, .5); }

/* Tienda */
.search { display: flex; align-items: center; gap: 10px; height: 52px; min-width: min(380px, 100%); padding: 0 16px; border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
.search input { flex: 1; border: 0; background: none; height: 100%; font-size: 16px; min-width: 0; }
.search input:focus { outline: none; }
.search .ic { color: var(--muted); }
.cats { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 26px; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cat { flex: none; height: 42px; padding: 0 18px; border-radius: 999px; border: 1.5px solid rgba(20, 22, 28, .16); background: rgba(255, 255, 255, .5); font-weight: 700; font-size: 15px; transition: all .2s; }
.cat[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.cat:hover:not([aria-selected="true"]) { border-color: var(--ink); }
.cat small { opacity: .6; font-weight: 600; margin-left: 4px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.card { background: #fff; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s; animation: rise .5s var(--ease) both; }
.card:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(10, 14, 22, .06), 0 22px 44px -16px rgba(10, 14, 22, .3); }
.card__art { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; background: var(--tone, #888); }
.card__art::before { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 90% at 30% 20%, rgba(255, 255, 255, .28), transparent 60%), linear-gradient(0deg, rgba(0, 0, 0, .18), transparent 60%); }
.card__art svg { position: relative; width: 44%; height: auto; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .25)); transition: transform .5s var(--ease); }
.card:hover .card__art svg { transform: scale(1.08) rotate(-3deg); }
.card__art canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.card__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; left: 12px; top: 12px; z-index: 1; padding: 5px 9px; border-radius: 6px; background: #fff; color: var(--ink); font-family: var(--f-mono); font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__cat { font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-d); }
.card__name { font-size: 18px; font-weight: 800; line-height: 1.2; }
.card__desc { font-size: 14.5px; color: var(--muted); }
.card__opts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.card__opts select { height: 38px; padding: 0 10px; border-radius: 8px; border: 1.5px solid #D6D2CB; background: var(--paper); font-size: 14px; max-width: 100%; }
.seg { display: inline-flex; padding: 3px; border-radius: 9px; background: var(--concrete); }
.seg button { border: 0; background: none; height: 32px; padding: 0 12px; border-radius: 7px; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.card__foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-family: var(--f-display); font-variation-settings: 'wdth' 80; font-weight: 850; font-size: 24px; line-height: 1; font-variant-numeric: tabular-nums; }
.price small { font-family: var(--f-body); font-variation-settings: 'wdth' 100; font-size: 13px; font-weight: 600; color: var(--muted); margin-left: 3px; }
.add { height: 42px; padding: 0 16px; border-radius: 10px; border: 0; background: var(--ink); color: #fff; font-weight: 750; font-size: 14.5px; display: inline-flex; align-items: center; gap: 8px; transition: background .2s, transform .2s; }
.add:hover { background: var(--blue-d); }
.add.done { background: var(--wa); }
.add .ic { width: 18px; height: 18px; }
.empty { text-align: center; padding: 40px 0; color: var(--muted); }
.empty a { color: var(--blue-d); font-weight: 700; text-decoration: underline; }
.shipinfo { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.shipinfo > div { display: flex; gap: 14px; align-items: center; padding: 20px; border-radius: 14px; background: rgba(255, 255, 255, .6); border: 1px solid var(--line); }
.shipinfo .ic { width: 42px; height: 42px; padding: 10px; border-radius: 10px; background: var(--navy); color: #fff; }
.shipinfo p { display: grid; font-size: 14.5px; }
.shipinfo span { color: var(--muted); }

/* Por qué */
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why__grid > div { padding: 28px 24px; border-radius: 16px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-light); display: grid; gap: 10px; align-content: start; }
.why__grid .ic { color: #7EA4F5; margin-bottom: 8px; }
.why__grid > div:nth-child(even) .ic { color: #EF6A60; }
.why__grid h3 { font-size: 20px; font-weight: 800; }
.why__grid p { color: rgba(255, 255, 255, .62); font-size: 15.5px; }

/* Contacto */
.locs { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 16px; }
.loc { background: #fff; border-radius: 18px; padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; border-top: 5px solid var(--blue); }
.loc + .loc { border-top-color: var(--red); }
.loc .mono { color: var(--muted); }
.loc h3 { font-family: var(--f-display); font-variation-settings: 'wdth' 74; font-weight: 850; text-transform: uppercase; font-size: 32px; }
.loc p { color: var(--muted); }
.loc__warn { padding: 10px 12px; border-radius: 10px; background: #FBEAE8; color: #7B1D17 !important; font-size: 14px; }
.loc__tels { display: grid; gap: 6px; margin: 4px 0 8px; }
.loc__tels a { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; }
.loc .btn { margin-top: auto; }
.hours { width: 100%; display: grid; gap: 8px; margin: 6px 0 14px; }
.hours p { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 8px; border-bottom: 1px dashed var(--line); font-size: 15px; flex-wrap: wrap; }
.hours strong { color: var(--text); }
.map { border-radius: 18px; overflow: hidden; min-height: 340px; box-shadow: var(--shadow); background: var(--concrete-2); }
.map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; filter: grayscale(.35) contrast(1.05); }

/* CTA final */
.cta { position: relative; color: #fff; overflow: hidden; isolation: isolate; text-align: center; padding: clamp(80px, 12vw, 150px) 0; background: var(--ink); }
.cta__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 90% at 50% 50%, rgba(11, 26, 51, .72), rgba(11, 26, 51, .94)); }
.cta__in { display: grid; justify-items: center; }
.cta .lead { margin-inline: auto; }
.cta .hero__ctas { justify-content: center; }

/* Footer */
.footer { background: #080B10; color: rgba(255, 255, 255, .66); padding: 64px 0 28px; font-size: 15px; }
.footer__in { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 32px; }
.footer__in > div { display: grid; gap: 9px; align-content: start; }
.footer__in a:hover { color: #fff; }
.footer__logo { display: block; background: #fff; border-radius: 12px; padding: 10px 14px; width: max-content; }
.footer__logo img { height: 56px; width: auto; }
.footer__h { color: #fff; font-weight: 800; margin-bottom: 4px; }
.social { display: flex; gap: 10px; margin-top: 6px; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; background: rgba(255, 255, 255, .06); transition: background .2s; }
.social a:hover { background: var(--blue); }
.social svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; color: rgba(255, 255, 255, .42); }

/* Carrito */
.drawer { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(6, 10, 18, .55); opacity: 0; transition: opacity .3s; backdrop-filter: blur(2px); }
.drawer__panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(460px, 100%); background: var(--paper); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .4s var(--ease); box-shadow: -20px 0 60px rgba(0, 0, 0, .25); }
.drawer.open { pointer-events: auto; }
.drawer.open .drawer__scrim { opacity: 1; }
.drawer.open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-family: var(--f-display); font-variation-settings: 'wdth' 74; font-weight: 850; text-transform: uppercase; font-size: 28px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 22px 22px; }
.lines { list-style: none; padding: 0; margin: 0; }
.line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line__art { width: 56px; height: 56px; border-radius: 10px; background: var(--tone, #888); display: grid; place-items: center; overflow: hidden; }
.line__art svg { width: 60%; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.line__art canvas { width: 100%; height: 100%; }
.line__name { font-weight: 750; font-size: 15px; line-height: 1.25; }
.line__meta { font-size: 13px; color: var(--muted); }
.line__right { display: grid; justify-items: end; gap: 6px; }
.line__price { font-weight: 800; font-variant-numeric: tabular-nums; }
.qty { display: inline-flex; align-items: center; border-radius: 8px; border: 1.5px solid #D6D2CB; background: #fff; }
.qty button { width: 30px; height: 30px; border: 0; background: none; font-size: 18px; font-weight: 700; }
.qty span { min-width: 24px; text-align: center; font-weight: 750; font-size: 14px; }
.cartempty { text-align: center; padding: 48px 0; display: grid; gap: 14px; justify-items: center; color: var(--muted); }
.checkout { display: grid; gap: 12px; margin-top: 22px; }
.chips--dark span { border-color: #CFCAC2; background: #fff; }
.field--light input { background: #fff; }
.drawer__foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); background: #fff; display: grid; gap: 12px; }
.total { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; }
.total strong { font-family: var(--f-display); font-variation-settings: 'wdth' 78; font-size: 30px; font-weight: 850; font-variant-numeric: tabular-nums; }

/* Barra móvil, WhatsApp flotante y toast */
.mbar { display: none; }
.wafab { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(31, 175, 84, .7); transition: transform .25s var(--ease); }
.wafab svg { width: 32px; height: 32px; }
.wafab:hover { transform: scale(1.08); }
.wafab::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 70%, 100% { transform: scale(1.5); opacity: 0; } }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 100; transform: translate(-50%, 140%); padding: 12px 18px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 650; font-size: 15px; box-shadow: 0 16px 40px rgba(0, 0, 0, .35); transition: transform .35s var(--ease), opacity .35s; max-width: calc(100% - 32px); opacity: 0; visibility: hidden; }
.toast.on { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

/* Revelado al hacer scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1100px) {
  .nav a { padding: 10px 9px; font-size: 15px; }
  .usos { grid-template-columns: repeat(3, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .locs { grid-template-columns: 1fr 1fr; }
  .map { grid-column: span 2; }
  .footer__in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  :root { --header-h: 68px; }
  .burger { display: flex; }
  .nav { position: fixed; left: 0; right: 0; top: var(--header-h); background: #fff; flex-direction: column; padding: 12px var(--gutter) 22px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .3); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: all .25s var(--ease); }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 14px 8px; font-size: 18px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .brand img { height: 46px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__stripe { width: 70%; opacity: .3; }
  .bento { grid-template-columns: 1fr; }
  .tile--hero, .tile--navy, .tile--red, .tile--light { grid-column: auto; grid-row: auto; }
  .tile--hero { min-height: 460px; }
  .tile--light { flex-direction: column; }
  .tile__molds { min-height: 180px; }
  .config { grid-template-columns: 1fr; }
  .config__stage { min-height: 0; aspect-ratio: 4 / 3; }
  .steps { grid-template-columns: 1fr 1fr; border-top: 0; gap: 0 16px; }
  .steps li, .steps li + li { padding: 22px 0; border-left: 0; border-top: 2px solid var(--ink); }
  .mixer { grid-template-columns: 1fr; }
  .shipinfo { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 68px; }
  .hide-sm { display: none !important; }
  .topbar__in { gap: 12px; font-size: 12.5px; justify-content: space-between; }
  .topbar__tel { margin-left: 0; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .row2 { grid-template-columns: 1fr; }
  .usos { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps__n { font-size: 56px; }
  .calc__row { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .why__grid { grid-template-columns: 1fr; }
  .locs { grid-template-columns: 1fr; }
  .map { grid-column: auto; }
  .footer__in { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card__body { padding: 12px 12px 14px; }
  .card__name { font-size: 15.5px; }
  .card__desc { display: none; }
  .card__foot { flex-direction: column; align-items: stretch; }
  .price { font-size: 21px; }
  .add { justify-content: center; }
  .patterns { grid-template-columns: repeat(3, 1fr); }
  .wafab { display: none; }
  .search { min-width: 0; width: 100%; }
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .mbar a, .mbar button { height: 48px; border: 0; border-radius: 10px; background: var(--concrete); display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-weight: 750; font-size: 14px; }
  .mbar a:first-child { color: #138A40; }
  .mbar__main { background: var(--red) !important; color: #fff; }
  .mbar [data-cart-count] { min-width: 20px; height: 20px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 12px; display: inline-grid; place-items: center; padding: 0 5px; }
  .toast { bottom: 84px; }
}
@media (max-width: 380px) {
  .grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Checkout con Webpay */
.btn--ghostdark { --bg: #fff; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px #CFCAC2; }
.btn--ghostdark:hover { --bg: var(--concrete); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.totals { display: grid; gap: 4px; }
.total--sm { font-size: 14.5px; color: var(--muted); }
.card__name a { color: inherit; }
.card__name a:hover { color: var(--blue-d); text-decoration: underline; text-underline-offset: 3px; }
.add[disabled] { background: var(--concrete-2); color: var(--muted); cursor: not-allowed; }

/* ---------- Catálogo de moldes ---------- */
.catalog__lead { color: var(--muted); max-width: 60ch; margin-top: 14px; font-size: 17px; }
.catalog__actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.catalog { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 20px; align-items: start; }
.book { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 10px; }
.book__page { position: relative; padding: 0; border: 0; border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow); cursor: zoom-in; aspect-ratio: 1000 / 1414; }
.book__page img { width: 100%; height: 100%; object-fit: cover; }
.book__zoom { position: absolute; right: 12px; bottom: 12px; display: inline-flex; gap: 6px; align-items: center; padding: 8px 12px; border-radius: 9px; background: rgba(8, 12, 20, .78); color: #fff; font-weight: 700; font-size: 13px; }
.book__thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.book__thumbs button { flex: none; width: 64px; padding: 0; border: 0; border-radius: 6px; overflow: hidden; box-shadow: 0 0 0 1.5px var(--line); opacity: .7; transition: opacity .2s, box-shadow .2s; background: #fff; }
.book__thumbs button[aria-pressed="true"] { opacity: 1; box-shadow: 0 0 0 3px var(--blue); }
.book__thumbs img { display: block; width: 100%; height: auto; }
.molds { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 22px; min-height: 420px; }
.molds__head { padding-bottom: 14px; border-bottom: 2px solid var(--ink); margin-bottom: 4px; }
.molds__head h3 { font-family: var(--f-display); font-variation-settings: 'wdth' 74; font-weight: 850; text-transform: uppercase; font-size: 28px; }
.molds__head p { font-size: 15px; margin-top: 6px; }
.molds__list { list-style: none; margin: 0; padding: 0; max-height: 820px; overflow-y: auto; }
.mold { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 6px; border-bottom: 1px solid var(--line); transition: background .2s; }
.mold.is-on { background: #F2F6FE; }
.mold__info { display: grid; gap: 5px; min-width: 0; }
.mold__info b { font-size: 16px; }
.mold__meta { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 6px; background: var(--ink); color: #fff; font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.chip--soft { background: var(--concrete); color: #3A3E47; }
.chip--dark { background: rgba(255, 255, 255, .12); color: #fff; }
.mold__btns { display: flex; gap: 6px; flex: none; }
.mbtn { height: 36px; padding: 0 12px; border-radius: 8px; border: 1.5px solid #D6D2CB; background: #fff; font-weight: 750; font-size: 13.5px; transition: all .2s; }
.mbtn:hover { border-color: var(--ink); }
.mbtn--red { background: var(--red); border-color: var(--red); color: #fff; }
.mbtn--red:hover { background: var(--red-d); border-color: var(--red-d); }

/* ---------- Premium ---------- */
.pgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.pcard { background: var(--ink-2); border-radius: 16px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line-light); display: flex; flex-direction: column; }
.pcard__img { padding: 0; border: 0; aspect-ratio: 1; overflow: hidden; cursor: zoom-in; background: #222; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.06); }
.pcard__body { padding: 14px 16px 16px; display: grid; gap: 8px; flex: 1; align-content: start; }
.pcard__body > div { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.pcard__body h3 { font-size: 16.5px; font-weight: 800; line-height: 1.2; }
.pcard__body p { font-size: 13.5px; color: rgba(255, 255, 255, .6); }
.pcard .link { background: none; border: 0; border-bottom: 2px solid currentColor; padding: 0 0 2px; color: #fff; font-size: 14px; justify-self: start; margin-top: auto; }

/* ---------- Terminaciones y paletas ---------- */
.fgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fcard { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.fcard__img { padding: 0; border: 0; aspect-ratio: 4 / 3; overflow: hidden; cursor: zoom-in; }
.fcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.fcard:hover .fcard__img img { transform: scale(1.05); }
.fcard__body { padding: 14px 16px 16px; display: grid; gap: 10px; flex: 1; align-content: start; }
.fcard__body h3 { font-size: 17px; font-weight: 800; line-height: 1.2; }
.fcard dl { margin: 0; display: grid; gap: 4px; font-size: 13.5px; }
.fcard dl div { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px dashed var(--line); padding-bottom: 4px; }
.fcard dt { color: var(--muted); }
.fcard dd { margin: 0; font-weight: 700; text-align: right; }
.fcard .mbtn { margin-top: auto; }
.palettes { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; margin-top: 28px; }
.palette { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 22px; }
.palette__head { margin-bottom: 14px; }
.palette__head h3 { font-family: var(--f-display); font-variation-settings: 'wdth' 76; font-weight: 850; text-transform: uppercase; font-size: 22px; }
.palette__head p { font-size: 14px; margin-top: 4px; }
.palette__head--sub { margin-top: 22px; }
.palette__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.swatch { border: 0; background: none; padding: 0; display: grid; gap: 6px; justify-items: center; font-size: 12.5px; font-weight: 700; text-align: center; }
.swatch span { width: 100%; aspect-ratio: 1.4; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); transition: transform .2s; clip-path: polygon(8% 0, 92% 0, 100% 12%, 100% 88%, 92% 100%, 8% 100%, 0 88%, 0 12%); }
.swatch:hover span { transform: scale(1.06); }
.tgroup + .tgroup { margin-top: 12px; }
.tgroup .mono { color: var(--muted); margin-bottom: 6px; }
.tgroup__row, .rel { display: flex; flex-wrap: wrap; gap: 8px; }
.tinta { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px 0 5px; border-radius: 999px; background: var(--concrete); font-size: 13px; font-weight: 700; }
.tinta span { width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }

/* ---------- Obras ---------- */
.works { columns: 4 240px; column-gap: 14px; }
.work { break-inside: avoid; margin: 0 0 14px; position: relative; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); background: #ddd; }
.work button { display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; }
.work img { width: 100%; height: auto; transition: transform .6s var(--ease); }
.work:hover img { transform: scale(1.04); }
.work figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; background: linear-gradient(0deg, rgba(8, 12, 20, .85), transparent); color: #fff; font-weight: 700; font-size: 14px; pointer-events: none; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(6, 9, 15, .94); display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox__fig { margin: 0; display: grid; justify-items: center; gap: 12px; max-height: 100%; }
.lightbox__fig img { max-width: 100%; max-height: calc(100vh - 110px); object-fit: contain; border-radius: 8px; }
.lightbox__fig figcaption { color: rgba(255, 255, 255, .8); font-weight: 600; text-align: center; }
.lightbox__nav, .lightbox__x { width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; }
.lightbox__nav:hover, .lightbox__x:hover { background: rgba(255, 255, 255, .22); }
.lightbox__nav .ic, .lightbox__x .ic { width: 26px; height: 26px; }
.lightbox__x { position: absolute; top: 16px; right: 16px; }

@media (max-width: 1100px) {
  .pgrid { grid-template-columns: repeat(3, 1fr); }
  .fgrid { grid-template-columns: repeat(2, 1fr); }
  .palettes { grid-template-columns: 1fr; }
}
@media (max-width: 920px) {
  .catalog { grid-template-columns: 1fr; }
  .book { position: static; max-width: 520px; width: 100%; margin: 0 auto; }
  .molds__list { max-height: none; }
}
@media (max-width: 640px) {
  .pgrid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pcard__body p { display: none; }
  .fgrid { grid-template-columns: 1fr; }
  .mold { flex-direction: column; align-items: stretch; }
  .mold__btns .mbtn { flex: 1; }
  .catalog__actions { width: 100%; }
  .catalog__actions .btn { width: 100%; }
  .lightbox { grid-template-columns: 1fr; padding: 60px 10px 20px; }
  .lightbox__nav { position: absolute; bottom: 18px; }
  .lightbox__nav--prev { left: 18px; }
  .lightbox__nav--next { right: 18px; }
  .lightbox__fig img { max-height: calc(100vh - 170px); }
}

/* Formulario: calculadora largo × ancho, valor referencial y trampa para robots */
.linkbtn { background: none; border: 0; padding: 0; margin: -4px 0 2px; color: var(--blue, #2C67DE); font: inherit; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-align: left; }
.leadcalc { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.leadcalc label { flex: 1; min-width: 0; }
.leadcalc input { width: 100%; min-height: 44px; padding: 8px 12px; border-radius: 10px; border: 1.5px solid rgba(11, 26, 51, .22); background: #fff; font: inherit; }
.leadcalc output { font-family: var(--mono, monospace); font-size: 13px; font-weight: 700; white-space: nowrap; min-width: 64px; text-align: right; }
.leadest { margin: 0 0 4px; padding: 10px 12px; border-radius: 10px; background: rgba(44, 103, 222, .08); font-size: 14px; line-height: 1.4; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* Entrada a la tienda desde la portada */
.shopcats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 28px; }
.shopcat { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px; padding: 20px 22px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform .25s ease, box-shadow .25s ease; }
.shopcat strong { grid-column: 1; grid-row: 1; font-size: 18px; font-weight: 800; text-align: left; }
.shopcat span { grid-column: 1; grid-row: 2; font-size: 14px; color: rgba(11, 26, 51, .62); text-align: left; }
.shopcat .ic { grid-column: 2; grid-row: 1 / 3; color: var(--red, #C53029); }
.shopcat:hover { transform: translateY(-3px); }
@media (max-width: 900px) { .shopcats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .shopcats { grid-template-columns: 1fr; } }
/* Preguntas frecuentes */
.faq { max-width: 820px; }
.faq__item { border-bottom: 1px solid rgba(11, 26, 51, .14); }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; font-size: 18px; font-weight: 800; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .ic { flex: none; transition: transform .3s ease; color: var(--red, #C53029); }
.faq__item[open] summary .ic { transform: rotate(90deg); }
.faq__item p { padding: 0 0 18px; margin: 0; color: rgba(11, 26, 51, .72); max-width: 66ch; line-height: 1.6; }

/* Nosotros: historia, cifras, fundador y pilares (reemplaza a "Por qué JB") */
.about2 { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.about2__p { margin-top: 16px; color: rgba(255, 255, 255, .72); max-width: 58ch; line-height: 1.65; }
.about2__stats { list-style: none; margin: 32px 0 0; padding: 24px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; border-top: 1px solid var(--line-light); }
.about2__stats strong { display: block; font-family: var(--f-display); font-variation-settings: 'wdth' 70; font-weight: 900; font-size: clamp(30px, 3vw, 42px); line-height: 1; }
.about2__stats span { display: block; margin-top: 8px; font-size: 13.5px; line-height: 1.35; color: rgba(255, 255, 255, .62); }
.about2 .hero__ctas { margin-top: 32px; }
.about2__side { display: grid; gap: 18px; }
.about2__foto { margin: 0; }
.about2__foto img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; display: block; }
.about2__foto figcaption { margin-top: 10px; font-size: 13.5px; color: rgba(255, 255, 255, .55); }
.founder { padding: 26px 28px; border-radius: 18px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-light); border-left: 4px solid var(--red); }
.founder .mono { color: #7EA4F5; }
.founder__q { margin: 12px 0 18px; font-size: 19px; font-weight: 700; line-height: 1.4; letter-spacing: -.01em; }
.founder__who { display: grid; gap: 2px; }
.founder__who strong { font-size: 16px; }
.founder__who span { font-size: 13.5px; color: rgba(255, 255, 255, .62); }
.about2__pilares { margin-top: clamp(40px, 6vw, 72px); }
@media (max-width: 960px) { .about2 { grid-template-columns: 1fr; } .about2__side { order: -1; } .about2__stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .about2__stats { gap: 14px; } .founder__q { font-size: 17px; } }

/* Páginas armadas por el servidor: portada sin formulario (hormigón) y bloque de confianza */
.hero__grid:not(:has(.leadcard)) { grid-template-columns: 1fr; }
.hero__grid:not(:has(.leadcard)) .hero__copy { max-width: 760px; }
.confianza__mas { text-decoration: none; color: inherit; background: var(--red) !important; box-shadow: none !important; transition: transform .25s ease; }
.confianza__mas .ic { color: #fff !important; }
.confianza__mas p { color: rgba(255, 255, 255, .8) !important; }
.confianza__mas:hover { transform: translateY(-3px); }
.subhero .hero__copy .lead { max-width: 60ch; }

/* Fotos reales de las sucursales en las tarjetas de contacto */
.loc__img { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; border-radius: 12px; margin-bottom: 6px; }
