:root {
  --clr-bg: #f1f5f9;
  --clr-text: #1e293b;
  --clr-primary: #0f172a;
  --clr-accent: #0ea5e9;
  --clr-card-bg: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.6;
}

/* CABECERA */
.cabecera {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: white;
  padding: 4rem 1rem 3rem;
  text-align: center;
}

.cabecera h1 {
  font-size: 3rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.subtitulo {
  font-size: 1.2rem;
  color: #cbd5e1;
}

/* SECCIONES */
main {
  max-width: 960px;
  margin: auto;
  padding: 2rem;
}

section {
  margin-bottom: 2.5rem;
}

section h2 {
  color: var(--clr-primary);
  margin-bottom: 0.75rem;
  font-size: 1.75rem;
}

/* CARDS DE SERVICIOS */
.servicios {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: var(--clr-card-bg);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* FOOTER */
footer {
  text-align: center;
  font-size: 0.875rem;
  color: #64748b;
  padding: 2rem 1rem;
  background: #cbd5e1;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .servicios {
    grid-template-columns: 1fr;
  }

  .cabecera h1 {
    font-size: 2.2rem;
  }

  .subtitulo {
    font-size: 1rem;
  }
}
.proyectos {
  max-width: 700px;
  margin: 2rem auto;
  padding: 1.5rem;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.proyectos h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--clr-primary);
  text-align: center;
}

.proyectos ul {
  list-style: none;
  padding-left: 0;
}

.proyectos li {
  margin-bottom: 0rem;
  font-size: 1rem;
  line-height: 1.5;
}
