/* ================================
   CONFIGURACIÓN GENERAL
================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #e5e7eb;
  background: #111827;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}


/* ================================
   ENCABEZADO
================================ */

.site-header {
  background: #0b1120;
  border-bottom: 1px solid #374151;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
  text-align: center;
}

.logo span {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #f3f4f6;
}

.logo small {
  display: block;
  width: 100%;
  margin-top: 5px;
  font-size: 15px;
  letter-spacing: 1.6px;
  color: #60a5fa;
  font-weight: 700;
  text-align: center;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  font-size: 13px;
  font-weight: 600;
  color: #d1d5db;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: #60a5fa;
}


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

.hero {
  background:
    linear-gradient(
      135deg,
      #111827 0%,
      #172554 55%,
      #111827 100%
    );
  padding: 60px 0;
}

.hero-content {
  display: flex;
  align-items: center;
  min-height: 300px;
}

.hero-text {
  max-width: 760px;
}

.hero-label,
.section-label {
  color: #60a5fa;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(34px, 4.5vw, 52px);
  line-height: 1.08;
  letter-spacing: -1px;
  color: #f9fafb;
  margin-bottom: 20px;
}

.hero-description {
  max-width: 650px;
  font-size: 17px;
  color: #cbd5e1;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-content .hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}


/* ================================
   BOTONES
================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: #2563eb;
  color: #ffffff;
}

.btn-primary:hover {
  background: #1d4ed8;
}

.btn-secondary {
  background: transparent;
  color: #e5e7eb;
  border: 1px solid #4b5563;
}

.btn-secondary:hover {
  border-color: #60a5fa;
  color: #60a5fa;
}


/* ================================
   SECCIONES
================================ */

.section {
  padding: 50px 0;
  background: #111827;
}

.section-alt {
  background: #1f2937;
}

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

.section-header h2 {
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: #f3f4f6;
  margin-bottom: 12px;
}

.section-header > p:last-child {
  color: #9ca3af;
  font-size: 15px;
}


/* ================================
   SERVICIOS
================================ */

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

.service-card {
  padding: 26px;
  background: #1f2937;
  border: 1px solid #374151;
  border-radius: 10px;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: #4b5563;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.service-icon {
  font-size: 30px;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 19px;
  color: #f3f4f6;
  margin-bottom: 8px;
}

.service-card p {
  color: #9ca3af;
  font-size: 14px;
}


/* ================================
   PROCESO
================================ */

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

.process-item {
  padding: 25px;
  background: #111827;
  border: 1px solid #374151;
  border-radius: 10px;
}

.process-item span {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: #60a5fa;
  margin-bottom: 15px;
}

.process-item h3 {
  font-size: 18px;
  color: #f3f4f6;
  margin-bottom: 7px;
}

.process-item p {
  color: #9ca3af;
  font-size: 14px;
}


/* ================================
   NOSOTROS
================================ */

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-content h2 {
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: #f3f4f6;
}

.about-content p {
  color: #cbd5e1;
  font-size: 15px;
  margin-bottom: 16px;
}


/* ================================
   CONSULTA DE REPARACIÓN
================================ */

.tracking-box {
  max-width: 650px;
  background: #111827;
  border: 1px solid #374151;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

#tracking-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#tracking-form label {
  font-size: 13px;
  font-weight: 700;
  color: #d1d5db;
}

#tracking-form input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  background: #1f2937;
  color: #f3f4f6;
  border: 1px solid #4b5563;
  border-radius: 7px;
  font-size: 15px;
  outline: none;
}

#tracking-form input::placeholder {
  color: #6b7280;
}

#tracking-form input:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.12);
}

#tracking-form .btn {
  margin-top: 8px;
  border: 0;
  cursor: pointer;
}

.tracking-result {
  margin-top: 24px;
}

/* ================================
   SEGUIMIENTO + ASISTENCIA REMOTA
================================ */

.tracking-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.tracking-box,
.remote-box {
  width: 100%;
  min-height: 225px;
  background: #111827;
  border: 1px solid #374151;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.tracking-card-header {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 24px;
}

.tracking-icon {
  font-size: 34px;
  line-height: 1;
}

.tracking-card-header h3 {
  font-size: 22px;
  line-height: 1.2;
  color: #f3f4f6;
  margin-bottom: 8px;
}

.tracking-card-header p {
  color: #9ca3af;
  font-size: 14px;
  line-height: 1.5;
}

/* CONSULTA */

#tracking-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#tracking-form label {
  font-size: 13px;
  font-weight: 700;
  color: #d1d5db;
}

#tracking-form input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  background: #1f2937;
  color: #f3f4f6;
  border: 1px solid #4b5563;
  border-radius: 7px;
  font-size: 15px;
  outline: none;
}

#tracking-form input::placeholder {
  color: #6b7280;
}

#tracking-form input:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.12);
}

#tracking-form .btn {
  margin-top: 8px;
  border: 0;
  cursor: pointer;
}

.tracking-result {
  margin-top: 24px;
}


/* ASISTENCIA REMOTA */

.remote-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.remote-header {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 24px;
}

.remote-icon {
  font-size: 36px;
  line-height: 1;
  color: #60a5fa;
}

.remote-header h3 {
  font-size: 22px;
  line-height: 1.2;
  color: #f3f4f6;
  margin-bottom: 8px;
}

.remote-header p {
  color: #9ca3af;
  font-size: 14px;
  line-height: 1.5;
}

.remote-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.remote-option {
  min-height: 105px;
  padding: 16px 10px;
  background: #1f2937;
  border: 1px solid #374151;
  border-radius: 9px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 10px;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.remote-option:hover {
  transform: translateY(-3px);
  border-color: #60a5fa;
  background: #253247;
}

.remote-option-icon {
  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 8px;

  background: #ffffff;
  color: #111827;

  font-size: 20px;
  font-weight: 800;
}

.remote-option span {
  color: #f3f4f6;
  font-size: 14px;
  font-weight: 700;
}

/* ================================
   CONTACTO
================================ */

.contact-section {
  padding: 55px 0;
  background: #0b1120;
  color: #ffffff;
  text-align: center;
}

.contact-content {
  max-width: 750px;
}

.contact-section .section-label {
  color: #60a5fa;
}

.contact-section h2 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  margin-bottom: 16px;
}

.contact-section > .container > p:not(.section-label):not(.contact-location) {
  color: #cbd5e1;
  font-size: 16px;
  margin-bottom: 28px;
}

.contact-location {
  margin-top: 26px;
  color: #9ca3af;
  font-size: 13px;
}


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

.site-footer {
  background: #070b14;
  color: #6b7280;
  padding: 22px 0;
  text-align: center;
}

.site-footer p {
  font-size: 12px;
}


/* ================================
   RESPONSIVE
================================ */

@media (max-width: 900px) {

  .main-nav {
    gap: 15px;
  }

  .main-nav a {
    font-size: 12px;
  }

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

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

  .about-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

}


@media (max-width: 680px) {

  .header-content {
    min-height: auto;
    padding: 17px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .main-nav {
    width: 100%;
    gap: 12px;
    flex-wrap: wrap;
  }

  .main-nav a {
    font-size: 12px;
  }

  .hero {
    padding: 50px 0;
  }

  .hero-content {
    min-height: auto;
  }

  .hero h1 {
    letter-spacing: -0.5px;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 45px 0;
  }

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

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

  .tracking-box {
    padding: 22px;
  }

  .contact-section {
    padding: 70px 0;
  }

}