/* 1. Base y sistema visual */
:root {
  --navy: #071e33;
  --blue: #0b4f87;
  --blue-light: #7bc6f8;
  --pale: #f0f6fb;
  --ink: #102d45;
  --muted: #526879;
  --line: #dce6ee;
  --red: #d52b2f;
  --container: 1280px;
  --text-body: 1rem;
  --text-small: 0.875rem;
  --text-label: 0.8125rem;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  scroll-padding-top: 120px;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-size: var(--text-body);
  font-family: Inter, 'Segoe UI', Arial, sans-serif;
  line-height: 1.6;
}
h1,
h2,
h3,
p {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
input,
select {
  min-width: 0;
}
img {
  display: block;
  max-width: 100%;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #1584cb;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
[aria-disabled='true'] {
  opacity: 0.55;
  cursor: not-allowed;
}
.container {
  width: min(calc(100% - 80px), var(--container));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  transform: translateY(-150%);
  z-index: 200;
  background: #fff;
  padding: 12px;
}
.skip-link:focus {
  transform: none;
}
.section {
  padding-block: 84px;
}
.eyebrow {
  display: block;
  font-size: var(--text-small);
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-weight: 750;
  color: var(--blue);
  margin-bottom: 17px;
}
h2 {
  font-size: clamp(30px, 3vw, 43px);
  line-height: 1.17;
  letter-spacing: -0.035em;
}
h2 span {
  color: var(--blue);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  align-items: end;
  margin-bottom: 38px;
}
.section-heading p {
  max-width: 350px;
  color: var(--muted);
  font-size: var(--text-body);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 48px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: var(--text-body);
  line-height: 1.5;
  font-weight: 650;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.primary {
  background: var(--blue);
  color: #fff;
}
.primary:hover {
  background: #083d69;
}
.light {
  background: #fff;
  color: var(--blue);
}
.light:hover {
  background: #e7f2fa;
}
.outline {
  border-color: #a7c2d9;
  color: #fff;
  background: #071e3370;
}
.outline:hover {
  background: #ffffff20;
}
.secondary {
  border-color: #b8ccdc;
  background: #fff;
  color: var(--blue);
}
.text-link {
  color: var(--blue);
  font-size: var(--text-body);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: var(--text-small);
  color: var(--muted);
}
.breadcrumb a:hover {
  text-decoration: underline;
}

/* 2. Navegación compartida */
.topbar {
  background: var(--navy);
  color: #dae8f3;
  font-size: var(--text-small);
}
.topbar .container {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}
.brand > span {
  font-size: 0.6875rem;
  letter-spacing: 0.07em;
  line-height: 1.3;
}
.brand strong {
  display: block;
  font-size: 26px;
  letter-spacing: 0.08em;
  color: var(--blue);
}
.header-inner nav {
  display: flex;
  gap: 23px;
  align-items: center;
  margin-left: auto;
  font-size: 0.9375rem;
  font-weight: 600;
}
.header-inner nav a:not(.header-cta) {
  padding-block: 18px;
}
.header-inner nav a:not(.header-cta):hover,
.header-inner nav a[aria-current] {
  color: var(--blue);
}
.header-inner nav a[aria-current] {
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
}
.header-cta {
  font-size: var(--text-small);
  padding-inline: 17px;
  gap: 12px;
}
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--blue);
  min-width: 44px;
  min-height: 44px;
  font-size: 23px;
  border-radius: 5px;
}

/* 3. Inicio: hero y carrusel */
.hero {
  background: var(--navy);
  color: #fff;
  position: relative;
}
.slides {
  position: relative;
}
.slide {
  position: relative;
  isolation: isolate;
}
.slide.is-entering {
  animation: reveal 250ms ease;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}
.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #031427ed, #031427b8 42%, #03142722 85%);
}
.slide-inner {
  min-height: 620px;
  display: flex;
  align-items: center;
  padding-block: 75px 125px;
}
.hero-copy {
  max-width: 675px;
}
.hero .eyebrow {
  color: #c1dff5;
  padding-left: 27px;
  position: relative;
}
.hero .eyebrow::before {
  content: '';
  width: 16px;
  height: 3px;
  background: var(--red);
  position: absolute;
  left: 0;
  top: 8px;
}
.hero h1,
.hero h2 {
  font-size: clamp(38px, 4.3vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 700;
}
.hero h1 span,
.hero h2 span {
  color: var(--blue-light);
  display: block;
}
.hero-copy p {
  max-width: 465px;
  color: #e0eaf3;
  margin-top: 26px;
  font-size: 16px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.slider-controls {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.slider-dots,
.slider-arrows {
  display: flex;
  align-items: center;
  gap: 12px;
}
.slider-dot {
  border: 0;
  background: transparent;
  color: #b8d1e4;
  min-height: 44px;
  padding: 5px 7px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: var(--text-small);
}
.dot-line {
  width: 32px;
  height: 2px;
  background: #ffffff55;
}
.slider-dot[aria-pressed='true'] {
  color: #fff;
}
.slider-dot[aria-pressed='true'] .dot-line {
  background: #fff;
  width: 60px;
}
.slider-arrows button {
  min-width: 44px;
  min-height: 44px;
  background: #071e3366;
  border: 1px solid #ffffff60;
  color: #fff;
  border-radius: 50%;
  font-size: 20px;
}
.slider-arrows .pause {
  border-radius: 4px;
  font-size: var(--text-small);
  padding-inline: 12px;
  min-width: 83px;
}
.slider-arrows button:hover {
  background: var(--blue);
}
.benefits {
  background: var(--pale);
  border-bottom: 1px solid var(--line);
}
.benefits .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding-block: 24px;
}
.benefits p {
  font-size: 0.9375rem;
  font-weight: 600;
}
.benefits span {
  font-size: var(--text-small);
  color: var(--blue);
  margin-right: 15px;
}
@keyframes reveal {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

/* 4. Inicio: soluciones, marcas, asesoría y servicio */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.category-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.category-card:hover {
  background: var(--pale);
  border-color: #83b1d0;
  transform: translateY(-3px);
}
.category-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 26px;
}
.category-top img,
.filter-category img {
  filter: invert(22%) sepia(48%) saturate(2052%) hue-rotate(179deg) brightness(90%) contrast(96%);
}
.category-top > span {
  font-size: var(--text-small);
  color: #627787;
}
.category-card h3 {
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 265px;
}
.category-card p {
  font-size: var(--text-body);
  color: var(--muted);
  margin-block: 14px 30px;
}
.card-link {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--blue);
  font-weight: 650;
  font-size: var(--text-small);
  margin-top: auto;
}
.card-link span {
  font-size: 18px;
}
.applications {
  background: var(--pale);
}
.application-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.application-grid article {
  border-top: 1px solid #a7bfd2;
  padding-top: 25px;
}
.application-grid h3 {
  font-size: 21px;
  margin-bottom: 12px;
}
.application-grid p {
  font-size: var(--text-body);
  color: var(--muted);
  max-width: 310px;
}
.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.brand-card {
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 130px;
}
.brand-card img {
  object-fit: contain;
  max-height: 75px;
  width: 100%;
}
.advice {
  background: linear-gradient(120deg, #eaf3fb, #f6f9fc);
}
.advice-intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: end;
  gap: 65px;
}
.advice-intro > p {
  font-size: var(--text-body);
  color: var(--muted);
  max-width: 460px;
}
.advice-steps {
  list-style: none;
  padding: 0;
  margin: 45px 0 35px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.advice-steps li {
  border-top: 1px solid #b7cddf;
  padding-top: 25px;
}
.step-number {
  color: var(--blue);
  font-size: 0.9375rem;
  font-weight: 700;
}
.advice-steps h3 {
  font-size: 19px;
  margin: 15px 0 12px;
}
.advice-steps p {
  font-size: var(--text-body);
  color: var(--muted);
  max-width: 330px;
}
.technical-service {
  background: var(--navy);
  color: #fff;
  padding-block: 85px;
  overflow: hidden;
}
.service-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 85px;
  align-items: center;
}
.service-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 38px;
}
.service-ring {
  display: grid;
  place-items: center;
  width: 270px;
  aspect-ratio: 1;
  border: 1px solid #4281ad77;
  border-radius: 50%;
  box-shadow:
    0 0 0 30px #ffffff03,
    0 0 0 60px #ffffff02;
  background: radial-gradient(circle, #15507b66, transparent);
}
.service-ring img {
  filter: invert(1);
  width: 130px;
  height: 130px;
}
.technical-service .eyebrow {
  color: #9ac9eb;
}
.service-copy h2 span {
  color: var(--blue-light);
}
.service-copy p {
  color: #c0d3e3;
  margin-top: 22px;
  font-size: var(--text-body);
  max-width: 550px;
}
.service-copy .button {
  margin-top: 30px;
}

/* 5. Footer y contacto */
.contact-section {
  background: var(--pale);
  padding-block: 60px;
}
.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.contact-inner h2 {
  font-size: 34px;
}
.contact-inner p {
  color: var(--muted);
  font-size: var(--text-body);
  margin-top: 18px;
}
.contact-inner .button {
  flex-shrink: 0;
}
footer {
  background: #061726;
  color: #b4c9d9;
  padding-block: 58px 78px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1.3fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-grid address {
  font-style: normal;
  font-size: 0.9375rem;
  line-height: 1.8;
  margin-bottom: 16px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: #fff;
  font-size: var(--text-small);
  letter-spacing: 0.13em;
}
.footer-brand img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  padding: 4px;
}
.footer-brand strong {
  display: block;
  font-size: 34px;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.footer-brand strong span {
  color: var(--red);
}
.footer-grid p {
  margin-top: 18px;
  font-size: 0.9375rem;
}
.footer-grid h2 {
  font-size: 0.9375rem;
  letter-spacing: 0;
  color: #fff;
  margin-bottom: 18px;
}
.footer-grid > div > a:not(.footer-brand) {
  display: block;
  font-size: 0.9375rem;
  margin-block: 9px;
  overflow-wrap: anywhere;
}
.footer-grid a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid #ffffff20;
  padding-block: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: var(--text-small);
}
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 30px;
  background: var(--blue);
  color: #fff;
  border: 1px solid #ffffff80;
  box-shadow: 0 5px 25px #071e3328;
  font-size: var(--text-small);
  font-weight: 650;
}
.whatsapp-float:hover {
  background: var(--navy);
}

/* 6. Tarjetas de producto, compartidas por inicio, catálogo y fichas */
.featured {
  background: #f7f9fb;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.featured-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.product-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.product-card:hover,
.product-card:focus-within {
  border-color: #8eb3d0;
  box-shadow: 0 8px 28px #0b355810;
}
.product-photo {
  height: 220px;
  padding: 25px;
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 8px 8px 0 0;
  border-bottom: 1px solid #edf1f5;
}
.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  min-height: 0;
  transition: transform 0.25s;
}
.product-card:hover .product-photo img {
  transform: scale(1.04);
}
.product-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.product-brand {
  text-transform: uppercase;
  font-size: var(--text-label);
  letter-spacing: 0.16em;
  color: var(--blue);
  font-weight: 750;
}
.frequency-tag {
  font-size: var(--text-label);
  color: var(--muted);
}
.product-body h3 {
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-top: 9px;
  overflow-wrap: anywhere;
}
.product-body h3 a:hover {
  color: var(--blue);
}
.product-type {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  margin-top: 9px;
}

.product-family-icon {
  flex: 0 0 24px;
  object-fit: contain;
}

.product-photo {
  position: relative;
}

.series-photo-label {
  position: absolute;
  left: 12px;
  bottom: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  color: var(--navy);
  background: #edf5fc;
  font-size: 13px;
  line-height: 1.5;
}
.variant-caption {
  font-size: var(--text-small);
  color: var(--muted);
  margin-top: 14px;
}
.card-specs {
  margin: 12px 0 22px;
  font-size: var(--text-small);
}
.card-specs > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #edf1f5;
  padding-block: 8px;
}
.card-specs dt {
  color: var(--muted);
}
.card-specs dd {
  margin: 0;
  text-align: right;
  font-weight: 650;
}
.product-card-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 6px 16px;
  margin-top: auto;
}
.product-detail-link {
  color: var(--blue);
  font-weight: 750;
  font-size: var(--text-small);
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.product-consult {
  color: var(--muted);
  font-size: var(--text-small);
  min-height: 40px;
  display: flex;
  align-items: center;
}
.product-detail-link:hover,
.product-consult:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.catalog-note {
  font-size: var(--text-small);
  line-height: 1.8;
  color: var(--muted);
  margin-top: 26px;
  max-width: 770px;
}

/* 7. Catálogo: banner compacto, búsqueda y filtros */
.catalog-banner {
  position: relative;
  isolation: isolate;
  background: var(--navy);
  color: #fff;
  padding-block: 23px 34px;
  overflow: hidden;
}
.catalog-banner-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 75% 49%;
  z-index: -2;
}
.catalog-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #071e33fa 0%, #071e33e8 42%, #071e3350 75%, #071e3310);
}
.catalog-banner .breadcrumb {
  color: #c0d3e3;
  margin-bottom: 24px;
}
.catalog-banner .eyebrow {
  color: #a9d8f8;
  font-size: var(--text-label);
  margin-bottom: 10px;
}
.catalog-banner h1 {
  font-size: clamp(34px, 3.4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}
.catalog-banner h1 span {
  color: var(--blue-light);
}
.catalog-banner p {
  max-width: 520px;
  font-size: var(--text-body);
  color: #d5e5f1;
  margin-top: 15px;
}
.catalog-advice-bar {
  background: var(--pale);
  border-bottom: 1px solid var(--line);
}
.catalog-advice-bar .container {
  min-height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding-block: 14px;
}
.catalog-advice-bar p {
  font-size: 0.9375rem;
  color: var(--muted);
}
.catalog-advice-bar strong {
  color: var(--ink);
  margin-right: 10px;
}
.catalog-advice-bar .text-link {
  flex-shrink: 0;
  font-size: 0.9375rem;
}
.catalog {
  padding-block: 40px 60px;
}
.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 28px;
}
.catalog-title .eyebrow {
  margin-bottom: 10px;
}
.catalog-title h2 {
  font-size: 28px;
}
.search-field {
  width: min(420px, 50%);
}
.search-field label {
  display: block;
  font-size: var(--text-small);
  font-weight: 650;
  margin-bottom: 8px;
}
.search-field input {
  display: block;
  width: 100%;
  border: 1px solid #b8ccdc;
  border-radius: 5px;
  min-height: 48px;
  padding: 12px 15px;
  font-size: var(--text-body);
  background: #fff;
  color: var(--ink);
}
.search-field input::placeholder {
  color: #627788;
}
.catalog-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 30px;
}
.catalog-layout:not(:has(.catalog-filters:not([hidden]))) {
  grid-template-columns: 1fr;
}
.catalog-filters {
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}
.filters-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 20px 16px;
  border-bottom: 1px solid var(--line);
}
.filters-heading h2 {
  font-size: 17px;
  letter-spacing: -0.02em;
}
.clear-filters {
  border: 0;
  background: none;
  padding: 10px 0;
  color: var(--blue);
  font-size: var(--text-small);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.catalog-filters fieldset {
  margin: 24px 0 0;
  border: 0;
  padding: 0 10px 20px;
  min-width: 0;
  border-bottom: 1px solid var(--line);
}
.catalog-filters legend {
  padding: 0 7px 12px;
  font-size: var(--text-small);
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.filter-options {
  display: grid;
  gap: 4px;
}
.filter-category {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 9px;
  border-radius: 5px;
  font-size: var(--text-small);
  line-height: 1.5;
  cursor: pointer;
  min-height: 52px;
  border: 1px solid transparent;
}
.filter-category input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.filter-category:has(:checked) {
  background: #eaf3fb;
  color: var(--blue);
  border-color: #d3e6f4;
  font-weight: 700;
}
.filter-category:has(:focus-visible) {
  outline: 3px solid #1584cb;
  outline-offset: -3px;
}
.filter-category:hover {
  background: #f1f6fa;
}
.filter-category img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.all-icon {
  width: 28px;
  flex-shrink: 0;
  font-size: 28px;
  text-align: center;
  color: var(--blue);
}
.catalog-filters .brand-filters {
  padding-inline: 19px;
}
.brand-filters label {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.9375rem;
  min-height: 42px;
  cursor: pointer;
}
.brand-filters input {
  width: 17px;
  height: 17px;
  accent-color: var(--blue);
}
.filter-tip {
  font-size: var(--text-small);
  color: var(--muted);
  padding: 20px;
  line-height: 1.8;
}
.filter-tip a {
  display: inline-block;
  color: var(--blue);
  font-weight: 600;
  margin-top: 10px;
}
.results-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  min-height: 32px;
  font-size: 0.9375rem;
}
.results-heading > span {
  font-size: var(--text-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.active-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.filter-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #c8dae8;
  background: var(--pale);
  color: var(--blue);
  border-radius: 25px;
  padding: 9px 13px;
  min-height: 40px;
  font-size: var(--text-small);
  max-width: 100%;
  overflow-wrap: anywhere;
  text-align: left;
}
.empty-state {
  background: var(--pale);
  border: 1px dashed #abc6da;
  border-radius: 8px;
  text-align: center;
  padding: 55px 26px;
}
.empty-symbol {
  font-size: 40px;
  color: var(--blue);
}
.empty-state h3 {
  font-size: 24px;
  margin-block: 12px;
}
.empty-state p {
  color: var(--muted);
  font-size: var(--text-body);
  max-width: 480px;
  margin-inline: auto;
}
.empty-state > div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.filter-toggle {
  display: none;
  background: #fff;
  border-color: #b8ccdc;
  color: var(--blue);
}

/* 8. Ficha individual: fotografía, datos y documentación */
.detail-breadcrumb {
  padding-block: 25px;
}
.product-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-block: 10px 52px;
}
.product-gallery {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 24px;
}
.gallery-label {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: var(--text-small);
  color: var(--muted);
}
.detail-product-image {
  width: 100%;
  height: 380px;
  object-fit: contain;
  padding: 35px;
  transform: scale(1.18);
  mix-blend-mode: multiply;
}
.product-gallery > p {
  font-size: var(--text-small);
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.detail-brand-logo {
  width: 135px;
  height: 42px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 22px;
}
.product-summary .eyebrow {
  margin-bottom: 9px;
  font-size: var(--text-label);
}
.product-summary h1 {
  font-size: clamp(40px, 4.8vw, 66px);
  letter-spacing: -0.045em;
  line-height: 1.1;
  overflow-wrap: anywhere;
}
.detail-type {
  font-size: 20px;
  color: var(--blue);
  margin-top: 12px;
}
.detail-description {
  color: var(--muted);
  font-size: var(--text-body);
  margin-top: 20px;
}
.application-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.application-tags span {
  background: var(--pale);
  color: var(--blue);
  border-radius: 4px;
  padding: 6px 10px;
  font-size: var(--text-small);
}
.summary-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  border-block: 1px solid var(--line);
  margin-top: 24px;
  padding-block: 18px;
}
.summary-facts > div:last-child {
  grid-column: 1/-1;
}
.summary-facts span {
  display: block;
  color: var(--muted);
  font-size: var(--text-small);
  margin-bottom: 5px;
}
.summary-facts strong {
  font-size: var(--text-body);
  font-weight: 650;
}
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 25px;
}
.availability-note {
  color: var(--muted);
  font-size: var(--text-small);
  margin-top: 14px;
}
.product-section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 38px;
  border-block: 1px solid var(--line);
  padding-block: 18px;
  font-size: 0.9375rem;
  font-weight: 650;
}
.product-section-nav a:hover {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.technical-data-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  padding-block: 60px;
  border-bottom: 1px solid var(--line);
}
.technical-data-section h2,
.documents-section h2 {
  font-size: 33px;
}
.technical-data-section p,
.documents-section p {
  color: var(--muted);
  font-size: var(--text-body);
  margin-top: 18px;
  max-width: 420px;
}
.technical-specs {
  margin: 0;
  font-size: var(--text-body);
}
.technical-specs > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.technical-specs > div:first-child {
  padding-top: 0;
}
.technical-specs dt {
  color: var(--muted);
}
.technical-specs dd {
  margin: 0;
  font-weight: 600;
}
.documents-section {
  padding-block: 55px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: center;
}
.document-card {
  display: flex;
  align-items: center;
  gap: 22px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 25px;
}
.document-card:hover {
  background: var(--pale);
  border-color: #94b8d1;
}
.document-icon {
  width: 45px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: var(--pale);
  font-size: 26px;
  flex-shrink: 0;
}
.document-card strong {
  display: block;
  font-size: var(--text-body);
}
.document-card > span > span {
  display: block;
  font-size: var(--text-small);
  color: var(--blue);
  margin-top: 8px;
}
.detail-advice {
  background: var(--navy);
  color: #fff;
  padding: 44px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.detail-advice .eyebrow {
  color: var(--blue-light);
}
.detail-advice h2 {
  font-size: 34px;
}
.detail-advice p {
  max-width: 550px;
  margin-top: 18px;
  color: #c0d3e3;
  font-size: var(--text-body);
}
.detail-advice .button {
  flex-shrink: 0;
}
.related-products h2 {
  font-size: 32px;
}

/* 9. Curva Q-H: gráfica vectorial, controles y datos accesibles */
.performance-section {
  padding-top: 65px;
}
.performance-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(290px, 1fr);
  gap: 26px;
  align-items: start;
}
.performance-layout:not(:has(.curve-controls:not([hidden]))) {
  grid-template-columns: 1fr;
}
.chart-panel {
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
}
.chart-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 26px 10px;
}
.chart-heading .eyebrow {
  margin-bottom: 6px;
  font-size: var(--text-label);
}
.chart-heading h3 {
  font-size: 17px;
}
.data-badge {
  background: var(--pale);
  color: var(--blue);
  border-radius: 4px;
  padding: 6px 9px;
  font-size: var(--text-label);
  flex-shrink: 0;
}
.performance-chart {
  display: block;
  width: 100%;
  height: auto;
  font-family: inherit;
}
.chart-gridline {
  stroke: #e3ecf2;
  stroke-width: 1;
}
.chart-tick {
  fill: #526879;
  font-size: var(--text-small);
}
.chart-axis-label {
  fill: #102d45;
  font-size: 0.9375rem;
  font-weight: 600;
}
.chart-line {
  fill: none;
  stroke: #0b4f87;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chart-guide {
  stroke: #82abc9;
  stroke-width: 1.3;
  stroke-dasharray: 5 5;
  fill: none;
}
.curve-point {
  fill: white;
  stroke: var(--blue);
  stroke-width: 3;
}
.target-point {
  fill: var(--red);
  stroke: #fff;
  stroke-width: 1.8;
}
.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0 26px 22px;
  font-size: var(--text-small);
  color: var(--muted);
}
.chart-legend > span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.legend-line {
  width: 23px;
  border-top: 3px solid var(--blue);
}
.legend-target {
  display: block;
  width: 8px;
  height: 8px;
  background: var(--red);
  transform: rotate(45deg);
}
.curve-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 20px 26px;
  background: var(--pale);
}
.curve-values span {
  display: block;
  font-size: var(--text-small);
  color: var(--muted);
}
.curve-values strong {
  display: block;
  font-size: 24px;
  color: var(--blue);
  margin-top: 5px;
}
.chart-disclaimer {
  color: var(--muted);
  font-size: var(--text-small);
  padding: 16px 26px;
}
.curve-controls {
  background: #f4f8fc;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 25px;
}
.curve-controls .eyebrow {
  font-size: var(--text-label);
  margin-bottom: 9px;
}
.curve-controls h3 {
  font-size: 21px;
  line-height: 1.3;
  margin-bottom: 24px;
}
.form-field {
  margin-top: 16px;
}
.form-field label {
  display: block;
  font-size: var(--text-small);
  font-weight: 600;
  margin-bottom: 8px;
}
.form-field select,
.form-field input:not([type='range']) {
  width: 100%;
  background: #fff;
  color: var(--ink);
  border: 1px solid #b8ccdc;
  border-radius: 4px;
  padding: 10px;
  min-height: 44px;
  font-size: 0.9375rem;
}
.form-field select {
  text-overflow: ellipsis;
}
.form-field input[type='range'] {
  width: 100%;
  min-height: 28px;
  accent-color: var(--blue);
  margin: 0;
}
.point-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.curve-reading {
  color: var(--muted);
  font-size: var(--text-small);
  line-height: 1.8;
  margin-top: 16px;
  border-top: 1px solid #cfdfec;
  padding-top: 16px;
}
.form-error {
  color: #a51d29;
  font-size: var(--text-small);
  margin-top: 10px;
}
.curve-controls > .button {
  width: 100%;
  margin-top: 10px;
  font-size: 0.9375rem;
}
.curve-explainer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-block: 30px;
}
.curve-explainer h3 {
  font-size: 16px;
  margin-bottom: 10px;
}
.curve-explainer p {
  color: var(--muted);
  font-size: 0.9375rem;
}
.data-disclosure {
  border-block: 1px solid var(--line);
  padding-block: 18px;
  font-size: 0.9375rem;
}
.data-disclosure summary {
  cursor: pointer;
  color: var(--blue);
  font-weight: 650;
}
.data-disclosure > p {
  margin-top: 20px;
  color: var(--muted);
  max-width: 800px;
}
.table-scroll {
  overflow-x: auto;
  margin-block: 20px;
}
.curve-data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-variant-numeric: tabular-nums;
}
.curve-data-table caption {
  text-align: left;
  margin-bottom: 12px;
  font-weight: 650;
}
.curve-data-table th {
  background: var(--pale);
}
.curve-data-table th,
.curve-data-table td {
  padding: 9px 15px;
  border-bottom: 1px solid var(--line);
}
.original-curve {
  margin-top: 20px;
  max-width: 600px;
  width: 100%;
  height: auto;
}

/* Responsive controls share the same catalog and navigation DOM. */
.layer-open .whatsapp-float {
  visibility: hidden;
}
.catalog-controls {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-bottom: 22px;
}
.sort-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.sort-field label {
  font-size: var(--text-small);
  font-weight: 650;
}
.sort-field select {
  min-height: 48px;
  border: 1px solid #b8ccdc;
  background: white;
  color: var(--ink);
  border-radius: 5px;
  padding: 10px 30px 10px 12px;
  font-size: var(--text-body);
}
.filter-close {
  display: none;
  border: 1px solid var(--line);
  background: white;
  color: var(--blue);
  border-radius: 4px;
  width: 44px;
  height: 44px;
  font-size: 26px;
}
.filter-actions {
  padding: 12px 20px;
}
.filter-actions [data-apply-filters] {
  display: none;
}
.filter-chip {
  min-height: 44px;
}

/* 10. Responsive: portátil (1280), navegación tablet (1024), catálogo compacto (900), teléfono (600). */
@media (min-width: 1600px) {
  .slide-inner {
    min-height: 680px;
  }
}
@media (max-width: 1280px) {
  .container {
    width: calc(100% - 48px);
  }
  .header-inner {
    gap: 18px;
  }
  .header-inner nav {
    gap: 16px;
  }
  .product-grid,
  .featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .catalog-layout {
    grid-template-columns: 224px minmax(0, 1fr);
    gap: 24px;
  }
  .service-grid {
    gap: 40px;
  }
  .product-overview {
    gap: 32px;
  }
  .detail-product-image {
    height: 350px;
    padding: 22px;
  }
  .performance-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 1fr);
    gap: 20px;
  }
  .curve-controls {
    padding: 22px;
  }
  .chart-heading {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }
}
@media (max-width: 1024px) {
  html {
    scroll-padding-top: 90px;
  }
  .header-inner {
    min-height: 76px;
    gap: 16px;
  }
  .brand img {
    width: 50px;
    height: 50px;
  }
  .menu-toggle:not([hidden]) {
    display: block;
    margin-left: auto;
  }
  .js-ready .header-inner nav {
    display: none;
  }
  .js-ready .header-inner nav.is-open {
    display: flex;
    position: fixed;
    top: var(--menu-top, 76px);
    left: 0;
    right: 0;
    max-height: calc(100dvh - var(--menu-top, 76px));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: white;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 16px max(24px, calc((100% - 720px) / 2)) max(24px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    box-shadow: 0 18px 28px #071e3320;
  }
  .header-inner nav a {
    min-height: 52px;
    padding: 14px 8px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }
  .header-inner nav .header-cta {
    margin-top: 18px;
    padding: 14px 20px;
    font-size: var(--text-body);
    border: 0;
  }
  .site-header[aria-modal='true']::before {
    content: '';
    position: fixed;
    inset: var(--menu-top, 76px) 0 0;
    background: #071e3380;
    z-index: -1;
  }
  .header-inner:has(nav:not(.is-open)) {
    flex-wrap: wrap;
  }
  html:not(.js-ready) .header-inner nav {
    flex-wrap: wrap;
    margin: 0;
    width: 100%;
    padding-bottom: 20px;
  }
  .hero-copy {
    max-width: 62%;
  }
  .hero h1,
  .hero h2 {
    font-size: clamp(38px, 4.4vw, 48px);
  }
  .hero-image {
    object-position: 68% center;
  }
  .slide-inner {
    min-height: 590px;
    padding-block: 60px 115px;
  }
  .section {
    padding-block: 64px;
  }
  .section-heading {
    gap: 28px;
  }
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .category-card {
    padding: 24px;
  }
  .category-top {
    margin-bottom: 20px;
  }
  .benefits .container {
    gap: 20px;
    padding-block: 20px;
  }
  .benefits span {
    display: block;
    margin-bottom: 4px;
  }
  .application-grid {
    gap: 24px;
  }
  .application-grid h3 {
    font-size: 20px;
  }
  .brand-card {
    padding: 22px;
    min-height: 110px;
  }
  .advice-intro {
    gap: 32px;
  }
  .advice-steps {
    gap: 24px;
  }
  .service-ring {
    width: 210px;
  }
  .service-ring img {
    width: 105px;
    height: 105px;
  }
  .contact-inner h2 {
    font-size: 30px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 40px;
  }
  .footer-grid > div:first-child {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 32px;
  }
  .footer-grid > div:first-child p {
    margin: 0;
  }
  .catalog-banner h1 {
    font-size: clamp(36px, 4vw, 42px);
  }
  .catalog-banner p {
    max-width: 48%;
  }
  .catalog-banner-image {
    object-position: 65% center;
  }
  .catalog-banner::after {
    background: linear-gradient(90deg, #071e33fa, #071e33dd 42%, #071e3320 85%);
  }
  .product-photo {
    height: 210px;
    padding: 20px;
  }
  .product-body {
    padding: 20px;
  }
  .card-specs {
    font-size: 0.9375rem;
  }
  .product-type {
    font-size: var(--text-body);
  }
  .product-detail-link,
  .product-consult {
    min-height: 44px;
    font-size: 0.9375rem;
  }
  .product-summary h1 {
    font-size: clamp(34px, 4.5vw, 48px);
  }
  .detail-actions {
    flex-direction: column;
  }
  /* Contact stays available without a floating control obscuring cards or charts. */
  .whatsapp-float {
    position: static;
    width: 100%;
    min-height: 58px;
    justify-content: center;
    padding: 16px 24px max(16px, env(safe-area-inset-bottom));
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-size: var(--text-body);
  }
}
@media (max-width: 900px) {
  /* Portrait composition: the photograph has its own space, below the copy. */
  .slide {
    display: flex;
    flex-direction: column;
    animation-duration: 250ms;
  }
  .slide::after {
    display: none;
  }
  .slide-inner {
    order: -1;
    min-height: 360px;
    padding-block: 36px 28px;
  }
  .hero-copy {
    max-width: 650px;
  }
  .hero h1,
  .hero h2 {
    font-size: clamp(34px, 5.2vw, 46px);
    text-wrap: balance;
  }
  .hero h1 span,
  .hero h2 span {
    display: inline;
  }
  .hero-copy p {
    margin-top: 18px;
    line-height: 1.65;
    max-width: 560px;
  }
  .hero-actions {
    margin-top: 24px;
  }
  .hero-image {
    position: relative;
    inset: auto;
    height: auto;
    aspect-ratio: 1672 / 941;
    z-index: 0;
    object-fit: contain;
    object-position: right center;
  }
  .slider-controls {
    position: relative;
    bottom: auto;
    padding-block: 12px;
    gap: 12px;
  }
  .hero {
    touch-action: pan-y pinch-zoom;
  }
  .section-heading {
    display: block;
    margin-bottom: 28px;
  }
  .section-heading p,
  .section-heading > .text-link {
    margin-top: 18px;
    max-width: 560px;
  }
  .brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .brand-card img {
    height: 62px;
    max-width: 190px;
  }
  .service-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .service-visual {
    flex-direction: row;
    text-align: left;
    gap: 22px;
  }
  .service-ring {
    width: 76px;
    box-shadow: none;
    flex-shrink: 0;
  }
  .service-ring img {
    width: 45px;
    height: 45px;
  }
  .service-visual .eyebrow {
    margin: 0;
  }
  .service-copy {
    max-width: 640px;
  }
  .technical-service {
    padding-block: 56px;
  }
  .advice-intro {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .contact-inner {
    align-items: start;
    flex-direction: column;
    gap: 24px;
  }
  .catalog-toolbar {
    display: block;
    margin-bottom: 18px;
  }
  .search-field {
    width: 100%;
    margin-top: 24px;
  }
  .search-field input,
  .form-field input,
  .form-field select {
    font-size: 16px;
  }
  .catalog-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    align-items: end;
    gap: 12px;
  }
  .filter-toggle:not([hidden]) {
    display: flex;
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
    margin: 0;
  }
  .catalog-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .catalog-filters {
    display: none;
  }
  .catalog-filters.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    z-index: 110;
    inset: 0 0 0 auto;
    width: min(440px, 100%);
    height: 100dvh;
    border: 0;
    border-radius: 0;
    box-shadow: -12px 0 35px #071e3326;
  }
  .filter-backdrop {
    position: fixed;
    inset: 0;
    background: #071e3388;
    z-index: 100;
  }
  .filter-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-inline: 12px;
  }
  .filters-heading {
    padding: max(16px, env(safe-area-inset-top)) 24px 16px;
  }
  .filters-heading h2 {
    font-size: 22px;
  }
  .filter-close {
    display: grid;
    place-items: center;
  }
  .filter-category {
    font-size: var(--text-body);
    min-height: 58px;
  }
  .catalog-filters legend {
    font-size: var(--text-small);
  }
  .catalog-filters .brand-filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .brand-filters label {
    font-size: var(--text-body);
    min-height: 48px;
  }
  .filter-tip {
    display: none;
  }
  .filter-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 24px max(16px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: white;
  }
  .filter-actions [data-apply-filters] {
    display: inline-flex;
  }
  .clear-filters {
    font-size: var(--text-body);
    min-height: 44px;
  }
  .catalog-advice-bar .container {
    align-items: start;
    gap: 16px;
  }
  .catalog-advice-bar p {
    max-width: 65%;
  }
  .catalog-advice-bar strong {
    display: block;
    margin-bottom: 4px;
  }
  .product-overview {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 24px;
  }
  .product-gallery {
    padding: 18px;
  }
  .detail-product-image {
    height: 290px;
    padding: 12px;
  }
  .gallery-label {
    flex-wrap: wrap;
  }
  .summary-facts {
    grid-template-columns: 1fr;
  }
  .detail-description {
    font-size: var(--text-body);
  }
  .performance-layout {
    grid-template-columns: 1fr;
  }
  .chart-heading {
    flex-direction: row;
  }
  .point-inputs {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .curve-explainer,
  .technical-data-section,
  .documents-section {
    gap: 28px;
  }
  .detail-advice {
    flex-direction: column;
    align-items: start;
  }
}
@media (max-width: 600px) {
  .container {
    width: calc(100% - 36px);
  }
  .topbar {
    display: none;
  }
  .header-inner {
    min-height: 72px;
  }
  .brand img {
    width: 46px;
    height: 46px;
  }
  .brand strong {
    font-size: 25px;
  }
  .section {
    padding-block: 44px;
  }
  h2 {
    font-size: clamp(28px, 7.5vw, 34px);
  }
  .eyebrow {
    font-size: var(--text-small);
    letter-spacing: 0.12em;
    margin-bottom: 12px;
  }
  .slide-inner {
    min-height: 390px;
    padding-block: 30px 24px;
  }
  .hero h1,
  .hero h2 {
    font-size: clamp(30px, 8.5vw, 37px);
    line-height: 1.1;
  }
  .hero-copy p {
    font-size: var(--text-body);
  }
  .hero .eyebrow {
    font-size: var(--text-label);
    letter-spacing: 0.07em;
    padding-left: 24px;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 10px;
    margin-top: 22px;
  }
  .hero-actions .button {
    min-height: 48px;
    font-size: var(--text-body);
  }
  .hero-image {
    height: auto;
  }
  .slider-controls {
    gap: 8px;
  }
  .slider-dots {
    gap: 0;
  }
  .slider-dot {
    min-width: 44px;
    padding-inline: 4px;
    gap: 5px;
  }
  .dot-line {
    width: 10px;
  }
  .slider-dot[aria-pressed='true'] .dot-line {
    width: 20px;
  }
  .slider-arrows {
    gap: 6px;
  }
  .slider-arrows button {
    min-width: 44px;
  }
  .slider-arrows .pause {
    min-width: 70px;
    padding-inline: 8px;
  }
  .benefits .container {
    grid-template-columns: 1fr;
    gap: 9px;
    padding-block: 18px;
  }
  .benefits span {
    display: inline;
    margin-right: 12px;
  }
  .benefits p {
    font-size: 0.9375rem;
  }
  .category-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .category-card {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 8px 16px;
    padding: 20px;
  }
  .category-top {
    grid-row: 1 / 4;
    margin: 0;
  }
  .category-top img {
    width: 50px;
    height: 50px;
  }
  .category-top > span {
    display: none;
  }
  .category-card h3 {
    font-size: 19px;
    max-width: none;
  }
  .category-card p {
    margin: 0;
    font-size: var(--text-body);
  }
  .card-link {
    grid-column: 2;
    margin-top: 3px;
    font-size: 0.9375rem;
  }
  .application-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .application-grid article {
    padding-top: 20px;
  }
  .application-grid h3 {
    font-size: 21px;
  }
  .application-grid p {
    max-width: none;
    font-size: var(--text-body);
  }
  .brand-grid {
    gap: 12px;
  }
  .brand-card {
    padding: 18px;
    min-height: 100px;
  }
  .brand-card img {
    height: 56px;
  }
  .advice-steps {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-block: 28px;
  }
  .advice-steps li {
    padding-top: 16px;
  }
  .advice-steps h3 {
    margin-block: 8px;
    font-size: 20px;
  }
  .advice-steps p {
    max-width: none;
    font-size: var(--text-body);
  }
  .technical-service,
  .contact-section {
    padding-block: 44px;
  }
  .service-copy .button,
  .contact-inner .button,
  .advice .button {
    width: 100%;
  }
  .contact-inner h2 {
    font-size: 29px;
  }
  .contact-inner h2 br {
    display: none;
  }
  footer {
    padding-block: 40px 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-bottom: 24px;
  }
  .footer-grid > div:first-child {
    grid-column: auto;
    display: block;
  }
  .footer-grid > div:first-child p {
    margin-top: 14px;
  }
  .footer-brand img {
    width: 60px;
    height: 60px;
  }
  .footer-grid > div > a:not(.footer-brand) {
    min-height: 44px;
    display: flex;
    align-items: center;
    margin: 0;
    font-size: var(--text-body);
  }
  .footer-grid h2 {
    margin-bottom: 8px;
    font-size: var(--text-body);
  }
  .footer-grid address {
    font-size: var(--text-body);
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
  .catalog-banner {
    padding-block: 24px 155px;
  }
  .catalog-banner .breadcrumb {
    margin-bottom: 20px;
  }
  .catalog-banner h1 {
    font-size: clamp(32px, 8.8vw, 38px);
  }
  .catalog-banner p {
    font-size: var(--text-body);
    max-width: 100%;
    line-height: 1.6;
  }
  .catalog-banner-image {
    inset: auto 0 0;
    height: 155px;
    object-position: right bottom;
  }
  .catalog-banner::after {
    background: linear-gradient(
      180deg,
      var(--navy) 0%,
      var(--navy) calc(100% - 170px),
      #071e3310 calc(100% - 125px)
    );
  }
  .catalog-advice-bar .container {
    flex-direction: column;
    gap: 4px;
    padding-block: 16px;
  }
  .catalog-advice-bar p {
    max-width: none;
    font-size: var(--text-body);
  }
  .catalog-advice-bar .text-link {
    min-height: 44px;
    font-size: var(--text-body);
  }
  .catalog {
    padding-block: 32px 44px;
  }
  .catalog-title h2 {
    font-size: 28px;
  }
  .sort-field select {
    max-width: 100%;
    font-size: var(--text-body);
  }
  .results-heading {
    margin-bottom: 16px;
  }
  .results-heading > span {
    display: none;
  }
  .product-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .product-photo {
    height: 190px;
    padding: 18px 28px;
  }
  .product-body {
    padding: 18px;
  }
  .product-body h3 {
    font-size: clamp(25px, 7vw, 30px);
  }
  .product-type {
    margin-top: 6px;
    font-size: var(--text-body);
  }
  .product-brand,
  .frequency-tag {
    font-size: var(--text-small);
  }
  .variant-caption {
    font-size: var(--text-small);
    margin-top: 8px;
  }
  .card-specs {
    margin: 8px 0 14px;
    font-size: var(--text-body);
  }
  .card-specs > div {
    padding-block: 7px;
  }
  .product-card-actions {
    gap: 12px;
    border-top: 1px solid var(--line);
    padding-top: 8px;
  }
  .product-detail-link,
  .product-consult {
    font-size: var(--text-body);
    min-height: 44px;
  }
  .empty-state {
    padding: 30px 20px;
  }
  .product-overview {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .detail-product-image {
    height: 245px;
    padding: 20px;
  }
  .detail-brand-logo {
    width: 110px;
    height: 35px;
    margin-bottom: 16px;
  }
  .product-summary h1 {
    font-size: clamp(32px, 9vw, 44px);
  }
  .summary-facts {
    grid-template-columns: 1fr 1fr;
  }
  .detail-actions {
    flex-direction: column;
  }
  .product-section-nav {
    flex-wrap: wrap;
    gap: 6px 16px;
    font-size: var(--text-body);
  }
  .product-section-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .technical-data-section,
  .documents-section,
  .curve-explainer {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .technical-data-section,
  .documents-section {
    padding-block: 36px;
  }
  .performance-section {
    padding-top: 36px;
  }
  .chart-heading {
    padding: 20px 18px 10px;
    flex-direction: column;
  }
  .chart-heading h3 {
    font-size: 18px;
  }
  .chart-tick {
    font-size: 18px;
  }
  .chart-axis-label {
    font-size: 19px;
  }
  .curve-values {
    padding: 18px;
    gap: 14px;
  }
  .curve-values strong {
    font-size: 21px;
  }
  .chart-legend {
    padding-inline: 18px;
    gap: 14px;
  }
  .chart-disclaimer {
    padding: 16px 18px;
    font-size: 0.9375rem;
  }
  .technical-specs {
    font-size: var(--text-body);
  }
  .technical-specs > div {
    gap: 16px;
  }
  .document-card {
    padding: 20px;
    gap: 15px;
  }
  .detail-advice {
    padding: 24px;
  }
  .detail-advice h2 {
    font-size: 29px;
  }
  .detail-advice .button {
    width: 100%;
  }
}
@media (max-width: 390px) {
  .container {
    width: calc(100% - 32px);
  }
  .hero .eyebrow {
    font-size: 0.6875rem;
  }
  .slide-inner {
    min-height: 410px;
  }
  .slider-arrows [data-previous],
  .slider-arrows [data-next] {
    display: none;
  }
  .category-card {
    padding: 18px;
    gap: 8px 12px;
  }
  .point-inputs {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .catalog-controls {
    gap: 10px;
  }
  .filter-toggle {
    padding-inline: 14px;
  }
}
@media (hover: none) {
  .button:hover,
  .category-card:hover,
  .product-card:hover .product-photo img {
    transform: none;
  }
}

/* 12. Accesibilidad e impresión */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
@media print {
  .topbar,
  .site-header,
  .whatsapp-float,
  .curve-controls,
  .detail-advice,
  .related-products,
  footer {
    display: none;
  }
  .container {
    width: 100%;
  }
  .product-overview {
    gap: 20px;
  }
  .detail-product-image {
    height: 220px;
  }
  .performance-layout {
    grid-template-columns: 1fr;
  }
  .section {
    padding-block: 20px;
  }
  a {
    text-decoration: none;
  }
  .data-disclosure {
    display: block;
  }
  .product-section-nav {
    display: none;
  }
}

/* 14. Arquitectura de contenido · Fase 2 */
.family-grid,
.guide-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.family-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  background: #fff;
  min-width: 0;
}
.family-card:first-child {
  border-top: 3px solid var(--blue);
}
.family-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 26px;
}
.family-heading .eyebrow {
  margin: 0;
  font-size: var(--text-label);
}
.family-heading img {
  width: 60px;
  height: 60px;
}
.family-card h3 {
  font-size: 25px;
  letter-spacing: -0.035em;
  line-height: 1.2;
}
.family-card h3 a:hover {
  text-decoration: underline;
}
.family-card p {
  color: var(--muted);
  font-size: var(--text-body);
  margin: 16px 0 20px;
}
.family-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 28px;
}
.family-links a,
.application-links a {
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 10px 12px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--blue);
  font-size: var(--text-small);
  background: var(--pale);
}
.family-links a:hover,
.application-links a:hover {
  background: #e0eef8;
  border-color: #8eb3d0;
}
.family-card > .text-link {
  margin-top: auto;
  min-height: 44px;
  border-top: 1px solid var(--line);
  padding-top: 17px;
}
.application-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 24px;
}
.application-links strong {
  font-size: 0.9375rem;
  margin-right: 10px;
}
.family-filter {
  padding: 20px;
  border-bottom: 1px solid var(--line);
}
.family-filter select {
  width: 100%;
  font-size: 0.9375rem;
}
.brand-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.brand-name {
  font: inherit;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}
.service-photo {
  margin: 0;
  position: relative;
}
.service-photo > img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: 8px;
}
.service-photo figcaption {
  font-size: var(--text-small);
  color: #c0d3e3;
  margin-top: 10px;
}
.service-title {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 22px;
}
.service-title img {
  filter: brightness(0) invert(1);
}
.service-title .eyebrow {
  margin: 0;
}
.authorized-service {
  border-top: 1px solid #ffffff40;
  margin-top: 28px;
  padding-top: 24px;
}
.authorized-service h3 {
  font-size: 18px;
}
.authorized-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
.authorized-brands span {
  border: 1px solid #ffffff50;
  padding: 8px 12px;
  border-radius: 4px;
}
.guides-section {
  background: var(--pale);
}
.guide-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: white;
  min-width: 0;
}
.guide-card > img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}
.guide-card:last-child > img {
  object-fit: contain;
  background: #fff;
}
.guide-card > div {
  padding: 26px;
}
.guide-card h3 {
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.guide-card h3 a:hover {
  color: var(--blue);
  text-decoration: underline;
}
.guide-card p {
  font-size: var(--text-body);
  color: var(--muted);
  margin: 16px 0 24px;
}
.guide-card .eyebrow {
  font-size: var(--text-label);
}
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 72px;
}
.faq-layout > div > p {
  color: var(--muted);
  margin-top: 24px;
  max-width: 300px;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:first-child {
  border-top: 1px solid var(--line);
}
.faq-item h3 {
  margin: 0;
}
.faq-item button {
  border: 0;
  background: none;
  color: var(--ink);
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  text-align: left;
  min-height: 64px;
  padding: 20px 6px;
  font-size: 16px;
  font-weight: 650;
}
.faq-item button span {
  color: var(--blue);
  font-size: 24px;
  flex-shrink: 0;
}
.faq-answer {
  padding: 0 6px 24px;
  font-size: var(--text-body);
  color: var(--muted);
}
.footer-expanded {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 38px;
}
.footer-identity {
  grid-column: span 2;
}
.footer-preferences {
  color: inherit;
  font-size: 0.9375rem;
  text-align: left;
  border: 0;
  padding: 10px 0;
  background: transparent;
  min-height: 44px;
  text-decoration: underline;
}
.footer-expanded > div > a:not(.footer-brand) {
  padding-block: 6px;
}
.editorial-page {
  padding-block: 32px 84px;
}
.editorial-heading {
  margin: 42px 0;
  max-width: 850px;
}
.editorial-heading h1,
.legal-page h1 {
  font-size: clamp(32px, 4.5vw, 58px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}
.editorial-heading p {
  color: var(--muted);
  max-width: 720px;
  margin-top: 24px;
  font-size: 18px;
}
.article-image {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--pale);
}
.article-image[src*='products/pedrollo_rx'] {
  object-fit: contain;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 70px;
  margin-top: 48px;
  align-items: start;
}
.article-copy h2 {
  font-size: 27px;
  margin: 32px 0 16px;
}
.article-copy h2:first-child {
  margin-top: 0;
}
.article-copy p,
.article-copy li {
  color: var(--muted);
  font-size: 16px;
}
.article-copy li {
  margin-block: 12px;
}
.article-copy a {
  color: var(--blue);
  text-decoration: underline;
  overflow-wrap: anywhere;
}
.article-copy ul {
  padding-left: 22px;
}
.article-aside {
  padding: 28px;
  background: var(--pale);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.article-aside h2 {
  font-size: 25px;
}
.article-aside p {
  color: var(--muted);
  font-size: var(--text-body);
  margin: 16px 0;
}
.article-aside h3 {
  font-size: 17px;
  margin-top: 32px;
}
.article-product {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-block: 16px;
  font-size: var(--text-body);
  font-weight: 650;
}
.article-product img {
  object-fit: contain;
  width: 64px;
  height: 64px;
  background: #fff;
  flex-shrink: 0;
}
.article-product small {
  display: block;
  font-weight: 400;
  font-size: var(--text-small);
}
.legal-page {
  max-width: 900px;
  padding-block: 36px 80px;
}
.legal-page h1 {
  margin: 40px 0;
}
.document-notice {
  background: var(--pale);
  border-left: 3px solid var(--blue);
  padding: 20px;
  margin-bottom: 32px;
}
.review-grid {
  margin-block: 28px;
}
.review-card {
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: 8px;
}
.review-card blockquote {
  margin: 16px 0;
}
.review-stars {
  color: #825800;
  letter-spacing: 0.15em;
}
.cookie-banner {
  position: fixed;
  z-index: 80;
  bottom: 18px;
  left: 18px;
  max-width: 700px;
  width: calc(100% - 36px);
  background: white;
  color: var(--ink);
  border: 1px solid #a7c2d9;
  border-radius: 8px;
  box-shadow: 0 5px 40px #071e3330;
  padding: 22px;
}
.cookie-banner p {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-top: 5px;
}
.cookie-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.cookie-actions .text-link {
  min-height: 44px;
  border: 0;
  background: transparent;
  padding: 8px;
}
.consent-panel {
  position: fixed;
  z-index: 100;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  color: var(--ink);
  width: min(560px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 0 0 100vmax #071e3380;
}
.consent-panel h2 {
  font-size: 28px;
}
.consent-panel > p {
  margin-block: 16px;
  font-size: var(--text-body);
  color: var(--muted);
}
.consent-option {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.consent-option p,
.consent-option span span {
  display: block;
  font-size: 0.9375rem;
  color: var(--muted);
  margin-top: 8px;
}
.consent-option > span {
  flex: 1;
}
.consent-option input {
  width: 24px;
  height: 24px;
  accent-color: var(--blue);
}
@media (max-width: 1100px) {
  .family-card {
    padding: 22px;
  }
  .family-grid,
  .guide-grid {
    gap: 16px;
  }
  .family-card h3 {
    font-size: 23px;
  }
  .brand-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .faq-layout,
  .article-layout {
    gap: 36px;
  }
  .footer-expanded {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer-grid.footer-expanded > .footer-identity {
    grid-column: 1 / -1;
  }
}
@media (max-width: 900px) {
  .family-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .family-card:first-child {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
  }
  .family-card:first-child .family-heading {
    grid-column: span 2;
    margin-bottom: 16px;
  }
  .family-card:first-child p {
    grid-column: 1;
  }
  .family-card:first-child .family-links {
    grid-column: 2;
    grid-row: 2 / span 2;
    align-content: start;
    margin-bottom: 12px;
  }
  .family-card:first-child > .text-link {
    grid-column: span 2;
  }
  .guide-grid {
    grid-template-columns: 1fr;
  }
  .guide-card {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }
  .guide-card > img {
    height: 100%;
    min-height: 220px;
  }
  .guide-card > div {
    padding: 24px;
  }
  .guide-card h3 {
    font-size: 23px;
  }
  .service-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .service-photo > img {
    max-height: 340px;
  }
  .service-copy p {
    max-width: 650px;
  }
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .faq-layout > div > p {
    max-width: none;
  }
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-aside {
    display: block;
  }
  .article-image {
    height: 280px;
  }
  .footer-expanded {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid.footer-expanded > .footer-identity {
    grid-column: span 2;
  }
  .review-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .family-grid {
    grid-template-columns: 1fr;
  }
  .family-card:first-child {
    grid-column: auto;
    display: flex;
  }
  .family-heading {
    margin-bottom: 18px;
  }
  .family-card {
    padding: 24px;
  }
  .family-card h3 {
    font-size: 26px;
  }
  .family-links {
    margin-bottom: 20px;
  }
  .application-links {
    gap: 8px;
  }
  .application-links strong {
    width: 100%;
  }
  .brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .guide-card {
    display: block;
  }
  .guide-card > img {
    height: 180px;
    min-height: 0;
  }
  .guide-card h3 {
    font-size: 23px;
  }
  .service-photo > img {
    max-height: none;
  }
  .service-photo figcaption {
    font-size: var(--text-label);
  }
  .service-title .eyebrow {
    font-size: var(--text-label);
  }
  .service-title img {
    width: 46px;
    height: 46px;
  }
  .footer-expanded {
    gap: 28px 18px;
  }
  .footer-contact {
    grid-column: span 2;
  }
  .footer-expanded h2 {
    font-size: 0.9375rem;
  }
  .footer-expanded > div > a:not(.footer-brand) {
    font-size: var(--text-small);
    min-height: 40px;
  }
  .editorial-heading {
    margin: 28px 0;
  }
  .editorial-heading p {
    font-size: 16px;
  }
  .article-image {
    height: 210px;
  }
  .article-layout {
    margin-top: 30px;
  }
  .article-aside {
    padding: 22px;
  }
  .article-copy h2 {
    font-size: 25px;
  }
  .cookie-banner {
    padding: 16px;
    left: 10px;
    bottom: 10px;
    width: calc(100% - 20px);
  }
  .cookie-actions {
    gap: 8px;
  }
  .cookie-actions .button {
    flex: 1;
    font-size: var(--text-small);
    padding: 10px;
  }
  .cookie-actions .text-link {
    width: 100%;
    justify-content: center;
  }
  .consent-panel {
    padding: 24px;
  }
}
@media print {
  .cookie-banner,
  .consent-panel,
  .footer-preferences {
    display: none !important;
  }
}

/* 15. Catálogo aprobado y refinamientos de implementación */

#categories {
  background: linear-gradient(135deg, #e5f0f8, #f0f6fb 65%, #dbeaf6);
}
.family-card {
  border-top: 3px solid var(--blue);
  background: linear-gradient(155deg, #fff, #eaf3fa);
  box-shadow: 0 10px 28px #071e330a;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.family-card:hover {
  border-color: #83aacb;
  box-shadow: 0 16px 32px #071e3314;
  transform: translateY(-3px);
}
.family-card:first-child {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: white;
}
.family-card:first-child p,
.family-card:first-child .eyebrow,
.family-card:first-child > .text-link {
  color: #d9eaf8;
}
.family-card:first-child > .text-link {
  border-color: #ffffff40;
}
.category-icon {
  flex: 0 0 auto;
  display: inline-block;
  width: 64px;
  height: 64px;
  color: var(--blue);
  background: #dcecf8;
  padding: 8px;
  border-radius: 12px;
}
.category-icon::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background: currentColor;
  mask: var(--icon-url) center / contain no-repeat;
}
.family-card:first-child .category-icon {
  background: #ffffff1f;
  color: #c5e9ff;
}
.filter-category .category-icon {
  width: 36px;
  height: 36px;
  padding: 4px;
  border-radius: 6px;
}
.filter-category:has(input:checked) {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}
.filter-category:has(input:checked) .category-icon {
  background: #ffffff20;
  color: white;
}
.product-card {
  box-shadow: 0 4px 18px #071e3306;
}
.product-card:hover {
  border-color: #8daecc;
  box-shadow: 0 10px 26px #071e3312;
}
.product-card-meta {
  flex-wrap: wrap;
}
.product-image-pending {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  height: 220px;
  background: linear-gradient(145deg, #f1f7fc, #e3eff8);
  color: var(--muted);
  font-size: var(--text-small);
  text-align: center;
}
.product-image-pending img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  opacity: 0.65;
}
.product-gallery .product-image-pending {
  height: 380px;
  border-radius: 6px;
}
.product-summary h1 {
  font-size: clamp(2rem, 3.6vw, 3.25rem);
}
.document-pending {
  border: 1px solid var(--line);
  background: var(--pale);
  padding: 28px;
  border-radius: 8px;
}
.document-pending .text-link {
  margin-top: 18px;
  min-height: 44px;
}
.social-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.social-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-size: var(--text-body);
}
.social-links svg {
  flex-shrink: 0;
  color: #a9d8f8;
}
.social-links a:hover {
  color: #a9d8f8;
}
.footer-expanded address,
.footer-expanded p {
  overflow-wrap: anywhere;
}
.chart-sample {
  fill: var(--blue);
  stroke: white;
  stroke-width: 1.5;
}
.chart-sample:hover {
  r: 7px;
}
#curve-canvas {
  cursor: crosshair;
}
.chart-heading,
.curve-values,
.point-inputs {
  min-width: 0;
}
@media (max-width: 1024px) {
  .header-inner { min-height: 80px; }
  html { scroll-padding-top: 96px; }
}
@media (max-width: 600px) {
  .family-card:first-child .family-heading { margin-bottom: 22px; }
  .family-card:first-child .category-icon { width: 64px; height: 64px; }
  .family-card:first-child p { margin-block: 16px 20px; }
  .family-card:first-child .family-links { margin-bottom: 28px; }
  .family-card:first-child > .text-link { margin-top: auto; }
  .product-gallery .product-image-pending { height: 245px; }
  .product-overview { gap: 28px; }
  .chart-heading { flex-wrap: wrap; }
  .chart-legend { gap: 12px; }
  .social-links a { font-size: 1rem; }
  .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .family-card { transition: none; }
  .family-card:hover { transform: none; }
}
/* 16. Perfeccionamiento visual y exploración del catálogo */
.filter-option-count {
  margin-left: auto;
  flex-shrink: 0;
  min-width: 28px;
  padding: 2px 5px;
  text-align: center;
  font-size: .8125rem;
  font-variant-numeric: tabular-nums;
  border-radius: 4px;
  background: #0b4f870d;
}
.filter-category:has(input:checked) .filter-option-count { background: #ffffff20; }
.family-heading { min-height: 64px; }
.family-card h3 { font-size: clamp(1.625rem, 2vw, 1.875rem); }
#featured { background: linear-gradient(160deg, #f0f6fb, #fff 75%); }
.featured-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.featured-grid > .product-card { grid-column: span 2; }
.featured-grid > .product-card:nth-last-child(-n + 2) { grid-column: span 3; }
.featured-grid .product-photo { background: #fff; border-bottom: 3px solid #dcecf8; }
.brand-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.brand-card { flex: 0 1 calc((100% - 54px) / 4); min-width: 0; background: #fff; border-radius: 8px; min-height: 132px; padding: 24px; }
.brand-card img { width: 100%; height: 64px; max-height: 64px; object-fit: contain; }
.brand-card:hover { border-color: #8daecc; box-shadow: 0 8px 22px #071e330a; }
.catalog-toolbar { display: grid; grid-template-columns: 1fr; gap: 22px; }
.catalog-toolbar .search-field {
  width: 100%;
  padding: 24px;
  background: #eaf3fa;
  border: 1px solid #c8dcec;
  border-radius: 10px;
}
.search-field label { color: var(--blue); font-size: 1rem; margin-bottom: 12px; }
.search-field input {
  min-height: 60px;
  border-radius: 7px;
  padding: 16px 20px 16px 54px;
  border-color: #9ab8d0;
  box-shadow: 0 3px 10px #071e3305;
  background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230b4f87' stroke-width='1.8'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m16 16 5 5'/%3E%3C/svg%3E") 18px center / 22px no-repeat;
}
.search-field input:focus-visible { outline: 3px solid #7bc6f8; outline-offset: 3px; border-color: var(--blue); }
#search-help { color: var(--muted); font-size: .875rem; margin-top: 12px; }
.catalog-controls { padding: 0 0 20px; border-bottom: 1px solid var(--line); }
.sort-field { min-width: min(100%, 280px); }
.sort-field label { color: var(--blue); }
.product-brand-heading { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.product-brand-heading .detail-brand-logo { width: 150px; height: 48px; margin: 0; object-fit: contain; object-position: left center; }
.product-line-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; color: var(--blue); background: #eaf3fa; border-radius: 6px; font-size: .875rem; }
.product-gallery { border-top: 3px solid #9dc4e0; background: linear-gradient(155deg, #fff 65%, #f0f6fb); }
.detail-product-image { transform: none; padding: 24px; }
.summary-facts { background: var(--pale); border: 1px solid var(--line); border-radius: 8px; padding: 20px; }
.summary-facts strong { color: var(--blue); }
.detail-document-link { min-height: 48px; display: inline-flex; align-items: center; }
.product-section-nav { background: var(--pale); border: 1px solid var(--line); border-radius: 8px; padding: 16px 20px; gap: 12px 28px; }
.product-section-nav a { min-height: 36px; display: inline-flex; align-items: center; }
.document-card { border-top: 3px solid #9dc4e0; }
.technical-specs { border-radius: 8px; overflow: hidden; }
.technical-specs > div:nth-child(odd) { background: #f0f6fb; }
@media (max-width: 1000px) {
  .brand-card { flex-basis: calc((100% - 36px) / 3); }
  .featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured-grid > .product-card,
  .featured-grid > .product-card:nth-last-child(-n + 2) { grid-column: auto; }
  .featured-grid > .product-card:last-child { grid-column: 1 / -1; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .family-card:first-child { display: grid; }
}
@media (max-width: 600px) {
  .brand-card { flex-basis: calc((100% - 18px) / 2); padding: 18px; }
  .featured-grid { grid-template-columns: 1fr; }
  .featured-grid > .product-card:last-child { grid-column: auto; }
  .catalog-toolbar .search-field { padding: 18px 16px; }
  .search-field input { padding-left: 44px; background-position: 13px center; font-size: 1rem; }
  #search-help { font-size: .875rem; }
  .sort-field { width: 100%; }
  .product-brand-heading { gap: 12px; margin-bottom: 20px; }
  .product-brand-heading .detail-brand-logo { width: 130px; height: 42px; }
  .product-line-badge { font-size: .8125rem; padding: 7px 9px; }
  .product-section-nav { gap: 6px 18px; padding: 12px 16px; }
  .summary-facts { padding: 16px; }
}

/* Galería de ficha: sin avisos extensos; etiqueta discreta para imágenes de serie. */
.gallery-stage { position: relative; margin-top: 12px; }
.product-gallery .series-photo-label { left: 0; bottom: 0; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fffffff2; color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: .02em; }
.product-gallery .product-image-pending { gap: 14px; border: 1px dashed #c9dbe9; }
.product-image-pending span { font-weight: 500; letter-spacing: .02em; }

/* Tarjetas sin fotografía: el estado neutro ocupa exactamente el área de imagen, sin desbordarla. */
.product-photo .product-image-pending { position: absolute; inset: 0; width: auto; height: auto; gap: 12px; border-radius: 8px 8px 0 0; }
.product-photo .product-image-pending img { width: 56px; height: 56px; }

/* Nombre de la empresa junto al logo: Arial Black, mayúsculas, rojo corporativo. */
.brand .mar-wordmark,
.footer-brand .mar-wordmark { display: block; font-family: "Arial Black", "Arial Bold", Gadget, Arial, sans-serif; font-weight: 900; text-transform: uppercase; color: #ff0009; letter-spacing: 0; line-height: 1; white-space: nowrap; font-size: 24px; }
.footer-brand .mar-wordmark { font-size: 30px; }
@media (max-width: 1200px) { .brand .mar-wordmark { font-size: 21px; } }
@media (max-width: 600px) { .brand .mar-wordmark { font-size: 15px; } .footer-brand .mar-wordmark { font-size: 22px; } }
@media (max-width: 380px) { .brand .mar-wordmark { font-size: 14px; } .footer-brand .mar-wordmark { font-size: 19px; } }

/* Native WordPress guide blocks inside the approved editorial layout. */
.mar-managed-copy { min-width: 0; overflow-wrap: anywhere; }
.mar-managed-copy img, .mar-managed-copy video { max-width: 100%; height: auto; }
.mar-managed-copy figure { margin: 24px 0; max-width: 100%; }
.mar-managed-copy .wp-block-table { overflow-x: auto; }
.mar-managed-copy .wp-block-table table { width: 100%; border-collapse: collapse; }
.mar-managed-copy .wp-block-table td, .mar-managed-copy .wp-block-table th { padding: 12px; border: 1px solid var(--line); }
.mar-managed-copy h3 { margin: 24px 0 12px; font-size: 21px; }
.faq-answer a { color: var(--blue); text-decoration: underline; overflow-wrap: anywhere; }
