* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  color: #1e293b;
  background: #ffffff;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

.header {
  background: #0f4c81;
  padding: 20px 0;
  height: 100px;
  align-items: center;
  align-content: center;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: white;
  font-size: 24px;
}


nav a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
  font-weight: bold;
}

.hero {
  background: linear-gradient(
    rgba(15, 76, 129, 0.8),
    rgba(15, 76, 129, 0.8)
  ),
  url("https://images.unsplash.com/photo-1581578731548-c64695cc6952") center/cover;
  color: white;
  padding: 100px 0;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-position: center;
  background-size: cover;
}

.hero h2 {
  font-size: 40px;
  margin-bottom: 15px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 25px;
}

.btn {
  padding: 12px 25px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: #38bdf8;
  color: #0f172a;
  font-weight: bold;
}

.btn-white {
  background: white;
  color: #0f4c81;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-white:hover {
  background-color: #38bdf8;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.section {
  padding: 80px 0;
}

.section.light {
  background: #f1f5f9;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  font-size: 32px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.cta {
  background: #0f4c81;
  color: white;
  padding: 60px 0;
  text-align: center;
}

.cta h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.contact-form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border-radius: 4px;
  border: 1px solid #cbd5e1;
}

.footer {
  background: #020617;
  color: white;
  text-align: center;
  padding: 20px 0;
}

.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
  z-index: 1000;
}

.whatsapp-float img {
  width: 30px;
  height: 30px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.btn-primary {
  background-color: #0d6efd;
  color: white;
  padding: 12px 28px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #0b5ed7;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary:active {
  transform: scale(0.97);
}

.card {
  background: #0f4c81;
  color: whitesmoke;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

nav a {
  position: relative;
  text-decoration: none;
  color: whitesmoke;
  font-weight: 500;
  font-size: 12px;
}

nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #0d6efd;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

@media (min-width: 1024px) {

  nav a {
    font-size: 18px;
    }

  .hero {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-position: center;
    background-size: cover;
  }

  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
  }

  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .hero {
    padding: 120px 0;
    text-align: center;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .servicios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }

  .card {
    transition: 0.3s ease;
  }

  .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  }
}

#toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #0f172a;
  color: white;
  padding: 14px 22px;
  border-radius: 10px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 9999;
  font-size: 14px;
}

#toast.show {
  opacity: 1;
  transform: translateY(0);
}

#toast.success {
  background: #16a34a;
}

#toast.error {
  background: #dc2626;
}







