/* Suministros Guipak — hoja de estilo del sitio. Tokens primero; todo lo demás los usa. */
:root {
  --brand: #2CACE4;
  --brand-700: #0C74B4;
  --brand-900: #0B3A5C;
  --ink: #0F2233;
  --ink-2: #3E5468;
  --ink-3: #556A7E;
  --line: #E3EAF0;
  --bg: #FFFFFF;
  --bg-2: #F4F8FB;
  --bg-3: #E9F3F9;
  --accent: #F2B705;
  --paper: #FBF9F3;
  --wa: #0F7A40;
  --wa-700: #0B5E31;
  --ok: #15803D;
  --radius: 8px;
  --radius-sm: 5px;
  --shadow: 0 1px 2px rgba(15,34,51,.06), 0 8px 24px -12px rgba(15,34,51,.18);
  --shadow-lg: 0 20px 50px -20px rgba(11,58,92,.35);
  --max: 1200px;
  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Bricolage Grotesque", "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-700); text-decoration: none; }
a:hover { text-decoration: underline; }
p a:not(.btn), li a:not(.btn):not(.chip), dd a { text-decoration: underline; text-underline-offset: .15em; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.05; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.025em; text-wrap: balance; font-optical-sizing: auto; }
code, .code, .mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
h1 { font-size: clamp(2.1rem, 1.3rem + 3vw, 3.6rem); }
h2 { font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.muted { color: var(--ink-3); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.section { padding: 56px 0; }
.section--tight { padding: 32px 0; }
.section--alt { background: var(--bg-2); }
.eyebrow { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 600; color: var(--brand-700); margin-bottom: .7em; }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 62ch; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Botones */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .72em 1.25em; border-radius: var(--radius-sm); font-weight: 600; font-size: .95rem; border: 1.5px solid transparent; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .12s ease; white-space: nowrap; line-height: 1.2; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--brand-700); color: #fff; }
.btn--primary:hover { background: var(--brand-900); }
.btn--ghost { background: transparent; color: var(--brand-700); border-color: var(--brand-700); }
.btn--ghost:hover { background: var(--bg-3); }
.btn--light { background: #fff; color: var(--brand-900); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-700); }
.btn--sm { padding: .5em .9em; font-size: .85rem; }
.btn--lg { padding: .9em 1.5em; font-size: 1.02rem; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

/* Cabecera */
.topbar { background: var(--brand-900); color: #CFE6F5; font-size: .82rem; }
.topbar .wrap { display: flex; gap: 18px; align-items: center; justify-content: space-between; min-height: 34px; }
.topbar a { color: #fff; text-decoration: underline; text-underline-offset: .15em; }
.topbar .tb-group a { text-decoration: none; }
.topbar .only-wide { display: none; }
.topbar .tb-group { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; }
.topbar .tb-group > .only-wide { color: #9CC3DC; margin-right: 2px; }
.topbar .tb-group a { font-weight: 600; }
.topbar .tb-key { display: inline-flex; align-items: center; gap: .35em; font-weight: 600; }
.topbar .tb-key svg { width: .95em; height: .95em; }
@media (max-width: 599px) { .topbar .wrap > span:first-child { display: none; } .topbar .wrap { justify-content: center; } }
.header-wrap { position: sticky; top: 0; z-index: 50; }
.header { position: relative; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 14px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--brand-900); font-size: 1.15rem; letter-spacing: -.02em; }
.logo img { height: 56px; width: auto; }
.logo:hover { text-decoration: none; }
.nav { display: none; gap: 4px; margin-left: 8px; }
.nav a { padding: .5em .8em; border-radius: 8px; color: var(--ink-2); font-weight: 600; font-size: .93rem; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--bg-3); color: var(--brand-900); text-decoration: none; }
.header-search { flex: 1; display: flex; }
.header-search form { position: relative; width: 100%; max-width: 420px; margin-left: auto; }
.header-search input { width: 100%; padding: .62em 1em .62em 2.5em; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font: inherit; font-size: .93rem; background: var(--bg-2); }
.header-search input:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(44,172,228,.18); }
.header-search svg { position: absolute; left: .9em; top: 50%; transform: translateY(-50%); width: 1.05em; height: 1.05em; color: var(--ink-3); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.lista-btn { position: relative; }
.lista-btn .badge { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #1a1a1a; font-size: .72rem; font-weight: 800; display: none; align-items: center; justify-content: center; }
.lista-btn.has-items .badge { display: inline-flex; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: .8em 16px; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.mobile-nav form { padding: 12px 16px; }
.mobile-nav input { width: 100%; padding: .7em 1em; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; }
@media (min-width: 900px) {
  .nav { display: flex; }
  .menu-btn { display: none; }
  .topbar .only-wide { display: inline; }
}

/* Hero */
.hero { background: var(--bg); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; gap: 32px; padding-top: 44px; padding-bottom: 52px; align-items: start; }
.hero h1 { color: var(--brand-900); margin-bottom: .4em; }
.hero h1 em { font-style: normal; color: var(--brand-700); }
.hero-proof { font-size: .9rem; color: var(--ink-3); margin: 0; max-width: 52ch; }
.hero-mosaic { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; align-self: center; }
.hero-mosaic a { position: relative; display: block; aspect-ratio: 1; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease; }
.hero-mosaic a:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); text-decoration: none; }
.hero-mosaic img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.hero-mosaic span { position: absolute; left: 10px; bottom: 10px; font-family: var(--font-mono); font-size: .68rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); background: rgba(255,255,255,.94); border: 1px solid var(--line); padding: .25em .55em; border-radius: 3px; }
.hero .lead { margin-bottom: 1.4em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); }
.stat b { display: block; font-size: 1.6rem; color: var(--brand-900); letter-spacing: -.02em; line-height: 1.1; }
.stat span { color: var(--ink-3); font-size: .85rem; }
.hero-tile { border-radius: var(--radius); padding: 18px 16px; color: #fff; min-height: 128px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: var(--shadow-lg); transition: transform .15s ease; }
.hero-tile:hover { transform: translateY(-3px); text-decoration: none; }
.hero-tile svg { width: 34px; height: 34px; opacity: .95; }
.hero-tile b { font-size: 1rem; line-height: 1.2; }
.hero-tile small { opacity: .85; font-size: .8rem; }
@media (min-width: 900px) {
  .hero .wrap { padding-top: 56px; padding-bottom: 56px; }
  .hero h1 { font-size: clamp(2.6rem, 1.6rem + 4vw, 4.6rem); max-width: 15ch; }
  .hero .lead { font-size: 1.22rem; max-width: 60ch; }
}

/* Franjas compactas: categorías y sectores */
.strip { border-bottom: 1px solid var(--line); background: var(--bg); }
.strip--alt { background: var(--bg-2); }
.strip .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding-top: 14px; padding-bottom: 14px; }
.strip-label { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; font-weight: 600; color: var(--ink-3); flex: none; }
.icon-strip { display: flex; flex-wrap: wrap; gap: 8px; }
.strip-item { display: inline-flex; align-items: center; gap: 8px; padding: .45em .85em; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink); font-weight: 600; font-size: .88rem; line-height: 1.2; font-family: var(--font); cursor: pointer; }
.strip-item svg { width: 18px; height: 18px; color: var(--c, var(--brand-700)); flex: none; }
.strip-item:hover { border-color: var(--brand); color: var(--brand-900); text-decoration: none; }
.strip-item--cta { background: var(--brand-700); color: #fff; border-color: var(--brand-700); }
.strip-item--cta:hover { background: var(--brand-900); color: #fff; }
.badge.bump { animation: bump .35s ease; }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }

/* Sectores */
.sector-grid { display: grid; gap: 14px; }
.sector-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; }
.sector-card .ico { width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--bg-3); color: var(--brand-700); display: grid; place-items: center; }
.sector-card .ico svg { width: 24px; height: 24px; }
.sector-card h2, .sector-card h3 { font-size: 1.2rem; margin: 4px 0 0; }
.sector-card h2 a, .sector-card h3 a { color: var(--ink); }
.sector-card p { margin: 0; color: var(--ink-2); font-size: .93rem; flex: 1; }
.sector-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
@media (min-width: 640px) { .sector-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .sector-grid { grid-template-columns: repeat(3, 1fr); } }
.sector-hero { display: grid; gap: 16px; padding: 10px 0 28px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.sector-hero .ico { width: 64px; height: 64px; border-radius: var(--radius); background: var(--bg-3); color: var(--brand-700); display: grid; place-items: center; }
.sector-hero .ico svg { width: 34px; height: 34px; }
.sector-hero .hero-cta { margin-bottom: 0; }
@media (min-width: 760px) { .sector-hero { grid-template-columns: 64px 1fr; } }

/* Respaldo corporativo + muro de marcas */
.respaldo { display: grid; gap: 16px; }
.respaldo-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0 0; border-top: 2px solid var(--ink); }
.respaldo-item svg { width: 28px; height: 28px; color: var(--brand-700); flex: none; }
.respaldo-item b { display: block; font-family: var(--font-display); font-size: 1.1rem; letter-spacing: -.01em; margin-bottom: 4px; }
.respaldo-item p { margin: 0; color: var(--ink-2); font-size: .92rem; }
@media (min-width: 760px) { .respaldo { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .respaldo { grid-template-columns: repeat(4, 1fr); } }
.logo-wall { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.logo-wall .brand-pill { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; padding: .55em 1.1em; color: var(--ink-2); display: inline-flex; align-items: center; gap: .4em; }
.logo-wall .brand-pill svg { width: 1em; height: 1em; }
.brand-logo { padding: .45em .9em; min-height: 56px; }
.brand-logo img { height: 34px; width: auto; min-width: 24px; max-width: 150px; object-fit: contain; display: block; }
.logo-wall--all .brand-logo img { height: 40px; max-width: 170px; }
.logo-wall--all .brand-logo { min-height: 64px; }

/* Modales */
.modal { position: fixed; inset: 0; z-index: 85; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(15,34,51,.5); }
.modal-card { position: relative; width: min(680px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); outline: none; }
.modal-card--sm { width: min(480px, 100%); }
.modal-body { padding: 18px; }
.modal-body .form label .opt { font-weight: 400; color: var(--ink-3); }
.form-error { color: #B91C1C; font-size: .9rem; margin: 0; }
.small { font-size: .85rem; }
body.modal-open { overflow: hidden; }

/* Prueba de confianza bajo el hero */
.trust { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.trust .wrap { display: grid; gap: 14px; padding-top: 18px; padding-bottom: 18px; }
.trust-item { display: flex; gap: 12px; align-items: center; color: var(--ink); }
.trust-item svg { width: 28px; height: 28px; color: var(--brand-700); flex: none; }
.trust-item b { display: block; font-weight: 700; font-size: .95rem; line-height: 1.25; }
.trust-item small { display: block; color: var(--ink-3); font-size: .82rem; }
@media (min-width: 900px) { .trust .wrap { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* Grillas de familias */
.fam-grid { display: grid; grid-template-columns: 1fr; border-top: 2px solid var(--ink); }
.fam-card { display: grid; grid-template-columns: 44px 1fr; gap: 4px 14px; align-items: start; padding: 16px 6px; border-bottom: 1px solid var(--line); color: var(--ink); transition: background .12s ease; }
.fam-card:hover { background: var(--bg-2); text-decoration: none; }
.fam-card:hover b { color: var(--brand-700); }
.fam-card .ico { width: 44px; height: 44px; border-radius: var(--radius-sm); display: grid; place-items: center; background: color-mix(in srgb, var(--c, var(--brand)) 14%, #fff); color: var(--c, var(--brand)); grid-row: span 2; }
.fam-card .ico svg { width: 26px; height: 26px; }
.fam-card b { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -.02em; line-height: 1.1; }
.fam-card .subs { color: var(--ink-2); font-size: .88rem; line-height: 1.45; grid-column: 2; }
@media (min-width: 760px) { .fam-grid { grid-template-columns: 1fr 1fr; column-gap: 40px; } }

/* Catálogo */
.cat-layout { display: grid; gap: 22px; }
.filters { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.filters h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin: 14px 0 8px; }
.filters h2:first-child { margin-top: 0; }
.filters label { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: .92rem; color: var(--ink-2); cursor: pointer; }
.filters input[type=checkbox], .filters input[type=radio] { accent-color: var(--brand-700); width: 16px; height: 16px; }
.filters .sub-list { padding-left: 10px; border-left: 2px solid var(--line); margin: 2px 0 6px 7px; display: none; }
.filters .fam-open .sub-list { display: block; }
.filters .brand-list { max-height: 240px; overflow: auto; padding-right: 4px; }
.filters .brand-list.collapsed { max-height: 120px; }
.filters-toggle { display: inline-flex; margin-bottom: 10px; }
.cat-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cat-toolbar .count { color: var(--ink-2); font-size: .93rem; }
.cat-toolbar select { padding: .5em .8em; border: 1.5px solid var(--line); border-radius: 8px; font: inherit; font-size: .9rem; background: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: .4em .85em; border-radius: var(--radius-sm); background: var(--bg-3); color: var(--brand-900); font-size: .85rem; font-weight: 600; border: 1px solid transparent; }
.chip:hover { border-color: var(--brand); text-decoration: none; }
.chip.is-active, .chip[aria-current="page"] { background: var(--brand-700); color: #fff; }
.chip .x { font-weight: 800; opacity: .7; }
.grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 560px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) {
  .cat-layout { grid-template-columns: 260px 1fr; align-items: start; }
  .filters { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow: auto; }
  .filters-toggle { display: none; }
  .filters.collapsed { display: block; }
}
@media (min-width: 1200px) { .grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 999px) { .filters.collapsed { display: none; } }

/* Tarjeta de producto */
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.card.is-hidden { display: none; }
.card .media { position: relative; aspect-ratio: 4 / 3; background: color-mix(in srgb, var(--c, var(--brand)) 9%, #fff); display: grid; place-items: center; color: var(--c, var(--brand)); }
.card .media img { width: 100%; height: 100%; object-fit: contain; padding: 10px; background: #fff; }
.card .media svg { width: 42%; height: 42%; max-width: 72px; opacity: .9; }
.card .tag { position: absolute; top: 8px; left: 8px; background: rgba(255,255,255,.95); color: var(--ink); font-family: var(--font-mono); font-size: .66rem; font-weight: 600; padding: .3em .55em; border-radius: 3px; text-transform: uppercase; letter-spacing: .06em; }
.card .tag.top { background: var(--accent); color: #1a1a1a; }
.card .body { padding: 12px 12px 10px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card .name { font-weight: 600; font-size: .93rem; line-height: 1.3; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .name:hover { text-decoration: none; color: var(--brand-700); }
.card .meta { font-size: .8rem; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 2px 5px; }
.card .meta b { color: var(--ink-2); font-weight: 600; }
.card .pres { color: var(--ink-2); }
.card .meta b::after { content: " ·"; color: var(--ink-3); font-weight: 400; }
@media (max-width: 559px) {
  .card { display: grid; grid-template-columns: 116px 1fr; }
  .card .media { aspect-ratio: 1; grid-row: span 2; border-right: 1px solid var(--line); }
  .card .actions { grid-column: 2; }
}
.card .price { font-weight: 700; color: var(--brand-900); margin-top: 2px; }
.card .actions { display: flex; gap: 6px; padding: 0 12px 12px; }
.card .actions .btn { flex: 1; justify-content: center; padding: .55em .6em; font-size: .8rem; }
.card .actions .btn.in-list { background: var(--ok); color: #fff; border-color: var(--ok); }
.card .wa-mini { flex: none; width: 38px; padding: 0; display: inline-grid; place-items: center; }

/* Ficha de producto */
.breadcrumb { font-size: .85rem; color: var(--ink-3); margin: 18px 0 8px; display: flex; flex-wrap: wrap; gap: 4px 6px; }
.breadcrumb a { color: var(--ink-2); }
.product { display: grid; gap: 24px; padding: 8px 0 48px; }
.product .media { aspect-ratio: 1 / 1; border-radius: var(--radius); background: color-mix(in srgb, var(--c, var(--brand)) 9%, #fff); display: grid; place-items: center; color: var(--c, var(--brand)); border: 1px solid var(--line); }
.product .media img { width: 100%; height: 100%; object-fit: contain; padding: 24px; background: #fff; border-radius: var(--radius); }
.product .media svg { width: 36%; height: 36%; }
.product h1 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); color: var(--ink); }
.product .code { font-family: var(--font-mono); font-size: .85rem; color: var(--ink-3); }
.specs { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 18px 0; padding: 16px; background: var(--bg-2); border-radius: var(--radius-sm); font-size: .95rem; }
.specs dt { color: var(--ink-3); margin: 0; }
.specs dd { margin: 0; font-weight: 600; color: var(--ink); }
.specs dd.mono { font-family: var(--font-mono); font-weight: 500; }
.product .cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 18px; }
.product .note { font-size: .88rem; color: var(--ink-3); border-left: 3px solid var(--brand); padding-left: 12px; }
@media (min-width: 860px) { .product { grid-template-columns: 420px 1fr; align-items: start; } }

/* Marca destacada */
.destacada { border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.destacada-head { display: grid; gap: 18px; margin-bottom: 22px; max-width: 70ch; }
.destacada .lead { max-width: 68ch; }

/* Marcas */
.brand-strip { display: flex; flex-wrap: wrap; gap: 8px; }
.brand-pill { padding: .45em .9em; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; font-weight: 600; color: var(--ink-2); font-size: .9rem; }
.brand-pill:hover { border-color: var(--brand); color: var(--brand-900); text-decoration: none; }
.brand-pill small { color: var(--ink-3); font-weight: 500; font-family: var(--font-mono); font-size: .75rem; }

/* Pasos / valor */
.steps { display: grid; gap: 14px; }
.step { padding: 18px 0 0; border-top: 2px solid var(--ink); }
.step .num { font-family: var(--font-mono); color: var(--brand-700); font-weight: 600; font-size: .8rem; margin-bottom: 8px; }
.step b { display: block; margin-bottom: 4px; font-family: var(--font-display); font-size: 1.15rem; letter-spacing: -.01em; }
.step p { margin: 0; color: var(--ink-2); font-size: .93rem; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps--4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .steps--4 { grid-template-columns: repeat(4, 1fr); } }

/* Grupo */
.group-grid { display: grid; gap: 14px; }
.group-card { padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.group-card b { display: block; font-size: 1.05rem; color: var(--brand-900); }
.group-card small { display: inline-block; color: var(--ink-3); margin-bottom: 6px; }
.group-card p { margin: 0 0 8px; font-size: .93rem; color: var(--ink-2); }
.group-card.is-me { border-color: var(--brand); background: var(--bg-3); }
@media (min-width: 700px) { .group-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .group-grid { grid-template-columns: repeat(3, 1fr); } }

/* CTA band */
.band { background: var(--brand-900); color: #fff; }
.band .wrap { display: grid; gap: 18px; padding-top: 44px; padding-bottom: 44px; align-items: center; }
.band h2 { color: #fff; margin-bottom: .3em; }
.band p { color: #D6EBF7; margin: 0; }
.band .btns { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 800px) { .band .wrap { grid-template-columns: 1fr auto; } }

/* Contacto */
.contact { display: grid; gap: 24px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.contact-card dl { display: grid; grid-template-columns: 24px 1fr; gap: 10px 12px; margin: 0; align-items: start; }
.contact-card dt { color: var(--brand-700); }
.contact-card dt svg { width: 22px; height: 22px; }
.contact-card dd { margin: 0; }
.form { display: grid; gap: 12px; }
.form label { display: grid; gap: 4px; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.form input, .form textarea, .form select { padding: .7em .9em; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; width: 100%; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(44,172,228,.18); }
.form textarea { min-height: 120px; resize: vertical; }
.form .row { display: grid; gap: 12px; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1.2fr; } }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; }
.map iframe { width: 100%; height: 100%; border: 0; }

/* Lista de cotización */
.lista-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.lista-table th, .lista-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.lista-table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.lista-table input[type=number] { width: 72px; padding: .4em .5em; border: 1.5px solid var(--line); border-radius: 8px; font: inherit; }
.lista-table .rm { background: none; border: 0; color: #B91C1C; cursor: pointer; font-weight: 700; }
.lista-empty { padding: 36px; text-align: center; color: var(--ink-3); border: 2px dashed var(--line); border-radius: var(--radius); }

/* Pie */
.footer { background: var(--ink); color: #B9C8D5; padding: 44px 0 24px; margin-top: 40px; font-size: .9rem; }
.footer a { color: #E6EEF5; }
.footer .cols { display: grid; gap: 24px; margin-bottom: 28px; }
.footer .ftitle { color: #fff; font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .8em; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer .legal { border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; font-size: .8rem; color: #A9BBCB; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; }
@media (min-width: 760px) { .footer .cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(18,140,74,.6); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { background: var(--wa-700); }

/* Panel deslizable: mi cotización */
.drawer { position: fixed; inset: 0; z-index: 80; }
.drawer[hidden] { display: none; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(15,34,51,.45); }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: #fff; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; animation: drawer-in .22s ease; outline: none; }
@keyframes drawer-in { from { transform: translateX(28px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .drawer-panel { animation: none; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.25rem; margin: 0; }
.drawer-close { width: 38px; height: 38px; border-radius: 8px; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.drawer-close svg { width: 20px; height: 20px; }
.drawer-body { flex: 1; overflow: auto; padding: 10px 18px; }
.drawer-body .lista-table { font-size: .88rem; }
.drawer-body .lista-empty { padding: 28px 16px; margin-top: 10px; }
.drawer-foot { padding: 14px 18px 18px; border-top: 1px solid var(--line); display: grid; gap: 8px; background: var(--bg-2); }
.drawer-foot .btn { justify-content: center; }
.drawer-foot .row { display: flex; gap: 8px; }
.drawer-foot .row .btn { flex: 1; }
.drawer-note { font-size: .8rem; color: var(--ink-3); margin: 2px 0 0; text-align: center; }
body.drawer-open { overflow: hidden; }
.lista-table .item small { display: block; font-family: var(--font-mono); font-size: .72rem; color: var(--ink-3); }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 84px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: .7em 1.1em; border-radius: var(--radius); font-size: .9rem; opacity: 0; pointer-events: none; transition: all .2s ease; z-index: 70; display: flex; align-items: center; gap: 14px; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast button { background: none; border: 0; color: var(--accent); font: inherit; font-weight: 700; cursor: pointer; padding: 0; white-space: nowrap; }

/* Tabla de texto plano (nosotros, datos) */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; font-size: .95rem; }
.kv code { background: var(--bg-2); padding: .1em .4em; border-radius: 4px; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.timeline li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; }
.timeline b { color: var(--brand-700); }
