
:root {
  --bg: #ffffff;
  --bg-2: #f6f5f3;
  --panel-border: #e2e0dc;
  --ink: #17181a;
  --ink-soft: #55585c;
  --ink-faint: #8a8d90;
  --red: #d72638;
  --red-dark: #a91c2a;
  --red-tint: #fbeaec;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: 0.005em;
  margin: 0;
  color: var(--ink);
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.eyebrow { color: var(--red); font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1rem; }

/* NAV */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--panel-border);
  padding-top: env(safe-area-inset-top, 0px);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 14px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.nav-logo img { height: 36px; width: auto; }
nav.links { display: flex; gap: 30px; }
nav.links a {
  font-family: 'Barlow Condensed', sans-serif; font-size: 1.08rem; font-weight: 600;
  text-decoration: none; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.03em;
  border-bottom: 2px solid transparent; padding-bottom: 3px; transition: color 0.15s, border-color 0.15s;
}
nav.links a:hover { color: var(--ink); border-color: var(--red); }
.nav-cta {
  background: var(--red); color: #fff; padding: 10px 20px;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.02rem;
  text-decoration: none; text-transform: uppercase; letter-spacing: 0.02em; white-space: nowrap;
}
.nav-cta:hover { background: var(--red-dark); }
.burger { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; background: none; border: 1px solid var(--panel-border); width: 44px; height: 44px; cursor: pointer; padding: 0; margin-left: 12px; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform 0.2s, opacity 0.2s; }
header.nav.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
header.nav.menu-open .burger span:nth-child(2) { opacity: 0; }
header.nav.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* HERO */
.hero { padding: 72px 0 0; border-bottom: 1px solid var(--panel-border); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.hero-eyebrow .dash { width: 34px; height: 2px; background: var(--red); }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.2rem); line-height: 0.98; letter-spacing: 0; }
.hero h1 .thin { color: var(--ink-faint); font-weight: 600; }
.hero p.lead { color: var(--ink-soft); font-size: 1.12rem; max-width: 48ch; margin-top: 20px; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 14px 26px; font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 1.08rem; text-transform: uppercase; letter-spacing: 0.02em;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }

.hero-visual {
  aspect-ratio: 4/3.4; background: var(--bg-2); border: 1px solid var(--panel-border);
  display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
}
.hero-visual svg { width: 78%; height: 78%; }
.hero-visual.has-photo { background: none; border: none; display: block; aspect-ratio: 4 / 5; width: min(100%, 440px); justify-self: end; }
.hero-visual.has-photo img.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--panel-border); margin-top: 56px;
}
.hero-stats > div { padding: 22px 4px; border-right: 1px solid var(--panel-border); }
.hero-stats > div:last-child { border-right: none; }
.hero-stats .num { font-family: 'Barlow Condensed', sans-serif; font-size: 2.4rem; font-weight: 700; color: var(--red); line-height: 1; }
.hero-stats .lbl { color: var(--ink-soft); font-size: 0.9rem; margin-top: 6px; }

/* SECTION GENERIC */
section { padding: 92px 0; border-bottom: 1px solid var(--panel-border); }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 2.9rem); max-width: 22ch; margin-top: 8px; }
.section-head p { color: var(--ink-soft); max-width: 62ch; margin-top: 14px; font-size: 1.03rem; }

/* NOSOTROS */
#nosotros .grid2 { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: start; }
#nosotros .copy p { color: var(--ink-soft); margin-bottom: 16px; font-size: 1.03rem; }
.timeline { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--panel-border); }
.timeline .row { display: grid; grid-template-columns: 90px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--panel-border); }
.timeline .row .yr { font-family: 'Barlow Condensed', sans-serif; color: var(--red); font-size: 1.5rem; font-weight: 700; }
.timeline .row p { color: var(--ink-soft); margin: 0; font-size: 0.96rem; }

.lines-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.lines-strip .card { background: var(--bg); border: 1px solid var(--panel-border); padding: 26px 24px; }
.lines-strip .card .ic { width: 40px; height: 40px; margin-bottom: 14px; }
.lines-strip .card h3 { font-size: 1.5rem; }
.lines-strip .card p { color: var(--ink-soft); font-size: 0.93rem; margin-top: 8px; }

/* CATALOGO - category grid */
#catalogo { background: var(--bg-2); }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--panel-border); border: 1px solid var(--panel-border); margin-top: 40px; }
.cat-cell {
  background: var(--bg); padding: 26px 20px; cursor: pointer; text-align: left;
  border: none; font-family: inherit; display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
  transition: background 0.15s;
}
.cat-cell:hover, .cat-cell.active { background: var(--red-tint); }
.cat-cell .ic { width: 34px; height: 34px; color: var(--red); }
.cat-cell .t { font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.01em; }
.cat-cell .n { color: var(--ink-faint); font-size: 0.85rem; }

.cat-panel { display: none; margin-top: 36px; }
.cat-panel.active { display: block; }

.cat-controls { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.cat-search {
  flex: 1; min-width: 220px; background: var(--bg); border: 1px solid var(--panel-border);
  color: var(--ink); padding: 13px 14px; font-family: 'Inter', sans-serif; font-size: 0.98rem;
}
.cat-search:focus { outline: none; border-color: var(--red); }
.cat-count { color: var(--ink-faint); font-size: 0.86rem; align-self: center; white-space: nowrap; }

.acc-table-wrap { overflow-x: auto; border: 1px solid var(--panel-border); background: var(--bg); }
.acc-group { border: 1px solid var(--panel-border); border-top: none; }
.acc-group:first-child { border-top: 1px solid var(--panel-border); }
.acc-group-head {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  background: var(--bg); border: none; cursor: pointer; padding: 16px 18px;
  font-family: 'Barlow Condensed', sans-serif; font-size: 1.15rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.01em; color: var(--ink);
}
.acc-group-head:hover { background: var(--red-tint); }
.acc-group-head .cnt { color: var(--ink-faint); font-family: 'Inter', sans-serif; font-size: 0.85rem; font-weight: 500; text-transform: none; letter-spacing: 0; margin-left: auto; margin-right: 16px; }
.acc-group-head .arrow { transition: transform 0.15s; font-size: 1.1rem; color: var(--red); }
.acc-group-head.open .arrow { transform: rotate(180deg); }
.acc-group-body { display: none; border-top: 1px solid var(--panel-border); overflow-x: auto; }
.acc-group-body.open { display: block; }

table.acc-table { width: 100%; border-collapse: collapse; min-width: 560px; }
table.acc-table th {
  text-align: left; font-family: 'Barlow Condensed', sans-serif; text-transform: uppercase;
  font-size: 0.84rem; letter-spacing: 0.03em; color: var(--ink-soft);
  padding: 13px 16px; border-bottom: 1px solid var(--panel-border); background: var(--bg-2);
}
table.acc-table td { padding: 12px 16px; border-bottom: 1px solid var(--panel-border); font-size: 0.92rem; }
table.acc-table tr:hover td { background: var(--red-tint); }
table.acc-table td.code { color: var(--ink-faint); font-size: 0.8rem; white-space: nowrap; }
table.acc-table td.price { text-align: right; font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 1.02rem; white-space: nowrap; }
table.acc-table td.price .cur { color: var(--ink-faint); font-size: 0.72rem; margin-right: 3px; }

.perfil-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1px; background: var(--panel-border); border: 1px solid var(--panel-border); }
.perfil-card { background: var(--bg); padding: 16px 18px; }
.perfil-card .n { font-family: 'Barlow Condensed', sans-serif; color: var(--red); font-weight: 700; font-size: 1.2rem; }
.perfil-card .d { color: var(--ink); font-size: 0.92rem; margin-top: 4px; }
.perfil-card .w { color: var(--ink-faint); font-size: 0.82rem; margin-top: 6px; }

.perfil-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1px; background: var(--panel-border); border: 1px solid var(--panel-border); }
.perfil-card2 { background: var(--bg); padding: 18px; display: flex; flex-direction: column; }
.perfil-card2 .thumb { height: 140px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.perfil-card2 .thumb img { max-height: 100%; max-width: 100%; }
.perfil-card2 .n { font-family: 'Barlow Condensed', sans-serif; color: var(--red); font-weight: 700; font-size: 1.15rem; }
.perfil-card2 .d { font-size: 0.9rem; margin-top: 2px; min-height: 2.4em; }
.perfil-card2 .w { color: var(--ink-faint); font-size: 0.8rem; margin-top: 4px; margin-bottom: 12px; }




.cat-note { margin-top: 26px; padding: 16px 18px; border: 1px dashed #c7c4bd; color: var(--ink-soft); font-size: 0.92rem; background: var(--bg); }
.back-link { display: inline-block; margin-bottom: 22px; font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 1rem; color: var(--ink-soft); cursor: pointer; text-transform: uppercase; letter-spacing: 0.02em; }
.back-link:hover { color: var(--red); }

/* ENVIOS */
.envios-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.envio-card { border: 1px solid var(--panel-border); padding: 32px 26px; }

/* Nuestro trabajo — placeholders de foto/video */
.trabajo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.media-placeholder {
  aspect-ratio: 4/3; border: 1.5px dashed var(--panel-border); background: var(--bg-2);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: var(--ink-faint); text-align: center; padding: 20px;
}
.media-placeholder .ic { font-size: 2rem; }
.media-placeholder .lbl { font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 1.05rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.01em; }
.media-placeholder .sub { font-size: 0.85rem; max-width: 22ch; }
.media-placeholder.filled { border-style: solid; }
.media-placeholder.filled img, .media-placeholder.filled video { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .trabajo-grid { grid-template-columns: 1fr; } }
.envio-card .ico { color: var(--red); font-family: 'Barlow Condensed', sans-serif; font-size: 2.2rem; font-weight: 800; }
.envio-card h3 { font-size: 1.45rem; margin-top: 12px; }
.envio-card p { color: var(--ink-soft); font-size: 0.95rem; margin-top: 8px; }

/* CONTACTO */
#contacto .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-list { display: flex; flex-direction: column; gap: 0; margin-top: 30px; border-top: 1px solid var(--panel-border); }
.contact-list .item { padding: 18px 0; border-bottom: 1px solid var(--panel-border); }
.contact-list .item .lbl { color: var(--ink-faint); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; font-family: 'Barlow Condensed', sans-serif; }
.contact-list .item .val { font-size: 1.15rem; margin-top: 3px; }
.wa-btn {
  display: inline-flex; align-items: center; gap: 10px; background: var(--red); color: #fff; text-decoration: none;
  padding: 17px 28px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.02em; margin-top: 10px;
}
.wa-btn:hover { background: var(--red-dark); }
.contact-form { display: flex; flex-direction: column; gap: 15px; }
.contact-form input, .contact-form textarea {
  background: var(--bg-2); border: 1px solid var(--panel-border); color: var(--ink);
  padding: 13px 14px; font-family: 'Inter', sans-serif; font-size: 0.96rem; width: 100%;
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--red); background: var(--bg); }
.form-note { margin: 0; color: var(--ink-faint); font-size: 0.85rem; }
.form-note.ok { color: var(--ink-soft); }
.form-note.err { color: var(--red); }
.contact-form label { font-size: 0.85rem; color: var(--ink-soft); }

footer { padding: 36px 0 calc(36px + env(safe-area-inset-bottom, 0px)); color: var(--ink-faint); font-size: 0.85rem; background: var(--bg-2); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-inner img { height: 24px; }

header.nav { transition: transform 0.28s ease; will-change: transform; }
header.nav.nav-hidden { transform: translateY(-100%); }

/* HERO con foto de fondo (estilo header de marca) */
.hero-cover { position: relative; padding: 0; min-height: clamp(560px, 84vh, 760px); display: flex; align-items: center; justify-content: center; overflow: hidden; border-bottom: none; color: #fff; text-align: center; background: #17181a; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.05); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,16,18,0.50) 0%, rgba(15,16,18,0.70) 100%); }
.hero-center { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; align-items: center; }
.hero-cover .hero-eyebrow { justify-content: center; margin-bottom: 4px; }
.hero-cover .eyebrow { color: #fff; letter-spacing: 0.08em; }
.hero-logo-big { width: min(560px, 80vw); height: auto; margin: 22px 0 26px; }
.hero-cover h1 { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.12; max-width: 26ch; }
.hero-cover p.lead { color: rgba(255,255,255,0.86); margin: 16px auto 0; max-width: 56ch; }
.hero-cover .hero-actions { justify-content: center; }
.hero-cover .btn-outline { color: #fff; border-color: #fff; }
.hero-cover .btn-outline:hover { background: #fff; color: var(--ink); }
.stats-band { border-bottom: 1px solid var(--panel-border); }
.stats-band .hero-stats { margin-top: 0; border-top: none; }

/* REDES: franja oscura */
.social-band { background: #17181a; color: #fff; padding: 64px 0; border-bottom: none; }
.social-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.social-text h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.1; margin-top: 4px; }
.social-text p { color: rgba(255,255,255,0.78); margin: 12px 0 0; max-width: 46ch; }
.social-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.social-btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.social-ig { background: var(--red); border: 1px solid var(--red); color: #fff; }
.social-fb { background: transparent; border: 1px solid #fff; color: #fff; }
.social-fb:hover { background: #fff; color: #17181a; }
.social-btn span { white-space: nowrap; }
@media (min-width: 901px) { .social-actions { flex-direction: column; align-items: stretch; min-width: 300px; } }

/* CTA de WhatsApp (Contacto): botón de contorno */
.wa-outline { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; }
.wa-btn { display: inline-flex; align-items: center; gap: 10px; }

/* DEPÓSITO: grilla de fotos */
.gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin-top: 40px; }
.g-item { display: block; padding: 0; border: 0; background: var(--bg-2); overflow: hidden; cursor: zoom-in; }
.g-item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.g-item:hover img { transform: scale(1.03); }
.g-item.p { grid-column: span 2; aspect-ratio: 3 / 4; }
.g-item.l { grid-column: span 3; aspect-ratio: 4 / 3; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(15,16,18,0.93); display: none; flex-direction: column; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 94vw; max-height: 90vh; object-fit: contain; }
.lightbox .lb-close { position: absolute; top: 14px; right: 18px; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,0.5); background: none; color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }

.social-band { position: relative; overflow: hidden; }
.social-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.06); }
.social-shade { position: absolute; inset: 0; background: rgba(15,16,18,0.70); }
.social-inner { position: relative; z-index: 1; }
/* LINKS DE CONTACTO */
.contact-list .val a { color: var(--red); text-decoration: none; }
.contact-list .val a:hover { text-decoration: underline; }
.contact-list .val .muted { color: var(--ink-faint); font-size: 0.9rem; }
/* COLORES */
.colors-note { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 18px; color: var(--ink-soft); font-size: 0.95rem; }
.colors-note .sw { width: 16px; height: 16px; border: 1px solid var(--ink); display: inline-block; }
.colors-note .sw-white { background: #fff; } .colors-note .sw-black { background: #17181a; }
.colors-note strong { color: var(--ink); font-weight: 600; margin-right: 8px; }
/* BUSCADOR DE PERFILES */
.pf-search { margin-top: 28px; border: 1px solid var(--panel-border); background: var(--bg); padding: 26px 28px; }
.pf-search h3 { font-size: 1.7rem; }
.pf-sub { color: var(--ink-soft); margin: 4px 0 16px; }
.pf-box { position: relative; max-width: 560px; }
.pf-box svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-faint); pointer-events: none; }
.pf-box input { width: 100%; padding: 14px 14px 14px 44px; border: 1px solid var(--ink); background: var(--bg); font: inherit; font-size: 1rem; color: var(--ink); border-radius: 0; }
.pf-box input:focus { outline: 2px solid var(--red); outline-offset: 1px; }
.pf-hints { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; color: var(--ink-faint); font-size: 0.9rem; }
.pf-hints button { border: 1px solid var(--panel-border); background: var(--bg-2); padding: 6px 12px; cursor: pointer; font: inherit; font-size: 0.9rem; color: var(--ink); border-radius: 0; }
.pf-hints button:hover { border-color: var(--red); color: var(--red); }
.pf-results { list-style: none; margin: 14px 0 0; padding: 0; max-width: 780px; }
.pf-results:empty { margin: 0; }
.pf-row { display: flex; align-items: center; gap: 14px; padding: 12px 6px; border-top: 1px solid var(--panel-border); text-decoration: none; color: var(--ink); }
.pf-row:hover { background: var(--bg-2); }
.pf-code { flex: 0 0 64px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.45rem; line-height: 1; }
.pf-name { flex: 1; min-width: 0; }
.pf-line { flex: 0 0 auto; font-family: 'Barlow Condensed', sans-serif; font-weight: 600; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.04em; color: var(--ink-faint); }
.pf-page { flex: 0 0 auto; color: var(--red); font-family: 'Barlow Condensed', sans-serif; font-weight: 700; text-transform: uppercase; white-space: nowrap; }
.pf-msg { color: var(--ink-soft); font-size: 0.95rem; padding: 12px 6px; border-top: 1px solid var(--panel-border); }
.pf-msg a { color: var(--red); }
/* PREGUNTAS FRECUENTES */
.faq-list { margin-top: 36px; max-width: 820px; border-top: 1px solid var(--panel-border); }
.faq-list details { border-bottom: 1px solid var(--panel-border); }
.faq-list summary { cursor: pointer; list-style: none; padding: 20px 4px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 1.4rem; color: var(--ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; color: var(--red); font-size: 1.7rem; font-weight: 500; line-height: 1; }
.faq-list details[open] summary::after { content: '–'; }
.faq-list details p { margin: 0 0 22px; padding: 0 4px; color: var(--ink-soft); max-width: 64ch; }

/* CÓMO PEDIR */
.steps-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 64px; align-items: center; margin-top: 44px; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: flex; gap: 18px; padding: 20px 0; border-top: 1px solid var(--panel-border); }
.steps li:last-child { border-bottom: 1px solid var(--panel-border); }
.steps .n { flex: 0 0 46px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.8rem; color: var(--red); line-height: 1; padding-top: 3px; }
.steps h3 { font-size: 1.35rem; margin-bottom: 2px; }
.steps p { margin: 0; color: var(--ink-soft); max-width: 54ch; font-size: 0.97rem; }
.steps-cta { margin-top: 28px; }
.chat-fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.chat-fig figcaption { color: var(--ink-faint); font-size: 0.88rem; text-align: center; }
.phone { width: 100%; max-width: 350px; border: 9px solid #17181a; border-radius: 36px; overflow: hidden; background: #efeae2; box-shadow: 0 26px 54px rgba(23,24,26,0.18); font-family: -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; }
.ph-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #f6f6f6; border-bottom: 1px solid #e2e2e2; }
.ph-back { font-size: 1.9rem; line-height: 0.8; color: #2b7de9; margin-right: -2px; }
.ph-avatar { width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 1px solid #e2e2e2; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.ph-avatar img { width: 22px; height: 22px; }
.ph-name { font-weight: 600; font-size: 0.98rem; color: #111; }
.ph-body { padding: 14px 12px 12px; display: flex; flex-direction: column; gap: 7px; }
.ph-day { align-self: center; background: #fff; color: #667781; font-size: 0.7rem; letter-spacing: 0.04em; padding: 4px 10px; border-radius: 8px; box-shadow: 0 1px 1px rgba(0,0,0,0.07); margin-bottom: 2px; }
.msg { max-width: 88%; padding: 8px 10px 5px; border-radius: 10px; font-size: 0.86rem; line-height: 1.38; color: #111; box-shadow: 0 1px 1px rgba(0,0,0,0.08); white-space: pre-line; }
.msg.out { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 2px; }
.msg.in { align-self: flex-start; background: #fff; border-top-left-radius: 2px; }
.msg .t { display: block; text-align: right; font-size: 0.67rem; color: #667781; margin-top: 2px; white-space: normal; }
.msg .ck { color: #53bdeb; letter-spacing: -2px; margin-left: 2px; }
.doc { display: flex; align-items: center; gap: 10px; background: #f0f2f5; border-radius: 8px; padding: 9px 10px; margin-bottom: 7px; white-space: normal; }
.doc .ic { width: 30px; height: 36px; background: #d72638; color: #fff; font-size: 0.6rem; font-weight: 700; display: flex; align-items: center; justify-content: center; border-radius: 4px; flex: 0 0 auto; }
.doc .nm { font-size: 0.82rem; font-weight: 500; }
.ph-input { padding: 8px 10px 12px; background: #f6f6f6; border-top: 1px solid #e2e2e2; }
.ph-input .box { display: block; background: #fff; border: 1px solid #dcdcdc; border-radius: 18px; padding: 8px 14px; color: #9a9a9a; font-size: 0.85rem; }

/* ZONAS DE TOQUE (celular) */
.burger { min-width: 44px; flex: 0 0 44px; }
.pf-hints button { min-height: 40px; padding: 8px 14px; }
.contact-list .val a { display: inline-block; padding: 11px 2px; margin: -11px 0; }

/* H1 con marca (mismo aspecto visual) */
.hero-cover h1 { max-width: none; }
.hero-cover h1 .hero-logo-big { display: block; margin: 22px auto 26px; }
.hero-cover h1 .h1-text { display: block; margin: 0 auto; max-width: 26ch; }

/* BOTÓN FLOTANTE DE WHATSAPP */
.wa-float { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 22px rgba(0,0,0,0.28); text-decoration: none; transition: transform 0.15s, box-shadow 0.15s; }
.wa-float:hover { transform: scale(1.07); box-shadow: 0 10px 26px rgba(0,0,0,0.34); }

/* NAV: 6 enlaces */
nav.links { gap: 22px; }
nav.links a { white-space: nowrap; }

/* PERFILES */
.line-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.line-card { border: 1px solid var(--panel-border); background: var(--bg); display: flex; flex-direction: column; }
.line-card .thumb { background: var(--bg-2); border-bottom: 1px solid var(--panel-border); padding: 24px; display: flex; justify-content: center; }
.line-card .thumb img { height: 250px; width: auto; border: 1px solid var(--panel-border); background: #fff; box-shadow: 0 8px 22px rgba(23,24,26,0.10); }
.line-card .body { padding: 22px 24px 28px; }
.line-card .sub { color: var(--ink-faint); font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.05em; }
.line-card h3 { font-size: 2rem; margin-top: 2px; }
.line-card .count { color: var(--red); font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.1rem; margin-top: 2px; }
.line-card p { color: var(--ink-soft); font-size: 0.93rem; margin-top: 10px; }
.line-card { text-decoration: none; color: inherit; transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s; }
.line-card:hover { border-color: var(--red); transform: translateY(-3px); box-shadow: 0 10px 26px rgba(23,24,26,0.10); }
.line-card .go { margin-top: 14px; color: var(--red); font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.03em; }
.dl-box { display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; margin-top: 24px; border: 1px solid var(--ink); padding: 30px 34px; background: var(--bg); }
.dl-cover img { height: 210px; width: auto; border: 1px solid var(--panel-border); box-shadow: 0 8px 22px rgba(23,24,26,0.14); }
.dl-text h3 { font-size: 2rem; }
.dl-text p { color: var(--ink-soft); margin-top: 8px; max-width: 52ch; }
.dl-meta { color: var(--ink-faint); font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 10px; }
.dl-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

/* ACCESORIOS */
.acc-cats { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.acc-cats li { border: 1px solid var(--panel-border); border-left: 3px solid var(--red); background: var(--bg); padding: 14px 18px; min-height: 76px; display: flex; align-items: center; overflow-wrap: anywhere; font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 1.25rem; line-height: 1.15; color: var(--ink); }
.acc-cta { margin-top: 34px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.acc-cta p { color: var(--ink-soft); max-width: 46ch; margin: 0; }
.acc-cta .wa-btn { margin-top: 0; }

/* NUESTRO TRABAJO */
.work-photo { margin: 40px 0 0; position: relative; border: 1px solid var(--panel-border); background: var(--bg-2); }
.work-photo img { width: 100%; height: clamp(320px, 52vw, 560px); object-fit: cover; object-position: 50% 68%; }
.work-photo figcaption { position: absolute; left: 0; bottom: 0; background: var(--red); color: #fff; font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 1.05rem; letter-spacing: 0.02em; text-transform: uppercase; padding: 10px 18px; }
.work-more { margin: 20px 0 0; color: var(--ink-soft); }
.work-more a { color: var(--red); font-weight: 600; text-decoration: none; }
.work-more a:hover { text-decoration: underline; }

:root:not([data-theme="dark"]) { color-scheme: light; }

@media (max-width: 900px) {
  .steps-grid { grid-template-columns: 1fr; gap: 40px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .g-item.p { grid-column: span 1; }
  .g-item.p:nth-child(3) { grid-column: span 2; }
  .g-item.l { grid-column: span 2; }
  .line-cards { grid-template-columns: 1fr; }
  .line-card { flex-direction: row; }
  .line-card .thumb { border-bottom: none; border-right: 1px solid var(--panel-border); padding: 18px; flex: 0 0 auto; }
  .line-card .thumb img { height: 190px; }
  .dl-box { grid-template-columns: 1fr; gap: 22px; padding: 24px; }
  .dl-cover img { height: 190px; }
  .acc-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  nav.links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--panel-border); padding: 4px 24px 14px; box-shadow: 0 14px 28px rgba(23,24,26,0.10); }
  header.nav.menu-open nav.links { display: flex; }
  nav.links a { padding: 15px 0; border-bottom: 1px solid var(--panel-border); font-size: 1.05rem; }
  nav.links a:last-child { border-bottom: none; }
  .burger { display: flex; }
  .nav-cta { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 340px; margin: 0 auto; }
  .hero-visual.has-photo { max-width: none; width: 100%; aspect-ratio: 4 / 3; justify-self: stretch; }
  .hero-visual.has-photo img.hero-photo { object-position: 50% 36%; }
  #nosotros .grid2, #contacto .grid2 { grid-template-columns: 1fr; }
  .lines-strip, .envios-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .pf-search { padding: 20px 16px; }
  .pf-row { flex-wrap: wrap; gap: 4px 12px; }
  .pf-name { flex: 1 1 60%; }
  .pf-line { order: 3; }
  .pf-page { order: 4; margin-left: auto; }
  .faq-list summary { font-size: 1.25rem; }
  .nav-cta .pre { display: none; }
  .social-band { padding: 52px 0; }
  .social-actions { width: 100%; flex-direction: column; }
  .social-btn { width: 100%; justify-content: center; font-size: 0.86rem; letter-spacing: 0.01em; padding-left: 12px; padding-right: 12px; }
  .line-card { flex-direction: column; }
  .line-card .thumb { border-right: none; border-bottom: 1px solid var(--panel-border); }
  .line-card .thumb img { height: 230px; }
  .dl-actions .btn { width: 100%; text-align: center; }
  .acc-cta .wa-btn { width: 100%; justify-content: center; }
  section { padding: 64px 0; }
  .cat-grid { grid-template-columns: 1fr; }
}

/* ===================== PÁGINAS INTERNAS (perfiles, accesorios, distribución) ===================== */
nav.links a.active { color: var(--red); }
.nav-logo a { display: flex; align-items: center; min-height: 44px; line-height: 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0 22px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--panel-border); }
.footer-nav a { color: var(--ink-soft); text-decoration: none; font-size: 0.88rem; padding: 13px 0; }
.footer-nav a:hover { color: var(--red); }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; margin: 0 0 10px; padding: 0; list-style: none; font-size: 0.88rem; color: var(--ink-faint); }
.breadcrumbs li { display: flex; align-items: center; }
.breadcrumbs li + li::before { content: '/'; margin: 0 10px; color: var(--ink-faint); }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; color: var(--ink-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--red); }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 500; }
.page-top { padding: 40px 0 64px; border-bottom: 1px solid var(--panel-border); }
.page-top h1 { font-size: clamp(2.2rem, 4.8vw, 3.4rem); line-height: 1.04; max-width: 24ch; margin-top: 8px; }
.page-top .lead { color: var(--ink-soft); max-width: 70ch; margin-top: 18px; font-size: 1.06rem; }
.page-top .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.facts { display: flex; flex-wrap: wrap; gap: 12px 30px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: 0.97rem; }
.facts li strong { color: var(--ink); font-weight: 600; }
.section-head h1 { font-size: clamp(2rem, 4.2vw, 2.9rem); max-width: 22ch; margin-top: 8px; }
.prose { max-width: 70ch; color: var(--ink-soft); font-size: 1.03rem; }
.prose p { margin: 14px 0 0; }
.prose a, .page-links a { color: var(--red); }
.prose strong { color: var(--ink); font-weight: 600; }
.sub-title { font-size: clamp(1.7rem, 3.2vw, 2.2rem); margin-top: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.chips a { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 14px; border: 1px solid var(--panel-border); background: var(--bg); color: var(--ink); text-decoration: none; font-size: 0.93rem; }
.chips a:hover { border-color: var(--red); color: var(--red); }
.chips .n { color: var(--ink-faint); margin-left: 7px; font-size: 0.85rem; }
.tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 26px; }
.tools .pf-box { flex: 1 1 340px; max-width: 520px; }
.tools .tool-count { color: var(--ink-faint); font-size: 0.92rem; }
.cat-block { padding-top: 52px; }
.cat-block h2 { font-size: clamp(1.7rem, 3.2vw, 2.2rem); }
.cat-block h2 .cat-n { font-family: 'Inter', sans-serif; font-weight: 500; font-size: 0.95rem; color: var(--ink-faint); margin-left: 12px; }
.cat-desc { color: var(--ink-soft); margin: 8px 0 0; max-width: 70ch; font-size: 0.98rem; }
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.pcard { display: flex; flex-direction: column; border: 1px solid var(--panel-border); background: var(--bg); scroll-margin-top: 92px; }
.pcard:target { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-tint); }
.pcard[hidden] { display: none; }
.pcard { --pad: 16px; }
.pcard .pimg { position: relative; overflow: hidden; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; margin: 0; border: 0; border-bottom: 1px solid var(--panel-border); background: #fff; cursor: zoom-in; }
.pcard .pimg img { position: absolute; top: var(--pad); left: var(--pad); width: calc(100% - 2 * var(--pad)); height: calc(100% - 2 * var(--pad)); object-fit: contain; display: block; }
.pcard .pbody { display: flex; flex-direction: column; flex: 1; gap: 8px; padding: 14px 16px 16px; }
.pcard h3 { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 1.02rem; line-height: 1.25; letter-spacing: 0; }
.pcard h3 .pcode { display: block; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.7rem; line-height: 1; color: var(--red); margin-bottom: 4px; }
.pcard .pacts { display: flex; flex-direction: column; gap: 4px; margin-top: auto; padding-top: 8px; }
.pbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--ink); background: transparent; color: var(--ink); text-decoration: none; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.02em; cursor: pointer; }
.pbtn:hover { background: var(--ink); color: #fff; }
.pcard .plink { color: var(--ink-faint); font-size: 0.85rem; text-decoration: none; padding: 10px 0 2px; }
.pcard .plink:hover { color: var(--red); }
.no-results { color: var(--ink-soft); padding: 22px 0 0; }
.no-results a { color: var(--red); }
.acc-cat { padding-top: 52px; }
.acc-cat h2 { font-size: clamp(1.7rem, 3.2vw, 2.2rem); }
.acc-sub { margin: 28px 0 0; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.15rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--red); }
.acc-sub[hidden], .acc-cat[hidden] { display: none; }
.acc-list { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--panel-border); }
.acc-row { display: grid; grid-template-columns: 190px minmax(0, 1fr) auto; gap: 6px 22px; align-items: center; padding: 13px 4px; border-bottom: 1px solid var(--panel-border); }
.acc-row[hidden] { display: none; }
.acc-row .ac-codes { display: flex; flex-direction: column; gap: 2px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.1rem; line-height: 1.15; }
.acc-row .ac-codes small { display: block; font-family: 'Inter', sans-serif; font-weight: 400; font-size: 0.8rem; color: var(--ink-faint); }
.acc-row .ac-name { font-size: 1rem; line-height: 1.3; }
.acc-row .ac-name span { display: block; color: var(--ink-faint); font-size: 0.88rem; margin-top: 2px; }
.acc-row .pbtn { min-height: 40px; padding: 6px 14px; font-size: 0.95rem; }
.links-box { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.links-box a { display: block; border: 1px solid var(--panel-border); padding: 22px 22px 20px; text-decoration: none; color: var(--ink); background: var(--bg); }
.links-box a:hover { border-color: var(--red); }
.links-box strong { display: block; font-family: 'Barlow Condensed', sans-serif; font-size: 1.5rem; line-height: 1.1; }
.links-box span { display: block; margin-top: 6px; color: var(--ink-soft); font-size: 0.93rem; }
.links-box em { display: block; margin-top: 12px; font-style: normal; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; text-transform: uppercase; color: var(--red); }
.how-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 34px; }
.how-card { border: 1px solid var(--panel-border); padding: 24px 22px; background: var(--bg); }
.how-card .ico { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.7rem; color: var(--red); line-height: 1; }
.how-card h3 { font-size: 1.35rem; margin-top: 10px; }
.how-card p { margin: 6px 0 0; color: var(--ink-soft); font-size: 0.96rem; }
.msg-example { margin-top: 22px; padding: 18px 20px; max-width: 560px; border-left: 3px solid var(--red); background: var(--bg-2); color: var(--ink); font-size: 0.97rem; white-space: pre-line; }
@media (max-width: 1000px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .how-grid, .links-box { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .acc-row { grid-template-columns: minmax(0, 1fr) auto; } .acc-row .ac-codes { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; gap: 4px 14px; } .page-top { padding: 28px 0 48px; } .how-grid, .links-box { grid-template-columns: 1fr; } }
@media (max-width: 440px) { .pcard { --pad: 10px; } .pcard .pbody { padding: 12px 12px 14px; } .pcard h3 .pcode { font-size: 1.45rem; } }

.pbtn svg { flex: none; }
.cat-block h2 .cat-n, .acc-cat h2 .cat-n { white-space: nowrap; display: inline-block; }
@media (max-width: 760px) { body.catalog .wa-float { display: none; } .pcard .pbtn { font-size: 0.98rem; } }

.footer-inner img { height: 34px; width: auto; }

.nav-logo a img, .footer-inner img { flex: none; max-width: none; }
@media (max-width: 480px) { .nav-inner { padding-left: 18px; padding-right: 18px; gap: 10px; } .nav-cta { padding-left: 14px; padding-right: 14px; } }
@media (max-width: 350px) { .nav-inner { padding-left: 12px; padding-right: 12px; } .nav-cta { padding-left: 10px; padding-right: 10px; font-size: 0.92rem; } .nav-logo img { height: 30px; } }

.tight { padding: 64px 0; }
