/* =====================================================================
   TCS MOTRIZ - LANDING PAGE INDUSTRIAL PREMIUM
   Alineado con estándares de alta gama automotriz y diseño de ingeniería
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@600;700;800;900&family=JetBrains+Mono:wght@400;600;700&display=swap');

:root {
  --bg-dark-0: #040814;
  --bg-dark-1: #070e1f;
  --bg-dark-2: #0b152d;
  --bg-card: rgba(15, 27, 56, 0.7);
  --bg-card-hover: rgba(22, 39, 78, 0.85);

  --border-line: rgba(30, 58, 107, 0.45);
  --border-glow: rgba(225, 29, 72, 0.4);

  --red-tcs: #e11d48;
  --red-tcs-light: #fb7185;
  --red-tcs-glow: rgba(225, 29, 72, 0.35);

  --blue-tech: #0284c7;
  --blue-tech-light: #38bdf8;
  --emerald: #10b981;
  --amber: #f59e0b;

  --text-pure: #ffffff;
  --text-dim: #cbd5e1;
  --text-muted: #94a3b8;

  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-code: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark-0);
  color: var(--text-pure);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(225, 29, 72, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(2, 132, 199, 0.12) 0%, transparent 45%),
    linear-gradient(180deg, #040814 0%, #070e1f 100%);
  background-attachment: fixed;
}

/* =====================================================================
   CONTAINER & LAYOUT
   ===================================================================== */

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

/* =====================================================================
   HEADER & NAVBAR
   ===================================================================== */

.landing-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(4, 8, 20, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-line);
  transition: all 0.3s ease;
}

.nav-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-combo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logo-img {
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(225, 29, 72, 0.35));
}

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

.brand-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
  line-height: 1.1;
}

.brand-sub {
  font-family: var(--font-code);
  font-size: 10px;
  color: var(--blue-tech-light);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

.nav-link:hover {
  color: #fff;
}

.nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--red-tcs);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hotline-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-code);
  font-size: 12px;
  color: var(--text-dim);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-line);
  background: rgba(11, 21, 45, 0.6);
  transition: all 0.2s;
}

.hotline-badge:hover {
  color: #fff;
  border-color: var(--blue-tech-light);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--emerald);
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* =====================================================================
   BUTTONS
   ===================================================================== */

.btn-lnd {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  font-family: var(--font-display);
  letter-spacing: 0.3px;
}

.btn-lnd-primary {
  background: linear-gradient(135deg, var(--red-tcs) 0%, #9f1239 100%);
  color: #fff;
  box-shadow: 0 4px 20px var(--red-tcs-glow);
}
.btn-lnd-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(225, 29, 72, 0.55);
}

.btn-lnd-outline {
  background: rgba(11, 21, 45, 0.8);
  color: #fff;
  border-color: var(--border-line);
}
.btn-lnd-outline:hover {
  background: rgba(20, 38, 77, 0.9);
  border-color: var(--blue-tech-light);
  transform: translateY(-2px);
}

.btn-lnd-cyan {
  background: linear-gradient(135deg, var(--blue-tech) 0%, #0369a1 100%);
  color: #fff;
  box-shadow: 0 4px 18px rgba(2, 132, 199, 0.35);
}
.btn-lnd-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.5);
}

/* =====================================================================
   HERO SECTION
   ===================================================================== */

.hero-section {
  padding: 80px 0 60px 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(225, 29, 72, 0.12);
  border: 1px solid rgba(225, 29, 72, 0.3);
  color: var(--red-tcs-light);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 20px;
  font-family: var(--font-code);
}

.hero-title {
  font-family: var(--font-display);
  font-size: 50px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  color: #fff;
  margin-bottom: 20px;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #fff 0%, var(--red-tcs-light) 50%, var(--red-tcs) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 34px;
  max-width: 600px;
}

.hero-btn-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding-top: 30px;
  border-top: 1px solid var(--border-line);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* =====================================================================
   HERO TELEMETRY CARD (GRAPHIC INTERACTIVE)
   ===================================================================== */

.telemetry-card-mockup {
  background: linear-gradient(160deg, rgba(14, 25, 52, 0.9) 0%, rgba(8, 15, 34, 0.95) 100%);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  position: relative;
  backdrop-filter: blur(10px);
}

.telemetry-card-mockup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 30px;
  right: 30px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-tech-light), transparent);
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-line);
}

.mockup-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mockup-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-code);
}

.lift-vector-visual {
  background: #060b18;
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 18px;
  text-align: center;
  position: relative;
}

.telemetry-gauges-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.gauge-box {
  background: #081126;
  border: 1px solid var(--border-line);
  border-radius: var(--radius-sm);
  padding: 12px;
}

.gauge-val {
  font-family: var(--font-code);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.gauge-lbl {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* =====================================================================
   SECTION HEADERS
   ===================================================================== */

.section-padding {
  padding: 90px 0;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px auto;
}

.section-tag {
  font-family: var(--font-code);
  font-size: 12px;
  font-weight: 700;
  color: var(--red-tcs-light);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* =====================================================================
   SEGMENTATION (MATRICES VS TALLERES)
   ===================================================================== */

.segment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.segment-card {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.segment-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.segment-card.matriz-theme::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--emerald), var(--blue-tech));
}

.segment-card.taller-theme::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-tech), var(--red-tcs));
}

.segment-badge {
  display: inline-block;
  font-family: var(--font-code);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.segment-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}

.segment-card p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 22px;
}

.feature-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  color: #fff;
}

.feature-check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-icon {
  color: var(--emerald);
  font-weight: 800;
}

/* =====================================================================
   EQUIPMENT SERVICES GRID
   ===================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(225, 29, 72, 0.1);
  border: 1px solid rgba(225, 29, 72, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--red-tcs);
}

.service-card h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-tech-spec {
  font-family: var(--font-code);
  font-size: 11px;
  background: #070e1f;
  border: 1px solid var(--border-line);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--blue-tech-light);
}

/* =====================================================================
   ROI CALCULATOR (INTERACTIVE)
   ===================================================================== */

.roi-container {
  background: linear-gradient(145deg, #0d1a36 0%, #081124 100%);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.roi-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.roi-slider-group {
  margin-bottom: 24px;
}

.roi-label-flex {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.roi-val-badge {
  font-family: var(--font-code);
  color: var(--blue-tech-light);
}

.roi-range {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #14223d;
  outline: none;
  -webkit-appearance: none;
}

.roi-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--red-tcs);
  cursor: pointer;
  box-shadow: 0 0 10px var(--red-tcs);
}

.roi-result-card {
  background: #060b18;
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
}

.roi-loss-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 900;
  color: var(--red-tcs-light);
  line-height: 1.1;
  margin: 12px 0 6px 0;
}

/* =====================================================================
   CONTACT & BOOKING FORM
   ===================================================================== */

.contact-box {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  padding: 44px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.form-group-lnd {
  margin-bottom: 18px;
}

.form-label-lnd {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}

.form-control-lnd {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: #070e1f;
  border: 1px solid var(--border-line);
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.form-control-lnd:focus {
  border-color: var(--blue-tech);
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.25);
}

/* =====================================================================
   FOOTER
   ===================================================================== */

.landing-footer {
  background: #03060f;
  border-top: 1px solid var(--border-line);
  padding: 60px 0 30px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
  margin-top: 14px;
}

.footer-col h5 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
}

/* =====================================================================
   RESPONSIVE MEDIA QUERIES
   ===================================================================== */

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-subtitle {
    margin: 0 auto 34px auto;
  }
  .hero-btn-row {
    justify-content: center;
  }
  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .segment-grid {
    grid-template-columns: 1fr;
  }
  .roi-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-links {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 34px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
