/* ================================================================
   FILTROS ANZA — MALLAS Y LÁMINAS PERFORADAS
   Cargar después de style.css y anza-recursos.css.
   ================================================================ */

.anza-mallas-page {
  color: #243746;
  background: #f5f8fa;
}

.anza-mallas-page h2,
.anza-mallas-page h3 {
  font-family: "Montserrat", sans-serif;
}

.anza-mallas-page .anza-resource-hero h1 {
  max-width: 940px;
}

.anza-mallas-quicknav {
  position: relative;
  z-index: 5;
  padding: 20px 0;
  background: #fff;
  border-bottom: 1px solid #d8e3e9;
}

.anza-mallas-quicknav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.anza-mallas-quicknav a {
  display: inline-flex;
  padding: 9px 14px;
  color: #315066 !important;
  background: #f3f7fa;
  border: 1px solid #d9e4eb;
  border-radius: 999px;
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none !important;
}

.anza-mallas-quicknav a:hover,
.anza-mallas-quicknav a:focus {
  color: #fff !important;
  background: #1d72da;
  border-color: #1d72da;
}

.anza-screen-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 27px;
}

.anza-screen-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #d6e1e8;
  border-radius: 9px;
  box-shadow: 0 10px 28px rgba(14, 35, 50, .07);
}

.anza-screen-pattern {
  position: relative;
  height: 210px;
  overflow: hidden;
  background-color: #d8e1e7;
}

.anza-screen-pattern::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: .92;
}

.anza-screen-pattern--perforated::before {
  background:
    radial-gradient(circle at center, #0e2332 0 7px, transparent 7.5px) 0 0 / 32px 32px,
    radial-gradient(circle at center, #0e2332 0 7px, transparent 7.5px) 16px 16px / 32px 32px;
}

.anza-screen-pattern--mesh::before {
  background:
    linear-gradient(90deg, transparent 0 45%, #0e2332 46% 54%, transparent 55%) 0 0 / 18px 18px,
    linear-gradient(transparent 0 45%, #0e2332 46% 54%, transparent 55%) 0 0 / 18px 18px;
}

.anza-screen-pattern span {
  position: absolute;
  right: 22px;
  bottom: 18px;
  z-index: 1;
  padding: 8px 11px;
  color: #fff;
  background: rgba(5, 20, 31, .82);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.anza-screen-card-copy {
  padding: 31px 30px 32px;
}

.anza-screen-card-copy h3 {
  margin: 0 0 13px;
  color: #0e2332;
  font-size: 24px;
  font-weight: 700;
}

.anza-screen-card-copy p {
  margin: 0 0 19px;
  color: #526978;
  font-size: 14px;
  line-height: 1.75;
}

.anza-screen-card-copy ul,
.anza-selection-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.anza-screen-card-copy li,
.anza-selection-card li {
  position: relative;
  margin-top: 9px;
  padding-left: 23px;
  color: #315066;
  font-size: 13px;
  line-height: 1.55;
}

.anza-screen-card-copy li::before,
.anza-selection-card li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: #1d72da;
  content: "✓";
  font-weight: 700;
}

.anza-definition-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 31px;
  overflow: hidden;
  background: #d8e3e9;
  border: 1px solid #d8e3e9;
  border-radius: 8px;
}

.anza-definition-panel div {
  padding: 24px;
  background: #edf3f6;
}

.anza-definition-panel strong,
.anza-definition-panel span {
  display: block;
}

.anza-definition-panel strong {
  margin-bottom: 7px;
  color: #0e2332;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
}

.anza-definition-panel span {
  color: #526978;
  font-size: 12px;
  line-height: 1.65;
}

.anza-selection-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.anza-selection-card {
  min-height: 275px;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid #d8e3e9;
  border-top: 4px solid #1d72da;
  border-radius: 7px;
}

.anza-selection-number {
  display: block;
  margin-bottom: 26px;
  color: #1d72da;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
}

.anza-selection-card h3 {
  margin: 0 0 12px;
  color: #0e2332;
  font-size: 18px;
  font-weight: 700;
}

.anza-selection-card p {
  margin: 0;
  color: #526978;
  font-size: 13px;
  line-height: 1.68;
}

.anza-engineering-note {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  margin-top: 28px;
  padding: 27px 29px;
  color: #fff;
  background: linear-gradient(110deg, #0e2332 0%, #315066 100%);
  border-radius: 8px;
}

.anza-engineering-note .fa {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  color: #b8e1ff;
  background: rgba(184, 225, 255, .1);
  border-radius: 50%;
  font-size: 25px;
}

.anza-engineering-note strong {
  display: block;
  margin-bottom: 7px;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 17px;
}

.anza-engineering-note p {
  margin: 0;
  color: rgba(255, 255, 255, .75);
  font-size: 13px;
  line-height: 1.7;
}

.anza-table-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #d5e0e7;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(14, 35, 50, .06);
}

.anza-table-intro {
  padding: 25px 27px;
  background: #edf3f6;
  border-bottom: 1px solid #d8e3e9;
}

.anza-table-intro h3 {
  margin: 0 0 7px;
  color: #0e2332;
  font-size: 18px;
  font-weight: 700;
}

.anza-table-intro p {
  margin: 0;
  color: #526978;
  font-size: 12px;
  line-height: 1.65;
}

.anza-table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.anza-tech-table {
  width: 100%;
  min-width: 720px;
  margin: 0;
  border-collapse: collapse;
  color: #315066;
  font-size: 12px;
}

.anza-tech-table th,
.anza-tech-table td {
  padding: 13px 15px;
  border-bottom: 1px solid #e0e8ed;
  text-align: left;
  vertical-align: middle;
}

.anza-tech-table thead th {
  color: #fff;
  background: #315066;
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.anza-tech-table tbody tr:nth-child(even) {
  background: #f7f9fb;
}

.anza-tech-table tbody tr:hover {
  background: #eaf4fc;
}

.anza-tech-table strong {
  color: #0e2332;
}

.anza-tech-table--compact {
  min-width: 580px;
}

.anza-pattern-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.anza-pattern-list {
  padding: 27px;
  background: #fff;
  border: 1px solid #d8e3e9;
  border-radius: 8px;
}

.anza-pattern-list h3 {
  margin: 0 0 18px;
  color: #0e2332;
  font-size: 18px;
}

.anza-pattern-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.anza-pattern-list li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  padding: 11px 0;
  border-top: 1px solid #e1e8ed;
  color: #526978;
  font-size: 12px;
}

.anza-pattern-list li:first-child {
  border-top: 0;
}

.anza-pattern-list strong {
  color: #1d72da;
}

.anza-application-table td:first-child {
  color: #0e2332;
  font-weight: 700;
}

.anza-table-footnote {
  margin: 17px 0 0;
  color: #617785;
  font-size: 12px;
  line-height: 1.7;
}

.anza-conversion-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
  gap: 28px;
  align-items: start;
}

.anza-conversion-note {
  position: sticky;
  top: 112px;
  padding: 29px 27px;
  color: #fff;
  background: #0e2332;
  border-radius: 8px;
}

.anza-conversion-note h3 {
  margin: 0 0 13px;
  color: #fff;
  font-size: 19px;
  font-weight: 700;
}

.anza-conversion-note p {
  margin: 0 0 17px;
  color: rgba(255, 255, 255, .73);
  font-size: 13px;
  line-height: 1.72;
}

.anza-conversion-note a {
  color: #b8e1ff !important;
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.anza-maintenance-panel {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 42px;
  align-items: center;
  padding: 42px;
  background: #fff;
  border: 1px solid #d6e1e8;
  border-radius: 9px;
}

.anza-maintenance-panel h2 {
  margin: 11px 0 17px;
  color: #0e2332;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.15;
}

.anza-maintenance-panel p {
  margin: 0;
  color: #526978;
  font-size: 14px;
  line-height: 1.75;
}

.anza-maintenance-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.anza-maintenance-checks li {
  min-height: 96px;
  padding: 19px 19px 17px;
  color: #315066;
  background: #edf3f6;
  border-left: 4px solid #1d72da;
  border-radius: 5px;
  font-size: 12px;
  line-height: 1.6;
}

.anza-maintenance-checks strong {
  display: block;
  margin-bottom: 5px;
  color: #0e2332;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
}

@media (max-width: 1199.98px) {
  .anza-selection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .anza-screen-comparison,
  .anza-conversion-layout,
  .anza-maintenance-panel {
    grid-template-columns: 1fr;
  }

  .anza-conversion-note {
    position: static;
  }

  .anza-maintenance-panel {
    gap: 30px;
  }
}

@media (max-width: 767.98px) {
  .anza-mallas-quicknav-list {
    justify-content: flex-start;
  }

  .anza-definition-panel,
  .anza-selection-grid,
  .anza-pattern-options,
  .anza-maintenance-checks {
    grid-template-columns: 1fr;
  }

  .anza-screen-pattern {
    height: 170px;
  }

  .anza-screen-card-copy,
  .anza-maintenance-panel {
    padding: 25px 22px;
  }

  .anza-selection-card {
    min-height: 0;
  }

  .anza-engineering-note {
    grid-template-columns: 1fr;
  }

  .anza-pattern-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .anza-mallas-page * {
    scroll-behavior: auto !important;
  }
}
