/* =========================
   CONFIGURACIÓN GENERAL
========================= */
body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;
}

h1, h2, h5 {
  font-weight: 700;
}

section {
  scroll-margin-top: 80px;
}

/* =========================
   NAVBAR
========================= */
.navbar-brand {
  font-size: 1.4rem;
  letter-spacing: 1px;
}

.nav-link {
  font-weight: 500;
}

.nav-link:hover {
  color: #0d6efd !important;
}

/* =========================
   HERO
========================= */
header {
  background: linear-gradient(135deg, #0d6efd, #084298);
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* =========================
   SERVICIOS
========================= */
#servicios .card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

#servicios .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

#servicios h5 {
  color: #0d6efd;
  margin-bottom: 10px;
}

#servicios p {
  font-size: 0.95rem;
  white-space: pre-line; /* respeta los saltos de línea */
}

/* =========================
   NOSOTROS
========================= */
#nosotros {
  background: #f8f9fa;
}

#nosotros p {
  max-width: 700px;
  margin: auto;
  font-size: 1.05rem;
}

/* =========================
   CONTACTO
========================= */
#contacto p {
  font-size: 0.95rem;
}

#contacto form {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.form-control {
  border-radius: 8px;
}

.form-control:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.2rem rgba(13,110,253,.25);
}

button.btn {
  border-radius: 8px;
  font-weight: 600;
}

/* =========================
   FOOTER
========================= */
footer {
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }

  header p {
    font-size: 1rem;
  }
}
/* HERO CON IMAGEN */
.hero {
  background: url("../img/hero.jpg") center/cover no-repeat;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.hero .overlay {
  background: rgba(0,0,0,0.6);
  width: 100%;
}
.card img {
  height: 200px;
  object-fit: cover;
}
