@font-face {
  font-family: "Montserrat";
  src: url("/fonts/montserrat.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Colores del logo */
  --navy: #121829;
  --orange: #fb5e00;
  --red: #e72a24;

  --navy-80: #2a3045;
  --navy-deep: #0b1020;
  /* Naranja oscuro para texto pequeño y hover: 4.9:1 sobre blanco (WCAG AA).
     El naranja de marca (3.1:1) solo en texto grande, botones e íconos. */
  --orange-dark: #c44800;
  --bg: #ffffff;
  --bg-alt: #f5f6f8;
  --line: #e4e6eb;
  --text: #121829;
  --muted: #5b6172;
  --muted-on-dark: #c9ccd6;
  --faint-on-dark: #9aa0b2;

  /* Patrón de diagonales tono sobre tono */
  --stripes: repeating-linear-gradient(-55deg, rgba(0, 0, 0, .05) 0 22px, transparent 22px 44px);
  --stripes-light: repeating-linear-gradient(-55deg, rgba(255, 255, 255, .04) 0 22px, transparent 22px 44px);

  --radius: 16px;
  --max: 1140px;
  --shadow: 0 1px 2px rgba(18, 24, 41, .06), 0 8px 24px rgba(18, 24, 41, .06);
  --shadow-lg: 0 1px 2px rgba(18, 24, 41, .08), 0 14px 34px rgba(18, 24, 41, .10);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.02em; margin: 0; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 768px) { .container { padding: 0 32px; } }

.sprite { position: absolute; }

.icon { width: 20px; height: 20px; flex: none; }

.red-line { height: 8px; background: var(--red); }
.red-line-thin { height: 6px; }

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 26px;
  border: 2px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--orange); color: #fff; }
.btn-accent:hover { background: var(--orange-dark); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .85); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--navy); }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: .9rem; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* Encabezado */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--navy);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.logo img { width: 150px; height: auto; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.nav a {
  color: var(--muted-on-dark);
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
}
.nav a:hover { color: #fff; }

/* Menú en celular: panel que se abre con #menu (:target) */
.menu-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #3a425c;
  border-radius: 10px;
  color: #fff;
}
.menu-toggle .icon { width: 24px; height: 24px; }
.menu-close,
.header-inner:has(.nav:target) .menu-open { display: none; }
.header-inner:has(.nav:target) .menu-close { display: grid; }

@media (max-width: 899px) {
  .nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    padding: 8px 16px 16px;
    background: var(--navy);
    border-top: 1px solid #2a3248;
    box-shadow: 0 16px 32px rgba(0, 0, 0, .3);
  }
  .nav:target { display: flex; }
  .nav a {
    padding: 14px 4px;
    border-bottom: 1px solid #2a3248;
    color: #fff;
    font-size: 1rem;
  }
  .nav a:last-child { border-bottom: 0; }
}
@media (min-width: 900px) {
  .nav { display: flex; gap: 28px; }
  .menu-toggle,
  .header-inner:has(.nav:target) .menu-close { display: none; }
  .logo img { width: 168px; }
}

/* Portada: texto sobre azul marino, diagonal naranja a la derecha */
.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 72px;
  background: var(--navy);
  color: #fff;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 46%;
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
}
.hero::before { background: var(--orange); }
.hero::after { background: var(--stripes); }
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 32px;
  align-items: center;
}
h1 {
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  font-weight: 800;
  line-height: 1.05;
}
h1 span { color: var(--orange); }
.lead {
  margin: 24px 0 36px;
  max-width: 48ch;
  color: var(--muted-on-dark);
  font-size: 1.1rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
/* Foto recortada del portabanner con 3 detalles que señalan su pieza.
   Todo se posiciona en % de una caja de 560 × 620, igual que el viewBox del SVG de las líneas. */
.anatomy { position: relative; width: 100%; max-width: 560px; margin: 0 auto; aspect-ratio: 560 / 620; }
.anatomy-photo {
  position: absolute;
  top: 0;
  left: 23.93%;
  width: auto;
  height: 100%;
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .35));
}
.anatomy svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.anatomy-line { fill: none; stroke: #fff; stroke-width: 1.5; }
.anatomy-dot { fill: var(--navy); stroke: #fff; stroke-width: 2; }
.anatomy-part {
  position: absolute;
  width: 26%;
  transform: translate(-50%, -50%);
  font-size: .85rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}
.anatomy-part img {
  width: 82%;
  margin: 0 auto 8px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .35);
}
.anatomy-centro { left: 13%; top: 64%; }
.anatomy-varillas { left: 86%; top: 42%; }
.anatomy-puntas { left: 86%; top: 12%; }
@media (max-width: 599px) {
  .anatomy-part { font-size: .68rem; }
  .anatomy-part img { border-width: 3px; }
}
@media (max-width: 899px) {
  .hero::before,
  .hero::after { width: 100%; top: auto; height: 50%; clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 100%); }
}
@media (min-width: 900px) {
  .hero { padding: 88px 0 96px; }
  .hero-inner { grid-template-columns: 1.1fr 1fr; }
}

/* Secciones */
.section { position: relative; padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: 44px; }
h2 { font-size: clamp(2rem, 4.5vw, 2.9rem); font-weight: 800; }
.section-sub { margin: 18px 0 0; max-width: 56ch; color: var(--muted); font-size: 1.08rem; }
@media (min-width: 900px) { .section { padding: 104px 0; } }

/* Nuestro portabanner: medidas a escala y opciones */
.scale { display: block; width: 100%; max-width: 900px; height: auto; margin: 0 auto 64px; }
.x-link:hover .x-print { stroke: var(--orange); stroke-width: 1.4; }
.x-link:hover .x-cap { fill: var(--orange-dark); }
.x-link:focus-visible { outline: none; }
.x-link:focus-visible .x-print { stroke: var(--orange); stroke-width: 2; }
/* Dibujo del portabanner (unidades = cm) */
.x-rod { fill: none; stroke: #9aa0ad; stroke-width: 1.6; stroke-linecap: round; }
.x-rod-big { stroke-width: 3.2; }
.x-hub { fill: #5b6172; } .x-hub-hidden { display: none; }
.x-tip { fill: #5b6172; }
.x-print { fill: #fff; stroke: #d7dae2; stroke-width: .6; transition: stroke .15s ease; }
.x-top { fill: var(--navy); } .x-white { fill: #fff; } .x-orange { fill: var(--orange); } .x-red { fill: var(--red); } .x-line { fill: #e4e6eb; }
.x-badge { fill: var(--orange); stroke: #fff; stroke-width: 2; }
.x-ghost { fill: rgba(18,24,41,.03); stroke: #9aa0ad; stroke-width: .9; stroke-dasharray: 3 2.4; }
.x-shadow { fill: rgba(18,24,41,.10); }
.x-floor { stroke: #d7dae2; stroke-width: .8; }
.x-person { fill: rgba(18,24,41,.12); }
.x-t { font-family: "Montserrat", sans-serif; font-weight: 800; text-anchor: middle; fill: #fff; } .x-t-o { fill: var(--orange); }
.x-cap { font-family: "Montserrat", sans-serif; font-size: 10px; font-weight: 800; text-anchor: middle; fill: var(--navy); }
.x-cap-muted { fill: #8a90a0; font-weight: 600; }
.options-title { margin: 0 0 28px; font-size: 1.5rem; font-weight: 800; text-align: center; }
.options {
  display: grid;
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
  justify-items: center;
}
@media (min-width: 900px) { .options { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.options a { display: flex; flex-direction: column; align-items: center; max-width: 280px; text-align: center; text-decoration: none; }
.option-n {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
}
.options svg { width: 130px; height: auto; margin-top: 8px; transition: transform .2s ease; }
.options a:hover svg { transform: translateY(-4px); }
.option-name { margin-top: 6px; font-size: 1.15rem; font-weight: 800; }
.option-desc { margin-top: 4px; color: var(--muted); font-size: .9rem; }
.option-cta { margin-top: 10px; color: var(--orange-dark); font-size: .9rem; font-weight: 700; }
.option-cta::after { content: " →"; }

.others { margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--line); text-align: center; }
.others h3 { margin: 0 0 24px; font-size: 1.25rem; font-weight: 800; }
.others ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 0; margin: 0; padding: 0; list-style: none; }
.others li + li { border-left: 1px solid var(--line); }
.others a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0 32px; text-decoration: none; }
.others svg { width: 56px; height: 56px; color: var(--navy); transition: color .15s ease; }
.others a:hover svg { color: var(--orange); }
.other-name { font-weight: 800; }
.others .option-cta { margin-top: 2px; }
@media (max-width: 599px) {
  .others ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .others li:nth-child(odd) { border-left: 0; }
  .others a { padding: 0 12px; }
}

/* Así trabajamos: franja naranja inclinada */
.band { padding: 110px 0 120px; color: #fff; isolation: isolate; }
.band::before,
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  clip-path: polygon(0 9%, 100% 0, 100% 91%, 0 100%);
}
.band::before { background: var(--orange); }
.band::after { background: var(--stripes); }
.band .container { position: relative; }
.band .section-head { margin-left: auto; margin-right: auto; text-align: center; }
.band .section-sub { margin-left: auto; margin-right: auto; color: #fff; font-weight: 600; }
.band-pose { display: none; }
@media (min-width: 900px) {
  .band { padding: 150px 0 160px; }
  .band-pose {
    display: block;
    position: absolute;
    right: 16px;
    top: -70px;
    width: 220px;
    transform: rotate(4deg);
  }
}

.evo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.evo li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.evo svg { width: 100%; max-width: 210px; height: auto; overflow: visible; }
.evo b { display: block; margin-top: 18px; font-size: 1.2rem; font-weight: 800; }
.evo small { display: block; margin-top: 2px; color: #fff; font-size: .9rem; font-weight: 600; }
/* El paso de la prueba es el diferenciador: título en pastilla azul marino */
.evo .key b {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 12px;
  background: var(--navy);
  font-size: 1rem;
  line-height: 1.25;
  box-shadow: 0 10px 24px rgba(18, 24, 41, .3);
}
.evo .key small { margin-top: 8px; }
@media (min-width: 900px) {
  .evo .key b { padding: 8px 18px; border-radius: 999px; font-size: 1.25rem; }
}
.evo .key svg { transform: scale(1.08); }
@media (min-width: 900px) {
  .evo { grid-template-columns: repeat(4, 1fr); gap: 0; }
  /* Flecha punteada al siguiente paso */
  .evo li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 44%;
    right: -14%;
    width: 28%;
    border-top: 3px dashed rgba(255, 255, 255, .85);
  }
  .evo li:not(:last-child)::before {
    content: "";
    position: absolute;
    top: calc(44% - 7px);
    right: -15%;
    width: 12px;
    height: 12px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    transform: rotate(45deg);
  }
}

/* Dibujos del roll up */
.e-bar { fill: #d7dae2; }
.e-base { fill: var(--navy); }
.e-shadow { fill: rgba(0, 0, 0, .18); }
.e-ghost { fill: rgba(255, 255, 255, .08); stroke: #fff; stroke-width: 2.5; stroke-dasharray: 8 7; }
.e-banner { fill: #fff; }
.e-top { fill: var(--navy); }
.e-line { fill: var(--line); }
.e-o { fill: var(--orange); }
.e-r { fill: var(--red); }
.e-halo { fill: rgba(255, 255, 255, .16); }
.e-t { font-family: "Montserrat", sans-serif; font-weight: 800; text-anchor: middle; }
.e-t-left { text-anchor: start; }
.e-t-light { font-weight: 600; }
.e-stamp {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  letter-spacing: 3px;
  text-anchor: middle;
  fill: none;
  stroke: rgba(196, 72, 0, .6);
  stroke-width: 1.6;
}

/* Para imprentas: sin caja, forma azul marino en diagonal a la derecha */
.trade { position: relative; overflow: hidden; padding-top: 72px; }
.trade::before,
.trade::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 44%;
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
}
.trade::before { background: var(--navy); }
.trade::after { background: var(--stripes-light); }
.trade-inner { position: relative; z-index: 1; display: grid; gap: 24px; align-items: end; }
.trade-copy { padding-bottom: 8px; }
.trade-copy h2 { max-width: 16ch; }
.trade-copy p { margin: 18px 0 28px; max-width: 50ch; color: var(--muted); font-size: 1.05rem; }
/* En espejo para que camine hacia el texto */
.trade-pose { width: 200px; justify-self: center; transform: scaleX(-1); }
@media (max-width: 899px) {
  .trade::before,
  .trade::after { width: 100%; top: auto; height: 300px; clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 100%); }
}
@media (min-width: 900px) {
  .trade-inner { grid-template-columns: 1fr 1fr; gap: 48px; }
  .trade-copy { padding-bottom: 96px; }
  .trade-pose { width: 290px; justify-self: end; margin-right: 4%; }
}

/* Nuestros productos: pestañas por categoría (radios + :checked, sin JavaScript).
   Las reglas de cada categoría están en productos.css, que genera site/tools/catalogo.py. */
/* Deja espacio para el corte diagonal de la sección de contacto */
.products-section { padding-bottom: 150px; }
.ptabs > input { position: absolute; opacity: 0; pointer-events: none; }
.ptabs-bar {
  display: flex;
  gap: 28px;
  margin: 0 -16px 28px;
  padding: 0 16px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}
.ptabs-bar label {
  flex: none;
  margin-bottom: -1px;
  padding: 12px 0;
  border-bottom: 3px solid transparent;
  color: var(--muted);
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}
.ptabs-bar label:hover { color: var(--navy); }
.ptab-panel { display: none; }
.pcards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 700px) {
  .ptabs-bar { margin: 0 0 32px; padding: 0; }
  .pcards { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
@media (min-width: 1000px) { .pcards { grid-template-columns: repeat(6, 1fr); } }
.pcard { display: flex; flex-direction: column; overflow: hidden; padding-bottom: 14px; border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.pcard-art { display: grid; place-items: center; aspect-ratio: 16 / 10; margin-bottom: 12px; background: linear-gradient(160deg, #fff3ea, #ffe2cc); }
.pcard-art svg { width: 58%; height: auto; }
.pcard h3 { flex: 1; padding: 0 14px 8px; font-size: 1rem; font-weight: 800; letter-spacing: 0; line-height: 1.2; }
.pcard-links { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 0 14px; font-size: .82rem; font-weight: 700; }
.pcard-quote { color: var(--orange-dark); text-decoration: none; }
.pcard-quote::after { content: " →"; }
.pcard-more { color: var(--navy); text-decoration-color: #c8ccd6; text-underline-offset: 3px; }
.pcard-links a:hover { color: var(--orange); }
.ptab-all { display: inline-block; margin-top: 24px; color: var(--orange-dark); font-weight: 700; text-decoration: none; }
.ptab-all::after { content: " →"; }

/* Dibujos de los productos */
.d-navy { fill: var(--navy); }
.d-orange { fill: var(--orange); }
.d-white { fill: #fff; }
.d-line { fill: #d7dae2; }
.d-stroke { stroke: var(--navy); stroke-width: 2.5; }
.d-ring { fill: #fff; stroke: #d7dae2; stroke-width: 2; }
.d-rope, .d-handle, .d-steam { fill: none; stroke: var(--navy); stroke-width: 2.5; stroke-linecap: round; }
.d-steam { stroke: #f0a77a; }
.d-peel { fill: var(--orange-dark); }
.d-sym { color: var(--navy); }
.d-thin { stroke: #9aa0ad; stroke-width: 1.5; }
@media (min-width: 900px) { .products-section { padding-bottom: 180px; } }

/* Ubicación y contacto: azul marino con corte diagonal arriba */
.contact {
  margin-top: -70px;
  padding-top: 140px;
  background: var(--navy);
  color: #fff;
  clip-path: polygon(0 70px, 100% 0, 100% 100%, 0 100%);
}
.contact-inner { display: grid; gap: 40px; }
@media (min-width: 900px) { .contact-inner { grid-template-columns: 1fr 1fr; gap: 64px; } }
.address { margin: 28px 0 8px; font-style: normal; font-size: 1.15rem; font-weight: 700; line-height: 1.5; }
.address-ref { margin: 0 0 28px; color: var(--faint-on-dark); font-size: .92rem; }
.hours {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  margin: 28px 0 0;
  color: var(--muted-on-dark);
  font-size: .93rem;
}
.hours dd { margin: 0; }
.contact-list { margin: 28px 0 0; padding: 0; list-style: none; }
.contact-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #2a3248;
}
.contact-list li:last-child { border-bottom: 0; }
.contact-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-list a { font-size: 1.05rem; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: #ffb27f; }
.contact-list small { display: block; color: var(--faint-on-dark); font-size: .82rem; font-weight: 500; }

/* Formulario de cotización: se abre con :target (#cotizar) */
.quote {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: flex-end;
  justify-content: center;
}
.quote:target { display: flex; }
.quote-bg { position: absolute; inset: 0; background: rgba(11, 16, 32, .72); }
.quote-card {
  position: relative;
  width: 100%;
  max-height: 92vh;
  overflow: auto;
  border-radius: 22px 22px 0 0;
  background: #fff;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, .3);
}
.quote-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f0f1f4;
  color: var(--navy);
}
.quote-side { display: none; }
.quote-form { padding: 28px 20px 24px; }
.quote-form h2 { font-size: 1.7rem; }
.quote-hint { margin: 8px 0 22px; color: var(--muted); font-size: .95rem; }
.field { display: block; margin-bottom: 14px; }
.field span { display: block; margin-bottom: 6px; font-size: .88rem; font-weight: 700; }
.field input,
.field select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1.5px solid #d7dae2;
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  font: inherit;
  font-size: 1rem;
}
.field input::placeholder { color: #8a90a0; }
.field input:focus,
.field select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(251, 94, 0, .18); }
.field-row { display: grid; gap: 0 12px; }
@media (min-width: 520px) { .field-row { grid-template-columns: 1fr 1fr; } }
.quote-form .btn { width: 100%; margin-top: 8px; cursor: pointer; }
.quote-note { margin: 12px 0 0; color: var(--muted); font-size: .82rem; text-align: center; }
@media (min-width: 760px) {
  .quote { align-items: center; padding: 24px; }
  .quote-card { display: grid; grid-template-columns: 300px 1fr; max-width: 820px; border-radius: 22px; }
  .quote-side {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: 32px 28px 0;
    background: var(--orange);
    color: #fff;
  }
  .quote-side::before { content: ""; position: absolute; inset: 0; background: var(--stripes); }
  .quote-side p { position: relative; margin: 0; font-size: 1.35rem; font-weight: 800; line-height: 1.2; }
  .quote-side p span { color: var(--navy); }
  .quote-side img { position: relative; width: 250px; margin: 24px auto 0; }
  .quote-form { padding: 36px 36px 30px; }
}

/* Pie */
.site-footer { background: var(--navy-deep); color: var(--faint-on-dark); font-size: .85rem; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  padding-bottom: 96px;
}
.footer-inner img { width: 120px; }
.footer-inner p { margin: 0; }

/* Botón flotante de WhatsApp */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  transition: transform .15s ease;
}
.whatsapp-float:hover { transform: scale(1.06); }

/* Página 404 */
.notfound { min-height: 100vh; display: grid; place-items: center; padding: 48px 0; text-align: center; background: var(--navy); color: #fff; }
.notfound img { width: 220px; margin: 0 auto 24px; }
.notfound h1 { font-size: clamp(2rem, 6vw, 3.2rem); }
.notfound .lead { margin-left: auto; margin-right: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .x-print, .options svg, .whatsapp-float { transition: none; }
}

/* Catálogo (catalogo.html). Las reglas del filtro por # están en productos.css. */
.catalog { position: relative; }
.anchor { position: absolute; top: 0; }
.cat-hero { position: relative; overflow: hidden; padding: 40px 0 44px; background: var(--navy); color: #fff; }
.cat-hero::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 22%;
  background: var(--orange) var(--stripes);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
}
.cat-hero .container { position: relative; }
.cat-hero h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); }
.cat-hero p { max-width: 46ch; margin: 12px 0 0; color: var(--muted-on-dark); }
@media (min-width: 700px) { .cat-hero::before { width: 34%; } }

/* Pestañas de categoría: enlaces a #categoría, fijas bajo el encabezado */
.cat-tabs { position: sticky; top: 76px; z-index: 10; border-bottom: 1px solid var(--line); background: #fff; }
.cat-tabs .container { display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; }
.cat-tabs a {
  flex: none;
  padding: 14px 0 11px;
  border-bottom: 3px solid transparent;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.cat-tabs a:hover { color: var(--navy); }
.catalog:not(:has(.anchor:target)) .cat-tabs a[href="#"] { color: var(--navy); border-color: var(--orange); }
.cat-reset { display: none; margin: 28px 0 0; }
.cat-reset a { color: var(--orange-dark); font-weight: 700; text-decoration: none; }
.catalog:has(.anchor:target) .cat-reset { display: block; }

.cat { padding: 44px 0 8px; }
.cat:last-child { padding-bottom: 96px; }
.cat h2 { margin-bottom: 22px; font-size: clamp(1.5rem, 3.5vw, 2rem); }
.cat h2 span { display: inline-block; margin-left: 8px; color: var(--muted); font-size: .9rem; font-weight: 600; letter-spacing: 0; }
.items { display: grid; gap: 18px; }
@media (min-width: 640px) { .items { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .items { grid-template-columns: repeat(3, 1fr); } }
.item { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }

/* Galería: 3 fotos = una grande y dos chicas; 2 fotos = mitad y mitad */
.gallery { display: grid; gap: 4px; aspect-ratio: 16 / 11; background: #fff; }
.g2 { grid-template-columns: 1fr 1fr; }
.g3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.g3 .ph:first-child { grid-row: span 2; }
.ph { position: relative; display: grid; place-items: center; margin: 0; overflow: hidden; background: var(--bg-alt); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph svg { width: 70%; height: auto; }
.ph-1 { background: linear-gradient(160deg, #fff3ea, #ffe2cc); }
.ph-2 { background: #eef0f4; }
.ph-2 svg { transform: rotate(-8deg) scale(1.15); }
.ph-3 { background: #ffd2b3; }
.ph-3 svg { transform: scale(.8); }
.ph figcaption { position: absolute; left: 8px; bottom: 6px; color: rgba(18, 24, 41, .45); font-size: .62rem; font-weight: 700; }

.item-info { display: flex; flex: 1; flex-direction: column; padding: 18px 20px 20px; }
.item-info h3 { font-size: 1.2rem; font-weight: 800; }
.item-info p { margin: 8px 0 12px; color: var(--muted); font-size: .9rem; }
.item-info dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0 0 18px; font-size: .85rem; }
.item-info dt { font-weight: 700; }
.item-info dd { margin: 0; color: var(--muted); }
.item-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: auto; }
.item-link { color: var(--navy); font-size: .82rem; font-weight: 700; text-decoration-color: #c8ccd6; text-underline-offset: 3px; }
