@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  color: #1f2937;
  background-color: #f9fafb;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* HERO CON VIDEO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, rgba(37,99,235,0.8), rgba(14,165,233,0.7));
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 2rem;
  animation: fadeIn 2s ease-in-out;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}

.btn {
  background-color: white;
  color: #2563eb;
  padding: 0.9rem 2rem;
  border-radius: 2rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.btn:hover {
  background-color: #1e40af;
  color: white;
}

/* SECCIONES */
.section {
  padding: 5rem 2rem;
  text-align: center;
}

.section.alt {
  background-color: #f3f4f6;
}

.section h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #1e3a8a;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card h3 {
  color: #2563eb;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

/* NOSOTROS */
.nosotros-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: left;
  max-width: 1000px;
  margin: auto;
}

.nosotros-content img {
  width: 100%;
  max-width: 400px;
  border-radius: 1rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.nosotros-content div {
  max-width: 550px;
}

/* CONTACTO */
.contact {
  background: linear-gradient(120deg, #2563eb, #0ea5e9);
  color: white;
  text-align: center;
  padding: 5rem 2rem;
}

.contact-buttons {
  margin-top: 2rem;
}

.btn.whatsapp {
  background-color: #25d366;
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.btn.whatsapp img {
  width: 22px;
  height: 22px;
}

.btn.whatsapp:hover {
  background-color: #128c7e;
}

/* MAPA */
.mapa {
  margin-top: 3rem;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

/* FOOTER */
footer {
  text-align: center;
  background-color: #111827;
  color: #d1d5db;
  padding: 1.5rem 0;
  font-size: 0.9rem;
}

/* ANIMACIONES */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
