/* =====================================================
   EM-HUMAN — components.css
   Navbar, Hero, Secciones, Cards, Footer
   ===================================================== */


/* ─────────────── NAVBAR ─────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--t) var(--ease);
}
.navbar.scrolled { box-shadow: var(--shadow-sm); }

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: var(--s8);
}
.navbar__logo img { height: 36px; width: auto; filter: invert(1) hue-rotate(180deg); }

.navbar__nav {
  display: flex;
  align-items: center;
  gap: var(--s6);
}
.navbar__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: color var(--t), border-color var(--t);
}
.navbar__link:hover,
.navbar__link.active { color: var(--navy); border-color: var(--amber-mid); }

.navbar__actions {
  display: flex;
  align-items: center;
  gap: var(--s4);
}
.navbar__login {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--t);
}
.navbar__login:hover { color: var(--navy); }

.navbar__flag {
  display: inline-flex;
  align-items: center;
  opacity: 0.85;
  cursor: default;
  user-select: none;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.10);
  border-radius: 2px;
  line-height: 0;
}

.navbar__lang {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  color: var(--text-muted);
  padding: 2px 7px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: color var(--t) var(--ease), border-color var(--t) var(--ease);
}
.navbar__lang:hover { color: var(--navy); border-color: var(--navy); }
.navbar__lang--active { color: var(--navy); border-color: var(--amber-mid); }

.navbar__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--text);
  padding: var(--s2);
}

@media (max-width: 900px) {
  .navbar__nav { display: none; }
  .navbar__toggle { display: flex; }
}

.navbar__mobile {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border-light);
}
.navbar__mobile.open { display: flex; }
.navbar__mobile a {
  padding: var(--s4) var(--s8);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  border-left: 3px solid transparent;
  transition: color var(--t), border-color var(--t), background var(--t);
}
.navbar__mobile a:hover {
  color: var(--navy);
  border-left-color: var(--amber-mid);
  background: var(--cream);
}


/* ─────────────── HERO ─────────────── */
.hero {
  position: relative;
  background: var(--cream);
  padding-top: calc(64px + clamp(3rem, 6vw, 5rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}

.hero__topo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
}
.hero__topo canvas {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0; left: 0;
  display: block;
}

.hero__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s16);
  align-items: center;
}
@media (max-width: 900px) {
  .hero__body { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid var(--amber-light);
  background: var(--amber-pale);
  padding: var(--s1) var(--s3);
  border-radius: var(--r);
  margin-bottom: var(--s6);
}

.hero__title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: var(--s6);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.hero__title em { color: var(--navy-mid); }

.hero__lead {
  font-size: 1.05rem;
  color: var(--text-body);
  max-width: 460px;
  line-height: 1.8;
  margin-bottom: var(--s8);
}

.hero__actions {
  display: flex;
  gap: var(--s4);
  flex-wrap: wrap;
}

.hero__screen {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero__screen-bar {
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s3) var(--s4);
  background: var(--cream-mid);
  border-bottom: 1px solid var(--border);
}
.hero__screen-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.hero__screen-dot:nth-child(1) { background: #E05252; }
.hero__screen-dot:nth-child(2) { background: #D4A017; }
.hero__screen-dot:nth-child(3) { background: #3A9A5C; }
.hero__screen-url {
  flex: 1;
  height: 14px;
  background: var(--cream-dark);
  border-radius: var(--r);
  margin: 0 var(--s3);
}
.hero__screen img { width: 100%; display: block; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: var(--s12);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--white);
  overflow: hidden;
}
.hero__stat {
  padding: var(--s6);
  border-right: 1px solid var(--border);
  text-align: center;
}
.hero__stat:last-child { border-right: none; }
.hero__stat-value {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: var(--s2);
}
.hero__stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
@media (max-width: 640px) {
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__stat:nth-child(2) { border-right: none; }
  .hero__stat:nth-child(3) { border-top: 1px solid var(--border); border-right: 1px solid var(--border); }
  .hero__stat:nth-child(4) { border-top: 1px solid var(--border); }
}


/* ─────────────── SECCIONES BASE ─────────────── */
.section { padding: var(--section-pad) 0; }
.section--white     { background: var(--white); }
.section--cream     { background: var(--cream); }
.section--cream-mid { background: var(--cream-mid); }
.section--navy      { background: var(--navy); }

.section--navy h2,
.section--navy h3,
.section--navy .section-header h2 { color: var(--text-on-dark); }
.section--navy .label              { color: var(--amber-light); }
.section--navy p                   { color: var(--text-on-dark-muted); }
.section--navy .section-header__rule { background: var(--amber-light); }
.section--navy .pillar             { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); border-top-color: var(--amber-mid); }
.section--navy .pillar h4          { color: var(--text-on-dark); }
.section--navy .pillar p           { color: var(--text-on-dark-muted); }
.section--navy .pillar__icon       { color: var(--amber-light); }
.section--navy .solution-item      { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.10); }
.section--navy .solution-item__title { color: var(--amber-light); }
.section--navy .solution-item__desc  { color: var(--text-on-dark-muted); }
.section--navy .solution-item__icon  { color: var(--amber-light); }


/* ─────────────── PILARES ─────────────── */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s6);
  margin-top: var(--s12);
}
@media (max-width: 768px) { .pillars { grid-template-columns: 1fr; } }

.pillar {
  padding: var(--s8);
  background: var(--cream);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--navy);
}
.pillar__icon { width: 40px; height: 40px; color: var(--navy); margin-bottom: var(--s5); }
.pillar h4 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: var(--s3); }
.pillar p { font-size: 0.9rem; color: var(--text-body); line-height: 1.7; }

.plataforma-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s12);
  align-items: center;
  margin-top: var(--s16);
  padding-top: var(--s16);
  border-top: 1px solid var(--border-light);
}
@media (max-width: 800px) { .plataforma-feature { grid-template-columns: 1fr; } }

.plataforma-feature__screen { border: 1px solid var(--border); box-shadow: var(--shadow-md); overflow: hidden; border-radius: var(--r-md); }
.plataforma-feature__screen img { width: 100%; display: block; }
.plataforma-feature__screen-cap { padding: var(--s3) var(--s4); background: var(--cream-mid); font-size: 0.78rem; color: var(--text-muted); border-top: 1px solid var(--border); font-style: italic; }

.plataforma-feature__list { display: flex; flex-direction: column; gap: var(--s5); margin-top: var(--s8); }
.plataforma-feature__item { display: flex; gap: var(--s4); align-items: flex-start; }
.plataforma-feature__item-icon { width: 32px; height: 32px; color: var(--navy); flex-shrink: 0; padding-top: 2px; }
.plataforma-feature__item h5 { font-size: 0.9rem; margin-bottom: var(--s1); }
.plataforma-feature__item p { font-size: 0.85rem; color: var(--text-muted); }


/* ─────────────── SENSORES ─────────────── */
.sensor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s3);
  margin-top: var(--s10);
}
@media (max-width: 900px) { .sensor-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .sensor-grid { grid-template-columns: repeat(2, 1fr); } }

.sensor-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  padding: var(--s5) var(--s4);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  transition: border-color var(--t), box-shadow var(--t);
}
.sensor-card:hover { border-color: var(--navy-light); box-shadow: var(--shadow-sm); }
.sensor-card__icon { width: 32px; height: 32px; color: var(--navy); }
.sensor-card__name { font-size: 0.82rem; font-weight: 700; color: var(--text); line-height: 1.3; }
.sensor-card__type { font-size: 0.68rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.07em; }


/* ─────────────── SOLUCIONES ─────────────── */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s5);
  margin-top: var(--s10);
}
@media (max-width: 900px) { .solutions-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .solutions-grid { grid-template-columns: 1fr; } }

.solution-item {
  display: flex;
  gap: var(--s4);
  align-items: flex-start;
  padding: var(--s6);
  border: 1px solid var(--border-light);
  background: var(--white);
  transition: border-color var(--t), box-shadow var(--t);
}
.solution-item:hover { border-color: var(--navy); box-shadow: var(--shadow-xs); }
.solution-item__icon { width: 40px; height: 40px; color: var(--navy); flex-shrink: 0; }
.solution-item__title { font-size: 0.92rem; font-weight: 700; color: var(--navy); margin-bottom: var(--s1); }
.solution-item__desc { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }


/* ─────────────── MÓDULOS ─────────────── */
.modules-list {
  margin-top: var(--s10);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--border);
  background: var(--white);
  overflow: hidden;
}
@media (max-width: 640px) { .modules-list { grid-template-columns: 1fr; } }

.module-item {
  padding: var(--s6) var(--s8);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: var(--s4);
  align-items: flex-start;
  transition: background var(--t);
}
.module-item:nth-child(even) { border-right: none; }
.module-item:hover { background: var(--navy-pale); }
.module-item__num { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; color: var(--amber-mid); min-width: 28px; line-height: 1; padding-top: 2px; }
.module-item__title { font-weight: 700; font-size: 0.92rem; color: var(--navy); margin-bottom: var(--s1); }
.module-item__desc { font-size: 0.83rem; color: var(--text-muted); line-height: 1.6; }


/* ─────────────── CASOS ─────────────── */
.cases { display: flex; flex-direction: column; gap: var(--s16); margin-top: var(--s10); }

.case {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s12);
  align-items: center;
}
.case--reverse .case__text { order: 2; }
.case--reverse .case__visual { order: 1; }
@media (max-width: 800px) {
  .case { grid-template-columns: 1fr; }
  .case--reverse .case__text { order: unset; }
  .case--reverse .case__visual { order: unset; }
  .case__visual { order: -1; }
}

.case__label { display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber-mid); margin-bottom: var(--s3); }
.case__title { font-size: 1.5rem; margin-bottom: var(--s4); }
.case__body { font-size: 0.95rem; line-height: 1.8; color: var(--text-body); margin-bottom: var(--s6); }

.case__results {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  padding: var(--s5) var(--s6);
  background: var(--cream);
  border-left: 3px solid var(--navy);
}
.case__result { display: flex; align-items: flex-start; gap: var(--s3); font-size: 0.87rem; color: var(--text-body); line-height: 1.5; }
.case__result-bullet { display: block; width: 6px; height: 6px; background: var(--amber-mid); border-radius: 50%; flex-shrink: 0; margin-top: 5px; }

.case__visual { border: 1px solid var(--border); overflow: hidden; box-shadow: var(--shadow-md); }
.case__visual img { width: 100%; display: block; }
.case__visual-cap { padding: var(--s3) var(--s4); background: var(--cream-mid); font-size: 0.75rem; color: var(--text-muted); border-top: 1px solid var(--border); font-style: italic; }


/* ─────────────── SPECS ─────────────── */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--border);
  background: var(--white);
  margin-top: var(--s10);
  overflow: hidden;
}
@media (max-width: 640px) { .specs-grid { grid-template-columns: 1fr; } }

.spec-row {
  display: flex;
  gap: var(--s6);
  padding: var(--s4) var(--s6);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.spec-row:nth-child(even) { border-right: none; }
.spec-row:last-child { border-bottom: none; }
.spec-row:nth-last-child(2):nth-child(odd) { border-bottom: none; }
.spec-row__label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--text-muted); min-width: 110px; flex-shrink: 0; padding-top: 2px; }
.spec-row__value { font-size: 0.88rem; color: var(--text); line-height: 1.6; }


/* ─────────────── CTA ─────────────── */
.cta-section { background: var(--navy); padding: var(--s24) 0; text-align: center; }
.cta-section__inner { max-width: 600px; margin: 0 auto; }
.cta-section__logo { height: 100px; width: auto; opacity: 0.90; margin: 0 auto var(--s10); display: block; }
.cta-section h2 { color: var(--white); margin-bottom: var(--s4); }
.cta-section p { color: var(--text-on-dark-muted); font-size: 1.05rem; margin-bottom: var(--s8); line-height: 1.75; }
.cta-section__actions { display: flex; justify-content: center; gap: var(--s4); flex-wrap: wrap; }


/* ─────────────── HOME SPLIT ─────────────── */
.home-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s16);
  align-items: center;
}
@media (max-width: 900px) {
  .home-split { grid-template-columns: 1fr; }
  .home-split__visual { order: -1; }
}
.home-split__text h2 { margin-bottom: 0; }
.home-checklist { display: flex; flex-direction: column; gap: var(--s3); margin-top: var(--s6); }
.home-checklist li {
  display: flex;
  gap: var(--s3);
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.5;
}
.home-checklist li::before {
  content: '';
  display: block;
  width: 14px; height: 14px;
  border: 2px solid var(--navy);
  border-radius: var(--r);
  flex-shrink: 0;
  margin-top: 2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M2.5 7 L5.5 10 L11.5 4' stroke='%231C3050' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ─────────────── HOME INDUSTRIES ─────────────── */
.home-industries { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
@media (max-width: 700px) { .home-industries { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .home-industries { grid-template-columns: 1fr; } }

.home-industry {
  display: flex;
  align-items: center;
  gap: var(--s4);
  padding: var(--s5);
  background: var(--white);
  border: 1px solid var(--border-light);
  transition: border-color var(--t), box-shadow var(--t);
}
.home-industry:hover { border-color: var(--navy); box-shadow: var(--shadow-xs); }
.home-industry__icon { width: 32px; height: 32px; color: var(--navy); flex-shrink: 0; }
.home-industry span { font-size: 0.87rem; font-weight: 600; color: var(--text); line-height: 1.3; }


/* ─────────────── PAGE HEADER ─────────────── */
.page-header {
  position: relative;
  padding-top: calc(64px + 3.5rem);
  padding-bottom: 3.5rem;
  background: var(--navy);
  border-bottom: 3px solid var(--amber-mid);
}
.page-header__logo-mark {
  position: absolute;
  right: var(--s12);
  top: 50%;
  transform: translateY(-50%);
  height: 160px;
  width: auto;
  opacity: 0.18;
  pointer-events: none;
}
@media (max-width: 768px) { .page-header__logo-mark { display: none; } }
.page-header__inner { max-width: 700px; }
.page-header .label { color: var(--amber-light); }
.page-header h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.8rem); margin-top: var(--s3); margin-bottom: var(--s4); }
.page-header p { color: var(--text-on-dark-muted); font-size: 1.05rem; line-height: 1.75; max-width: 580px; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: 0.78rem;
  color: var(--text-on-dark-muted);
  margin-bottom: var(--s6);
}
.breadcrumb a { color: var(--text-on-dark-muted); transition: color var(--t); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { opacity: 0.5; }


/* ─────────────── GRÁFICOS TIEMPO REAL ─────────────── */
.rt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); margin-top: var(--s10); }
@media (max-width: 900px) { .rt-grid { grid-template-columns: 1fr; } }
@media (min-width: 640px) and (max-width: 900px) { .rt-grid { grid-template-columns: repeat(2,1fr); } }

.rt-card { background: var(--white); border: 1px solid var(--border-light); border-top: 3px solid var(--border); padding: var(--s5) var(--s5) var(--s4); transition: border-top-color 0.4s ease; }
.rt-card--yellow { border-top-color: #D4A017; }
.rt-card--orange { border-top-color: #CC6600; }
.rt-card--red    { border-top-color: #C62828; animation: rt-pulse-border 1s ease-in-out infinite; }
@keyframes rt-pulse-border { 0%, 100% { border-top-color: #C62828; } 50% { border-top-color: #FF5252; } }

.rt-card__head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: var(--s3); }
.rt-card__id { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); }
.rt-card__name { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }
.rt-status { display: flex; align-items: center; gap: 5px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px; border-radius: 20px; white-space: nowrap; flex-shrink: 0; transition: background 0.4s, color 0.4s; }
.rt-status--normal { background: rgba(46,125,50,0.10); color: #2E7D32; }
.rt-status--yellow { background: rgba(245,124,0,0.12); color: #9A5500; }
.rt-status--orange { background: rgba(230,81,0,0.14); color: #7C3800; }
.rt-status--red    { background: rgba(198,40,40,0.14); color: #B71C1C; animation: rt-blink-status 0.9s ease-in-out infinite; }
@keyframes rt-blink-status { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.rt-status__dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.rt-status--normal .rt-status__dot { background: #4CAF50; }
.rt-status--yellow .rt-status__dot { background: #F9A825; }
.rt-status--orange .rt-status__dot { background: #E65100; }
.rt-status--red    .rt-status__dot { background: #C62828; }
.rt-card__val { display: flex; align-items: baseline; gap: var(--s2); margin-bottom: var(--s2); }
.rt-current { font-family: var(--font-serif); font-size: 2rem; font-weight: 700; color: var(--navy); line-height: 1; transition: color 0.4s; }
.rt-unit { font-size: 0.85rem; color: var(--text-muted); font-weight: 600; }
.rt-ts { font-size: 0.68rem; color: var(--text-muted); font-family: monospace; margin-left: auto; }
.rt-canvas { width: 100%; display: block; border: 1px solid var(--border-light); background: var(--cream); border-radius: var(--r); }
.rt-card__ths { display: flex; gap: var(--s2); flex-wrap: wrap; margin-top: var(--s3); }
.rt-th { font-size: 0.65rem; font-weight: 700; padding: 2px 7px; border-radius: 12px; }
.rt-th--y { background: rgba(249,168,37,0.15); color: #7A5000; }
.rt-th--o { background: rgba(230,81,0,0.14); color: #6D2700; }
.rt-th--r { background: rgba(198,40,40,0.12); color: #7F0000; }


/* ─────────────── SPLASH ─────────────── */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  transition: opacity 0.5s ease, visibility 0.5s;
}
.splash.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.splash__logo { height: 80px; width: auto; filter: invert(1) hue-rotate(180deg); animation: splash-logo-in 0.55s cubic-bezier(0, 0, 0.2, 1) 0.1s both; }
@keyframes splash-logo-in { from { opacity: 0; transform: scale(0.88) translateY(14px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.splash__bar { width: 120px; height: 2px; background: var(--border-light); border-radius: 1px; overflow: hidden; }
.splash__progress { height: 100%; width: 0; background: var(--amber-mid); border-radius: 1px; animation: splash-progress 0.85s cubic-bezier(0.4, 0, 0.2, 1) 0.35s both; }
@keyframes splash-progress { from { width: 0; } to { width: 100%; } }


/* ─────────────── FOOTER ─────────────── */
.footer { background: var(--white); border-top: 1px solid var(--border); padding: var(--s16) 0 var(--s8); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--s10); margin-bottom: var(--s12); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--s8); } }
@media (max-width: 500px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand img { height: 30px; margin-bottom: var(--s5); filter: invert(1) hue-rotate(180deg); }
.footer__brand p { font-size: 0.87rem; color: var(--text-muted); line-height: 1.75; max-width: 280px; }
.footer__brand-tag { display: inline-block; margin-top: var(--s4); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase; color: var(--amber-mid); padding: 3px 8px; border: 1px solid var(--amber-light); border-radius: var(--r); }
.footer__col h5 { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); margin-bottom: var(--s5); padding-bottom: var(--s3); border-bottom: 1px solid var(--border-light); }
.footer__col ul { display: flex; flex-direction: column; gap: var(--s3); }
.footer__col a { font-size: 0.875rem; color: var(--text-muted); transition: color var(--t); }
.footer__col a:hover { color: var(--navy); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: var(--s6); border-top: 1px solid var(--border-light); flex-wrap: wrap; gap: var(--s4); }
.footer__copy { font-size: 0.8rem; color: var(--text-muted); }
.footer__legal { display: flex; gap: var(--s6); }
.footer__legal a { font-size: 0.8rem; color: var(--text-muted); transition: color var(--t); }
.footer__legal a:hover { color: var(--navy); }


/* ─────────────── NOTICIAS / ARTÍCULOS ─────────────── */
.news-card__tag { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber-mid); background: var(--amber-pale); padding: 2px 8px; border-radius: 20px; }
.news-card__date { font-size: 0.78rem; color: var(--text-muted); }
.news-card__link { font-size: 0.8rem; font-weight: 600; color: var(--amber-mid); display: inline-flex; align-items: center; gap: 4px; transition: color var(--t); }
.news-card__link:hover { color: var(--amber); }

.article-list { list-style: none; padding: 0; margin: var(--s10) 0 0; border-top: 1px solid var(--border-light); }
.article-list__item { display: grid; grid-template-columns: 72px auto 1fr; align-items: baseline; gap: var(--s4); padding: var(--s5) 0; border-bottom: 1px solid var(--border-light); }
@media (max-width: 600px) { .article-list__item { grid-template-columns: 1fr; gap: var(--s2); padding: var(--s6) 0; } }
.article-list__date { font-size: 0.75rem; color: var(--text-muted); white-space: nowrap; }
.article-list__title { font-family: var(--font-serif); font-size: 0.96rem; font-weight: 700; color: var(--navy); line-height: 1.4; transition: color var(--t); }
.article-list__title:hover { color: var(--amber-mid); }

.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); margin-top: var(--s10); }
@media (max-width: 720px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-item { border: 1px solid var(--border-light); background: var(--white); overflow: hidden; transition: box-shadow var(--t); }
.faq-item[open] { box-shadow: var(--shadow-sm); }
.faq-item__q { font-family: var(--font-serif); font-size: 0.95rem; font-weight: 700; color: var(--navy); padding: var(--s6) var(--s8); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--s4); line-height: 1.4; }
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::after { content: "+"; font-family: var(--font-sans); font-size: 1.2rem; font-weight: 300; color: var(--amber-mid); flex-shrink: 0; transition: transform var(--t); }
.faq-item[open] .faq-item__q::after { transform: rotate(45deg); }
.faq-item__a { padding: 0 var(--s8) var(--s6); font-size: 0.88rem; color: var(--text-body); line-height: 1.7; }
.faq-item__a strong { color: var(--navy); font-weight: 700; }

.article-full { max-width: 780px; margin: 0 auto var(--s16); padding-bottom: var(--s16); }
.article-full__meta { display: flex; align-items: center; gap: var(--s4); margin-bottom: var(--s6); flex-wrap: wrap; }
.article-full__reading { font-size: 0.78rem; color: var(--text-muted); }
.article-full__title { font-family: var(--font-serif); font-size: clamp(1.35rem, 3vw, 1.85rem); font-weight: 700; color: var(--navy); line-height: 1.35; margin: 0 0 var(--s8); }
.article-full__body { font-size: 1rem; color: var(--text-body); line-height: 1.75; }
.article-full__body p { margin-bottom: var(--s6); }
.article-full__body h3 { font-family: var(--font-serif); font-size: 1.1rem; font-weight: 700; color: var(--navy); margin: var(--s10) 0 var(--s4); }
.article-full__body ul { padding-left: var(--s8); margin-bottom: var(--s6); display: flex; flex-direction: column; gap: var(--s3); }
.article-full__body li { color: var(--text-body); }
.article-full__body strong { color: var(--navy); font-weight: 700; }
.article-divider { border: none; border-top: 1px solid var(--border-light); margin: 0 auto var(--s16); max-width: 780px; }
