/*
Theme Name: Nullptr Corporativa & ABP
Theme URI: https://github.com/proyecto-sdm/web-corporativa-abp
Author: Equipo Nullptr
Author URI: https://routiq.store
Description: Web corporativa y Landing ABP del equipo Nullptr. Diseño editorial suizo (inspirado en la arquitectura visual de IBM) y experiencia cinemática oscura para RoutIQ (inspirada en RSNL Creative).
Version: 2.1.0
License: GNU General Public License v2 or later
Text Domain: abp-corporate
*/

/* ==========================================================================
   1. RESET Y VARIABLES DE DISEÑO (DESIGN TOKENS)
   Sin bordes redondeados gratuitos. Sin tarjetas genéricas.
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Lienzo y Superficies Corporativas (Estilo Suizo / IBM) */
  --bg-canvas: #ffffff;
  --bg-subtle: #f8f9fa;
  --bg-surface: #ffffff;
  --bg-contrast: #111827;

  /* Líneas Estructurales y Hairlines */
  --hairline: #e5e7eb;
  --hairline-dark: #111827;
  --hairline-focus: #0284c7;

  /* Jerarquía Tipográfica */
  --text-main: #111827;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;
  --text-inverse: #ffffff;

  /* Acentos de Marca */
  --brand-primary: #111827;
  --brand-blue: #0f62fe;
  /* Azul tecnológico IBM */
  --brand-blue-hover: #0043ce;
  --brand-amber: #ea580c;
  /* Acento cálido cobre RoutIQ */
  --brand-amber-glow: rgba(234, 88, 12, 0.22);

  /* Tipografías */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Espaciado Arquitectónico */
  --max-width: 1280px;
  --header-height: 72px;
}

html {
  font-family: var(--font-main);
  background-color: var(--bg-canvas);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-canvas);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* ==========================================================================
   2. CONTENEDORES Y ESTRUCTURA GLOBAL
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.main-content {
  flex: 1 0 auto;
  padding-bottom: 5rem;
}

/* Líneas divisorias arquitectónicas */
.hairline-divider {
  width: 100%;
  height: 1px;
  background-color: var(--hairline);
  margin: 0;
  border: none;
}

/* Kickers editoriales */
.editorial-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   3. CABECERA CORPORATIVA (REFERENCIA IBM)
   Minimalismo estructural, división vertical mediante hairline |
   ========================================================================== */
.site-header {
  height: var(--header-height);
  background-color: #ffffff;
  border-bottom: 1px solid var(--hairline);
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-left {
  display: flex;
  align-items: center;
}

/* Logotipo Nullptr + Separador Vertical */
.brand {
  display: flex;
  align-items: center;
  padding-right: 1.75rem;
  position: relative;
  text-decoration: none;
}

.brand-logo,
.custom-logo {
  display: block;
  height: 36px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  vertical-align: middle;
  transition: opacity 0.15s ease;
}

.brand:hover .brand-logo,
.custom-logo-link:hover .custom-logo {
  opacity: 0.85;
}

.brand-symbol {
  color: var(--brand-blue);
  margin-right: 0.2rem;
}

/* Divisor vertical estilo IBM */
.header-divider-v {
  width: 1px;
  height: 24px;
  background-color: #d1d5db;
  margin-right: 1.75rem;
}

/* Navegación Principal */
.main-nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2rem;
}

.main-nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.5rem 0;
  position: relative;
}

.main-nav a:hover {
  color: var(--text-main);
}

.main-nav .current-menu-item a {
  color: var(--text-main);
  font-weight: 600;
}

.main-nav .current-menu-item a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--text-main);
}

/* Selector de Idioma (ES | EN) */
.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
}

.lang-switch a {
  color: var(--text-muted);
  padding: 0.2rem 0.4rem;
  transition: all 0.15s ease;
}

.lang-switch a:hover {
  color: var(--text-main);
}

.lang-switch a.is-active {
  color: var(--text-main);
  font-weight: 700;
  background-color: var(--bg-subtle);
  border: 1px solid var(--hairline);
}

.lang-switch-sep {
  color: #d1d5db;
}

/* ==========================================================================
   4. PÁGINA DE INICIO (ESTILO SUIZO / IBM EDITORIAL)
   ========================================================================== */
.hero-editorial {
  padding: 6.5rem 0 5rem;
  border-bottom: 1px solid var(--hairline);
}

.hero-statement {
  max-width: 52rem;
}

.hero-statement h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 44rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Botones Rectangulares de Alta Definición (NO píldoras) */
.btn-ibm-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--text-main);
  color: var(--text-inverse);
  padding: 0.875rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 0;
  border: 1px solid var(--text-main);
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.btn-ibm-primary:hover {
  background-color: #000000;
  color: #ffffff;
}

.btn-ibm-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: transparent;
  color: var(--text-main);
  padding: 0.875rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border: 1px solid var(--hairline);
  border-radius: 0;
  transition: all 0.15s ease;
}

.btn-ibm-secondary:hover {
  border-color: var(--text-main);
  background-color: var(--bg-subtle);
}

/* ==========================================================================
   5. SECCIÓN ROUTIQ (PRESENTACIÓN SENCILLA Y DIRECTA)
   ========================================================================== */
.section-routiq-simple {
  padding: 5rem 0;
  border-bottom: 1px solid var(--hairline);
  background-color: var(--bg-subtle);
}

.routiq-simple-content {
  max-width: 48rem;
}

.routiq-simple-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

.routiq-simple-content p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

/* ==========================================================================
   6. LISTA EDITORIAL DEL BLOG
   ========================================================================== */
.section-blog-editorial {
  padding: 5rem 0;
  border-bottom: 1px solid var(--hairline);
}

.blog-editorial-list {
  border-top: 1px solid var(--hairline);
}

.blog-editorial-item {
  display: grid;
  grid-template-columns: 240px 1fr 140px;
  gap: 2rem;
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--hairline);
  align-items: baseline;
  transition: background-color 0.15s ease;
}

.blog-editorial-item:hover {
  background-color: #fafafa;
}

.blog-item-meta {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.blog-item-category {
  display: block;
  font-weight: 600;
  color: var(--brand-blue);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.blog-item-body h3 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.blog-item-body p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.blog-item-action {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-main);
}

.blog-item-action:hover {
  color: var(--brand-blue);
}

/* ==========================================================================
   7. SECCIÓN CONTACTO
   ========================================================================== */
.section-contact {
  padding: 5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info-col h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.contact-info-col p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.contact-channels {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-channel-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-channel-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.contact-channel-value {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text-main);
}

.contact-form-col form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-main);
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
  border: 1px solid var(--hairline);
  background-color: #ffffff;
  padding: 0.875rem 1rem;
  font-size: 0.9375rem;
  color: var(--text-main);
  border-radius: 0;
  transition: border-color 0.15s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--hairline-dark);
}

/* ==========================================================================
   9. PÁGINA QUIÉNES SOMOS (ESTILO SUIZO)
   ========================================================================== */
.about-hero {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--hairline);
}

.about-hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.about-grid-team {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin: 4rem 0;
}

.team-member-block {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--hairline);
}

.team-member-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.team-member-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.team-member-role {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--brand-blue);
  font-weight: 600;
}

.team-member-bio {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   10. PÁGINAS LEGALES (AVISO LEGAL, PRIVACIDAD, COOKIES)
   ========================================================================== */
.legal-container {
  padding: 4rem 0;
  max-width: 860px;
  margin: 0 auto;
}

.legal-header {
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 2rem;
  margin-bottom: 2.5rem;
}

.legal-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.legal-meta {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.legal-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 2.5rem 0 1rem;
  color: var(--text-main);
}

.legal-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 1.75rem 0 0.5rem;
}

.legal-content p,
.legal-content li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.legal-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.legal-audit-notice {
  background-color: #fef3c7;
  border-left: 4px solid #f59e0b;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.875rem;
  color: #92400e;
}

/* ==========================================================================
   11. EXPERIENCIA CINEMÁTICA OSCURA — LANDING ROUTIQ (RSNL STYLE)
   Inspirada directamente en la imagen de referencia RSNL Creative
   ========================================================================== */
.routiq-landing-body {
  background-color: #06070a;
  color: #ffffff;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Resplandor ambiental cálido cobre (RSNL Creative glow) */
.routiq-ambient-glow {
  position: absolute;
  bottom: 5%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.22) 0%, rgba(249, 115, 22, 0.08) 45%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}

.routiq-header {
  height: var(--header-height);
  border-bottom: 1px solid #1f2937;
  background-color: rgba(6, 7, 10, 0.85);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
}

.routiq-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.routiq-brand-logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.routiq-brand-logo span.accent {
  color: #ea580c;
}

.routiq-nav ul {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  font-size: 0.9375rem;
  font-weight: 500;
}

.routiq-nav a {
  color: #94a3b8;
}

.routiq-nav a:hover {
  color: #ffffff;
}

.routiq-btn-primary {
  background-color: #ffffff;
  color: #000000;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.routiq-btn-primary:hover {
  background-color: #f3f4f6;
  color: #000000;
}

/* RoutIQ Hero (Composición RSNL) */
.routiq-hero-section {
  padding: 7rem 0 5rem;
  position: relative;
  z-index: 2;
}

.routiq-hero-headline {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #ffffff;
  max-width: 65rem;
  margin-bottom: 2rem;
}

/* Subrayado de acento cálido idéntico al de RSNL Creative ("Creative") */
.routiq-headline-accent {
  position: relative;
  display: inline-block;
  color: #ffffff;
}

.routiq-headline-accent::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 100%;
  height: 4px;
  background-color: #ea580c;
}

.routiq-hero-subtext {
  font-size: 1.25rem;
  color: #94a3b8;
  line-height: 1.6;
  max-width: 44rem;
  margin-bottom: 3rem;
}

.routiq-hero-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.routiq-link-arrow {
  color: #cbd5e1;
  font-size: 1.0625rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.15s ease;
}

.routiq-link-arrow:hover {
  color: #ea580c;
}

/* Demostración Interactiva de Capacidades 3D */
.routiq-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 5rem 0;
  position: relative;
  z-index: 2;
}

.routiq-feature-item {
  border-top: 1px solid #334155;
  padding-top: 2rem;
}

.routiq-feature-kicker {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: #ea580c;
  margin-bottom: 0.75rem;
}

.routiq-feature-item h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.routiq-feature-item p {
  font-size: 0.9375rem;
  color: #94a3b8;
  line-height: 1.6;
}

/* Métricas Clave (Lean Canvas) */
.routiq-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #1f2937;
  border-bottom: 1px solid #1f2937;
  margin: 5rem 0;
  position: relative;
  z-index: 2;
}

.metric-cell {
  padding: 3rem 2rem;
  border-right: 1px solid #1f2937;
}

.metric-cell:last-child {
  border-right: none;
}

.metric-number {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.metric-label {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: #ea580c;
  text-transform: uppercase;
}

.metric-desc {
  font-size: 0.875rem;
  color: #94a3b8;
  margin-top: 0.5rem;
}

/* Enlace de Regreso a la Web Corporativa */
.routiq-return-bar {
  padding: 2.5rem 0;
  border-top: 1px solid #1f2937;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.875rem;
}

.routiq-return-bar a {
  color: #94a3b8;
}

.routiq-return-bar a:hover {
  color: #ffffff;
}

/* ==========================================================================
   12. BANNER Y MODAL DE COOKIES (RGPD / LSSI-CE)
   ========================================================================== */
#abp-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #111827;
  color: #ffffff;
  border-top: 1px solid #374151;
  padding: 1.25rem 0;
  z-index: 9999;
  display: none;
}

.cookie-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cookie-banner-text {
  font-size: 0.875rem;
  color: #d1d5db;
  line-height: 1.5;
}

.cookie-banner-text a {
  color: #60a5fa;
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-cookie {
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 0;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
}

.btn-cookie-accept {
  background-color: #ffffff;
  color: #000000;
}

.btn-cookie-accept:hover {
  background-color: #e5e7eb;
}

.btn-cookie-reject {
  background-color: transparent;
  color: #ffffff;
  border-color: #4b5563;
}

.btn-cookie-reject:hover {
  border-color: #ffffff;
}

.btn-cookie-config {
  background-color: transparent;
  color: #9ca3af;
  border-color: transparent;
}

.btn-cookie-config:hover {
  color: #ffffff;
}

/* Modal Granular */
#abp-cookie-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cookie-modal-card {
  background-color: #ffffff;
  color: #111827;
  width: 100%;
  max-width: 600px;
  border: 1px solid var(--hairline);
  padding: 2.25rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.cookie-modal-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cookie-modal-close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
}

.cookie-category {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--hairline);
}

.cookie-cat-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.35rem;
}

.cookie-cat-top label {
  font-weight: 600;
  font-size: 0.9375rem;
}

.badge-mandatory {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  background-color: #f3f4f6;
  color: #374151;
  padding: 0.2rem 0.5rem;
}

.cookie-category p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.cookie-modal-footer {
  margin-top: 1.5rem;
  display: flex;
  justify-content: flex-end;
}

/* ==========================================================================
   13. PIE DE PÁGINA CORPORATIVO
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--hairline);
  background-color: #ffffff;
  padding: 3rem 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.footer-links a {
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--text-main);
}

/* ==========================================================================
   14. RESPONSIVE Y MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {

  .hero-grid,
  .featured-project-layout,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .routiq-features-grid,
  .routiq-metrics-row {
    grid-template-columns: 1fr;
  }

  .metric-cell {
    border-right: none;
    border-bottom: 1px solid #1f2937;
  }
}

@media (max-width: 768px) {
  .site-header {
    height: auto;
    padding: 1rem 0;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .main-nav ul {
    gap: 1rem;
    flex-wrap: wrap;
  }

  .blog-editorial-item {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .about-grid-team {
    grid-template-columns: 1fr;
  }

  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner-actions {
    width: 100%;
    flex-wrap: wrap;
  }
}

/* ==========================================================================
   15. MÓDULO GEO / LLMO: PREGUNTAS FRECUENTES (ESTILO SUIZO / IBM)
   ========================================================================== */
.section-faq {
  padding: 5rem 0;
  border-top: 1px solid var(--hairline);
  background-color: var(--bg-canvas);
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--hairline);
  margin-top: 2rem;
}

.faq-item {
  border-bottom: 1px solid var(--hairline);
  transition: background-color 0.15s ease;
}

.faq-item[open] {
  background-color: var(--bg-subtle);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:hover {
  color: var(--brand-blue);
}

.faq-toggle-icon {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform 0.2s ease;
  margin-left: 1.5rem;
  flex-shrink: 0;
}

.faq-item[open] .faq-toggle-icon {
  transform: rotate(45deg);
  color: var(--brand-blue);
}

.faq-answer {
  padding: 0 0 1.5rem 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 900px;
}
