/* ==========================================================================
   En-Guadalajara.com - Sistema de Diseño Moderno HTML5 (UX/UI Ultra-Rápido)
   ========================================================================== */

:root {
  --primary: #1e3a8a;          /* Azul Real Elegante */
  --primary-dark: #0f172a;     /* Deep Slate */
  --primary-light: #3b82f6;    /* Azul Brillante */
  --accent: #8b1e3f;           /* Carmesí / Cantera Rosa Jalisco */
  --accent-hover: #701832;
  --secondary: #0d9488;        /* Teal Moderno */
  --surface: #ffffff;
  --surface-subtle: #f8fafc;
  --surface-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --border-focus: #3b82f6;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --container-max: 1200px;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::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(--surface-subtle);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

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

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

/* ==========================================================================
   Header & Barra de Navegación Principal
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo-img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary-dark);
  line-height: 1.15;
}

.brand-name span {
  color: var(--accent);
}

.brand-tagline {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
}

.nav-link:hover {
  color: var(--accent);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(139, 30, 63, 0.25);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(139, 30, 63, 0.35);
}

.btn-secondary {
  background: var(--surface);
  color: var(--primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--surface-subtle);
  border-color: var(--primary-light);
  transform: translateY(-1px);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(37, 211, 102, 0.35);
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1.05rem;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--text-main);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  padding: 4rem 0 3rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #1e3a8a 100%);
  color: #ffffff;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 30, 63, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f1f5f9;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-title span {
  color: #fca5a5;
  background: linear-gradient(120deg, #f87171, #fb923c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #cbd5e1;
  margin-bottom: 2rem;
  font-weight: 400;
  line-height: 1.6;
}

/* Buscador en Vivo en el Hero */
.hero-search-box {
  position: relative;
  max-width: 620px;
  margin: 0 auto 1.75rem;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 1.25rem;
  width: 22px;
  height: 22px;
  color: var(--text-muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 1rem 1.25rem 1rem 3.25rem;
  font-size: 1.05rem;
  border-radius: var(--radius-full);
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: #ffffff;
  color: var(--text-main);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  outline: none;
  transition: var(--transition);
}

.search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 12px 30px rgba(139, 30, 63, 0.35);
}

.hero-cta-banner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  font-size: 0.92rem;
  backdrop-filter: blur(10px);
  text-align: center;
}

.hero-cta-banner p {
  color: #e2e8f0;
}

.hero-cta-banner strong {
  color: #ffffff;
}

/* ==========================================================================
   Barra Flotante / Sticky de Categorías (Índice Rápido)
   ========================================================================== */
.category-nav-bar {
  position: sticky;
  top: 74px;
  z-index: 90;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 0.75rem 0;
  transition: var(--transition);
}

.category-nav-scroll {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0.25rem 0.25rem;
}

.category-nav-scroll::-webkit-scrollbar {
  display: none;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}

.category-pill:hover,
.category-pill.active {
  color: #ffffff;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.category-pill.active {
  background: var(--accent);
  border-color: var(--accent);
}

/* ==========================================================================
   Secciones de Categorías y Grilla de Tarjetas
   ========================================================================== */
.directory-section {
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 140px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.section-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.section-title {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary-dark);
}

.section-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 650px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 1.75rem;
}

/* Tarjeta de Negocio / Proveedor */
.biz-card {
  position: relative;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.biz-card:hover {
  transform: translateY(-5px);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-lg);
}

.card-media {
  position: relative;
  height: 200px;
  background: #f1f5f9;
  overflow: hidden;
}

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

.biz-card:hover .card-img {
  transform: scale(1.05);
}

.card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  padding: 0.35rem 0.8rem;
  background: rgba(15, 23, 42, 0.88);
  color: #ffffff;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
  max-width: calc(100% - 1.5rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.card-badge-verified {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.75rem;
  background: rgba(13, 148, 136, 0.95);
  color: #ffffff;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-category {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.45rem;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

.card-title {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.35;
  margin-bottom: 0.5rem;
  word-break: break-word;
}

.card-title a:hover {
  color: var(--accent);
}

.card-location {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

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

.card-services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.service-tag {
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  color: var(--text-main);
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.card-actions-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.card-actions-row .btn {
  flex: 1;
}

.card-actions-row .btn-icon-only {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   Llamada a la Acción de Prospección (Aviso Editorial en Subpáginas y Home)
   ========================================================================== */
.directory-prospect-banner {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
  border: 1px solid #334155;
  border-radius: var(--radius-lg);
  padding: 2.25rem 2.5rem;
  margin: 3.5rem 0;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.directory-prospect-banner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 250px;
  height: 100%;
  background: radial-gradient(circle, rgba(139, 30, 63, 0.4) 0%, transparent 70%);
  pointer-events: none;
}

.prospect-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.prospect-info {
  max-width: 680px;
}

.prospect-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(139, 30, 63, 0.35);
  border: 1px solid rgba(244, 63, 94, 0.4);
  color: #fecdd3;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.prospect-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.prospect-desc {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.55;
}

.prospect-action {
  flex-shrink: 0;
}

/* ==========================================================================
   Diseño de Subpáginas de Servicio (Landings de Alta Conversión)
   ========================================================================== */
.breadcrumbs-bar {
  padding: 1rem 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.breadcrumbs-item a:hover {
  color: var(--accent);
}

.breadcrumbs-separator {
  color: var(--text-light);
}

.landing-hero {
  padding: 3.5rem 0 2.5rem;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.landing-hero-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: start;
}

.landing-header-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.landing-category-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
}

.landing-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--primary-dark);
  line-height: 1.15;
}

.landing-tagline {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.landing-meta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  color: var(--text-main);
}

/* Widget Flotante de Contacto en Subpáginas */
.landing-contact-card {
  background: var(--surface-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-card-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.contact-info-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--text-main);
}

.contact-icon {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-buttons-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Cuerpo de la Landing */
.landing-main-content {
  padding: 3rem 0;
}

.content-columns {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
}

.article-prose {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #334155;
}

.article-prose h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 2.25rem 0 1rem;
  letter-spacing: -0.02em;
}

.article-prose h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 1.75rem 0 0.75rem;
}

.article-prose p {
  margin-bottom: 1.25rem;
}

.article-prose ul, .article-prose ol {
  margin: 1rem 0 1.5rem 1.5rem;
}

.article-prose li {
  margin-bottom: 0.5rem;
}

.features-highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.highlight-box {
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.highlight-box h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.4rem;
}

.highlight-box p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Tabla Comparativa Anti-Canibalización */
.anti-cannibal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.92rem;
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

.anti-cannibal-table th, .anti-cannibal-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.anti-cannibal-table th {
  background: var(--surface-subtle);
  font-weight: 700;
  color: var(--primary-dark);
}

/* FAQ Accordion */
.faq-section {
  margin: 2.5rem 0;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  background: #ffffff;
  overflow: hidden;
}

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

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  display: none;
}

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

.faq-chevron {
  transition: transform 0.25s ease;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

/* ==========================================================================
   Modal Popup Interactivo ("Publica tu Negocio")
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: #ffffff;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  transform: scale(0.95) translateY(10px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.modal-backdrop.active .modal-dialog {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: 1.75rem 2rem 1.25rem;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.modal-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.2;
}

.modal-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-light);
  cursor: pointer;
  padding: 0.25rem;
  transition: color 0.2s;
}

.modal-close-btn:hover {
  color: var(--text-main);
}

.modal-body {
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.4rem;
}

.form-label span {
  color: var(--accent);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-subtle);
  color: var(--text-main);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--border-focus);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-help {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.form-alert {
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  font-size: 0.88rem;
  display: none;
}

.form-alert.success {
  display: block;
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.form-alert.error {
  display: block;
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* ==========================================================================
   Footer Institucional
   ========================================================================== */
.site-footer {
  background: #090e17;
  color: #94a3b8;
  padding: 4rem 0 2rem;
  border-top: 1px solid #1e293b;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand-col p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 1rem 0 1.5rem;
  max-width: 340px;
}

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

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links-list a {
  font-size: 0.88rem;
  color: #94a3b8;
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #1e293b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
}

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

@media (max-width: 768px) {
  .header-actions .btn-header-cta {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
  }
  
  .nav-menu.open {
    display: flex;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .prospect-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   Tema Oftalmológico (Salud Visual & Oftalmología Zapopan)
   Paleta médica recomendada:
   - Azul Marino Quirúrgico: #0c4a6e
   - Azul Ocular / Iris Clínico: #0284c7 / #0369a1
   - Cian Glaucoma / Láser: #0ea5e9 / #38bdf8
   - Esmeralda Quirófano: #0d9488
   - Fondo Hielo Visual: #f0f9ff
   ========================================================================== */
.theme-ophthalmology {
  --theme-opht-dark: #0c4a6e;
  --theme-opht-primary: #0284c7;
  --theme-opht-accent: #0ea5e9;
  --theme-opht-border: #bae6fd;
  --theme-opht-bg: #f0f9ff;
}

.theme-ophthalmology .landing-hero {
  background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 50%, #e0f2fe 100%);
  border-bottom: 2px solid #bae6fd;
}

.theme-ophthalmology .landing-category-pill {
  color: #0369a1;
  background: #e0f2fe;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid #bae6fd;
  font-weight: 700;
}

.theme-ophthalmology .landing-title {
  color: #0c4a6e;
}

.theme-ophthalmology .landing-tagline {
  color: #0369a1;
  font-weight: 600;
}

.theme-ophthalmology .landing-contact-card {
  border-color: #7dd3fc;
  box-shadow: 0 12px 32px rgba(2, 132, 199, 0.12);
  background: #ffffff;
}

.theme-ophthalmology .contact-card-title {
  color: #0c4a6e;
}

.theme-ophthalmology .landing-contact-card .btn-primary {
  background: linear-gradient(135deg, #0284c7, #0369a1);
}

.theme-ophthalmology .landing-contact-card .btn-primary:hover {
  background: linear-gradient(135deg, #0369a1, #0c4a6e);
}

.theme-ophthalmology .highlight-box {
  background: #f8fafc;
  border-left: 4px solid #0284c7;
}

.theme-ophthalmology .highlight-box h4 {
  color: #0c4a6e;
}

/* Rejilla de Especialidades Oftalmológicas */
.opht-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2.25rem 0;
}

.opht-card {
  background: #ffffff;
  border: 1px solid #bae6fd;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.06);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.opht-card:hover {
  transform: translateY(-4px);
  border-color: #0284c7;
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.14);
}

.opht-card-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #0369a1;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.opht-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #e0f2fe;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.opht-card-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0c4a6e;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.opht-card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.opht-card-action {
  margin-top: auto;
}

.opht-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #0284c7;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: var(--transition);
}

.opht-card-btn:hover {
  color: #0369a1;
  transform: translateX(3px);
}

.opht-synergy-banner {
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 2rem 0;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.opht-synergy-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Navegación interna por secciones de Oftalmología */
html {
  scroll-behavior: smooth;
}

.opht-quick-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.5rem 0 2rem;
  padding: 0.75rem;
  background: #f8fafc;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.opht-quick-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: var(--radius-full);
  color: #0369a1;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.opht-quick-pill:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25);
}

.opht-section-block {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #0284c7;
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  margin: 2.25rem 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  scroll-margin-top: 110px;
}

.opht-section-header {
  margin-bottom: 1.25rem;
}

.opht-section-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0c4a6e;
  margin: 0.5rem 0 0;
  line-height: 1.3;
}

.opht-section-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px dashed #e2e8f0;
}

.opht-section-cta .btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #16a34a;
  color: #ffffff;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.opht-section-cta .btn-wa:hover {
  background: #15803d;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.opht-section-cta .btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f8fafc;
  color: #0c4a6e;
  border: 1px solid #cbd5e1;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.opht-section-cta .btn-phone:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* ==========================================================================
   TEMA EJECUTIVO INNOVARUM CONSULTING: ORO, NEGRO OBSIDIANA Y MORADO IMPERIAL
   ========================================================================== */
.theme-innovarum {
  --theme-inno-dark: #120324;
  --theme-inno-purple: #4c1477;
  --theme-inno-purple-light: #6b21a8;
  --theme-inno-gold: #c59b27;
  --theme-inno-gold-light: #f5e7a3;
  --theme-inno-gold-border: rgba(212, 175, 55, 0.45);
  --theme-inno-black: #0c0a10;
  --theme-inno-bg: #fdfbf7;
}

.theme-innovarum .landing-hero {
  background: radial-gradient(circle at 85% 20%, #3b0764 0%, #17022c 55%, #0a0810 100%);
  color: #ffffff;
  border-bottom: 2px solid var(--theme-inno-gold);
  position: relative;
}

.theme-innovarum .landing-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #c59b27, #f5e7a3, #c59b27);
  z-index: 1;
}

.theme-innovarum .landing-category-pill {
  background: rgba(197, 155, 39, 0.18);
  color: #f5e7a3;
  border: 1px solid var(--theme-inno-gold);
  backdrop-filter: blur(8px);
}

.theme-innovarum .landing-title {
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  letter-spacing: -0.01em;
}

.theme-innovarum .landing-tagline {
  color: #e9d5ff;
}

.theme-innovarum .meta-badge {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(212, 175, 55, 0.4);
  color: #fdf8e7;
}

.theme-innovarum .landing-contact-card {
  border: 1.5px solid var(--theme-inno-gold);
  border-top: 4px solid var(--theme-inno-gold);
  background: #ffffff;
  box-shadow: 0 12px 35px rgba(18, 3, 36, 0.15), 0 0 20px rgba(212, 175, 55, 0.12);
}

.theme-innovarum .contact-card-title {
  color: #1a042d;
  border-bottom: 2px solid rgba(212, 175, 55, 0.4);
  padding-bottom: 0.6rem;
}

.theme-innovarum .landing-contact-card .btn-primary {
  background: linear-gradient(135deg, #21053b 0%, #4c1477 100%);
  border: 1px solid var(--theme-inno-gold);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.25);
}

.theme-innovarum .landing-contact-card .btn-primary:hover {
  background: linear-gradient(135deg, #300854 0%, #5e1994 100%);
  border-color: #f5e7a3;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(212, 175, 55, 0.4);
}

.theme-innovarum .landing-contact-card .btn-secondary {
  border-color: var(--theme-inno-gold);
  color: #1a042d;
}

.theme-innovarum .landing-contact-card .btn-secondary:hover {
  background: #fffdf5;
  border-color: #9a7318;
  color: #9a7318;
}

.theme-innovarum .highlight-box {
  background: #ffffff;
  border: 1px solid #e9d5ff;
  border-left: 4px solid var(--theme-inno-gold);
  box-shadow: 0 4px 12px rgba(46, 8, 84, 0.04);
}

.theme-innovarum .highlight-box h4 {
  color: #21053b;
}

/* Grid de Pilares Estratégicos de Innovarum */
.inno-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.inno-pillar-card {
  background: #ffffff;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.inno-pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #c59b27, #f5e7a3);
  opacity: 0;
  transition: var(--transition);
}

.inno-pillar-card:hover {
  border-color: var(--theme-inno-gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(33, 5, 59, 0.08), 0 0 15px rgba(212, 175, 55, 0.15);
}

.inno-pillar-card:hover::before {
  opacity: 1;
}

.inno-pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #21053b 0%, #4c1477 100%);
  color: #f5e7a3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.inno-pillar-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1a042d;
  margin-bottom: 0.5rem;
}

.inno-pillar-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Banner de Prestigio Dorado y Morado */
.inno-prestige-banner {
  background: linear-gradient(135deg, #17022c 0%, #2a054e 60%, #0c0a10 100%);
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin: 2.25rem 0;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 0 20px rgba(212, 175, 55, 0.1);
}

.inno-prestige-badge {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #c59b27 0%, #f5e7a3 50%, #9a7318 100%);
  color: #120324;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}



