/* =========================================================
   CROSUR — Construcción, Ferretería y Hogar
   Hoja de estilos principal
   ========================================================= */

/* Fuentes alojadas en el propio sitio (sin depender de Google) */
@font-face{font-family:"Barlow Condensed";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2")}
@font-face{font-family:"Barlow Condensed";font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2")}
@font-face{font-family:"Barlow Condensed";font-style:normal;font-weight:800;font-display:swap;src:url("../fonts/barlow-condensed-latin-800-normal.woff2") format("woff2")}
@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/inter-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/inter-latin-500-normal.woff2") format("woff2")}
@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/inter-latin-600-normal.woff2") format("woff2")}
@font-face{font-family:"Inter";font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/inter-latin-700-normal.woff2") format("woff2")}

:root {
  --red: #d8141f;
  --red-600: #b80f18;
  --red-50: #fdeced;
  --ink: #15171c;
  --ink-2: #252931;
  --ink-3: #3a3f49;
  --muted: #5f6672;
  --line: #e7e3dd;
  --bg: #f6f4f0;
  --paper: #ffffff;
  --blue: #1d4f9e;
  --green: #17914a;

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(21, 23, 28, .06), 0 2px 8px rgba(21, 23, 28, .05);
  --shadow: 0 10px 30px -10px rgba(21, 23, 28, .18), 0 2px 6px rgba(21, 23, 28, .06);
  --shadow-lg: 0 30px 60px -20px rgba(21, 23, 28, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1220px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.02; margin: 0; letter-spacing: -.005em; }
h1 { font-size: clamp(2.7rem, 6.2vw, 5rem); font-weight: 800; text-transform: uppercase; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); font-weight: 800; text-transform: uppercase; }
h3 { font-size: 1.55rem; font-weight: 700; }
p { margin: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.section { padding: clamp(54px, 6.8vw, 90px) 0; }
.section-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(28px, 4vw, 42px); }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-head--split { max-width: none; grid-template-columns: 1fr auto; align-items: end; gap: 24px; }
.text-red { color: var(--red); }

/* ---------- Botones ---------- */
.btn {
  --bg-btn: var(--ink); --fg-btn: #fff;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  font-weight: 600; font-size: .96rem; letter-spacing: .01em;
  color: var(--fg-btn); background: var(--bg-btn);
  border: 1.5px solid transparent; border-radius: 999px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--hover-bg, var(--ink-2));
  transform: translateY(101%);
  transition: transform .45s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn svg { width: 19px; height: 19px; flex: none; transition: transform .35s var(--ease); }
.btn:hover .i-arrow { transform: translateX(4px); }
.btn:hover .i-cart { transform: rotate(-8deg) scale(1.08); }

.btn--primary { --bg-btn: var(--red); --hover-bg: var(--red-600); box-shadow: 0 8px 22px -10px rgba(216, 20, 31, .7); }
.btn--dark { --bg-btn: var(--ink); --hover-bg: var(--red); }
.btn--ghost { --bg-btn: transparent; --fg-btn: var(--ink); --hover-bg: var(--ink); border-color: rgba(21, 23, 28, .18); }
.btn--ghost:hover { color: #fff; border-color: var(--ink); }
.btn--light { --bg-btn: #fff; --fg-btn: var(--ink); --hover-bg: var(--ink); }
.btn--light:hover { color: #fff; }
.btn--outline-light { --bg-btn: transparent; --fg-btn: #fff; --hover-bg: #fff; border-color: rgba(255, 255, 255, .4); }
.btn--outline-light:hover { color: var(--ink); border-color: #fff; }
.btn--wa { --bg-btn: #1fa855; --hover-bg: #178a45; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.02rem; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .88rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  transition: background-size .4s var(--ease), color .3s;
  padding-bottom: 2px;
}
.link-arrow svg { width: 17px; height: 17px; transition: transform .35s var(--ease); }
.link-arrow:hover { background-size: 100% 2px; color: var(--red); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Barra superior ---------- */
.topbar { background: var(--ink); color: rgba(255, 255, 255, .78); font-size: .82rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 22px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; transition: color .25s; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 15px; height: 15px; opacity: .8; }
.topbar .status-dot { width: 7px; height: 7px; border-radius: 50%; background: #3ad07a; box-shadow: 0 0 0 4px rgba(58, 208, 122, .18); transition: background-color .3s, box-shadow .3s; }
.topbar .status-dot.is-closed { background: #8b919b; box-shadow: 0 0 0 4px rgba(139, 145, 155, .2); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -14px rgba(21, 23, 28, .25); }
.header .container { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  position: relative; padding: 10px 14px; font-weight: 500; font-size: .95rem; color: var(--ink-3);
  border-radius: 999px; transition: color .25s, background-color .25s;
}
.nav a:hover { color: var(--ink); background: rgba(21, 23, 28, .05); }
.nav a.is-active { color: var(--red); }
.header__actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--line); background: #fff; place-items: center;
  transition: border-color .25s, background-color .25s;
}
.menu-toggle:hover { border-color: var(--ink); }
.menu-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; transition: background .2s; }
.menu-toggle span::before, .menu-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); transition: transform .35s var(--ease);
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* Menú móvil */
.mobile-menu {
  position: fixed; inset: calc(var(--header-h)) 0 0 0; z-index: 45;
  background: #fff; padding: 24px 20px 120px; overflow-y: auto;
  transform: translateY(-12px); opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), transform .4s var(--ease), visibility .3s;
}
.menu-open .mobile-menu { opacity: 1; transform: none; visibility: visible; }
.mobile-menu nav { display: grid; }
.mobile-menu nav a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 4px; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; text-transform: uppercase;
}
.mobile-menu nav a svg { width: 22px; height: 22px; color: var(--red); }
.mobile-menu .btn { margin-top: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--ink); color: #fff;
  min-height: clamp(420px, 62vh, 580px);
  display: flex; align-items: center;
  padding: clamp(44px, 5.5vw, 72px) 0;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 18s var(--ease) forwards; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 17, 21, .94) 0%, rgba(15, 17, 21, .82) 38%, rgba(15, 17, 21, .45) 70%, rgba(15, 17, 21, .3) 100%),
    linear-gradient(0deg, rgba(15, 17, 21, .55), transparent 40%);
}
.hero::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 6px; width: 100%;
  background: linear-gradient(90deg, var(--red) 0 34%, transparent 34%);
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero .container { position: relative; display: grid; grid-template-columns: minmax(0, 720px); }
.hero__copy { display: grid; gap: 22px; }
.hero__copy h1 { font-size: clamp(2.3rem, 5vw, 4.1rem); }
.hero .eyebrow { color: #ff5a62; }
.hero__copy h1 .line { display: block; }
.hero__copy h1 .text-red { color: #ff2d38; }
.hero__tagline { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.2rem, 1.9vw, 1.6rem); line-height: 1.1; color: #fff; margin-top: -10px; letter-spacing: .01em; }
.hero__lead { font-size: clamp(.98rem, 1.2vw, 1.08rem); color: rgba(255, 255, 255, .82); max-width: 600px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 6px; color: rgba(255, 255, 255, .8); font-size: .9rem; font-weight: 500; }
.hero__badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero__badges svg { width: 18px; height: 18px; color: #ff5a62; }

.hero__cards { display: grid; gap: 12px; justify-items: stretch; }
.hero__tag {
  justify-self: start;
  background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 999px; padding: 8px 14px;
  font-size: .82rem; font-weight: 600; display: inline-flex; align-items: center; gap: 8px;
}
.hero__tag .status-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ad07a; box-shadow: 0 0 0 4px rgba(58, 208, 122, .2); }
.hero__card {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255, 255, 255, .95); color: var(--ink);
  border-radius: 18px; padding: 14px 16px; box-shadow: var(--shadow-lg);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background-color .3s;
}
.hero__card:hover { transform: translateY(-4px); background: #fff; }
.hero__card .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--red-50); color: var(--red); flex: none; overflow: hidden; }
.hero__card .ic svg { width: 24px; height: 24px; }
.hero__card .ic--img img { width: 100%; height: 100%; object-fit: cover; }
.hero__card strong { display: block; font-size: .98rem; line-height: 1.25; }
.hero__card small { color: var(--muted); font-size: .83rem; }
.hero__card .go { width: 20px; height: 20px; margin-left: auto; flex: none; color: var(--red); transition: transform .35s var(--ease); }
.hero__card:hover .go { transform: translateX(4px); }
.new {
  display: inline-block; font-style: normal; font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  background: var(--red); color: #fff; border-radius: 999px; padding: 3px 8px; margin-bottom: 4px; vertical-align: middle;
}

/* Cifras */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 24px; display: grid; gap: 4px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { font-family: var(--font-display); font-size: clamp(2.2rem, 3.6vw, 3rem); font-weight: 800; line-height: 1; }
.stat b em { font-style: normal; color: var(--red); margin-right: .12em; }
.stat b small { font-size: .55em; font-weight: 700; margin-left: .18em; color: var(--ink-3); }
.stat span { color: var(--muted); font-size: .92rem; }

/* ---------- Tienda online ---------- */
.store {
  position: relative; overflow: hidden;
  background: var(--red); color: #fff; border-radius: 26px;
  padding: clamp(32px, 5vw, 56px);
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 4vw, 56px); align-items: center;
}
.store::before {
  content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 65%);
}
.store::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .09;
  background-image: repeating-linear-gradient(135deg, #fff 0 2px, transparent 2px 22px);
  mask-image: linear-gradient(90deg, transparent 40%, #000);
  -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000);
}
.store > * { position: relative; z-index: 1; }
.store .eyebrow { color: #fff; }
.store h2 { margin: 14px 0 14px; }
.store p { color: rgba(255, 255, 255, .88); max-width: 470px; }
.store__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.store__url { margin-top: 16px; font-size: .86rem; color: rgba(255, 255, 255, .75); }
.store__url b { color: #fff; }
.store__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.cat-link {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 14px; font-weight: 600; font-size: .95rem;
  transition: background-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease), border-color .35s;
}
.cat-link .ic { width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, .14); display: grid; place-items: center; flex: none; transition: background-color .35s, color .35s; }
.cat-link .ic svg { width: 20px; height: 20px; }
.cat-link .go { margin-left: auto; width: 18px; height: 18px; opacity: .6; transition: transform .35s var(--ease), opacity .35s; }
.cat-link:hover { background: #fff; color: var(--ink); transform: translateY(-2px); border-color: #fff; }
.cat-link:hover .ic { background: var(--red); color: #fff; }
.cat-link:hover .go { transform: translateX(4px); opacity: 1; color: var(--red); }

/* ---------- Especialistas ---------- */
.spec { display: grid; grid-template-columns: 330px 1fr; gap: 28px; align-items: start; }
.spec__tabs { display: grid; gap: 10px; position: sticky; top: calc(var(--header-h) + 20px); }
.spec-tab {
  position: relative; text-align: left; width: 100%;
  display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: 16px; background: #fff; border: 1.5px solid var(--line);
  transition: border-color .3s, box-shadow .35s var(--ease), transform .35s var(--ease), background-color .3s;
}
.spec-tab .ic {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--bg); color: var(--ink); transition: background-color .35s, color .35s;
}
.spec-tab .ic svg { width: 24px; height: 24px; }
.spec-tab strong { display: block; font-family: var(--font-display); font-size: 1.28rem; text-transform: uppercase; line-height: 1.05; }
.spec-tab small { display: block; color: var(--muted); font-size: .84rem; margin-top: 3px; }
.spec-tab .chev { width: 18px; height: 18px; color: var(--muted); transition: transform .35s var(--ease), color .3s; }
.spec-tab:hover { border-color: rgba(21, 23, 28, .3); transform: translateX(3px); }
.spec-tab[aria-selected="true"] { border-color: var(--ink); background: var(--ink); color: #fff; box-shadow: var(--shadow); }
.spec-tab[aria-selected="true"] small { color: rgba(255, 255, 255, .7); }
.spec-tab[aria-selected="true"] .ic { background: var(--red); color: #fff; }
.spec-tab[aria-selected="true"] .chev { color: #fff; transform: translateX(3px); }

.spec__panel { background: #fff; border-radius: 22px; border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow-sm); }
.spec__panel.is-switching .panel-anim { opacity: 0; transform: translateY(10px); }
.panel-anim { transition: opacity .4s var(--ease), transform .5s var(--ease); }
.panel-head {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: clamp(20px, 3vw, 32px) clamp(20px, 3.4vw, 40px) 0;
}
.panel-head img.facade { width: 120px; height: auto; flex: none; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .18)); }
.panel-head .titles { flex: 1 1 260px; }
.panel-kicker { color: var(--red); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.panel-head h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); text-transform: uppercase; }
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 20px clamp(20px, 3.4vw, 40px) 0; }
.strip figure { margin: 0; position: relative; overflow: hidden; border-radius: 14px; aspect-ratio: 16 / 10; background: var(--bg); cursor: zoom-in; }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.strip figure:hover img { transform: scale(1.06); }
.strip .more {
  position: absolute; right: 8px; bottom: 8px; background: rgba(21, 23, 28, .8); color: #fff;
  font-size: .76rem; font-weight: 600; padding: 6px 10px; border-radius: 999px; border: 0;
  display: inline-flex; align-items: center; gap: 6px; backdrop-filter: blur(6px); transition: background-color .3s;
}
.strip .more svg { width: 14px; height: 14px; }
.strip .more:hover { background: var(--red); }
.panel-body { padding: clamp(20px, 3vw, 32px) clamp(20px, 3.4vw, 40px) clamp(24px, 3.4vw, 40px); display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 3.4vw, 44px); }
.panel-desc { color: var(--muted); margin-bottom: 22px; }
.cat-groups { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; background: #fff; }
.cat-group + .cat-group { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 10px; }
.cat-group h4 { font-family: var(--font-body); font-size: .92rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.cat-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px 16px; }
.cat-list li, .cat-list a { display: flex; align-items: center; gap: 8px; font-size: .86rem; line-height: 1.6; color: var(--muted); }
.cat-list a { transition: color .25s; }
.cat-list a:hover { color: var(--red); }
.cat-list li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--red); margin: 0 3px 0 2px; }
.cat-list li:has(a)::before { display: none; }
.cat-list a::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--red); margin: 0 3px 0 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line);
  font-size: .8rem; font-weight: 500; color: var(--ink-2);
  transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
a.chip:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-2px); }
a.chip svg { width: 13px; height: 13px; opacity: .55; }

.contact-card { background: var(--bg); border-radius: 16px; padding: 22px; display: grid; gap: 16px; align-self: start; }
.contact-row { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: .93rem; }
.contact-row svg { width: 20px; height: 20px; color: var(--red); margin-top: 2px; }
.contact-row a { font-weight: 600; transition: color .25s; word-break: break-word; }
.contact-row a:hover { color: var(--red); }
.hours { display: grid; gap: 4px; }
.hours div { display: flex; justify-content: space-between; gap: 12px; padding: 2px 0; }
.hours span:first-child { white-space: nowrap; }
.hours span:first-child { color: var(--muted); }
.hours span:last-child { font-weight: 500; text-align: right; }
.hours div.is-today span { color: var(--ink); font-weight: 700; }
.badge-status {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  font-size: .8rem; font-weight: 700; letter-spacing: .02em; width: fit-content;
}
.badge-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.badge-status.open { background: #e5f6ec; color: var(--green); }
.badge-status.open::before { animation: pulse 2s infinite; }
.badge-status.closed { background: #f1efec; color: var(--muted); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(23, 145, 74, .5); } 70% { box-shadow: 0 0 0 7px rgba(23, 145, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(23, 145, 74, 0); } }
.contact-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.contact-actions .btn { padding: 0 12px; }
.contact-actions .btn--block { grid-column: span 2; }

/* Ficha de tienda: contenido arriba, caja de contacto abajo */
.panel-head { padding: 26px 36px 0; gap: 14px 18px; }
.panel-head img.facade { width: 150px; }
.strip { padding: 14px 36px 0; gap: 10px; }
.strip figure { aspect-ratio: 16 / 9; }
.panel-body { grid-template-columns: 1fr; padding: 16px 36px 28px; gap: 16px; }
.panel-intro { padding: 10px 36px 0; }
.panel-intro .panel-desc { font-size: 1rem; max-width: 860px; margin: 0; }
.panel-intro .panel-shop { margin-top: 6px; }

.contact-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px 32px; padding: 20px 24px; }
.contact-info { display: grid; gap: 10px; }
.contact-info .contact-row { font-size: .95rem; }
.contact-actions { display: grid; grid-template-columns: repeat(2, minmax(150px, auto)); gap: 8px; }
.contact-actions .btn { justify-content: flex-start; }
.contact-actions .btn:nth-child(3):last-child { grid-column: span 2; justify-content: center; }
.contact-actions .btn { min-height: 42px; }

/* ---------- Fabricación ---------- */
.fab { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.fab__bg { position: absolute; inset: 0; z-index: -1; }
.fab__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .18; }
.fab__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink) 0%, rgba(21, 23, 28, .7) 40%, var(--ink) 100%); }
.fab .eyebrow { color: #ff5a62; }
.fab .section-head p { color: rgba(255, 255, 255, .72); }
.fab-block {
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 24px; background: rgba(255, 255, 255, .03);
  padding: clamp(24px, 3.4vw, 40px); display: grid; gap: 28px;
}
.fab-block + .fab-block { margin-top: 20px; }
.fab-block__head { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.fab-block__kicker { display: inline-flex; align-items: center; gap: 10px; color: #ff5a62; font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.fab-block__kicker .new { margin: 0; }
.fab-block h3 { font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 800; text-transform: uppercase; margin: 10px 0 12px; }
.fab-block p { color: rgba(255, 255, 255, .74); max-width: 560px; }
.fab-block__side { display: grid; gap: 20px; }
.fab-tags { list-style: none; padding: 0; margin: -6px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fab-tags li {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05); font-size: .82rem; font-weight: 500; white-space: nowrap;
}
.fab-tags svg { width: 14px; height: 14px; color: #ff5a62; }
.fab-meta { display: grid; gap: 10px; font-size: .92rem; color: rgba(255, 255, 255, .75); }
.fab-meta span { display: flex; gap: 10px; align-items: flex-start; }
.fab-meta svg { width: 18px; height: 18px; color: #ff5a62; flex: none; margin-top: 2px; }
.fab-meta a:hover { color: #fff; }
.fab-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.fab-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fab-photos figure { margin: 0; position: relative; overflow: hidden; border-radius: 16px; aspect-ratio: 4 / 3; background: #222; }
.fab-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.fab-photos figure:hover img { transform: scale(1.05); }
.fab-photos figcaption {
  position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px;
  background: rgba(15, 17, 21, .72); backdrop-filter: blur(6px); font-size: .8rem; font-weight: 600;
}
.sip-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; max-width: 600px; }
.sip-benefits > div { display: grid; gap: 4px; padding: 16px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04); }
.sip-benefits .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(216, 20, 31, .18); color: #ff5a62; margin-bottom: 6px; }
.sip-benefits svg { width: 20px; height: 20px; }
.sip-benefits b { font-size: .95rem; }
.sip-benefits small { color: rgba(255, 255, 255, .6); font-size: .82rem; }
.sip-callout { padding: 22px; border-radius: 18px; background: var(--red); }
.sip-callout b { display: block; font-family: var(--font-display); font-size: 1.6rem; text-transform: uppercase; margin-bottom: 6px; }
.sip-callout p { color: rgba(255, 255, 255, .9); }

/* ---------- Sucursales ---------- */
.branches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.branch {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 20px; display: flex; flex-direction: column; gap: 10px;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.branch:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.branch__img { height: 120px; display: grid; place-items: center; margin: -4px -6px 4px; background: linear-gradient(180deg, var(--bg), #fff); border-radius: 12px; overflow: hidden; }
.branch__img img { max-height: 104px; width: auto; max-width: 92%; object-fit: contain; transition: transform .6s var(--ease); }
.branch:hover .branch__img img { transform: scale(1.06); }
.branch__tag { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.branch h3 { font-size: 1.35rem; text-transform: uppercase; }
.branch__addr { font-size: .88rem; color: var(--muted); line-height: 1.45; }
.branch__foot { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.branch__links { display: flex; gap: 6px; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--line); color: var(--ink); background: #fff;
  transition: background-color .3s, color .3s, border-color .3s, transform .35s var(--ease);
}
.icon-btn svg { width: 17px; height: 17px; }
.icon-btn:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-2px); }
.branch .badge-status { font-size: .74rem; padding: 5px 10px; }

/* ---------- Servicios ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: clamp(28px, 4vw, 56px); }
.service {
  display: grid; grid-template-columns: 52px 1fr; column-gap: 18px; align-items: start;
  padding: 26px 0; border-top: 1px solid var(--line);
}
.service .ic { grid-row: span 2; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--red-50); color: var(--red); }
.service .ic svg { width: 26px; height: 26px; }
.service h3 { font-size: 1.45rem; text-transform: uppercase; margin: 2px 0 6px; }
.service p { color: var(--muted); font-size: 1rem; max-width: 36ch; }

/* ---------- Empresa ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about__media { position: relative; }
.about__facade {
  position: relative; border-radius: 22px; aspect-ratio: 5 / 4; overflow: hidden; box-shadow: var(--shadow-lg);
  background:
    radial-gradient(120% 70% at 20% 0%, #ffffff 0%, transparent 60%),
    linear-gradient(180deg, #9fc4e8 0%, #cfe2f4 48%, #eef3f7 62%, #e4e0d9 63%, #d9d4cc 100%);
  display: grid; place-items: end center; padding: 0 6% 9%;
}
.about__facade img { width: 100%; height: auto; filter: drop-shadow(0 22px 22px rgba(21, 23, 28, .25)); transition: transform .8s var(--ease); }
.about__facade:hover img { transform: scale(1.03); }
.about__caption { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: .9rem; color: var(--muted); }
.about__caption svg { width: 16px; height: 16px; color: var(--red); }
.about__stamp {
  position: absolute; right: -18px; top: -18px; width: 132px; height: 132px; border-radius: 50%;
  background: var(--red); color: #fff; display: grid; place-items: center; text-align: center;
  font-family: var(--font-display); text-transform: uppercase; line-height: 1; box-shadow: var(--shadow);
}
.about__stamp b { display: block; font-size: 2.4rem; font-weight: 800; }
.about__stamp span { font-size: .9rem; font-weight: 600; letter-spacing: .06em; }
.about__copy { display: grid; gap: 20px; }
.about__copy > p { color: var(--muted); font-size: 1.05rem; }
.timeline { display: grid; gap: 0; margin: 8px 0; }
.tl { display: grid; grid-template-columns: 82px 1fr; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
.tl:last-child { border-bottom: 1px solid var(--line); }
.tl b { font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; color: var(--red); line-height: 1; }
.tl p { color: var(--ink-3); font-size: .95rem; }
.values { display: flex; flex-wrap: wrap; gap: 8px; }
.values span { padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--ink); font-weight: 600; font-size: .86rem; transition: background-color .3s, color .3s; }
.values span:hover { background: var(--ink); color: #fff; }

/* ---------- Marcas ---------- */
.brands { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 56px 0; overflow: hidden; }
.brands h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); text-align: center; margin-bottom: 30px; }
.marquee { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee + .marquee { margin-top: 18px; }
.marquee__track { display: flex; flex: none; animation: marquee 90s linear infinite; will-change: transform; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.marquee--rev .marquee__track { animation-name: marqueeRev; animation-duration: 75s; }
@media (hover: hover) { .marquee:hover .marquee__track { animation-play-state: paused; } }
.marquee img { height: 46px; width: auto; max-width: none; padding-right: 0; }
@keyframes marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-100%, 0, 0); } }
@keyframes marqueeRev { from { transform: translate3d(-100%, 0, 0); } to { transform: translate3d(0, 0, 0); } }

/* ---------- Instagram ---------- */
.btn--ig { --bg-btn: linear-gradient(45deg, #f58529, #dd2a7b 50%, #8134af); --hover-bg: #c1306b; background: linear-gradient(45deg, #f58529, #dd2a7b 50%, #8134af); color: #fff; }
.ig-btn {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none;
  color: #fff; background: linear-gradient(45deg, #f58529, #dd2a7b 50%, #8134af);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.ig-btn svg { width: 22px; height: 22px; }
.ig-btn:hover { transform: translateY(-2px) rotate(-6deg); box-shadow: 0 10px 20px -8px rgba(221, 42, 123, .6); }
.topbar .topbar__ig { color: #fff; font-weight: 600; }
.ig-section { padding: 0 0 clamp(54px, 6.8vw, 90px); }
.ig-band {
  display: grid; grid-template-columns: 1.1fr 1fr auto; align-items: center; gap: clamp(20px, 3vw, 40px);
  padding: clamp(22px, 3vw, 32px); border-radius: 24px; background: #fff; border: 1px solid var(--line);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.ig-band:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ig-band__copy { display: flex; align-items: center; gap: 18px; }
.ig-band__icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; flex: none; color: #fff; background: linear-gradient(45deg, #f58529, #dd2a7b 50%, #8134af); }
.ig-band__icon svg { width: 32px; height: 32px; }
.ig-band__kicker { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #c1306b; }
.ig-band strong { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.05; }
.ig-band p { color: var(--muted); font-size: .92rem; }
.ig-band__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ig-band__tiles img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; transition: transform .5s var(--ease); }
.ig-band:hover .ig-band__tiles img:nth-child(2) { transform: translateY(-4px); }
.ig-band .btn::before { display: none; }

/* ---------- Pago y cotización ---------- */
.duo { display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px; align-items: stretch; }
.pay {
  background: var(--ink); color: #fff; border-radius: 22px; padding: clamp(28px, 4vw, 44px);
  display: flex; flex-direction: column; gap: 20px; position: relative; overflow: hidden;
}
.pay::after {
  content: ""; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%;
  border: 40px solid rgba(216, 20, 31, .25);
}
.pay .eyebrow { color: #ff5a62; }
.pay h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.pay p { color: rgba(255, 255, 255, .75); }
.steps { display: grid; gap: 14px; counter-reset: s; margin: 4px 0 8px; padding: 0; }
.steps li { list-style: none; display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; font-size: .95rem; color: rgba(255, 255, 255, .88); }
.steps li::before {
  counter-increment: s; content: counter(s);
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .1); font-weight: 700; font-size: .9rem;
}
.pay .btn { margin-top: auto; position: relative; z-index: 1; align-self: flex-start; }
.pay small { color: rgba(255, 255, 255, .5); font-size: .8rem; position: relative; z-index: 1; }

.quote { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(28px, 4vw, 44px); }
.quote h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); margin: 12px 0 10px; }
.quote > p { color: var(--muted); margin-bottom: 24px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: span 2; }
.field label { font-size: .84rem; font-weight: 600; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .96rem; color: var(--ink);
  padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg);
  transition: border-color .25s, background-color .25s, box-shadow .25s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #cfc9c1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(21, 23, 28, .07); }
.field.has-error input, .field.has-error textarea { border-color: var(--red); }
.form__actions { grid-column: span 2; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 6px; }
.form__note { grid-column: span 2; font-size: .84rem; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.form__note svg { width: 16px; height: 16px; color: var(--green); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .72); padding: 72px 0 0; font-size: .92rem; }
.footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer__brand img { height: 46px; width: auto; margin-bottom: 18px; }
.footer__brand p { max-width: 300px; }
.footer h4 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { transition: color .25s; }
.footer a:hover { color: #fff; }
.footer .phones li { display: flex; justify-content: space-between; gap: 10px; }
.footer .phones span { color: rgba(255, 255, 255, .5); }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid rgba(255, 255, 255, .2); transition: background-color .3s, border-color .3s, transform .35s var(--ease);
}
.socials a:hover { background: var(--red); border-color: var(--red); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer__store { margin-top: 18px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .84rem; color: rgba(255, 255, 255, .5); }
.footer__bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Flotantes ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 82px; z-index: 40;
  width: 60px; height: 60px; border-radius: 50%; background: #1fa855; color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(31, 168, 85, .7);
  border: 0; transition: transform .35s var(--ease), box-shadow .35s;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { transition: transform .35s var(--ease); }
.wa-float:hover svg { transform: rotate(-8deg); }
.wa-float::after {
  content: attr(data-label); position: absolute; right: 72px; top: 50%; margin-top: -17px; line-height: 18px; white-space: nowrap;
  background: var(--ink); color: #fff; font-size: .84rem; font-weight: 600; padding: 8px 14px; border-radius: 999px;
  opacity: 0; transform: translateX(8px); pointer-events: none; transition: opacity .3s, transform .35s var(--ease);
}
.wa-float:hover::after { opacity: 1; transform: none; }
.wa-float[aria-expanded="true"]::after { display: none; }
/* Selector de WhatsApp por sucursal */
.wa-panel {
  position: fixed; right: 22px; bottom: 156px; z-index: 60; width: min(360px, calc(100vw - 28px));
  background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(21, 23, 28, .06); overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(.98); transform-origin: bottom right;
  transition: opacity .25s, transform .35s var(--ease), visibility .25s;
}
.wa-panel.open { opacity: 1; visibility: visible; transform: none; }
.wa-panel__head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 14px; background: #1fa855; color: #fff; }
.wa-panel__logo { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .18); display: grid; place-items: center; flex: none; }
.wa-panel__logo svg { width: 22px; height: 22px; }
.wa-panel__head strong { display: block; font-size: 1rem; line-height: 1.2; }
.wa-panel__head small { display: block; font-size: .8rem; opacity: .9; }
.wa-panel__close { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; display: grid; place-items: center; flex: none; transition: background-color .25s; }
.wa-panel__close:hover { background: rgba(255, 255, 255, .3); }
.wa-panel__close svg { width: 18px; height: 18px; }
.wa-list { display: grid; padding: 8px; }
.wa-opt { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; transition: background-color .25s; }
.wa-opt:hover, .wa-opt:focus-visible { background: var(--bg); }
.wa-opt__ic { width: 40px; height: 40px; border-radius: 10px; background: var(--red-50); color: var(--red); display: grid; place-items: center; }
.wa-opt__ic svg { width: 20px; height: 20px; }
.wa-opt__txt strong { display: block; font-size: .95rem; line-height: 1.2; }
.wa-opt__txt small { display: block; font-size: .8rem; color: var(--muted); }
.wa-status { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; color: var(--muted); background: #f1efec; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.wa-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.wa-status.is-on { color: var(--green); background: #e5f6ec; }
.wa-status.is-on::before { animation: pulse 2s infinite; }
.wa-panel__note { padding: 0 16px 14px; font-size: .78rem; color: var(--muted); }
.mobile-bar { display: none; }

.toast {
  position: fixed; left: 50%; bottom: 96px; z-index: 120; transform: translate(-50%, 20px); opacity: 0;
  background: var(--ink); color: #fff; padding: 14px 20px; border-radius: 14px; box-shadow: var(--shadow-lg);
  font-size: .92rem; max-width: min(92vw, 460px); transition: opacity .3s, transform .4s var(--ease); pointer-events: none;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s; }
.modal.open { visibility: visible; opacity: 1; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(21, 23, 28, .6); backdrop-filter: blur(4px); }
.modal__box {
  position: relative; background: #fff; border-radius: 22px; width: min(640px, 100%); max-height: 90vh; overflow: auto;
  padding: clamp(24px, 4vw, 40px); transform: translateY(16px) scale(.98); transition: transform .45s var(--ease);
}
.modal.open .modal__box { transform: none; }
.modal__close { position: absolute; right: 16px; top: 16px; }
.modal__box--wide { width: min(760px, 100%); }
.job-form { margin-top: 18px; }
.job-form input[type=file] { padding: 11px; background: #fff; }
.robot {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--bg); max-width: 340px; transition: border-color .3s;
}
.robot.has-error { border-color: var(--red); }
.robot__box {
  width: 30px; height: 30px; border-radius: 6px; border: 2px solid #b9b3aa; background: #fff;
  display: grid; place-items: center; padding: 0; transition: border-color .25s, background-color .25s;
}
.robot__box:hover { border-color: var(--ink); }
.robot__check { display: grid; place-items: center; opacity: 0; transform: scale(.4); transition: opacity .3s, transform .4s var(--ease); color: var(--green); }
.robot__check svg { width: 22px; height: 22px; stroke-width: 3; }
.robot.is-loading .robot__box { border-color: transparent; border-top-color: var(--red); border-radius: 50%; animation: spin .8s linear infinite; }
.robot.is-ok .robot__box { border-color: var(--green); background: #e5f6ec; }
.robot.is-ok .robot__check { opacity: 1; transform: none; }
.robot__label { font-weight: 600; font-size: .95rem; }
.robot__brand { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-size: .72rem; color: var(--muted); }
.robot__brand svg { width: 16px; height: 16px; }
@keyframes spin { to { transform: rotate(360deg); } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--ink-3); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--red); flex: none; }
.modal h3 { font-size: 2rem; text-transform: uppercase; margin-bottom: 12px; padding-right: 40px; }
.modal p { color: var(--muted); margin-bottom: 12px; font-size: .95rem; }
.modal ul { color: var(--ink-3); font-size: .95rem; padding-left: 20px; margin: 0 0 16px; }

.lightbox { position: fixed; inset: 0; z-index: 95; background: rgba(10, 11, 14, .94); display: grid; place-items: center; visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s; }
.lightbox.open { visibility: visible; opacity: 1; }
.lightbox img { max-width: min(92vw, 1300px); max-height: 82vh; border-radius: 12px; object-fit: contain; }
.lightbox .icon-btn { position: absolute; background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .2); width: 48px; height: 48px; }
.lightbox .lb-close { top: 20px; right: 20px; }
.lightbox .lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: 24px; color: rgba(255, 255, 255, .7); font-size: .9rem; }

/* ---------- Animaciones de entrada ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: marquee 140s linear infinite !important; }
  .marquee--rev .marquee__track { animation: marqueeRev 120s linear infinite !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-toggle { display: grid; }
  .header__actions { margin-left: auto; }
  .header__actions .btn--ghost { display: none; }
  .branches { grid-template-columns: repeat(2, 1fr); }
  .spec { grid-template-columns: 1fr; }
  .spec__tabs { position: static; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .spec-tab { grid-template-columns: 40px 1fr; gap: 10px; padding: 10px 12px 10px 10px; min-width: 0; }
  .spec-tab strong { font-size: 1.08rem; }
  .spec-tab small { font-size: .76rem; }
  .spec-tab .ic { width: 40px; height: 40px; }
  .spec-tab .chev { display: none; }
  .spec-tab:hover { transform: none; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .ig-band { grid-template-columns: 1fr; }
  .ig-band .btn { justify-self: start; }
}
@media (max-width: 900px) {
  .hero .container, .store, .about, .duo, .fab-block__head { grid-template-columns: 1fr; }
  .hero__cards { max-width: 520px; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(15, 17, 21, .86), rgba(15, 17, 21, .8) 60%, rgba(15, 17, 21, .92)); }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .stat:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
  .panel-body { grid-template-columns: 1fr; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .section-head--split { grid-template-columns: 1fr; }
  .about__stamp { right: 10px; }
}
@media (max-width: 640px) {
  :root { --header-h: 66px; }
  body { padding-bottom: 76px; }
  .topbar__left .hide-sm, .topbar__right { display: none; }
  .brand img { height: 37px; }
  .header__actions .btn--primary span { display: none; }
  .header__actions .btn--primary { width: 46px; padding: 0; }
  .ig-btn { width: 42px; height: 42px; }
  .ig-band .btn { justify-self: stretch; }
  .hero__ctas .btn { flex: 1 1 100%; white-space: normal; text-align: center; line-height: 1.2; padding: 10px 14px; gap: 8px; font-size: .92rem; min-height: 52px; }
  .hero .container { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: 0; }
  .fab-photos { gap: 6px; }
  .fab-photos figure { border-radius: 10px; aspect-ratio: 1 / 1; }
  .fab-photos figcaption { left: 5px; bottom: 5px; padding: 3px 7px; font-size: .64rem; white-space: nowrap; max-width: calc(100% - 10px); overflow: hidden; text-overflow: ellipsis; }
  .sip-benefits { grid-template-columns: 1fr; }
  .sip-benefits > div { grid-template-columns: 40px 1fr; column-gap: 12px; align-items: center; }
  .sip-benefits .ic { grid-row: span 2; margin: 0; }
  .fab-ctas .btn { flex: 1 1 auto; }
  .store__grid { gap: 8px; }
  .cat-link { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; font-size: .88rem; line-height: 1.25; }
  .cat-link .go { display: none; }
  /* Ficha de tienda en celular: legible y ordenada */
  .panel-head { padding: 16px 16px 0; gap: 6px 12px; }
  .panel-head img.facade { width: 100px; }
  .panel-kicker { font-size: .7rem; letter-spacing: .1em; }
  .panel-head h3 { font-size: 1.45rem; }
  .panel-head .badge-status { font-size: .74rem; padding: 4px 10px; }
  .strip { padding: 10px 16px 0; gap: 6px; }
  .strip figure { aspect-ratio: 4 / 3; border-radius: 10px; }
  .panel-body { padding: 12px 16px 16px; gap: 12px; }
  .panel-intro { padding: 8px 16px 0; }
  .panel-intro .panel-desc { font-size: .9rem; line-height: 1.5; }
  .cat-groups { padding: 10px 10px; border-radius: 12px; }
  .cat-group h4 { font-size: .84rem; margin-bottom: 4px; }
  .cat-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 6px; }
  .cat-list li, .cat-list a { font-size: .72rem; letter-spacing: -.005em; gap: 6px; line-height: 1.35; padding: 2px 0; align-items: flex-start; }
  .cat-list li::before, .cat-list a::before { margin-top: .5em !important; }
  .cat-list li::before, .cat-list a::before { width: 5px; height: 5px; margin: 0 2px 0 1px; }
  .chips { gap: 6px; }
  .chip { padding: 3px 9px; font-size: .72rem; }
  .fab-tags { gap: 6px; }
  .fab-tags li { font-size: .74rem; padding: 4px 9px; gap: 5px; }
  .hero__tagline { margin-top: -8px; }
  .marquee img { height: 36px; padding-right: 0; }
  .marquee__track { animation-duration: 70s; }
  .marquee--rev .marquee__track { animation-duration: 60s; }
  .contact-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; }
  .contact-info { display: grid; gap: 8px; }
  .contact-info .contact-row { font-size: .82rem; grid-template-columns: 16px 1fr; gap: 8px; }
  .contact-info .contact-row svg { width: 15px; height: 15px; }
  .contact-info .contact-row a { white-space: normal; overflow-wrap: anywhere; }
  .contact-actions { display: grid; grid-template-columns: 1fr; gap: 6px; width: 146px; }
  .contact-actions .btn:nth-child(3):last-child { grid-column: auto; justify-content: flex-start; }
  .contact-actions .btn { min-height: 38px; font-size: .8rem; padding: 0 10px; justify-content: flex-start; }
  .panel-head .titles { flex: 1 1 0; }
  .panel-head .badge-status { order: 3; }
  .strip { gap: 6px; }
  .strip figure { border-radius: 10px; aspect-ratio: 1 / 1; }
  .strip .more { font-size: .68rem; padding: 4px 8px; right: 5px; bottom: 5px; }
  a.chip svg { display: none; }
  /* Sucursales y servicios de a dos en celular */
  .branches { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .branch { padding: 14px; gap: 6px; border-radius: 14px; }
  .branch__img { height: 78px; margin: -2px -2px 2px; }
  .branch__img img { max-height: 68px; }
  .branch__tag { font-size: .62rem; letter-spacing: .08em; }
  .branch h3 { font-size: 1.08rem; }
  .branch__addr { font-size: .78rem; }
  .branch__foot { padding-top: 10px; gap: 8px; }
  .branch .badge-status { font-size: .66rem; padding: 4px 8px; }
  .branch__links { gap: 4px; }
  .branch .icon-btn { width: 34px; height: 34px; }
  .branch .icon-btn svg { width: 15px; height: 15px; }
  .services { grid-template-columns: repeat(2, 1fr); column-gap: 16px; }
  .service { grid-template-columns: 1fr; padding: 20px 0; }
  .service .ic { grid-row: auto; width: 44px; height: 44px; margin-bottom: 10px; }
  .service .ic svg { width: 22px; height: 22px; }
  .service h3 { font-size: 1.18rem; }
  .service p { font-size: .88rem; }
  .form { grid-template-columns: 1fr; }
  .field--full, .form__actions, .form__note { grid-column: auto; }
  .form__actions .btn { flex: 1 1 100%; }
  .check { grid-column: auto; }
  .footer__top { grid-template-columns: 1fr; }
  .wa-float { bottom: calc(140px + env(safe-area-inset-bottom)); right: 14px; width: 54px; height: 54px; }
  .wa-float::after { display: none; }
  .wa-panel { right: 14px; left: 14px; width: auto; bottom: calc(204px + env(safe-area-inset-bottom)); }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 41;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  }
  .mobile-bar .btn { min-height: 50px; }
  .toast { bottom: calc(154px + env(safe-area-inset-bottom)); }
}

/* Celulares muy angostos: categorías en una línea */
@media (max-width: 380px) {
  .cat-groups { padding: 10px 8px; }
  .cat-list li, .cat-list a { font-size: .66rem; }
  .cat-list li::before, .cat-list a::before { width: 4px; height: 4px; }
}

/* Sucursales: teléfono / correo desplegable con copiar */
.icon-btn[aria-expanded="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.branch__reveal { display: grid; gap: 8px; margin-top: 4px; padding: 10px 12px; border-radius: 12px; background: var(--bg); animation: revealIn .3s var(--ease); }
.branch__reveal[hidden] { display: none; }
.branch__value { font-weight: 600; font-size: .92rem; color: var(--ink); word-break: break-all; user-select: all; }
.branch__acts { display: flex; gap: 6px; flex-wrap: wrap; }
.mini-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; font-size: .8rem; font-weight: 600; color: var(--ink);
  transition: background-color .25s, color .25s, border-color .25s;
}
.mini-btn svg { width: 14px; height: 14px; }
.mini-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.mini-btn.is-done { background: var(--green); border-color: var(--green); color: #fff; }
@keyframes revealIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
  .branch__reveal { padding: 8px; gap: 6px; }
  .branch__value { font-size: .76rem; }
  .mini-btn { padding: 5px 9px; font-size: .72rem; gap: 4px; }
  .mini-btn svg { width: 12px; height: 12px; }
}

/* Error visible bajo el campo */
.field-error { color: var(--red); font-size: .82rem; font-weight: 600; margin-top: 2px; }
.field-error[hidden] { display: none; }
.job-form textarea#j-about { min-height: 190px; }
.field-foot { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.counter { margin-left: auto; font-size: .78rem; color: var(--muted); white-space: nowrap; }
.counter.is-near { color: var(--red); font-weight: 600; }
.quote-done { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; font-size: .92rem; animation: revealIn .3s var(--ease); }
.quote-done[hidden] { display: none; }
.quote-done svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.quote-done.is-ok { background: #e5f6ec; color: #0f6b36; }
.quote-done.is-err { background: var(--red-50); color: var(--red-600); }
button[disabled] { opacity: .7; cursor: wait; }
