:root {
  --navy-900: #0a192f;
  --navy-800: #112240;
  --primary: #3b82f6;
  --primary-light: #60a5fa;

  --text-main: #e6f1ff;
  --text-secondary: #94a3b8;

  --border: rgba(255,255,255,0.1);
  --radius: 12px;
}

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

/* BASE */
body {
  font-family: 'Inter', sans-serif;
  background: var(--navy-900);
  color: var(--text-main);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  background: rgba(10,25,47,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  height: clamp(60px, 8vw, 100px);
}

.nav-menu {
  display: flex;
  gap: 25px;
  list-style: none;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  position: relative;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background: var(--primary);
  bottom: -5px;
  left: 0;
  transition: 0.3s;
}

.nav-menu a:hover::after {
  width: 100%;
}

/* HERO */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.hero-title .line {
  display: block;
  font-size: clamp(28px, 5vw, 64px);
  font-weight: 800;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.8s ease forwards;
}

.hero-title .line:nth-child(1){animation-delay:.2s}
.hero-title .line:nth-child(2){animation-delay:.4s}
.hero-title .line:nth-child(3){animation-delay:.6s}
.hero-title .line:nth-child(4){animation-delay:.8s}

.verde { color: #7dd3fc; }
.azul { color: var(--primary); }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  text-align: center;
  align-items: center;
}

/* BOTONES */

.btn-contacto:visited {
  color: white;
}
.btn {
  padding: 12px 26px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  display: inline-block;
}
.btn-contacto {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 20px;
  background: #25D366;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: 0.3s;
}
.btn-contacto:hover {
  background: #1ebe5d;
}
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: white;
  font-size: 24px;
  padding: 15px;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}
/* TEXTOS */
.section {
  padding: 80px 0;
}

h2 {
  text-align: center;
  font-size: 34px;
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  max-width: 600px;
  margin: auto;
}

/* SERVICES */
.services-grid {
  display: grid;
  gap: 25px;
  margin-top: 40px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.service-card {
  background: rgba(255,255,255,0.05);
  padding: 30px;
  border-radius: var(--radius);
  transition: 0.4s;
  opacity: 0;
  transform: translateY(40px);
}

.service-card.show {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover {
  transform: translateY(-8px);
  border: 1px solid var(--primary);
}

/* SLIDER */
.slider {
  margin-top: 40px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.slides {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  min-width: 100%;
  height: 400px;
  object-fit: cover;
}

.prev,.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: white;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
}

/* CONTACT */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
  margin: 40px auto;
}

.contact-form input,
.contact-form textarea {
  padding: 14px;
  border-radius: 8px;
  border: none;
  outline: none;
}

/* WHATSAPP */
.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
}

.whatsapp img {
  width: 60px;
  transition: 0.3s;
}

.whatsapp img:hover {
  transform: scale(1.1);
}
.ubicacion {
  text-align: center;
  padding: 40px 20px;
}

.ubicacion h2 {
  margin-bottom: 20px;
}

.btn-mapa {
  display: inline-block;
  padding: 12px 20px;
  background: #4285F4;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: 0.3s;
}

.btn-mapa:hover {
  background: #3367D6;
}
.ubicacion {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.6s;
}

.ubicacion.visible {
  opacity: 1;
  transform: translateY(0);
}
/* FOOTER */
.footer {
  text-align: center;
  padding: 30px;
  border-top: 1px solid var(--border);
}

/* MOBILE */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .hero {
    text-align: center;
  }
}
/*maps8/* Animación para el mapa */
.map-section {
  padding: 80px 20px;
  text-align: center;
}

.map-subtitle {
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  margin-bottom: 30px;
}

.map-container iframe {
  width: 100%;
  height: 450px;
  border: none;
}

/* BOTÓN PRO */
.btn-map {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 14px 28px;
  border-radius: var(--radius);

  background: linear-gradient(135deg, #4285F4, #60a5fa);
  color: white;
  font-weight: 600;
  text-decoration: none;

  transition: all 0.3s ease;
}

/* Hover estilo senior */
.btn-map:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(66,133,244,0.3);
}

/* Evitar color lila */
.btn-map:visited {
  color: white;
}
.map-section {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s ease;
}

.map-section.show {
  opacity: 1;
  transform: translateY(0);
}