/* ==========================================================================
   Telnor Guía México - Sistema de Diseño Editorial y Funcional
   ========================================================================== */

:root {
  --primary: #00609c;
  --primary-dark: #004573;
  --primary-light: #eaf3fa;
  --primary-glow: rgba(0, 96, 156, 0.15);
  --navy: #0a2540;
  --navy-deep: #051424;
  --accent-cyan: #0284c7;
  --accent-amber: #d97706;
  --accent-amber-light: #fef3c7;
  --accent-green: #059669;
  --accent-green-light: #ecfdf5;
  --accent-red: #dc2626;
  --accent-red-light: #fef2f2;
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-alt: #f1f5f9;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --border-light: #edf2f7;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 14px -2px rgba(10,37,64,0.08), 0 2px 6px -1px rgba(10,37,64,0.04);
  --shadow-lg: 0 14px 30px -4px rgba(10,37,64,0.12), 0 4px 14px -2px rgba(10,37,64,0.05);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --container-max: 1200px;
  --transition: all 0.2s ease-in-out;
}

/* Reset y Bases */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-page);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

/* Tipografía */
h1, h2, h3, h4 {
  color: var(--navy);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

h1 { font-size: 2.15rem; }
h2 { font-size: 1.65rem; margin-top: 2rem; padding-bottom: 0.4rem; border-bottom: 2px solid var(--primary-light); }
h3 { font-size: 1.28rem; margin-top: 1.5rem; }
h4 { font-size: 1.08rem; margin-top: 1.2rem; }

p {
  margin-bottom: 1.15rem;
  color: var(--text-main);
  font-size: 1.05rem;
}

ul, ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.4rem;
}

strong {
  font-weight: 600;
  color: var(--navy);
}

/* Contenedores */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.content-narrow {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

/* Disclaimer Barra Superior */
.top-disclaimer {
  background-color: #f1f5f9;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.82rem;
  padding: 0.45rem 1rem;
  text-align: center;
}

.top-disclaimer strong {
  color: var(--navy);
}

/* Header */
.site-header {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

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

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none !important;
}

.site-logo .logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 2px 6px rgba(0,96,156,0.3);
}

.site-logo .logo-text {
  display: flex;
  flex-direction: column;
}

.site-logo .brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.site-logo .brand-tagline {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Navegación Desktop */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  padding: 0.5rem 0.75rem;
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-menu a:hover,
.nav-menu a.active {
  background-color: var(--primary-light);
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.btn-search-trigger {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-search-trigger:hover {
  background: #ffffff;
  border-color: var(--primary);
  color: var(--navy);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--navy);
}

/* Mobile Nav Drawer */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 37, 64, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background: var(--bg-surface);
  box-shadow: var(--shadow-lg);
  z-index: 1001;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.mobile-nav-overlay.open { display: block; }
.mobile-nav-overlay.open .mobile-nav-drawer { right: 0; }

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

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mobile-nav-list a {
  display: block;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 550;
  color: var(--navy);
  text-decoration: none;
}

.mobile-nav-list a:hover {
  background-color: var(--primary-light);
  color: var(--primary);
}

/* Buscador Semántico Modal */
.search-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 37, 64, 0.6);
  backdrop-filter: blur(5px);
  z-index: 2000;
  align-items: flex-start;
  justify-content: center;
  padding: 3rem 1.25rem;
}

.search-modal.active {
  display: flex;
}

.search-modal-box {
  background: var(--bg-surface);
  width: 100%;
  max-width: 640px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  animation: modalSlide 0.2s ease-out;
}

@keyframes modalSlide {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.search-modal-header {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  gap: 0.75rem;
}

.search-modal-input {
  flex: 1;
  border: none;
  font-size: 1.15rem;
  outline: none;
  color: var(--navy);
}

.search-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 0.25rem;
  border-radius: var(--radius-sm);
}

.search-results-container {
  max-height: 420px;
  overflow-y: auto;
  padding: 0.75rem;
}

.search-result-item {
  display: block;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  text-decoration: none !important;
  transition: var(--transition);
  border-bottom: 1px solid var(--border-light);
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover {
  background-color: var(--primary-light);
}

.search-result-title {
  font-weight: 600;
  color: var(--navy);
  font-size: 1rem;
  display: block;
  margin-bottom: 0.2rem;
}

.search-result-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: block;
}

.search-hint {
  padding: 0.75rem 1.25rem;
  background: var(--bg-surface-alt);
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 1rem 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumbs li:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-light);
}

.breadcrumbs a {
  color: var(--primary);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-page) 100%);
  padding: 2.5rem 0 3.5rem;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  border: 1px solid rgba(0, 96, 156, 0.2);
}

.hero-title {
  font-size: 2.5rem;
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  position: relative;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: var(--transition);
  min-height: 46px;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(0, 96, 156, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 96, 156, 0.35);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--navy) !important;
  border-color: var(--border);
}

.btn-secondary:hover {
  background-color: var(--bg-surface-alt);
  border-color: var(--primary);
}

.btn-outline-primary {
  background-color: transparent;
  color: var(--primary) !important;
  border-color: var(--primary);
}

.btn-outline-primary:hover {
  background-color: var(--primary-light);
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  min-height: 36px;
}

.btn-block {
  width: 100%;
}

/* Tarjetas y Rejillas */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.4rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.card-link {
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Cajas de Aviso / Alertas */
.alert {
  border-radius: var(--radius-md);
  padding: 1.15rem 1.35rem;
  margin: 1.5rem 0;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border: 1px solid transparent;
}

.alert-icon {
  flex-shrink: 0;
  font-size: 1.35rem;
  line-height: 1;
  margin-top: 0.15rem;
}

.alert-content {
  flex: 1;
}

.alert-title {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.alert-info {
  background-color: #f0f9ff;
  border-color: #bae6fd;
  color: #0369a1;
}

.alert-warning {
  background-color: var(--accent-amber-light);
  border-color: #fde68a;
  color: #92400e;
}

.alert-success {
  background-color: var(--accent-green-light);
  border-color: #a7f3d0;
  color: #065f46;
}

.alert-security {
  background-color: #fffbeb;
  border-color: #fcd34d;
  color: #92400e;
  border-left: 4px solid #f59e0b;
}

/* Guías Paso a Paso */
.steps-container {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.step-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-body {
  flex: 1;
}

.step-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

/* Tablas Responsivas */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

th {
  background-color: var(--bg-surface-alt);
  color: var(--navy);
  font-weight: 600;
  padding: 0.9rem 1.1rem;
  border-bottom: 2px solid var(--border);
}

td {
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-main);
  vertical-align: top;
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background-color: #fafbfc;
}

/* Selector Interactivo de Tareas / Problemas */
.task-selector-box {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  margin: 2rem 0;
}

.task-selector-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.task-selector-header h2 {
  border-bottom: none;
  margin-top: 0;
  padding-bottom: 0;
}

.task-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.task-pill {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  color: var(--navy);
}

.task-pill:hover,
.task-pill.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.task-panel-result {
  background: var(--primary-light);
  border: 1px solid rgba(0,96,156,0.2);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Checklist Interactivo (Diagnóstico) */
.checklist-group {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  user-select: none;
  transition: var(--transition);
}

.checklist-item:hover {
  border-color: var(--primary);
  background-color: #fafbfc;
}

.checklist-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 0.15rem;
  accent-color: var(--primary);
  cursor: pointer;
}

.checklist-label {
  flex: 1;
  font-size: 0.98rem;
  color: var(--navy);
}

/* Sección FAQ */
.faq-section {
  margin: 2.5rem 0;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.15rem 1.35rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--primary);
  transition: transform 0.2s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.35rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  border-top: 1px solid var(--border-light);
}

.faq-item.active .faq-answer {
  display: block;
}

/* Siguiente Necesidad / Enlaces Relacionados */
.next-needs-box {
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--primary-light) 100%);
  border: 1px solid rgba(0,96,156,0.15);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin: 3rem 0;
}

.next-needs-box h3 {
  color: var(--navy);
  margin-top: 0;
  margin-bottom: 1rem;
}

.next-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.next-link-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-decoration: none !important;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.next-link-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.next-link-card strong {
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.next-link-card span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Metadatos Editoriales E-E-A-T */
.editorial-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.editorial-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.check-tag {
  background-color: var(--accent-green-light);
  color: var(--accent-green);
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
}

/* Contenido Principal de Artículo */
.article-body {
  font-size: 1.05rem;
  line-height: 1.75;
}

.article-body h2 {
  margin-top: 2.25rem;
}

.article-body h3 {
  margin-top: 1.6rem;
}

.article-img-wrap {
  margin: 2rem 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.article-img-caption {
  padding: 0.6rem 1rem;
  background: var(--bg-surface-alt);
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
}

/* Directorio de Ciudades y Centros */
.city-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.city-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-decoration: none !important;
  transition: var(--transition);
}

.city-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.city-card-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.city-card-info {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  background-color: var(--navy-deep);
  color: #cbd5e1;
  padding: 4rem 0 2rem;
  margin-top: auto;
  border-top: 4px solid var(--primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col-title {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #38bdf8;
  text-decoration: underline;
}

.footer-disclaimer-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #94a3b8;
}

.footer-disclaimer-box strong {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: #64748b;
  gap: 1rem;
}

.footer-legal-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-legal-links a {
  color: #94a3b8;
  text-decoration: none;
}

.footer-legal-links a:hover {
  color: #ffffff;
}

/* Banner de Cookies */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy);
  color: #ffffff;
  padding: 1.25rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
  z-index: 3000;
  border-top: 2px solid var(--primary);
  display: none;
}

.cookie-banner.active {
  display: block;
}

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

.cookie-text {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #cbd5e1;
}

.cookie-text a {
  color: #38bdf8;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 820px) {
  .nav-menu {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  h1 {
    font-size: 1.95rem;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-section {
    padding: 1.75rem 0 2.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.7rem;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .btn {
    width: 100%;
  }
  .hero-actions {
    flex-direction: column;
  }
  .step-card {
    flex-direction: column;
    gap: 0.75rem;
  }
  .task-panel-result {
    flex-direction: column;
    text-align: center;
  }
}
