/* ═══════════════════════════════════════════════════════════════════
   GRUPO AFEM S.A.C. — DISEÑO CORPORATIVO v6.0 · 2026
   Navbar blanco · Footer blanco · Logos blancos en fondo oscuro
   ═══════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── VARIABLES ──────────────────────────────────────────────── */
:root {
  --azul:      #0F3460;
  --azul-mid:  #1a4f8a;
  --azul-lt:   #2563eb;
  --rojo:      #C0392B;
  --rojo-lt:   #E74C3C;
  --dorado:    #D4A843;
  --gris-dk:   #1E293B;
  --gris:      #64748B;
  --gris-lt:   #94A3B8;
  --gris-cl:   #F8FAFC;
  --gris-md:   #E2E8F0;
  --negro:     #0F172A;
  --blanco:    #FFFFFF;
  --azul-dk:   #060F1E;

  --shadow-xs: 0 1px 3px rgba(0,0,0,.08);
  --shadow-sm: 0 4px 12px rgba(0,0,0,.08);
  --shadow-md: 0 8px 24px rgba(0,0,0,.12);
  --shadow-lg: 0 16px 40px rgba(0,0,0,.16);
  --shadow-xl: 0 24px 56px rgba(0,0,0,.22);

  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;
  --t:     all .22s cubic-bezier(.4,0,.2,1);
}

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--negro); background: var(--blanco); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img  { max-width: 100%; height: auto; display: block; }
a    { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; }

/* ══════════════════════════════════════════════════════════════
   TOPBAR
   ══════════════════════════════════════════════════════════════ */
.topbar {
  background: var(--azul-dk);
  padding: 0 32px; height: 38px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11.5px; color: rgba(255,255,255,.5);
}
.topbar-left { white-space: nowrap; }
.topbar-right { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.topbar-right a { color: rgba(255,255,255,.52); transition: var(--t); white-space: nowrap; }
.topbar-right a:hover { color: white; }
.topbar-sep { color: rgba(255,255,255,.15); }

/* Logo ISO en topbar — siempre blanco sobre fondo oscuro */
.iso-topbar-img {
  height: 24px; width: auto; display: block;
  filter: brightness(0) invert(1); /* BLANCO: logo visible sobre fondo oscuro */
  opacity: .85; transition: var(--t);
  cursor: pointer;
}
.iso-topbar-img:hover { opacity: 1; }

/* ══════════════════════════════════════════════════════════════
   NAVBAR — BLANCO
   ══════════════════════════════════════════════════════════════ */
.navbar {
  background: var(--blanco);
  border-bottom: 1px solid var(--gris-md);
  position: sticky; top: 0; z-index: 1000;
  box-shadow: var(--shadow-sm); transition: var(--t);
}
.navbar.scrolled { box-shadow: 0 4px 28px rgba(0,0,0,.13); border-bottom-color: transparent; }
.navbar-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
  height: 76px; display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}
/* Logo en navbar — fondo blanco, logo EN SU COLOR ORIGINAL */
.navbar-logo { display: flex; align-items: center; flex-shrink: 0; }
.navbar-logo img {
  height: 50px; width: auto; object-fit: contain; display: block;
  transition: var(--t);
  /* Sin filtro: logo aparece en su color original sobre fondo blanco */
}
.navbar-logo:hover img { transform: scale(1.02); }

.navbar-nav { display: flex; gap: 2px; align-items: center; }
.nav-btn {
  color: var(--gris-dk); padding: 8px 14px; border-radius: var(--r-sm);
  font-family: 'Inter', sans-serif; font-size: 13.5px; font-weight: 500;
  transition: var(--t); display: inline-block; white-space: nowrap;
}
.nav-btn:hover { color: var(--azul); background: rgba(15,52,96,.06); }
.nav-btn.active { color: var(--azul); background: rgba(15,52,96,.09); font-weight: 600; }
.nav-cta {
  background: var(--rojo); color: white; padding: 10px 22px;
  border-radius: var(--r-sm); font-family: 'Inter', sans-serif;
  font-weight: 700; font-size: 13.5px; margin-left: 10px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: var(--t); box-shadow: 0 4px 14px rgba(192,57,43,.35); white-space: nowrap;
}
.nav-cta:hover { background: var(--rojo-lt); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(192,57,43,.45); }

/* Hamburger */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: var(--gris-cl); padding: 9px 10px;
  border-radius: var(--r-sm); cursor: pointer; border: 1px solid var(--gris-md);
}
.nav-hamburger span { display: block; width: 20px; height: 2px; background: var(--azul); border-radius: 2px; transition: var(--t); }
.mobile-nav {
  display: none; background: var(--blanco);
  border-top: 1px solid var(--gris-md);
  padding: 12px 20px 20px; flex-direction: column; gap: 3px;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.mobile-nav.open { display: flex; }
.mobile-nav .nav-btn { color: var(--gris-dk); padding: 12px 16px; font-size: 15px; border-radius: var(--r-sm); }
.mobile-nav .nav-cta { margin: 12px 0 0; text-align: center; justify-content: center; }

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 30px; background: var(--rojo); color: white;
  border-radius: var(--r-sm); font-family: 'Inter', sans-serif;
  font-weight: 700; font-size: 14.5px; transition: var(--t);
  box-shadow: 0 4px 14px rgba(192,57,43,.35); border: none; cursor: pointer; white-space: nowrap;
}
.btn-primary:hover { background: var(--rojo-lt); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(192,57,43,.45); }
.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 30px; background: rgba(255,255,255,.12); color: white;
  border-radius: var(--r-sm); font-family: 'Inter', sans-serif;
  font-weight: 600; font-size: 14.5px; transition: var(--t);
  border: 1.5px solid rgba(255,255,255,.35); cursor: pointer; white-space: nowrap;
  backdrop-filter: blur(8px);
}
.btn-secondary:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.6); transform: translateY(-1px); }
.btn-sm { padding: 9px 20px; font-size: 13px; }
.btn-w  { width: 100%; }
.flex-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── LAYOUT ─────────────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.section-pad { padding: 96px 0; }
.section-pad-sm { padding: 64px 0; }
.section-header { text-align: center; margin-bottom: 56px; }

/* ── TIPOGRAFÍA ─────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Inter', sans-serif; font-size: 11.5px; font-weight: 700;
  color: var(--rojo); letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 14px;
}
.eyebrow::before { content: ''; display: block; width: 18px; height: 2px; background: var(--rojo); border-radius: 2px; }
.eyebrow-light { color: rgba(255,255,255,.6); }
.eyebrow-light::before { background: rgba(255,255,255,.45); }
.section-title { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 36px; color: var(--negro); line-height: 1.18; margin-bottom: 16px; letter-spacing: -.4px; }
.section-title-light { color: white; }
.section-desc { font-family: 'Inter', sans-serif; font-size: 16px; color: var(--gris); line-height: 1.75; max-width: 600px; margin-bottom: 40px; }
.section-desc-light { color: rgba(255,255,255,.65); }
.section-header .section-desc { margin-left: auto; margin-right: auto; }

/* ══════════════════════════════════════════════════════════════
   HERO PRINCIPAL
   ══════════════════════════════════════════════════════════════ */
.hero {
  min-height: 92vh;
  background:
    radial-gradient(ellipse 90% 70% at 60% 30%, rgba(37,99,235,.18) 0%, transparent 55%),
    radial-gradient(ellipse 60% 60% at 90% 80%, rgba(192,57,43,.1) 0%, transparent 50%),
    linear-gradient(155deg, #060F1E 0%, #0F3460 45%, #0a2342 100%);
  display: flex; align-items: center;
  padding: 110px 32px 80px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px; pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; left: 0; top: 20%; width: 5px; height: 60%;
  background: linear-gradient(180deg, transparent, var(--rojo), transparent); opacity: .7;
}
.hero-content { max-width: 1280px; margin: 0 auto; width: 100%; position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(212,168,67,.12); border: 1px solid rgba(212,168,67,.28);
  color: var(--dorado); padding: 7px 16px; border-radius: 20px;
  font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 28px;
}
.hero h1 {
  font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 60px;
  color: white; line-height: 1.06; margin-bottom: 24px; max-width: 700px; letter-spacing: -1.5px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(130deg, #ff6b6b, var(--dorado));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-desc { font-family: 'Inter', sans-serif; font-size: 17px; color: rgba(255,255,255,.62); line-height: 1.75; max-width: 540px; margin-bottom: 44px; }
.hero-stats { display: flex; margin-top: 72px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,.08); flex-wrap: wrap; }
.hero-stat { padding: 0 40px; flex: 1; min-width: 130px; }
.hero-stat:first-child { padding-left: 0; }
.hero-stat + .hero-stat { border-left: 1px solid rgba(255,255,255,.08); }
.stat-num { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 40px; color: white; letter-spacing: -1px; }
.stat-num span { color: var(--dorado); }
.stat-label { font-family: 'Inter', sans-serif; font-size: 12.5px; color: rgba(255,255,255,.42); margin-top: 2px; font-weight: 500; }

/* BACK BUTTON */
.back-btn {
  display: inline-flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,.52); font-family: 'Inter', sans-serif;
  font-size: 12.5px; font-weight: 500;
  padding: 7px 14px; border-radius: var(--r-sm);
  border: 1px solid rgba(255,255,255,.14); margin-bottom: 36px; transition: var(--t);
}
.back-btn:hover { color: white; border-color: rgba(255,255,255,.36); background: rgba(255,255,255,.06); }

/* ── PAGE HERO ──────────────────────────────────────────────── */
.page-hero {
  min-height: 78vh; display: flex; align-items: center;
  padding: 100px 32px 72px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px; pointer-events: none;
}
.page-hero-inner { max-width: 1280px; margin: 0 auto; width: 100%; position: relative; z-index: 2; }
.page-hero h1 { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 52px; color: white; line-height: 1.08; max-width: 680px; margin-bottom: 18px; letter-spacing: -1px; }
.page-hero p { font-family: 'Inter', sans-serif; font-size: 16.5px; color: rgba(255,255,255,.62); line-height: 1.75; max-width: 580px; }
.page-hero-quote { font-family: 'Poppins', sans-serif; font-style: italic; font-size: 18px; color: rgba(255,255,255,.82); max-width: 520px; margin: 22px 0 16px; line-height: 1.55; font-weight: 400; }
.page-hero-stats { display: flex; gap: 40px; margin-top: 52px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.08); flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════════════
   LOGO WRAPPER — Glassmorphism sobre fondo oscuro
   REGLA: img dentro SIEMPRE con filter blanco
   ══════════════════════════════════════════════════════════════ */
.logo-hero-wrap {
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--r-md); padding: 18px 32px; margin-bottom: 28px;
  box-shadow: 0 8px 32px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.12);
}
/* LOGOS SIEMPRE BLANCOS en los hero wrappers (fondo oscuro) */
.logo-hero-wrap img {
  max-height: 64px; max-width: 310px; width: auto; height: auto; object-fit: contain;
  filter: brightness(0) invert(1); /* BLANCO sobre fondo oscuro */
  display: block;
}
.logo-hero-wrap.compact { padding: 13px 24px; margin-bottom: 20px; }
.logo-hero-wrap.compact img { max-height: 48px; max-width: 240px; }

/* ══════════════════════════════════════════════════════════════
   BRAND CARDS — Logo en área BLANCA (color original) + desc oscura
   ══════════════════════════════════════════════════════════════ */
.brands-section { background: var(--gris-cl); padding: 96px 0; }
.brands-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 18px; }
.brand-card {
  border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: var(--t); text-decoration: none; background: white;
  border: 1px solid var(--gris-md);
}
.brand-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); border-color: transparent; }
.brand-logo-area {
  background: white; border-bottom: 1px solid var(--gris-md);
  padding: 28px 18px 22px;
  display: flex; align-items: center; justify-content: center;
  min-height: 112px; position: relative;
}
.brand-logo-area::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--azul), var(--rojo)); }
/* Logo en área BLANCA: color original, sin filtro */
.brand-logo-area img {
  max-height: 58px; max-width: 162px; width: auto; object-fit: contain;
  transition: var(--t);
  filter: none; /* Color original sobre fondo blanco */
}
.brand-card:hover .brand-logo-area img { transform: scale(1.05); }
.brand-card-body { background: var(--azul-dk); padding: 18px 16px 20px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.brand-card-body p { font-family: 'Inter', sans-serif; font-size: 12.5px; color: rgba(255,255,255,.6); line-height: 1.65; margin-bottom: 14px; }
.brand-card-more { display: inline-flex; align-items: center; gap: 6px; font-family: 'Inter', sans-serif; font-size: 12px; color: var(--dorado); font-weight: 600; transition: var(--t); }
.brand-card:hover .brand-card-more { gap: 10px; }

/* ══════════════════════════════════════════════════════════════
   ABOUT SECTION — "Sobre el grupo"
   Logo en caja oscura → BLANCO
   ══════════════════════════════════════════════════════════════ */
.about-section { background: white; padding: 96px 0; }
.about-grid { max-width: 1280px; margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-text p { font-family: 'Inter', sans-serif; font-size: 15.5px; color: var(--gris); line-height: 1.85; margin-bottom: 18px; }
.tags-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.tag { background: var(--gris-cl); color: var(--azul); padding: 6px 14px; border-radius: 20px; font-size: 12px; font-family: 'Inter', sans-serif; font-weight: 600; border: 1.5px solid var(--gris-md); transition: var(--t); cursor: default; }
.tag:hover { border-color: var(--azul); background: var(--azul); color: white; }

.about-box { background: linear-gradient(155deg, var(--azul) 0%, var(--azul-dk) 100%); border-radius: var(--r-xl); padding: 48px 40px; text-align: center; position: relative; overflow: hidden; box-shadow: var(--shadow-xl); }
.about-box::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 32px 32px; }
.about-logo-wrap { display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.12); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.2); border-radius: var(--r-md); padding: 20px 36px; margin-bottom: 28px; position: relative; z-index: 1; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
/* Logo en about-box (fondo azul oscuro) → BLANCO */
.about-logo-wrap img {
  max-height: 56px; max-width: 210px; object-fit: contain;
  filter: brightness(0) invert(1); /* BLANCO sobre azul oscuro */
}
.about-box-quote { padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); position: relative; z-index: 1; }
.about-box-quote blockquote { font-family: 'Poppins', sans-serif; font-style: italic; font-size: 15.5px; color: rgba(255,255,255,.85); line-height: 1.65; margin-bottom: 12px; font-weight: 400; }
.about-box-quote cite { font-family: 'Inter', sans-serif; font-size: 11px; color: rgba(255,255,255,.35); letter-spacing: 1.5px; text-transform: uppercase; font-style: normal; }

/* ══════════════════════════════════════════════════════════════
   ISO BANNER — Botón "Ver" abre modal
   Logo ISO → BLANCO + grande, fondo verde
   ══════════════════════════════════════════════════════════════ */
.iso-banner {
  background: linear-gradient(135deg, #0a3d2e 0%, #166534 60%, #15803d 100%);
  padding: 56px 32px; position: relative; overflow: hidden;
}
.iso-banner::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 36px 36px; }
.iso-banner-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; position: relative; z-index: 1; }
.iso-banner-text h3 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 28px; color: white; margin-bottom: 6px; }
.iso-banner-text p  { font-family: 'Inter', sans-serif; font-size: 15px; color: rgba(255,255,255,.78); max-width: 500px; line-height: 1.6; }
.iso-right { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
/* Logo ISO en banner verde → SIEMPRE BLANCO */
.iso-logo-img {
  height: 90px; width: auto; /* Grande y visible */
  filter: brightness(0) invert(1); /* BLANCO sobre verde */
  transition: var(--t); cursor: pointer;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,.25)) brightness(0) invert(1);
}
.iso-logo-img:hover { transform: scale(1.04); }
/* Fallback texto cuando no hay imagen */
.iso-text-badge {
  background: rgba(255,255,255,.15); border: 2px solid rgba(255,255,255,.3);
  color: white; padding: 12px 24px; border-radius: var(--r-md);
  font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 22px; letter-spacing: 1px;
  display: none;
}
/* Botón Ver */
.btn-ver-iso {
  display: inline-flex; align-items: center; gap: 8px;
  background: white; color: #166534; padding: 13px 28px;
  border-radius: var(--r-sm); font-family: 'Inter', sans-serif;
  font-weight: 700; font-size: 14.5px; cursor: pointer; transition: var(--t);
  border: none; box-shadow: 0 4px 14px rgba(0,0,0,.15);
}
.btn-ver-iso:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); background: var(--gris-cl); }
.btn-ver-iso svg { width: 18px; height: 18px; }

/* ══════════════════════════════════════════════════════════════
   MODAL ISO CERTIFICADO — Con scroll correcto
   ══════════════════════════════════════════════════════════════ */
.iso-modal-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.78);
  z-index: 9998;
  align-items: flex-start;   /* No centrado: empieza arriba para scroll */
  justify-content: center;
  padding: 32px 20px;
  overflow-y: auto;           /* SCROLL en el overlay */
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.iso-modal-overlay.active { display: flex; }
.iso-modal {
  background: white;
  border-radius: var(--r-lg);
  width: 100%;
  max-width: 820px;
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,.45);
  animation: modalIn .3s cubic-bezier(.34,1.56,.64,1) forwards;
  overflow: hidden;
  /* Sin max-height fijo: el scroll es en el overlay */
  margin: auto; /* centra verticalmente cuando hay espacio */
}
@keyframes modalIn { from { opacity:0; transform:scale(.9) translateY(20px); } to { opacity:1; transform:scale(1) translateY(0); } }
.iso-modal-header {
  background: linear-gradient(135deg, #0a3d2e, #16A34A);
  padding: 20px 28px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 10; /* Header fijo al scroll */
}
.iso-modal-header-text h3 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 18px; color: white; }
.iso-modal-header-text p  { font-family: 'Inter', sans-serif; font-size: 12.5px; color: rgba(255,255,255,.65); margin-top: 2px; }
.iso-modal-close {
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25);
  color: white; width: 38px; height: 38px; border-radius: var(--r-sm);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 20px; transition: var(--t); flex-shrink: 0; line-height: 1;
}
.iso-modal-close:hover { background: rgba(255,255,255,.28); }
/* Cuerpo del modal — la imagen se muestra completa */
.iso-modal-body {
  padding: 28px;
  text-align: center;
  background: #f9fafb;
}
.iso-modal-body img {
  max-width: 100%; height: auto;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-md);
  display: inline-block;
}
/* Placeholder cuando no está cargado iso_afem.png */
.iso-placeholder {
  padding: 48px 24px;
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border-radius: var(--r-md);
  border: 2px dashed #86efac;
}
.iso-placeholder-icon { font-size: 56px; margin-bottom: 16px; }
.iso-placeholder h4 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 18px; color: #166534; margin-bottom: 8px; }
.iso-placeholder p  { font-family: 'Inter', sans-serif; font-size: 14px; color: #15803d; }
.iso-modal-footer {
  padding: 16px 28px;
  border-top: 1px solid var(--gris-md);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  background: white;
}
.iso-modal-footer p { font-family: 'Inter', sans-serif; font-size: 12.5px; color: var(--gris); }
.btn-dl-iso { display: inline-flex; align-items: center; gap: 6px; background: var(--azul); color: white; padding: 9px 20px; border-radius: var(--r-sm); font-family: 'Inter', sans-serif; font-weight: 600; font-size: 13px; transition: var(--t); }
.btn-dl-iso:hover { background: var(--azul-mid); }

/* ── CONTACT ─────────────────────────────────────────────────── */
.contact-section { background: var(--gris-cl); }
.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: start; }
.contact-info-card { background: white; padding: 18px 20px; border-radius: var(--r-md); display: flex; gap: 14px; align-items: flex-start; box-shadow: var(--shadow-xs); border: 1px solid var(--gris-md); margin-bottom: 14px; transition: var(--t); }
.contact-info-card:hover { box-shadow: var(--shadow-md); border-color: transparent; transform: translateX(4px); }
.cic-icon { font-size: 20px; width: 42px; height: 42px; background: var(--gris-cl); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cic-title { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 11.5px; color: var(--azul); margin-bottom: 3px; text-transform: uppercase; letter-spacing: .5px; }
.cic-val   { font-family: 'Inter', sans-serif; font-size: 13.5px; color: var(--negro); line-height: 1.7; }
.cic-sub   { font-family: 'Inter', sans-serif; font-size: 12px; color: var(--gris-lt); margin-top: 2px; }

/* ── FORMS ───────────────────────────────────────────────────── */
.form-group { margin-bottom: 14px; }
.form-group label { font-family: 'Inter', sans-serif; font-size: 11.5px; font-weight: 600; color: var(--azul); display: block; margin-bottom: 6px; letter-spacing: .3px; text-transform: uppercase; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 11px 15px; border: 1.5px solid var(--gris-md); border-radius: var(--r-sm); font-family: 'Inter', sans-serif; font-size: 14px; color: var(--negro); background: white; transition: var(--t); outline: none; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--azul-lt); box-shadow: 0 0 0 4px rgba(37,99,235,.1); }
.form-group textarea { resize: vertical; min-height: 88px; }
.form-light .form-group label { color: rgba(255,255,255,.8); }
.form-light .form-group input, .form-light .form-group textarea, .form-light .form-group select { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.2); color: white; }
.form-light .form-group input::placeholder, .form-light .form-group textarea::placeholder { color: rgba(255,255,255,.32); }
.form-light .form-group input:focus, .form-light .form-group textarea:focus, .form-light .form-group select:focus { border-color: rgba(255,255,255,.5); box-shadow: 0 0 0 4px rgba(255,255,255,.07); }

/* ── SECTORS ─────────────────────────────────────────────────── */
.sectors-section { background: white; padding: 96px 0; }
.sectors-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.sector-card { background: var(--gris-cl); border-radius: var(--r-md); padding: 28px 22px; border: 1.5px solid var(--gris-md); transition: var(--t); position: relative; }
.sector-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--rojo), var(--dorado)); border-radius: var(--r-md) var(--r-md) 0 0; }
.sector-card:hover { background: white; box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: transparent; }
.sc-icon { font-size: 32px; margin-bottom: 12px; }
.sector-card h3 { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 15px; color: var(--azul); margin-bottom: 8px; }
.sector-card p  { font-family: 'Inter', sans-serif; font-size: 13.5px; color: var(--gris); line-height: 1.65; }

/* ── PRODUCTS ────────────────────────────────────────────────── */
.products-section { background: var(--gris-cl); padding: 96px 0; }
.products-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.product-card { background: white; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-xs); border: 1px solid var(--gris-md); transition: var(--t); }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.product-card-img { width: 100%; height: 148px; display: flex; align-items: center; justify-content: center; padding: 22px; }
.product-card-img .logo-hero-wrap { margin: 0; }
.product-card-body { padding: 20px; }
.product-card h3 { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 14px; color: var(--azul); margin-bottom: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--gris-md); }
.product-card li { font-family: 'Inter', sans-serif; font-size: 13px; color: var(--gris); padding: 7px 0; border-bottom: 1px solid var(--gris-cl); display: flex; align-items: center; gap: 8px; }
.product-card li::before { content: ''; width: 6px; height: 6px; background: var(--rojo); border-radius: 50%; flex-shrink: 0; }

/* ── LINEAS ──────────────────────────────────────────────────── */
.lineas-section { background: white; padding: 96px 0; }
.lineas-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.linea-card { background: var(--gris-cl); border-radius: var(--r-md); padding: 28px 22px; border: 1.5px solid var(--gris-md); transition: var(--t); position: relative; }
.linea-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, #99282A, #C0392B); border-radius: var(--r-md) var(--r-md) 0 0; }
.linea-card:hover { background: white; box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: transparent; }
.lc-icon { font-size: 30px; margin-bottom: 12px; }
.linea-card h3 { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 15px; color: var(--azul); margin-bottom: 8px; }
.linea-card p  { font-family: 'Inter', sans-serif; font-size: 13.5px; color: var(--gris); line-height: 1.65; }

/* ── SERVICES ────────────────────────────────────────────────── */
.services-section { background: white; padding: 96px 0; }
.services-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.service-card { background: var(--gris-cl); border-radius: var(--r-md); padding: 28px 20px; border: 1.5px solid var(--gris-md); transition: var(--t); }
.service-card:hover { background: white; box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: transparent; }
.sv-icon { font-size: 30px; margin-bottom: 12px; }
.service-card h3 { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 14.5px; color: var(--azul); margin-bottom: 8px; }
.service-card p  { font-family: 'Inter', sans-serif; font-size: 13.5px; color: var(--gris); line-height: 1.65; }

/* ── CAROUSEL ────────────────────────────────────────────────── */
.clients-section { background: white; padding: 96px 0; }
.carousel-outer { position: relative; padding: 0 24px; }
.carousel-viewport { overflow: hidden; }
.carousel-track { display: flex; gap: 16px; transition: transform .5s cubic-bezier(.25,.46,.45,.94); will-change: transform; }
.client-card { min-width: calc(25% - 12px); flex-shrink: 0; background: white; border-radius: var(--r-md); border: 1.5px solid var(--gris-md); height: 110px; display: flex; align-items: center; justify-content: center; padding: 16px 20px; transition: var(--t); }
.client-card:hover { border-color: var(--azul); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.client-card img { max-width: 148px; max-height: 54px; width: auto; height: auto; object-fit: contain; filter: grayscale(55%); opacity: .68; transition: var(--t); }
.client-card:hover img { filter: grayscale(0%); opacity: 1; }
.client-placeholder { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 100%; height: 100%; justify-content: center; }
.ph-rect { width: 100px; height: 38px; border: 2px dashed var(--gris-md); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; background: var(--gris-cl); font-size: 16px; }
.ph-name { font-family: 'Inter', sans-serif; font-size: 10px; color: var(--gris); font-weight: 600; }
.ph-edit-note { font-family: 'Inter', sans-serif; font-size: 9px; color: var(--gris-lt); font-style: italic; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; background: var(--rojo); border: none; color: white; border-radius: 50%; font-size: 16px; display: flex; align-items: center; justify-content: center; z-index: 10; box-shadow: 0 4px 16px rgba(192,57,43,.4); cursor: pointer; transition: var(--t); }
.carousel-btn:hover { background: var(--rojo-lt); transform: translateY(-50%) scale(1.1); }
.carousel-btn:active { transform: translateY(-50%) scale(.95); }
.carousel-prev { left: -10px; }
.carousel-next { right: -10px; }
.carousel-btn.disabled { background: var(--gris-md); box-shadow: none; pointer-events: none; }

/* ── CTA SECTION ─────────────────────────────────────────────── */
.cta-section { padding: 96px 0; }
.cta-inner { max-width: 1280px; margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.cta-form-box { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: var(--r-lg); padding: 36px; backdrop-filter: blur(12px); }
.cta-contact-txt { font-family: 'Inter', sans-serif; font-size: 13.5px; color: rgba(255,255,255,.48); line-height: 2.2; margin-top: 18px; }

/* ══════════════════════════════════════════════════════════════
   FOOTER — BLANCO como el header
   ══════════════════════════════════════════════════════════════ */
footer {
  background: var(--blanco);
  color: var(--negro);
  padding-top: 72px;
  border-top: 1px solid var(--gris-md);
  box-shadow: 0 -2px 20px rgba(0,0,0,.04);
}
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.1fr; gap: 52px; padding-bottom: 52px; border-bottom: 1px solid var(--gris-md); }
/* Logo footer — sobre fondo BLANCO: color original, sin filtro */
.footer-logo-wrap {
  display: inline-flex; align-items: center; justify-content: center;
  /* Sin caja/cristal: el logo flota limpio sobre el blanco */
  margin-bottom: 18px; padding: 4px 0;
}
.footer-logo-wrap img {
  max-height: 50px; max-width: 200px; object-fit: contain;
  filter: none; /* Color original sobre fondo blanco */
  display: block;
}
.footer-col-title { font-family: 'Inter', sans-serif; font-size: 10.5px; font-weight: 700; color: var(--gris); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 18px; display: block; }
.footer-about { font-family: 'Inter', sans-serif; font-size: 13.5px; color: var(--gris); line-height: 1.8; max-width: 300px; }
.footer-socials { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.footer-social { background: var(--gris-cl); border: 1px solid var(--gris-md); color: var(--gris-dk); padding: 7px 13px; border-radius: var(--r-sm); font-size: 12px; font-family: 'Inter', sans-serif; font-weight: 500; transition: var(--t); display: inline-block; }
.footer-social:hover { background: var(--azul); color: white; border-color: var(--azul); }
.footer-link { display: block; color: var(--gris); font-family: 'Inter', sans-serif; font-size: 13.5px; margin-bottom: 11px; transition: var(--t); }
.footer-link:hover { color: var(--azul); padding-left: 4px; }
.footer-contact-txt { font-family: 'Inter', sans-serif; font-size: 13px; color: var(--gris); line-height: 2.4; }
.footer-rec-btn { display: flex; align-items: center; gap: 8px; background: rgba(192,57,43,.07); border: 1px solid rgba(192,57,43,.28); color: var(--rojo); padding: 12px 16px; border-radius: var(--r-sm); font-family: 'Inter', sans-serif; font-size: 12.5px; font-weight: 600; margin-top: 18px; transition: var(--t); text-decoration: none; }
.footer-rec-btn:hover { background: var(--rojo); color: white; border-color: var(--rojo); }
.footer-bottom { padding: 22px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-family: 'Inter', sans-serif; font-size: 12px; color: var(--gris-lt); }
/* ISO en footer — Logo ISO imagen + tag */
.footer-bottom-right { display: flex; align-items: center; gap: 14px; }
.footer-iso-img {
  height: 36px; width: auto;
  filter: none; /* En fondo blanco: color original del logo ISO */
  opacity: .8;
}
.footer-iso-tag { background: linear-gradient(135deg, var(--rojo), #9B2335); color: white; padding: 5px 14px; border-radius: 20px; font-size: 11px; font-family: 'Inter', sans-serif; font-weight: 700; letter-spacing: .8px; }

/* ── WHATSAPP ─────────────────────────────────────────────────── */
.wa-float { position: fixed; bottom: 32px; right: 32px; z-index: 9997; width: 60px; height: 60px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 28px rgba(37,211,102,.45); transition: var(--t); }
.wa-float:hover { transform: scale(1.12); box-shadow: 0 12px 36px rgba(37,211,102,.55); }
.wa-float svg { width: 30px; height: 30px; }

/* ── LEGAL ───────────────────────────────────────────────────── */
.legal-hero { background: linear-gradient(155deg, #060F1E 0%, var(--azul) 100%); padding: 96px 32px 64px; }
.legal-hero h1 { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 44px; color: white; margin-bottom: 10px; letter-spacing: -1px; }
.legal-hero p  { font-family: 'Inter', sans-serif; font-size: 14px; color: rgba(255,255,255,.52); }
.legal-body { background: var(--gris-cl); padding: 64px 32px; }
.legal-card { background: white; border-radius: var(--r-xl); max-width: 900px; margin: 0 auto; padding: 60px; box-shadow: var(--shadow-md); border: 1px solid var(--gris-md); }
.legal-date { font-family: 'Inter', sans-serif; font-size: 13px; color: var(--gris); margin-bottom: 36px; padding-bottom: 20px; border-bottom: 2px solid var(--gris-md); }
.legal-card h2 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 18px; color: var(--azul); margin: 36px 0 12px; }
.legal-card > p { font-family: 'Inter', sans-serif; font-size: 15px; color: #4A5568; line-height: 1.85; margin-bottom: 14px; }
.legal-card ul { padding-left: 22px; margin-bottom: 18px; }
.legal-card li { font-family: 'Inter', sans-serif; font-size: 15px; color: #4A5568; line-height: 1.85; margin-bottom: 8px; list-style: disc; }
.highlight-box { background: #EFF6FF; border-left: 4px solid var(--azul-lt); padding: 16px 20px; border-radius: 0 var(--r-sm) var(--r-sm) 0; margin: 22px 0; font-family: 'Inter', sans-serif; font-size: 14.5px; color: var(--negro); line-height: 1.75; }

/* ── RECLAMACIONES ─────────────────────────────────────────── */
.rec-hero { background: linear-gradient(155deg, #060F1E 0%, var(--azul) 100%); padding: 80px 32px 64px; text-align: center; }
.rec-hero h1 { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 44px; color: white; margin-bottom: 14px; letter-spacing: -1px; }
.rec-hero p  { font-family: 'Inter', sans-serif; font-size: 16px; color: rgba(255,255,255,.62); max-width: 600px; margin: 0 auto; line-height: 1.75; }
.rec-badge-icon { width: 72px; height: 72px; background: linear-gradient(135deg, var(--rojo), #9B2335); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; font-size: 34px; margin: 0 auto 20px; box-shadow: 0 8px 24px rgba(192,57,43,.4); }
.rec-body { background: var(--gris-cl); padding: 72px 32px; }
.rec-card { background: white; border-radius: var(--r-xl); max-width: 860px; margin: 0 auto; padding: 56px; box-shadow: var(--shadow-md); border: 1px solid var(--gris-md); }
.rec-header { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; padding-bottom: 24px; border-bottom: 2px solid var(--gris-md); }
.rec-badge { background: linear-gradient(135deg, var(--rojo), #9B2335); width: 56px; height: 56px; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; font-size: 26px; flex-shrink: 0; }
.rec-header h2 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 21px; color: var(--azul); margin-bottom: 4px; }
.rec-header p  { font-family: 'Inter', sans-serif; font-size: 13.5px; color: var(--gris); }
.rec-legal-box { background: #FFFBEB; border: 1px solid #FCD34D; border-radius: var(--r-sm); padding: 16px 20px; margin-bottom: 28px; font-family: 'Inter', sans-serif; font-size: 13.5px; color: #78350F; line-height: 1.7; }
.rec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.rec-full { grid-column: 1 / -1; }
.form-section-title { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 11.5px; color: var(--azul); letter-spacing: 1.5px; text-transform: uppercase; margin: 28px 0 16px; padding-bottom: 8px; border-bottom: 2px solid var(--gris-md); }
.rec-declaration { background: var(--gris-cl); border-radius: var(--r-sm); padding: 16px 20px; margin: 20px 0; font-family: 'Inter', sans-serif; font-size: 13.5px; color: #4A5568; line-height: 1.7; }
.rec-required-note { font-family: 'Inter', sans-serif; font-size: 12.5px; color: var(--gris); margin-top: 20px; }
.rec-required-note a { color: var(--rojo); font-weight: 600; }
.rec-checkbox-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 16px; }
.rec-checkbox-row label { font-family: 'Inter', sans-serif; font-size: 13.5px; color: #4A5568; cursor: pointer; line-height: 1.6; }
.rec-checkbox-row a { color: var(--rojo); font-weight: 600; }
.rec-contact-box { background: #EFF6FF; border-radius: var(--r-md); border-left: 4px solid var(--azul-lt); padding: 22px; margin-top: 28px; }
.rec-contact-title { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 13px; color: var(--azul); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .5px; }
.rec-contact-box p { font-family: 'Inter', sans-serif; font-size: 13.5px; color: var(--azul); line-height: 2.2; }

/* ── TRABAJA ─────────────────────────────────────────────────── */
.trabaja-hero { background: linear-gradient(155deg, #060F1E 0%, var(--azul) 60%, var(--azul-mid) 100%); padding: 110px 32px 80px; position: relative; overflow: hidden; }
.trabaja-hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 32px 32px; }
.trabaja-hero h1 { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 52px; color: white; line-height: 1.08; max-width: 640px; margin-bottom: 20px; letter-spacing: -1px; }
.trabaja-hero p  { font-family: 'Inter', sans-serif; font-size: 17px; color: rgba(255,255,255,.62); max-width: 520px; line-height: 1.75; }
.trabaja-values { background: white; padding: 96px 0; }
.trabaja-values-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.value-card { text-align: center; padding: 36px 20px; border-radius: var(--r-lg); border: 1.5px solid var(--gris-md); transition: var(--t); background: white; }
.value-card:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.vc-icon { font-size: 40px; margin-bottom: 16px; }
.value-card h3 { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 15px; color: var(--azul); margin-bottom: 10px; }
.value-card p  { font-family: 'Inter', sans-serif; font-size: 13.5px; color: var(--gris); line-height: 1.65; }
.trabaja-form-section { background: var(--gris-cl); padding: 96px 0; }
.trabaja-form-card { background: white; border-radius: var(--r-xl); max-width: 820px; margin: 0 auto; padding: 60px; box-shadow: var(--shadow-md); border: 1px solid var(--gris-md); }
.trabaja-form-card h2 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 28px; color: var(--azul); margin-bottom: 8px; letter-spacing: -.5px; }
.trabaja-form-card > p { font-family: 'Inter', sans-serif; font-size: 14.5px; color: var(--gris); margin-bottom: 32px; padding-bottom: 24px; border-bottom: 2px solid var(--gris-md); line-height: 1.75; }
.area-card { background: white; border-radius: var(--r-md); padding: 22px 20px; border: 1.5px solid var(--gris-md); border-left: 4px solid var(--azul); transition: var(--t); }
.area-card:hover { box-shadow: var(--shadow-sm); transform: translateX(4px); }
.area-card h3 { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 14px; color: var(--azul); margin-bottom: 6px; }
.area-card p  { font-family: 'Inter', sans-serif; font-size: 13px; color: var(--gris); line-height: 1.65; }
.file-upload-box { border: 2px dashed var(--gris-md); border-radius: var(--r-sm); padding: 24px; text-align: center; cursor: pointer; transition: var(--t); display: block; margin-top: 6px; }
.file-upload-box:hover { border-color: var(--azul-lt); background: #EFF6FF; }
.file-icon { font-size: 28px; margin-bottom: 8px; }
.file-upload-box p { font-family: 'Inter', sans-serif; font-size: 13.5px; color: var(--gris); margin: 0; }

/* ── ANIMATIONS ──────────────────────────────────────────────── */
@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
.fade-in { animation: fadeUp .45s ease forwards; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .brands-grid   { grid-template-columns: repeat(3,1fr); }
  .products-grid { grid-template-columns: repeat(2,1fr); }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero h1       { font-size: 50px; }
  .trabaja-values-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 960px) {
  .hero h1       { font-size: 38px; }
  .page-hero h1  { font-size: 34px; }
  .section-title { font-size: 28px; }
  .about-grid, .contact-grid, .cta-inner { grid-template-columns: 1fr; }
  .hero-stats    { flex-wrap: wrap; }
  .hero-stat     { min-width: 44%; padding: 16px 0; }
  .hero-stat + .hero-stat { border-left: none; }
  .client-card   { min-width: calc(50% - 8px); }
  .rec-grid      { grid-template-columns: 1fr; }
  .rec-full      { grid-column: 1; }
  .navbar-nav .nav-btn { display: none; }
  .nav-hamburger { display: flex; }
}
@media (max-width: 700px) {
  .hero h1       { font-size: 30px; letter-spacing: -.5px; }
  .page-hero h1  { font-size: 26px; }
  .trabaja-hero h1 { font-size: 32px; }
  .section-title { font-size: 24px; }
  .sectors-grid, .lineas-grid { grid-template-columns: repeat(2,1fr); }
  .brands-grid   { grid-template-columns: repeat(2,1fr); }
  .footer-grid   { grid-template-columns: 1fr; gap: 32px; }
  .legal-card, .rec-card, .trabaja-form-card { padding: 28px 20px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .client-card   { min-width: 100%; }
  .iso-banner-inner { flex-direction: column; }
  .iso-right     { flex-direction: column; align-items: flex-start; gap: 16px; }
  .container     { padding: 0 18px; }
  .navbar-inner  { padding: 0 18px; }
  .hero          { padding: 80px 18px 60px; }
  .topbar        { padding: 0 18px; font-size: 11px; }
  .topbar-right  { display: none; }
  .iso-logo-img  { height: 64px; }
}
@media (max-width: 480px) {
  .brands-grid   { grid-template-columns: 1fr; }
  .sectors-grid, .lineas-grid { grid-template-columns: 1fr; }
  .trabaja-values-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .hero h1       { font-size: 26px; }
}
