/* =========================================================================
   METAPOL · Sistema de diseño
   Clásico corporativo · azul/rojo · Inter
   ========================================================================= */

:root {
  /* Colores Metapol — extraídos del logo real (negro + cyan) */
  --metapol-blue: #1B2230;        /* charcoal navy */
  --metapol-blue-700: #232B3B;
  --metapol-blue-900: #0F141C;    /* casi negro, footer */
  --metapol-blue-50: #EEF1F6;
  --metapol-blue-100: #DCE2EC;

  /* Cyan: color real del logo (ex --metapol-red) */
  --metapol-red: #00B7E0;          /* cyan brand */
  --metapol-red-700: #0094B6;
  --metapol-red-50: #E0F6FC;

  --steel-50: #F4F6F8;
  --steel-100: #E5E9EE;
  --steel-200: #CBD3DC;
  --steel-300: #94A3B8;
  --steel-500: #64748B;
  --steel-700: #334155;
  --steel-900: #0F172A;

  --ink-900: #0B1220;
  --ink-700: #2C3441;
  --ink-500: #6B7280;
  --ink-300: #C7CDD6;
  --ink-100: #EEF1F5;
  --ink-50:  #F7F9FB;

  --success: #16A34A;
  --warning: #F59E0B;
  --error:   #DC2626;

  /* Type */
  --font-sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* Radii */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;
  --r-2xl: 24px;
  --r-full: 9999px;

  /* Shadows */
  --sh-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --sh-md: 0 4px 14px -4px rgba(15, 23, 42, 0.10), 0 2px 4px -2px rgba(15, 23, 42, 0.06);
  --sh-lg: 0 18px 38px -10px rgba(15, 23, 42, 0.18), 0 6px 14px -6px rgba(15, 23, 42, 0.08);
  --sh-blue: 0 18px 38px -10px rgba(0, 46, 95, 0.35);

  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-900);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------------- Type ---------------- */
.h-display {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.h1 { font-size: clamp(32px, 4vw, 48px); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; }
.h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; line-height: 1.15; letter-spacing: -0.015em; }
.h3 { font-size: 22px; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
.h4 { font-size: 18px; font-weight: 600; line-height: 1.3; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--metapol-red);
}
.eyebrow.mono-blue { color: var(--metapol-blue); }
.lead { font-size: 18px; line-height: 1.6; color: var(--ink-700); text-wrap: pretty; }
.mono { font-family: var(--font-mono); }

/* ---------------- Container ---------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 640px) { .container { padding: 0 20px; } }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: var(--metapol-red);
  color: #fff;
  box-shadow: 0 8px 22px -8px rgba(0, 183, 224, 0.6);
}
.btn--primary:hover { background: var(--metapol-red-700); box-shadow: 0 12px 28px -8px rgba(0, 183, 224, 0.7); }
.btn--secondary {
  background: var(--metapol-blue);
  color: #fff;
}
.btn--secondary:hover { background: var(--metapol-blue-700); }
.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.btn--outline:hover { background: rgba(255, 255, 255, 0.08); border-color: #fff; }
.btn--outline-dark {
  background: transparent;
  color: var(--metapol-blue);
  border-color: var(--ink-300);
}
.btn--outline-dark:hover { border-color: var(--metapol-blue); background: var(--metapol-blue-50); }
.btn--ghost { background: transparent; color: var(--metapol-blue); }
.btn--ghost:hover { background: var(--metapol-blue-50); }
.btn--lg { padding: 16px 26px; font-size: 16px; }
.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn--whatsapp { background: #25D366; color: #fff; }
.btn--whatsapp:hover { background: #1da851; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--ink-100);
}
.site-header__top {
  background: var(--metapol-blue-900);
  color: #cfd8e3;
  font-size: 13px;
}
.site-header__top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
}
.site-header__top a { display: inline-flex; align-items: center; gap: 6px; color: #cfd8e3; transition: color .2s; }
.site-header__top a:hover { color: #fff; }
.site-header__topright { display: flex; gap: 22px; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--metapol-blue);
}
/* Logo real Metapol: M angular roja con texto charcoal */
.nav__logo-mark {
  width: 46px;
  height: 46px;
  position: relative;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
}
.nav__logo-mark svg { width: 100%; height: 100%; display: block; }
.nav__logo-mark .m-stroke { stroke: var(--metapol-red); stroke-width: 3; fill: none; }
.nav__logo-mark .m-bar { fill: var(--metapol-red); }
.nav__logo-name { line-height: 1; }
.nav__logo-name small { display: block; font-size: 10px; font-weight: 500; letter-spacing: 0.18em; color: var(--ink-500); margin-top: 4px; }

.nav__menu {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__menu li { position: relative; }
.nav__menu a, .nav__menu button.linkish {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-900);
  border-radius: var(--r-md);
  background: none;
  border: none;
  transition: background .15s, color .15s;
  cursor: pointer;
}
.nav__menu a:hover, .nav__menu button.linkish:hover { background: var(--ink-50); color: var(--metapol-blue); }
.nav__menu a.is-active { color: var(--metapol-blue); font-weight: 600; }

.nav__cta {
  display: flex;
  gap: 12px;
  align-items: center;
}
.nav__phone {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--metapol-blue);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.megamenu {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  top: 100%;
  width: min(960px, 90vw);
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
  z-index: 60;
}
.nav__menu li:hover > .megamenu,
.nav__menu li:focus-within > .megamenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.megamenu__col h5 {
  margin: 0 0 12px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--metapol-red);
  font-weight: 600;
}
.megamenu__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.megamenu__col a {
  display: flex;
  justify-content: space-between;
  padding: 8px 10px;
  margin: 0 -10px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-900);
}
.megamenu__col a:hover { background: var(--metapol-blue-50); color: var(--metapol-blue); }
.megamenu__col a code { font-family: var(--font-mono); font-size: 12px; color: var(--ink-500); }
.megamenu__footer {
  grid-column: 1 / -1;
  border-top: 1px solid var(--ink-100);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  background: var(--metapol-blue);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 400px at 75% 30%, rgba(255,255,255,0.06), transparent),
    linear-gradient(180deg, var(--metapol-blue) 0%, var(--metapol-blue-900) 100%);
  z-index: -2;
}
.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  z-index: -1;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 96px 0 110px;
}
.hero__copy h1 {
  font-size: clamp(40px, 5.6vw, 72px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 18px 0 18px;
}
.hero__copy h1 em {
  font-style: normal;
  background: linear-gradient(120deg, #fff 0%, #fff 50%, #ffd6dc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}
.hero__copy h1 em::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 3px;
  background: var(--metapol-red);
  transform-origin: left;
  animation: drawIn 1.2s 0.6s ease both;
}
@keyframes drawIn { from { transform: scaleX(0);} to { transform: scaleX(1);} }
.hero__copy p.lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  max-width: 540px;
  margin: 0 0 28px;
}
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__trust {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.hero__trust-item .num {
  font-size: 28px;
  font-weight: 800;
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
  display: block;
}
.hero__trust-item .lbl {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero__visual {
  position: relative;
  height: 540px;
}

/* Warehouse photo card inside the hero */
.hero__photo {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 24px 60px -12px rgba(0,0,0,0.55), 0 0 0 1px rgba(0,183,224,0.18);
  background: var(--metapol-blue-900);
  isolation: isolate;
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s ease;
}
.hero__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,20,28,0) 30%, rgba(15,20,28,0.88) 100%);
  pointer-events: none;
}
.hero__photo:hover img { transform: scale(1.04); }
.hero__photo-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 26px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero__photo-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--metapol-red);
  text-transform: uppercase;
}
.hero__photo-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

/* ---------------- Sections ---------------- */
.section {
  padding: 96px 0;
}
.section--tight { padding: 72px 0; }
.section--bg { background: var(--ink-50); }
.section--blue { background: var(--metapol-blue); color: #fff; }
.section--steel {
  background: linear-gradient(180deg, var(--ink-50) 0%, #fff 100%);
}
.section__head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section__head--left { text-align: left; margin-left: 0; margin-right: auto; }
.section__head .eyebrow { display: block; margin-bottom: 14px; }

/* ---------------- Cards ---------------- */
.card {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  padding: 24px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  border-color: transparent;
}
.card--feature { display: flex; flex-direction: column; gap: 14px; }
.card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--metapol-blue-50);
  color: var(--metapol-blue);
  display: grid;
  place-items: center;
}
.card__icon svg { width: 22px; height: 22px; }

.product-card {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative;
  overflow: hidden;
  min-height: 320px;
}
.product-card__photo {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--steel-200), var(--steel-700));
  position: relative;
  overflow: hidden;
}
.product-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.8,.2,1), filter .4s;
  filter: contrast(1.05) saturate(0.9);
}
.product-card:hover .product-card__photo img { transform: scale(1.06); filter: contrast(1.1) saturate(1); }
.product-card__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15,20,28,0.55) 100%);
}
.product-card__inner { padding: 24px; display: flex; flex-direction: column; gap: 18px; flex: 1; }
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--metapol-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: transparent; }
.product-card:hover::before { transform: scaleX(1); }
.product-card.is-premium::before { background: linear-gradient(90deg, var(--metapol-red), var(--metapol-blue)); transform: scaleX(1); }

/* Marquee bar (industrias / proveedores) */
.marquee {
  overflow: hidden;
  position: relative;
  padding: 28px 0;
  background: #fff;
  border-top: 1px solid var(--ink-100);
  border-bottom: 1px solid var(--ink-100);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: scroll-x 40s linear infinite;
  align-items: center;
}
.marquee__item {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink-500);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 12px;
}
.marquee__item::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--metapol-red);
  border-radius: 50%;
  flex: 0 0 8px;
}
@keyframes scroll-x {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Floating tag chips on hero */
/* Image media slot (replaces placeholder for service-card / quote / article) */
.media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-wrap { position: relative; overflow: hidden; }
.media-wrap img { transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.media-wrap:hover img { transform: scale(1.04); }

/* KPI animated arc */
.arc-kpi {
  position: relative;
  width: 200px;
  height: 200px;
  flex: 0 0 200px;
}
.arc-kpi svg { transform: rotate(-90deg); }
.arc-kpi__num {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 36px;
  font-weight: 800;
  color: var(--metapol-blue);
  letter-spacing: -0.02em;
}
.arc-kpi__num small { display:block; font-size: 11px; font-weight: 500; color: var(--ink-500); margin-top: 6px; letter-spacing: 0.1em; text-transform: uppercase; }

.product-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.product-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--steel-200), var(--steel-500));
  display: grid;
  place-items: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.product-card__icon svg { position: relative; z-index: 1; }
.product-card__title { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; margin: 0; }
.product-card__sub { font-size: 13px; color: var(--ink-500); margin: 4px 0 0; }
.product-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}
.product-card__list li {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-700);
  padding: 6px 10px;
  background: var(--ink-50);
  border-radius: var(--r-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.product-card__list li::after {
  content: '→';
  color: var(--ink-300);
  transition: color .2s, transform .2s;
}
.product-card__list li:hover::after { color: var(--metapol-red); transform: translateX(2px); }
.product-card__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--metapol-blue);
  font-size: 14px;
}
.product-card__cta::after { content: '→'; transition: transform .2s; }
.product-card:hover .product-card__cta::after { transform: translateX(4px); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--metapol-red);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--r-full);
}
.badge--blue { background: var(--metapol-blue); }
.badge--soft { background: var(--metapol-blue-50); color: var(--metapol-blue); }
.badge--success { background: #DCFCE7; color: #15803D; }

/* ---------------- Trust strip ---------------- */
.trust-strip {
  background: var(--metapol-blue-900);
  color: #fff;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.trust-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: center;
}
.trust-strip__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}
.trust-strip__item strong { color: #fff; font-weight: 700; }
.trust-strip__item .ico {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.08);
  display: grid;
  place-items: center;
  color: #fff;
  flex: 0 0 32px;
}

/* ---------------- Steel section ---------------- */
.steel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.steel-grid--5 { grid-template-columns: repeat(5, 1fr); }

/* ---------------- Feature grid ---------------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  padding: 28px;
  border-radius: var(--r-lg);
  border: 1px solid var(--ink-100);
  background: #fff;
  transition: border-color .25s, transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature:hover { border-color: transparent; box-shadow: var(--sh-md); transform: translateY(-2px); }
.feature__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--metapol-red);
  font-weight: 600;
  letter-spacing: 0.1em;
}
.feature__title { font-size: 18px; font-weight: 700; margin: 0; }
.feature__body { color: var(--ink-700); font-size: 15px; margin: 0; }

/* ---------------- Service split ---------------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--ink-100);
  transition: transform .3s, box-shadow .3s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.service-card__media {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--steel-200), var(--steel-500));
  position: relative;
  overflow: hidden;
}
.service-card__media .placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  text-align: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.service-card__body { padding: 24px; }
.service-card__title { font-size: 20px; font-weight: 700; margin: 0 0 8px; }

/* ---------------- CTA Block ---------------- */
.cta-block {
  background: var(--metapol-blue);
  color: #fff;
  border-radius: var(--r-2xl);
  padding: 56px 56px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(500px 300px at 90% 110%, rgba(0, 183, 224, 0.35), transparent),
    radial-gradient(400px 260px at 10% -10%, rgba(255,255,255,0.08), transparent);
  pointer-events: none;
}
.cta-block__copy { position: relative; }
.cta-block__copy h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 12px 0 14px;
  line-height: 1.1;
}
.cta-block__copy p { color: rgba(255,255,255,0.78); margin: 0 0 0; max-width: 520px; }
.cta-block__form {
  position: relative;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--r-lg);
  padding: 24px;
  backdrop-filter: blur(10px);
  display: grid;
  gap: 12px;
}

/* ---------------- Form ---------------- */
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-700); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--ink-300);
  border-radius: var(--r-md);
  font: inherit;
  font-size: 15px;
  background: #fff;
  color: var(--ink-900);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--metapol-blue);
  box-shadow: 0 0 0 4px rgba(0, 46, 95, 0.12);
}
.field--inline-dark input, .field--inline-dark select, .field--inline-dark textarea {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
  color: #fff;
}
.field--inline-dark input::placeholder { color: rgba(255,255,255,0.5); }
.field--inline-dark label { color: rgba(255,255,255,0.85); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ---------------- Testimonial ---------------- */
.quote-block {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: center;
}
.quote-block__media {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--steel-300), var(--steel-700));
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
}
.quote-block__media .placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  text-align: center;
  padding: 20px;
}
.quote-block__quote {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  text-wrap: balance;
}
.quote-block__quote::before {
  content: '“';
  display: block;
  font-family: Georgia, serif;
  font-size: 80px;
  color: var(--metapol-red);
  line-height: 0.5;
  margin-bottom: 12px;
}
.quote-block__cite {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-500);
}
.quote-block__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--metapol-blue), var(--metapol-blue-900));
}

/* ---------------- Blog cards ---------------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.article-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ink-100);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: transparent; }
.article-card__media {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--metapol-blue-50), var(--ink-100));
  position: relative;
}
.article-card__media .placeholder {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--ink-500); text-align: center;
}
.article-card__body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.article-card__cat { font-family: var(--font-mono); font-size: 11px; color: var(--metapol-red); text-transform: uppercase; letter-spacing: 0.1em; }
.article-card__title { font-size: 18px; font-weight: 700; line-height: 1.3; margin: 0; color: var(--ink-900); }
.article-card__meta { font-size: 12px; color: var(--ink-500); margin-top: auto; padding-top: 12px; }

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--metapol-blue-900);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}
.site-footer h6 {
  margin: 0 0 14px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 600;
}
.site-footer__cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 48px;
  padding-bottom: 56px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: rgba(255,255,255,0.7); transition: color .15s; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.site-footer__intro { color: rgba(255,255,255,0.65); font-size: 14px; line-height: 1.6; max-width: 320px; }
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer__bottom a:hover { color: #fff; }
.site-footer__social { display: flex; gap: 8px; }
.site-footer__social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: grid; place-items: center;
  transition: background .2s, color .2s;
}
.site-footer__social a:hover { background: var(--metapol-red); color: #fff; }

/* ---------------- WhatsApp float ---------------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 14px 32px -8px rgba(37, 211, 102, 0.55);
  z-index: 90;
  transition: transform .25s ease;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.4);
  animation: pulseWA 2.4s infinite;
}
@keyframes pulseWA {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* ---------------- Reveal on scroll ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.reveal[data-stagger="1"] { transition-delay: 0.05s; }
.reveal[data-stagger="2"] { transition-delay: 0.15s; }
.reveal[data-stagger="3"] { transition-delay: 0.25s; }
.reveal[data-stagger="4"] { transition-delay: 0.35s; }
.reveal[data-stagger="5"] { transition-delay: 0.45s; }
.reveal[data-stagger="6"] { transition-delay: 0.55s; }

/* ---------------- Page hero (interior) ---------------- */
.page-hero {
  background: var(--metapol-blue);
  color: #fff;
  padding: 80px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 280px at 80% 0%, rgba(0, 183, 224, 0.18), transparent 70%),
    linear-gradient(180deg, var(--metapol-blue) 0%, var(--metapol-blue-900) 100%);
  z-index: -1;
}
.page-hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.page-hero h1 {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 14px 0 14px;
}
.page-hero p { color: rgba(255,255,255,0.78); max-width: 640px; font-size: 17px; margin: 0 0 24px; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  font-family: var(--font-mono);
}
.breadcrumb a { color: rgba(255,255,255,0.7); transition: color .15s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb__sep { color: rgba(255,255,255,0.3); }
.breadcrumb--dark { color: var(--ink-500); }
.breadcrumb--dark a { color: var(--ink-700); }
.breadcrumb--dark a:hover { color: var(--metapol-blue); }
.breadcrumb--dark .breadcrumb__sep { color: var(--ink-300); }

/* ---------------- Tech tables ---------------- */
.tech-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.tech-table th, .tech-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--ink-100);
}
.tech-table thead th {
  background: var(--ink-50);
  font-weight: 600;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-700);
}
.tech-table tbody td.mono { font-family: var(--font-mono); font-weight: 500; }
.tech-table tbody tr:hover { background: var(--ink-50); }

/* ---------------- Tabs ---------------- */
.tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  border-bottom: 1px solid var(--ink-100);
  margin-bottom: 32px;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab-btn {
  background: none;
  border: none;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-500);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: color .15s, border-color .15s;
}
.tab-btn:hover { color: var(--ink-900); }
.tab-btn.is-active { color: var(--metapol-blue); border-bottom-color: var(--metapol-blue); font-weight: 600; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------------- Sticky sidebar ---------------- */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 56px;
  align-items: start;
}
.detail-sidebar {
  position: sticky;
  top: 120px;
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--sh-md);
}
.detail-sidebar h4 { margin: 0 0 6px; font-size: 18px; font-weight: 700; }
.detail-sidebar p.sub { margin: 0 0 18px; font-size: 14px; color: var(--ink-500); }

/* ---------------- Step indicator ---------------- */
.steps {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
}
.step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-500);
}
.step__num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink-100);
  color: var(--ink-500);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 13px;
  font-family: var(--font-mono);
  transition: all .25s;
}
.step.is-active .step__num { background: var(--metapol-blue); color: #fff; }
.step.is-active { color: var(--metapol-blue); font-weight: 600; }
.step.is-done .step__num { background: var(--success); color: #fff; }
.step__line {
  width: 40px;
  height: 2px;
  background: var(--ink-100);
}

/* ---------------- Mobile ---------------- */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 32px; padding: 64px 0 80px; }
  .hero__visual { height: 360px; }
  .hero__trust { grid-template-columns: repeat(2, 1fr); margin-top: 32px; }
  .nav__menu, .nav__phone, .site-header__top { display: none; }
  .nav__cta .btn:not(.btn--primary) { display: none; }
  .nav { height: 64px; }

  .steel-grid, .steel-grid--5 { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .trust-strip .container { grid-template-columns: repeat(2, 1fr); }
  .quote-block { grid-template-columns: 1fr; gap: 24px; }
  .cta-block { grid-template-columns: 1fr; padding: 32px; gap: 24px; }
  .site-footer__cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; }
  .field-row { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .megamenu { display: none; }

  .hamburger { display: grid !important; }
}

.hamburger {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1.5px solid var(--ink-300);
  border-radius: var(--r-md);
  place-items: center;
  cursor: pointer;
}

/* mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: var(--metapol-blue-900);
  color: #fff;
  z-index: 100;
  padding: 24px;
  transform: translateX(100%);
  transition: transform .3s ease;
  display: flex;
  flex-direction: column;
}
.mobile-drawer.is-open { transform: none; }
.mobile-drawer__close { align-self: flex-end; background: none; border: 0; color: #fff; font-size: 28px; }
.mobile-drawer ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 4px; }
.mobile-drawer ul a { display: block; padding: 14px 16px; border-radius: var(--r-md); font-size: 18px; font-weight: 500; }
.mobile-drawer ul a:hover { background: rgba(255,255,255,0.06); }
.mobile-drawer__cta { margin-top: auto; display: grid; gap: 10px; }

/* =========================================================================
   ADDITIONS · 2026 SEO/SEM rebuild
   - FAQ accordion · breadcrumb · page-hero · article TOC
   - calculator widget · blog cards · table of equivalents
   - WhatsApp float tooltip · drawer groups · printable spec table
   ========================================================================= */

/* ---- Hide-on-mobile helper (used in header) ---- */
@media (max-width: 640px) {
  .hide-sm { display: none !important; }
}

/* ---- Page hero (interior pages) ---- */
.page-hero {
  background: linear-gradient(180deg, var(--metapol-blue) 0%, var(--metapol-blue-900) 100%);
  color: #fff;
  padding: 56px 0 64px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 40%, black 30%, transparent 75%);
  z-index: -1;
}
.page-hero__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: end;
}
.page-hero h1 {
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 16px 0 14px;
}
.page-hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, #fff, #ffd6dc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-hero p.lead {
  color: rgba(255,255,255,.78);
  font-size: 17px;
  max-width: 620px;
  margin: 0;
}
.page-hero__meta {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.page-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.page-hero__meta span::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--metapol-red);
}
.page-hero__visual {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}
@media (max-width: 900px) {
  .page-hero__inner { grid-template-columns: 1fr; }
  .page-hero__visual { display: none; }
}

/* ---- Breadcrumb ---- */
.breadcrumb {
  background: var(--ink-50);
  border-bottom: 1px solid var(--ink-100);
  padding: 14px 0;
  font-size: 13px;
  color: var(--ink-500);
}
.breadcrumb ol {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li:not(:last-child)::after { content: '›'; color: var(--ink-300); }
.breadcrumb a { color: var(--ink-500); transition: color .15s; }
.breadcrumb a:hover { color: var(--metapol-blue); }
.breadcrumb li[aria-current] { color: var(--metapol-blue); font-weight: 600; }

/* ---- Article (calidad / blog post) layout ---- */
.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  align-items: start;
}
.article-body { max-width: 760px; }
.article-body h2 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 56px 0 16px;
  position: relative;
  padding-top: 16px;
}
.article-body h2::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 36px; height: 3px;
  background: var(--metapol-red);
}
.article-body h3 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 36px 0 10px;
}
.article-body p { margin: 0 0 16px; color: var(--ink-700); font-size: 16.5px; line-height: 1.7; text-wrap: pretty; }
.article-body ul, .article-body ol { padding-left: 22px; margin: 0 0 22px; color: var(--ink-700); }
.article-body ul li, .article-body ol li { margin-bottom: 8px; line-height: 1.65; }
.article-body strong { color: var(--ink-900); font-weight: 700; }
.article-body blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  background: var(--metapol-blue-50);
  border-left: 3px solid var(--metapol-blue);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-style: normal;
  color: var(--ink-700);
  font-size: 15.5px;
}
.article-body blockquote p:last-child { margin-bottom: 0; }
.article-body table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 16px 0 32px;
  border: 1px solid var(--ink-100);
  border-radius: var(--r-md);
  overflow: hidden;
  font-size: 14.5px;
}
.article-body table th {
  background: var(--ink-50);
  padding: 12px 14px;
  font-weight: 600;
  color: var(--ink-900);
  text-align: left;
  border-bottom: 1px solid var(--ink-100);
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.article-body table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--ink-50);
  color: var(--ink-700);
}
.article-body table tr:last-child td { border-bottom: 0; }
.article-body table td.mono, .article-body table td:first-child {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--ink-900);
}
.article-body table tbody tr:hover { background: var(--ink-50); }
.article-body img { border-radius: var(--r-md); margin: 20px 0; }

@media (max-width: 1000px) {
  .article-grid { grid-template-columns: 1fr; }
}

/* ---- Sidebar TOC + CTA ---- */
.toc {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.toc__nav {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  padding: 20px 22px;
}
.toc__nav h6 {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--metapol-red);
  font-family: var(--font-mono);
}
.toc__nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.toc__nav a {
  display: block;
  padding: 7px 10px;
  border-radius: var(--r-sm);
  font-size: 13.5px;
  color: var(--ink-700);
  transition: background .15s, color .15s;
  border-left: 2px solid transparent;
}
.toc__nav a:hover { background: var(--ink-50); color: var(--metapol-blue); }
.toc__nav a.is-active { background: var(--metapol-blue-50); color: var(--metapol-blue); border-left-color: var(--metapol-blue); font-weight: 600; }

.cta-card {
  background: var(--metapol-blue);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 200px at 100% 0%, rgba(217,36,44,.25), transparent);
  pointer-events: none;
}
.cta-card h4 { margin: 0 0 10px; font-size: 18px; font-weight: 700; line-height: 1.25; }
.cta-card p { margin: 0 0 18px; color: rgba(255,255,255,.78); font-size: 14px; line-height: 1.5; }
.cta-card .btn { width: 100%; justify-content: center; }
.cta-card .btn + .btn { margin-top: 8px; }

@media (max-width: 1000px) {
  .toc { position: static; margin-top: 40px; }
}

/* ---- FAQ accordion ---- */
.faq { display: grid; gap: 8px; }
.faq__item {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.faq__item:hover { border-color: var(--ink-300); }
.faq__item.is-open { border-color: var(--metapol-blue); box-shadow: var(--sh-md); }
.faq__q {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  padding: 18px 22px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink-900);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: color .15s;
}
.faq__q:hover { color: var(--metapol-blue); }
.faq__q::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--metapol-blue);
  transition: transform .25s;
  flex: 0 0 auto;
}
.faq__item.is-open .faq__q::after { transform: rotate(45deg); }
.faq__a {
  padding: 0 22px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .25s;
  color: var(--ink-700);
  font-size: 15px;
  line-height: 1.65;
}
.faq__item.is-open .faq__a { max-height: 800px; padding: 0 22px 22px; }

/* ---- Article cards (blog) ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.article-card {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  border-color: transparent;
}
.article-card__img {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--metapol-blue) 0%, var(--metapol-blue-900) 100%);
  position: relative;
  overflow: hidden;
}
.article-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.8,.2,1);
}
.article-card:hover .article-card__img img { transform: scale(1.06); }
.article-card__img-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.4);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.article-card__body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.article-card__meta { display: flex; gap: 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-500); }
.article-card__meta .cat { color: var(--metapol-red); }
.article-card h3 { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; color: var(--ink-900); }
.article-card p { margin: 0; color: var(--ink-700); font-size: 14.5px; line-height: 1.55; }
.article-card__cta {
  margin-top: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--metapol-blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.article-card__cta::after { content: '→'; transition: transform .2s; }
.article-card:hover .article-card__cta::after { transform: translateX(4px); }

@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr; } }

/* ---- Catalog table (15 calidades) ---- */
.catalog-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.catalog-table th {
  background: var(--metapol-blue);
  color: #fff;
  padding: 14px 16px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  text-align: left;
  border-bottom: 0;
}
.catalog-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--ink-100);
  color: var(--ink-700);
}
.catalog-table tbody tr:hover { background: var(--ink-50); }
.catalog-table tbody tr:last-child td { border-bottom: 0; }
.catalog-table td.mono, .catalog-table td:nth-child(1), .catalog-table td:nth-child(2) {
  font-family: var(--font-mono);
  color: var(--ink-900);
  font-weight: 500;
}
.catalog-table td a {
  color: var(--metapol-blue);
  font-weight: 600;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.catalog-table td a::after { content: '→'; transition: transform .2s; }
.catalog-table td a:hover::after { transform: translateX(3px); }
.catalog-table .pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 600;
  background: var(--ink-100);
  color: var(--ink-700);
}
.catalog-table .pill.frio { background: #DBEAFE; color: #1D4ED8; }
.catalog-table .pill.caliente { background: #FEE2E2; color: #B91C1C; }
.catalog-table .pill.moldes { background: #DCFCE7; color: #166534; }
.catalog-table .pill.construccion { background: #FEF3C7; color: #92400E; }
.catalog-table .pill.toolox { background: #1B2230; color: #fff; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 800px) {
  .catalog-table { font-size: 13px; min-width: 700px; }
}

/* ---- Calculator widget (peso de acero) ---- */
.calc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--r-xl);
  padding: 32px;
  box-shadow: var(--sh-md);
}
.calc__form { display: flex; flex-direction: column; gap: 16px; }
.calc__form label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-900); margin-bottom: 6px; }
.calc__form select, .calc__form input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--ink-100);
  border-radius: var(--r-md);
  font-family: inherit;
  font-size: 15px;
  background: #fff;
  transition: border-color .2s;
}
.calc__form select:focus, .calc__form input:focus {
  outline: none;
  border-color: var(--metapol-blue);
}
.calc__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.calc__result {
  background: linear-gradient(180deg, var(--metapol-blue) 0%, var(--metapol-blue-900) 100%);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
}
.calc__result::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(400px 200px at 80% 0%, rgba(217,36,44,.25), transparent);
}
.calc__result > * { position: relative; }
.calc__result__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.calc__result__num {
  font-family: var(--font-mono);
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}
.calc__result__num small { font-size: 18px; color: rgba(255,255,255,.7); margin-left: 6px; }
.calc__result__detail { font-size: 13px; color: rgba(255,255,255,.78); line-height: 1.5; }
.calc__result__cta { margin-top: auto; }

@media (max-width: 800px) {
  .calc { grid-template-columns: 1fr; padding: 24px; }
  .calc__result__num { font-size: 44px; }
}

/* ---- WhatsApp float button improvements ---- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px -8px rgba(37, 211, 102, .55);
  z-index: 90;
  transition: transform .25s, box-shadow .25s;
}
.wa-float:hover { transform: scale(1.06) rotate(-4deg); }
.wa-float .wa-tip {
  position: absolute;
  right: 100%;
  margin-right: 12px;
  background: var(--ink-900);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--r-md);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: opacity .25s, transform .25s;
}
.wa-float .wa-tip::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px; height: 10px;
  background: var(--ink-900);
}
.wa-float:hover .wa-tip { opacity: 1; transform: none; }
@media (max-width: 640px) {
  .wa-float .wa-tip { display: none; }
  .wa-float { width: 56px; height: 56px; bottom: 16px; right: 16px; }
}

/* ---- Mobile drawer improvements ---- */
.mobile-drawer { overflow-y: auto; }
.mobile-drawer__group { margin-top: 28px; }
.mobile-drawer__group h6 {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,.5);
  margin: 0 0 12px;
  font-family: var(--font-mono);
}
.mobile-drawer ul a { color: #fff; }

/* ---- Process / how-it-works steps (vertical timeline) ---- */
.process {
  display: grid;
  gap: 28px;
}
.process__item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  position: relative;
  padding-bottom: 28px;
}
.process__item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 24px;
  top: 56px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--metapol-blue), transparent);
}
.process__num {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--metapol-blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 18px;
  position: relative;
  z-index: 1;
}
.process__body h4 { margin: 6px 0 8px; font-size: 19px; font-weight: 700; }
.process__body p { margin: 0; color: var(--ink-700); font-size: 15px; line-height: 1.6; }

/* ---- Industry icons grid ---- */
.industries {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.industry-card {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--r-md);
  padding: 24px 18px;
  text-align: center;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.industry-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
  border-color: var(--metapol-blue);
}
.industry-card__ico {
  width: 48px; height: 48px;
  background: var(--metapol-blue-50);
  color: var(--metapol-blue);
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
}
.industry-card h5 { margin: 0 0 4px; font-size: 14px; font-weight: 700; }
.industry-card p { margin: 0; font-size: 12px; color: var(--ink-500); line-height: 1.4; }

@media (max-width: 800px) {
  .industries { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Form improvements ---- */
.form-card {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--r-xl);
  padding: 36px;
  box-shadow: var(--sh-md);
}
.form-card .field { display: block; margin-bottom: 18px; }
.form-card label { font-size: 13px; font-weight: 600; color: var(--ink-900); display: block; margin-bottom: 6px; }
.form-card label .req { color: var(--metapol-red); }
.form-card input, .form-card select, .form-card textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--ink-100);
  border-radius: var(--r-md);
  font-family: inherit;
  font-size: 15px;
  background: #fff;
  color: var(--ink-900);
  transition: border-color .2s, box-shadow .2s;
}
.form-card input:focus, .form-card select:focus, .form-card textarea:focus {
  outline: none;
  border-color: var(--metapol-blue);
  box-shadow: 0 0 0 4px var(--metapol-blue-50);
}
.form-card textarea { resize: vertical; min-height: 130px; }
.form-card .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-card .field-help {
  font-size: 13px;
  color: var(--ink-500);
  margin-top: 6px;
}
.form-card .submit-row {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--ink-100);
  flex-wrap: wrap;
}
.form-card .privacy-note {
  font-size: 12px;
  color: var(--ink-500);
  margin: 12px 0 0;
}

/* ---- "ribbon" announcement bar (TOOLOX exclusivity) ---- */
.ribbon {
  background: linear-gradient(90deg, var(--metapol-red) 0%, #B11A22 100%);
  color: #fff;
  padding: 10px 0;
  font-size: 13px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ribbon strong { font-weight: 700; }
.ribbon a { text-decoration: underline; font-weight: 600; }

/* ---- Print-friendly spec sheet (calidad) ---- */
@media print {
  .site-header, .site-footer, .wa-float, .mobile-drawer, .breadcrumb { display: none !important; }
  body { background: #fff; }
  .article-grid { grid-template-columns: 1fr; }
  .toc, .cta-card, .ribbon { display: none !important; }
  .article-body table { page-break-inside: avoid; }
}

/* ---- Stat strip (used in nosotros / home) ---- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--metapol-blue);
  color: #fff;
  border-radius: var(--r-xl);
  padding: 32px 0;
  position: relative;
  overflow: hidden;
}
.stat-strip::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(500px 250px at 30% 50%, rgba(255,255,255,.04), transparent),
    radial-gradient(400px 200px at 90% 10%, rgba(217,36,44,.18), transparent);
}
.stat-strip__item {
  text-align: center;
  position: relative;
  padding: 0 20px;
}
.stat-strip__item:not(:last-child) {
  border-right: 1px solid rgba(255,255,255,.08);
}
.stat-strip__num {
  font-family: var(--font-mono);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.02em;
  display: block;
  line-height: 1;
}
.stat-strip__lbl {
  margin-top: 8px;
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
@media (max-width: 800px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); padding: 24px 0; gap: 24px 0; }
  .stat-strip__item:not(:last-child) { border-right: 0; }
  .stat-strip__item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.08); }
}

/* ---- Hover megamenu narrow variant ---- */
.megamenu--narrow {
  width: min(420px, 90vw);
  grid-template-columns: 1fr;
}

/* ---- Body container max-width helper ---- */
.container--narrow { max-width: 880px; }
.container--medium { max-width: 1040px; }

/* ---- 404 / fallback ---- */
.error-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 20px;
}
.error-page__num {
  font-family: var(--font-mono);
  font-size: 120px;
  font-weight: 800;
  color: var(--metapol-blue);
  line-height: 1;
  letter-spacing: -0.04em;
}

/* ---- Note / callout box ---- */
.callout {
  background: var(--metapol-blue-50);
  border-left: 4px solid var(--metapol-blue);
  padding: 18px 22px;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: 24px 0;
  font-size: 15px;
  color: var(--ink-700);
}
.callout strong { color: var(--metapol-blue); }
.callout--warning { background: #FEF3C7; border-left-color: #F59E0B; }
.callout--warning strong { color: #92400E; }
.callout--success { background: #DCFCE7; border-left-color: var(--success); }


/* ============================================================
   ADDITIONAL COMPONENTS — generated pages support
   ============================================================ */

/* Breadcrumb (flat, light) */
.breadcrumb {
  background: var(--ink-50, #F8FAFC);
  border-bottom: 1px solid var(--ink-100, #E5E7EB);
  padding: 14px 0;
  font-size: 13px;
  color: var(--ink-700);
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: 8px;
  color: var(--ink-300);
}
.breadcrumb a {
  color: var(--ink-500);
  text-decoration: none;
  transition: color .15s;
}
.breadcrumb a:hover { color: var(--metapol-blue); }
.breadcrumb [aria-current="page"] {
  color: var(--metapol-blue);
  font-weight: 600;
}

/* Page hero (article variant) */
.page-hero {
  background: linear-gradient(135deg, var(--metapol-blue) 0%, #0F1419 100%);
  color: #fff;
  padding: 72px 0 60px;
  position: relative;
}
.page-hero h1 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 16px 0;
  color: #fff;
}
.page-hero .eyebrow {
  color: rgba(255,255,255,0.6);
  font-family: var(--font-mono, 'JetBrains Mono');
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.page-hero .lead {
  color: rgba(255,255,255,0.85);
  font-size: 17px;
  max-width: 760px;
  line-height: 1.6;
}
.page-hero .ribbon {
  display: inline-block;
  margin-top: 18px;
  padding: 8px 14px;
  background: rgba(217,36,44,0.15);
  border: 1px solid rgba(217,36,44,0.3);
  border-radius: 100px;
  font-size: 13px;
  color: #fff;
  font-family: var(--font-mono);
}
.page-hero .hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.page-hero-article {
  padding: 56px 0 48px;
}

/* Article grid (body + sticky TOC sidebar) */
.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  align-items: start;
}
.article-body { max-width: 760px; }
.article-body h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 40px 0 16px;
  color: var(--metapol-blue);
}
.article-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--metapol-blue);
}
.article-body p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-700);
  margin: 0 0 16px;
}
.article-body ul, .article-body ol { margin: 0 0 20px 20px; }
.article-body li { line-height: 1.7; margin: 6px 0; color: var(--ink-700); }

.article-toc { position: sticky; top: 100px; }
@media (max-width: 980px) {
  .article-grid { grid-template-columns: 1fr; gap: 32px; }
  .article-toc { position: static; }
}

/* TOC */
.toc {
  background: var(--ink-50, #F8FAFC);
  border-radius: 12px;
  padding: 22px 24px;
  margin-bottom: 24px;
}
.toc-title {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-500);
  margin: 0 0 12px;
}
.toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: toc;
}
.toc li {
  counter-increment: toc;
  margin: 8px 0;
  font-size: 14px;
}
.toc li::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-300);
  margin-right: 10px;
}
.toc a {
  color: var(--ink-700);
  text-decoration: none;
  transition: color .15s;
}
.toc a:hover { color: var(--metapol-red); }

/* CTA card sidebar */
.cta-card {
  background: linear-gradient(135deg, var(--metapol-blue) 0%, #0F1419 100%);
  color: #fff;
  border-radius: 16px;
  padding: 26px 24px;
  margin-bottom: 20px;
}
.cta-card .eyebrow {
  color: rgba(255,255,255,0.55);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 6px;
  display: block;
}
.cta-card h3 {
  color: #fff;
  font-size: 20px;
  margin: 0 0 10px;
  font-weight: 700;
}
.cta-card p {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 18px;
}
.cta-card .btn { width: 100%; justify-content: center; }
.cta-card .btn + .btn { margin-top: 10px; }
.cta-card .btn-ghost {
  border-color: rgba(255,255,255,0.25);
  color: #fff;
}
.cta-card .btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.4);
}

/* Spec table */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 28px;
  font-size: 14px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--ink-100, #E5E7EB);
}
.spec-table thead { background: var(--metapol-blue); color: #fff; }
.spec-table th, .spec-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--ink-100, #E5E7EB);
}
.spec-table tbody th {
  background: var(--ink-50, #F8FAFC);
  font-weight: 600;
  width: 40%;
  color: var(--metapol-blue);
}
.spec-table tbody tr:last-child td,
.spec-table tbody tr:last-child th { border-bottom: 0; }

.note {
  font-size: 13px;
  color: var(--ink-500);
  font-style: italic;
  margin: -10px 0 24px;
}

/* Check list */
.check-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
}
.check-list li {
  position: relative;
  padding-left: 28px;
  margin: 10px 0;
  line-height: 1.6;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--metapol-red);
  font-weight: 700;
}

/* Treatment list */
.treat-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
}
.treat-list li {
  padding: 12px 16px;
  background: var(--ink-50, #F8FAFC);
  border-left: 3px solid var(--metapol-blue);
  margin: 8px 0;
  border-radius: 0 8px 8px 0;
  line-height: 1.5;
  font-size: 14px;
}
.treat-list li strong { color: var(--metapol-blue); margin-right: 6px; }

/* FAQ */
.faq { margin: 16px 0; }
.faq-item {
  border-bottom: 1px solid var(--ink-100, #E5E7EB);
  padding: 8px 0;
}
.faq-item summary {
  cursor: pointer;
  padding: 14px 0;
  font-weight: 600;
  color: var(--metapol-blue);
  list-style: none;
  position: relative;
  padding-right: 32px;
  font-size: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--metapol-red);
  transition: transform .15s;
  font-weight: 300;
  line-height: 1;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p {
  padding: 0 0 14px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-700);
  margin: 0;
}

/* Related products */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.related-card {
  display: block;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--ink-100, #E5E7EB);
  border-radius: 10px;
  text-decoration: none;
  transition: all .2s;
}
.related-card:hover {
  border-color: var(--metapol-red);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.related-card strong {
  display: block;
  color: var(--metapol-blue);
  font-size: 16px;
  margin-bottom: 4px;
}
.related-card span {
  font-size: 13px;
  color: var(--ink-500);
  line-height: 1.4;
}

/* Catalog grid (family pages, productos.html) */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.catalog-grid .product-card {
  display: block;
  background: #fff;
  border: 1px solid var(--ink-100, #E5E7EB);
  border-radius: 14px;
  padding: 24px;
  text-decoration: none;
  transition: all .2s;
  position: relative;
}
.catalog-grid .product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  border-color: var(--metapol-red);
}
.catalog-grid .product-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.catalog-grid .product-card__head h3 {
  font-size: 22px;
  margin: 0;
  color: var(--metapol-blue);
  font-weight: 700;
}
.catalog-grid .product-card__head .din {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-500);
}
.catalog-grid .product-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-700);
  margin: 8px 0 16px;
}
.catalog-grid .product-card__cta {
  font-size: 13px;
  color: var(--metapol-red);
  font-weight: 600;
}
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--ink-100, #E5E7EB);
  color: var(--ink-700);
  font-size: 11px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.badge-star {
  background: #FEF3C7;
  color: #92400E;
}
.badge-premium {
  background: var(--metapol-blue);
  color: #fff;
}

/* Catalog table */
.table-wrap { overflow-x: auto; margin: 16px 0 28px; }
.catalog-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 14px;
  min-width: 720px;
}
.catalog-table thead {
  background: var(--metapol-blue);
  color: #fff;
}
.catalog-table th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.catalog-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--ink-100, #E5E7EB);
  vertical-align: middle;
}
.catalog-table tbody tr:hover { background: var(--ink-50, #F8FAFC); }
.catalog-table .din {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-500);
}
.tier-icon {
  display: inline-block;
  margin-left: 6px;
  font-size: 14px;
}
.tier-icon.tier-star { color: #F59E0B; }
.tier-icon.tier-premium { color: var(--metapol-red); }

.btn-mini {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 6px;
  background: var(--ink-100, #E5E7EB);
  color: var(--ink-700);
  font-size: 12px;
  text-decoration: none;
  font-weight: 600;
  margin-right: 6px;
  transition: all .15s;
}
.btn-mini:hover { background: var(--ink-300, #CBD5E0); }
.btn-mini-primary {
  background: var(--metapol-red);
  color: #fff;
}
.btn-mini-primary:hover { background: #B91C1C; color: #fff; }

/* Two-column layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 800px) {
  .two-col { grid-template-columns: 1fr; gap: 36px; }
}
.two-col-form {
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}

/* Form card */
.form-card {
  background: #fff;
  border: 1px solid var(--ink-100, #E5E7EB);
  border-radius: 16px;
  padding: 32px;
}
.form-card h2 {
  font-size: 22px;
  margin: 0 0 20px;
  color: var(--metapol-blue);
  font-weight: 700;
}
.form-card h3 {
  font-size: 16px;
  margin: 24px 0 12px;
  color: var(--metapol-blue);
  font-weight: 600;
}
.form-row { margin-bottom: 16px; }
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--metapol-blue);
  margin-bottom: 6px;
}
.form-row .req { color: var(--metapol-red); }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--ink-300, #CBD5E0);
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 0;
  border-color: var(--metapol-blue);
  box-shadow: 0 0 0 3px rgba(27,34,48,0.08);
}
.form-row.check label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  color: var(--ink-700);
  font-size: 14px;
  line-height: 1.4;
}
.form-row.check input { width: auto; margin-top: 3px; }
.form-row-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 600px) { .form-row-grid { grid-template-columns: 1fr; gap: 16px; } }
.form-hint {
  font-size: 13px;
  color: var(--ink-500);
  margin: 14px 0 0;
  text-align: center;
}
.form-side { display: flex; flex-direction: column; gap: 18px; }
.form-side .card {
  background: #fff;
  border: 1px solid var(--ink-100, #E5E7EB);
  border-radius: 12px;
  padding: 22px 24px;
}
.form-side .card h3 {
  margin: 0 0 12px;
  color: var(--metapol-blue);
  font-size: 17px;
  font-weight: 700;
}

/* Contact list */
.contact-list { list-style: none; padding: 0; margin: 18px 0 24px; }
.contact-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--ink-100, #E5E7EB);
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  align-items: start;
}
.contact-list li strong {
  font-size: 13px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-500);
}
.contact-list li a, .contact-list li span {
  color: var(--metapol-blue);
  font-weight: 500;
}
.contact-list li a:hover { color: var(--metapol-red); }
@media (max-width: 600px) {
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }
}

/* Map embed */
.map-embed {
  margin-top: 16px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--ink-100, #E5E7EB);
}

/* Stat strip */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 32px 0;
}
.stat-strip .stat {
  text-align: center;
  padding: 0 20px;
  border-right: 1px solid var(--ink-100, #E5E7EB);
}
.stat-strip .stat:last-child { border-right: 0; }
.stat-strip .stat strong {
  display: block;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: var(--metapol-red);
  letter-spacing: -0.02em;
  font-family: var(--font-mono);
}
.stat-strip .stat span {
  display: block;
  font-size: 13px;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 6px;
}
@media (max-width: 800px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .stat-strip .stat { border-right: 0; }
  .stat-strip .stat:nth-child(odd) { border-right: 1px solid var(--ink-100, #E5E7EB); }
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--ink-100, #E5E7EB);
  border-radius: 16px;
  padding: 32px;
  position: relative;
}
.service-card .service-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--metapol-red);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.1em;
}
.service-card h2 {
  font-size: 22px;
  color: var(--metapol-blue);
  margin: 0 0 8px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.service-card .lead {
  font-size: 15px;
  color: var(--metapol-red);
  font-weight: 500;
  margin-bottom: 14px;
}
.service-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-700);
  margin: 0 0 14px;
}
.service-card ul.check-list { margin: 12px 0 0; }
.service-card ul.check-list li {
  font-size: 14px;
  margin: 8px 0;
}

/* Callout variants */
.callout {
  background: var(--ink-50, #F8FAFC);
  border-left: 4px solid var(--metapol-blue);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin: 20px 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-700);
}
.callout strong { color: var(--metapol-blue); display: inline; }
.callout-premium {
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  border-left-color: #F59E0B;
}
.callout-premium strong { color: #92400E; }

/* Error page */
.error-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
}
.error-page .error-code {
  font-family: var(--font-mono);
  font-size: 120px;
  font-weight: 800;
  color: var(--metapol-red);
  line-height: 1;
  margin: 0;
  letter-spacing: -0.04em;
}
.error-page h1 {
  font-size: 32px;
  color: var(--metapol-blue);
  margin: 16px 0;
}
.error-page .lead { color: var(--ink-700); margin-bottom: 24px; }
.error-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Calculator widget */
.calc {
  background: #fff;
  border: 1px solid var(--ink-100, #E5E7EB);
  border-radius: 16px;
  padding: 28px 30px;
  margin: 0 0 32px;
}
.calc h2 {
  font-size: 20px;
  color: var(--metapol-blue);
  margin: 0 0 18px;
  font-weight: 700;
}
.calc-row { margin-bottom: 14px; }
.calc-row label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.calc-row input,
.calc-row select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--ink-300, #CBD5E0);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 15px;
  background: #fff;
}
.calc-row input:focus, .calc-row select:focus {
  outline: 0;
  border-color: var(--metapol-blue);
  box-shadow: 0 0 0 3px rgba(27,34,48,0.08);
}
.calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}
.calc-result {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 22px 0 18px;
  padding: 22px;
  background: var(--metapol-blue);
  border-radius: 12px;
  color: #fff;
}
.calc-result > div { text-align: center; }
.calc-result__label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
  margin-bottom: 8px;
}
.calc-result strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 22px;
  color: #fff;
  font-weight: 700;
}
.calc-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.calc-actions .btn { flex: 1; min-width: 160px; justify-content: center; }
@media (max-width: 600px) {
  .calc-result { grid-template-columns: 1fr; gap: 16px; }
}

/* Hero CTA cluster */
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

/* Block utilities */
.btn-block { width: 100%; justify-content: center; display: inline-flex; }

/* Section misc */
.section { padding: 64px 0; }
.section.bg-soft { background: var(--ink-50, #F8FAFC); }
.h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--metapol-blue);
  margin: 8px 0 24px;
  line-height: 1.15;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--metapol-red);
  font-weight: 600;
  margin: 0 0 10px;
}
.lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-700);
  max-width: 680px;
}

/* CTA Block */
.cta-block {
  padding: 64px 0;
  background: linear-gradient(135deg, var(--metapol-blue) 0%, #0F1419 100%);
  color: #fff;
  text-align: center;
}
.cta-block h2 {
  color: #fff;
  font-size: clamp(28px, 3vw, 38px);
  margin: 0 0 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.cta-block p {
  color: rgba(255,255,255,0.85);
  max-width: 620px;
  margin: 0 auto 20px;
  font-size: 17px;
}
.cta-block .hero-cta { justify-content: center; }

/* Article cards (blog grid) */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.article-card {
  display: block;
  background: #fff;
  border: 1px solid var(--ink-100, #E5E7EB);
  border-radius: 14px;
  padding: 26px 28px;
  text-decoration: none;
  transition: all .2s;
}
.article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  border-color: var(--metapol-red);
}
.article-card .article-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.article-card .article-card__read {
  font-size: 12px;
  color: var(--ink-500);
  font-family: var(--font-mono);
}
.article-card h3 {
  color: var(--metapol-blue);
  font-size: 20px;
  font-weight: 700;
  margin: 8px 0 10px;
  letter-spacing: -0.01em;
}
.article-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-700);
  margin: 0 0 14px;
}
.article-card .article-card__cta {
  font-size: 13px;
  color: var(--metapol-red);
  font-weight: 600;
}

/* Print friendly */
@media print {
  .site-header, .site-footer, .cta-block, .breadcrumb, .article-toc, .wa-float {
    display: none !important;
  }
  body { background: #fff; }
  .article-grid { grid-template-columns: 1fr; }
}

/* ============= Contact page asesoramiento photo ============= */
.contact-photo {
  margin: 28px 0 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  background: var(--metapol-blue-900);
  box-shadow: 0 14px 32px -10px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(0,183,224,0.18);
  isolation: isolate;
  max-width: 360px;
}
.contact-photo img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform .6s ease;
}
.contact-photo:hover img { transform: scale(1.04); }
.contact-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,20,28,0) 50%, rgba(15,20,28,0.85) 100%);
  pointer-events: none;
}
.contact-photo figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 2;
}
.contact-photo__eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--metapol-red);
  text-transform: uppercase;
}
.contact-photo__title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}
