:root {
  /* Superficies con ritmo: alternancia entre claro luminoso y pizarra profundo */
  --bg-white: #ffffff;
  --bg-stone: #f3f6fa;
  --bg-subtle: #e8eef5;
  --header-dark: #0b1017;
  --header-elevated: #161f2c;
  --section-dark: #0f172a;
  --section-dark-card: #182338;

  /* Bordes */
  --border-light: #dce4ee;
  --border-medium: #c3d0e0;
  --border-dark: rgba(255, 255, 255, 0.13);

  /* Paleta Gráfica + Minería (Rojo Marca + Cobre/Ámbar Andino + Azul Vial + Turquesa Gráfico) */
  --brand-red: #e11d24;
  --brand-red-hover: #c5161d;
  --copper-amber: #d97706;
  --copper-light: #f59e0b;
  --copper-tint: #fffbeb;
  --blue-tech: #2563eb;
  --blue-tint: #eff6ff;
  --teal-print: #0d9488;
  --teal-tint: #f0fdfa;

  /* Pizarra y tipografía */
  --steel-900: #0f172a;
  --steel-800: #1e293b;
  --steel-700: #334155;
  --steel-600: #475569;
  --steel-tint: #f1f5f9;

  --ink-900: #0f172a;
  --ink-700: #334155;
  --ink-500: #64748b;
  --ink-400: #94a3b8;

  --status-green: #16a34a;

  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --container-max: 1200px;
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --shadow-xs: 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 6px 16px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 16px 38px rgba(15, 23, 42, 0.09);
  --shadow-lg: 0 22px 48px rgba(15, 23, 42, 0.16);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  font-family: var(--font-sans);
  color: var(--ink-900);
  background-color: var(--bg-white);
  line-height: 1.6;
}

body {
  background-color: var(--bg-white);
  color: var(--ink-900);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

ul {
  list-style: none;
}

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

.icon-inline {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==================== TOP UTILITY BAR ==================== */
.topbar {
  background: #070a0f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-size: 0.78rem;
  padding: 7px 0;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.topbar-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: #e2e8f0;
  white-space: nowrap;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--copper-light);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.22);
  flex-shrink: 0;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
}

.topbar-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #94a3b8;
}

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

/* ==================== NAVBAR ==================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.15);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo img {
  height: 44px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-menu a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #cbd5e1;
  white-space: nowrap;
  padding: 6px 0;
  position: relative;
}

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

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--brand-red);
  transition: width 0.2s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  background: var(--header-elevated);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xs);
  padding: 2px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.lang-switch a {
  padding: 5px 9px;
  border-radius: 4px;
  color: #94a3b8;
  line-height: 1;
}

.lang-switch a.active {
  background: var(--brand-red);
  color: #ffffff;
}

.lang-switch a:not(.active):hover {
  color: #ffffff;
}

.menu-toggle {
  display: none;
  background: var(--header-elevated);
  border: 1px solid var(--border-dark);
  color: #ffffff;
  border-radius: var(--radius-xs);
  padding: 7px 10px;
  cursor: pointer;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  line-height: 1.2;
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.84rem;
}

/* Botón primario con el Rojo Roger's vivo pero aislado de fondos rojos */
.btn-primary {
  background: var(--brand-red);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(225, 29, 36, 0.24);
}

.btn-primary:hover {
  background: var(--brand-red-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(225, 29, 36, 0.32);
}

.btn-outline {
  background: var(--bg-white);
  border-color: var(--border-medium);
  color: var(--ink-900);
  box-shadow: var(--shadow-xs);
}

.btn-outline:hover {
  background: var(--bg-stone);
  border-color: var(--ink-900);
}

/* ==================== HERO CON ENERGÍA GRÁFICA Y VISUAL ==================== */
.hero {
  position: relative;
  padding: 54px 0 64px;
  background:
    radial-gradient(circle at 90% 15%, rgba(217, 119, 6, 0.08), transparent 36%),
    radial-gradient(circle at 8% 85%, rgba(37, 99, 235, 0.06), transparent 38%),
    linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
  border-bottom: 1px solid var(--border-light);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 44px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #92400e;
  background: var(--copper-tint);
  border: 1px solid #fde68a;
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.eyebrow-bar {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--copper-amber);
}

.hero h1 {
  font-size: clamp(2.05rem, 3.15vw, 2.9rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.028em;
  color: var(--ink-900);
  margin-bottom: 18px;
}

/* Degradado sutil Cobre -> Rojo Cordillera en el destaque del título */
.hero h1 .accent {
  background: linear-gradient(95deg, #b45309 0%, #d91e26 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.04rem;
  color: var(--ink-700);
  max-width: 590px;
  margin-bottom: 26px;
  line-height: 1.65;
}

.hero-lead strong {
  color: var(--ink-900);
  font-weight: 700;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--border-light);
}

.metric-item {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.metric-kicker {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--copper-amber);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.metric-val {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-900);
}

/* Panel Derecho del Hero: Bento Oscuro + Fotos Miniatura + Doble Nodo */
.hero-panel {
  background: linear-gradient(160deg, #131c2e 0%, #0b111d 100%);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

/* Barra superior multicapa (guiño a gráfica + minería: Rojo, Ámbar Cobre, Azul Vial) */
.hero-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-red) 0%, var(--copper-light) 50%, var(--blue-tech) 100%);
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #e2e8f0;
  letter-spacing: 0.01em;
}

.panel-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Tira visual de 3 fotos en el Hero para que entre por los ojos apenas abrís */
.hero-visual-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.hero-thumb {
  position: relative;
  height: 74px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-thumb span {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(0deg, rgba(7, 10, 15, 0.9) 0%, transparent 100%);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 10px 6px 4px;
  text-align: center;
}

.node-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.node-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 13px 15px;
}

.node-card.primary-hub {
  background: linear-gradient(90deg, rgba(217, 119, 6, 0.14) 0%, rgba(255, 255, 255, 0.04) 100%);
  border-color: rgba(245, 158, 11, 0.4);
}

.node-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.node-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
}

.node-badge {
  font-size: 0.67rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--copper-amber);
  color: #ffffff;
  white-space: nowrap;
  flex-shrink: 0;
}

.node-badge.neutral {
  background: rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
}

.node-addr {
  font-size: 0.81rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 3px;
}

.node-desc {
  font-size: 0.77rem;
  color: #94a3b8;
  line-height: 1.42;
}

.panel-capabilities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  font-weight: 500;
  color: #cbd5e1;
}

.panel-capabilities span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cap-check {
  color: var(--copper-light);
  font-weight: 800;
}

/* ==================== GENERIC SECTIONS ==================== */
.section {
  padding: 80px 0;
}

.section-stone {
  background-color: var(--bg-stone);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

/* Sección Oscura Intermedia para cortar la monotonía blanca */
.section-dark {
  background: linear-gradient(180deg, #0d131f 0%, #131c2e 100%);
  color: #f8fafc;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.section-header {
  max-width: 700px;
  margin-bottom: 44px;
}

.section-kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--copper-amber);
  margin-bottom: 8px;
  display: block;
}

.section-dark .section-kicker {
  color: var(--copper-light);
}

.section-title {
  font-size: clamp(1.65rem, 2.5vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.022em;
  color: var(--ink-900);
  margin-bottom: 12px;
}

.section-dark .section-title {
  color: #ffffff;
}

.section-subtitle {
  color: var(--ink-700);
  font-size: 1rem;
  line-height: 1.65;
}

.section-dark .section-subtitle {
  color: #cbd5e1;
}

/* ==================== SERVICES GRID (CON COLOR POR LÍNEA GRÁFICA/IRAM) ==================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--steel-900);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

/* 4 colores técnicos por línea: Ámbar HSE, Azul Flotas, Rojo Marca Textil, Turquesa Gran Formato */
.service-card:nth-child(1) { border-top-color: var(--copper-amber); }
.service-card:nth-child(1) .service-icon { background: var(--copper-tint); color: var(--copper-amber); border-color: #fde68a; }
.service-card:nth-child(1) .service-specs li::before { background: var(--copper-amber); }

.service-card:nth-child(2) { border-top-color: var(--blue-tech); }
.service-card:nth-child(2) .service-icon { background: var(--blue-tint); color: var(--blue-tech); border-color: #bfdbfe; }
.service-card:nth-child(2) .service-specs li::before { background: var(--blue-tech); }

.service-card:nth-child(3) { border-top-color: var(--brand-red); }
.service-card:nth-child(3) .service-icon { background: #fef2f2; color: var(--brand-red); border-color: #fecaca; }
.service-card:nth-child(3) .service-specs li::before { background: var(--brand-red); }

.service-card:nth-child(4) { border-top-color: var(--teal-print); }
.service-card:nth-child(4) .service-icon { background: var(--teal-tint); color: var(--teal-print); border-color: #99f6e4; }
.service-card:nth-child(4) .service-specs li::before { background: var(--teal-print); }

.service-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg {
  width: 22px;
  height: 22px;
}

.service-num {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--steel-700);
  background: var(--bg-stone);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
}

.service-card h3 {
  font-size: 1.24rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--ink-900);
  margin-bottom: 10px;
}

.service-card p {
  color: var(--ink-700);
  font-size: 0.93rem;
  margin-bottom: 18px;
}

.service-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.service-specs li {
  font-size: 0.86rem;
  color: var(--ink-700);
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.service-specs li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--steel-600);
  margin-top: 8px;
  flex-shrink: 0;
}

.service-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.service-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-500);
}

.service-link {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--steel-900);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.service-link:hover {
  color: var(--brand-red);
  gap: 7px;
}

/* ==================== MODALIDAD PLUG & PLAY (EN BLOQUE OSCURO DE ALTO CONTRASTE) ==================== */
.plugplay-banner {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 4px solid var(--copper-light);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 32px;
  align-items: center;
}

.plugplay-banner h3 {
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #ffffff;
  margin-bottom: 10px;
}

.plugplay-banner p {
  color: #cbd5e1;
  font-size: 0.94rem;
}

.plugplay-banner strong {
  color: #ffffff;
}

.plugplay-highlight-box {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-md);
  padding: 20px;
}

.plugplay-highlight-box h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--copper-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.plugplay-highlight-box p {
  font-size: 0.84rem;
  color: #e2e8f0;
  line-height: 1.5;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step-box {
  background: var(--section-dark-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 22px;
}

.step-number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.3);
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.step-box h4 {
  font-size: 1.02rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.step-box p {
  font-size: 0.86rem;
  color: #94a3b8;
  line-height: 1.55;
}

/* ==================== KITS ESTANDARIZADOS Y CARTELERÍA ==================== */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.showcase-item {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.showcase-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-medium);
}

.showcase-media {
  position: relative;
  height: 220px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.showcase-item:hover .showcase-media img {
  transform: scale(1.04);
}

.media-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  letter-spacing: 0.02em;
}

.showcase-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.showcase-cat {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--copper-amber);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 6px;
  display: block;
}

.showcase-body h4 {
  font-size: 1.14rem;
  font-weight: 800;
  color: var(--ink-900);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.showcase-body p {
  font-size: 0.88rem;
  color: var(--ink-700);
  line-height: 1.58;
}

.kit-meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.kit-specs-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.kit-spec-pill {
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--steel-700);
  background: var(--bg-stone);
  border: 1px solid var(--border-light);
  padding: 3px 9px;
  border-radius: 6px;
}

/* Barra técnica de sustratos y materiales de cartelería */
.substrates-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.substrate-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--copper-amber);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: var(--shadow-xs);
}

.substrate-card:nth-child(2) { border-left-color: var(--blue-tech); }
.substrate-card:nth-child(3) { border-left-color: var(--teal-print); }
.substrate-card:nth-child(4) { border-left-color: var(--brand-red); }

.substrate-code {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--ink-500);
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

.substrate-card h5 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 4px;
}

.substrate-card p {
  font-size: 0.8rem;
  color: var(--ink-700);
  line-height: 1.45;
}

.clients-strip {
  margin-top: 28px;
  padding: 18px 24px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.clients-strip-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-700);
}

.client-slots {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.client-pill {
  padding: 6px 12px;
  background: var(--bg-stone);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  font-size: 0.79rem;
  font-weight: 600;
  color: var(--ink-700);
}

/* ==================== SEDES EN SAN JUAN ==================== */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.location-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--blue-tech);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow-sm);
}

.location-card.calingasta {
  border-top: 4px solid var(--copper-amber);
  background: linear-gradient(180deg, #fffdf7 0%, #ffffff 45%);
}

.loc-badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--copper-tint);
  color: #92400e;
  border: 1px solid #fde68a;
  margin-bottom: 12px;
}

.loc-badge.metro {
  background: var(--blue-tint);
  color: var(--blue-tech);
  border: 1px solid #bfdbfe;
}

.location-card h3 {
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--ink-900);
  margin-bottom: 6px;
}

.loc-address {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 10px;
}

.loc-copy {
  font-size: 0.92rem;
  color: var(--ink-700);
}

.loc-corridors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.corridor-chip {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--bg-stone);
  border: 1px solid var(--border-light);
  color: var(--ink-700);
}

/* ==================== MESA COMERCIAL / COTIZADOR B2B CON CONTRASTE ==================== */
.quote-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* Panel izquierdo oscuro ejecutivo con acento cobre/rojo */
.quote-info {
  background: linear-gradient(155deg, #131c2e 0%, #0b111d 100%);
  color: #f8fafc;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote-info .section-kicker {
  color: var(--copper-light);
}

.quote-info h3 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.22;
  color: #ffffff;
  margin-bottom: 12px;
}

.quote-info p {
  color: #cbd5e1;
  font-size: 0.94rem;
  margin-bottom: 24px;
}

.direct-channels {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.channel-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}

.channel-label {
  font-size: 0.71rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 2px;
}

.channel-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

a.channel-value:hover {
  color: var(--copper-light);
}

.quote-form {
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background: var(--bg-white);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-700);
}

.form-control {
  background: var(--bg-stone);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  color: var(--ink-900);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.form-control:focus {
  outline: none;
  background: var(--bg-white);
  border-color: var(--blue-tech);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

textarea.form-control {
  min-height: 96px;
  resize: vertical;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

/* ==================== FOOTER OSCURO EJECUTIVO ==================== */
.footer {
  background: var(--header-dark);
  color: #cbd5e1;
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 0.85fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
  height: 42px;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: #94a3b8;
  max-width: 320px;
  line-height: 1.6;
}

.footer h4 {
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  color: #ffffff;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.87rem;
  color: #94a3b8;
}

.footer-list strong {
  color: #e2e8f0;
}

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

.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: #64748b;
}

.footer-bottom strong {
  color: #cbd5e1;
}

/* Botón flotante WhatsApp Ejecutivo */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  background: var(--steel-900);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.86rem;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.24);
}

.wa-float:hover {
  background: var(--steel-800);
  transform: translateY(-2px);
}

.wa-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.24);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 992px) {
  .hero-grid,
  .plugplay-banner,
  .quote-wrapper {
    grid-template-columns: 1fr;
  }

  .steps-grid,
  .substrates-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .topbar-links {
    display: none;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--header-dark);
    border-bottom: 1px solid var(--border-dark);
    flex-direction: column;
    padding: 18px 24px;
    gap: 14px;
    align-items: flex-start;
  }

  .nav-menu.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 680px) {
  .services-grid,
  .locations-grid,
  .steps-grid,
  .substrates-grid,
  .hero-metrics,
  .quote-form,
  .footer-grid,
  .panel-capabilities {
    grid-template-columns: 1fr;
  }

  .topbar-status {
    white-space: normal;
    font-size: 0.72rem;
  }

  .quote-info,
  .quote-form,
  .plugplay-banner {
    padding: 24px;
  }

  .btn-nav-cta {
    display: none;
  }
}
