/* =========================
   ESTILOS GENERALES
========================= */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #f5f5f5;
  color: #333;
  line-height: 1.5;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  text-decoration: none;
  color: inherit;
}

/* =========================
   BARRA SUPERIOR CONTACTO
========================= */
.topbar {
  background: #111;
  color: #ccc;
  font-size: 0.9rem;
  padding: 6px 0;
}

.topbar .contact-info {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* =========================
   NAVBAR PRINCIPAL
========================= */
.navbar {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar .logo img {
  height: 50px;
}

.navbar .menu {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.navbar .menu li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: 0.3s;
}

.navbar .menu li a:hover,
.navbar .menu li a.active {
  color: #007bff;
}

/* =========================
   HERO PRINCIPAL
========================= */
.hero {
  position: relative;
  background: url('/compumon/assets/img/hero_reparacion.jpg') no-repeat center center/cover;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 2;
  max-width: 700px;
  padding: 20px;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
  color: #00aaff;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.btn-revisar {
  background-color: #007bff;
  color: #fff;
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 1.1rem;
  text-decoration: none;
  transition: 0.3s;
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.btn-revisar:hover {
  background-color: #005ec2;
  box-shadow: 0 6px 12px rgba(0, 123, 255, 0.4);
}

/* =========================
   SECCIÓN DE SERVICIOS
========================= */
.servicios {
  padding: 80px 20px;
  background: #f8f9fb;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}

.decor-line {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #007bff, #66b3ff);
  border-radius: 2px;
  margin: 10px auto 25px;
}

.section-subtitle {
  color: #666;
  margin-bottom: 40px;
  font-size: 1rem;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.servicio-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.servicio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.2);
}

.servicio-card .icono {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #007bff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 0 auto 20px;
}

.servicio-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #333;
}

.servicio-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* =========================
   PIE DE PÁGINA
========================= */
.footer {
  background: #111;
  color: #ccc;
  text-align: center;
  padding: 20px 0;
  font-size: 0.9rem;
}

