/* ============================================================================
 * SeptiGenesis — Iconografía (sprite Lucide, trazo 1.75, color heredado).
 * Uso: <svg class="ico" aria-hidden="true"><use href="/septigenesis/assets/icons/septi-icons.svg#i-phone"/></svg>
 * ==========================================================================*/
.ico {
  width: 1.1em;
  height: 1.1em;
  display: inline-block;
  flex-shrink: 0;
  vertical-align: -0.18em;
  stroke: currentColor;
  fill: none;
  overflow: visible;
}
.ico--sm { width: 0.95em; height: 0.95em; }
.ico--lg { width: 1.5em; height: 1.5em; }
.ico--xl { width: 2em; height: 2em; }

/* Texto + icono en línea (botones, enlaces, etiquetas). */
.ico-row { display: inline-flex; align-items: center; gap: 0.45em; }

/* Baldosa: icono de tarjeta (servicios, portada). Mismo tamaño y peso en todas. */
.ico-tile {
  --tile: 56px;
  width: var(--tile);
  height: var(--tile);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: #007a71;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0) 55%),
    linear-gradient(145deg, rgba(0, 169, 157, 0.20) 0%, rgba(0, 169, 157, 0.07) 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 169, 157, 0.22), 0 6px 14px -10px rgba(0, 122, 113, 0.55);
}
.ico-tile .ico { width: 28px; height: 28px; vertical-align: 0; }
.ico-tile--sm { --tile: 40px; border-radius: 12px; }
.ico-tile--sm .ico { width: 20px; height: 20px; }
/* Modo noche: sigue a data-theme (js/theme.js), no solo al telefono */
  :root[data-theme="dark"] .ico-tile {
    color: #5fd4c9;
    background: linear-gradient(145deg, rgba(0, 169, 157, 0.28) 0%, rgba(0, 169, 157, 0.10) 100%);
    box-shadow: inset 0 0 0 1px rgba(95, 212, 201, 0.25);
  }


/* Botón hamburguesa: alterna menú / cerrar según aria-expanded (sin cambiar texto). */
.nav-toggle .ico { width: 26px; height: 26px; vertical-align: 0; }
.nav-toggle .ico-close { display: none; }
.nav-toggle[aria-expanded="true"] .ico-open { display: none; }
.nav-toggle[aria-expanded="true"] .ico-close { display: inline-block; }

/* Chip de idioma: código de dos letras en lugar de bandera. */
.lang-code,
.lang-btn .lang-code,
.lang-item .lang-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1px 4px;
  border-radius: 6px;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  /* tinta de marca (navy en dia, clara en noche: css/theme.css); #007a71 daba 3.7:1 sobre el chip activo */
  color: var(--sg-ink, #143e6b);
  background: rgba(0, 169, 157, 0.14);
  box-shadow: inset 0 0 0 1px rgba(0, 169, 157, 0.25);
}
.lang-btn:hover .lang-code { color: inherit; background: rgba(255, 255, 255, 0.2); }
.lang-arrow .ico, .nav-caret .ico { width: 10px; height: 10px; vertical-align: 0; }
.lang-item .check .ico { width: 16px; height: 16px; }
