body, h1, h2, h3, h4, h5, h6, p, a, button, input, textarea {
  font-family: 'Montserrat', Arial, sans-serif;
}

.hero-section {
  position: relative;
  width: 100%;
  min-height: 380px;
  height: 56vw; /* Para responsividad, puedes ajustar */
  max-height: 520px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0,38,72,0.72) 20%, rgba(0,0,0,0.5) 45%, rgba(255,255,255,0.80) 100%);
  z-index: 2;
}

/* Contenido */
.hero-content {
  position: relative;
  z-index: 3;
  color: #fff;
  max-width: 700px;
  padding: 56px 0 56px 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 12px;
}

.hero-content h1 span {
  color: #e7e7e7;
  display: inline-block;
}

.hero-content p {
  font-size: 1.5rem;
  line-height: 1.5;
  margin-bottom: 22px;
  color: #e6e6e6;
}

.hero-btn {
  max-width: 250px;
  text-align: center;
  display: inline-block;
  background: #fff;
  color: #005aa7;
  font-weight: bold;
  padding: 10px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 3px 16px rgba(0,0,0,0.08);
}

.hero-btn:hover {
  background: #005aa7;
  color: #fff;
}
.services-section {
  position: relative;
  background: #f4f4f4;
  overflow: hidden;
  padding: 48px 0 64px 0;
}

.services-bg {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(to right, #c4c4c4 0 2px, transparent 2px 80px),
    repeating-linear-gradient(to bottom, #c4c4c4 0 2px, transparent 2px 80px);
  opacity: 0.23;
  z-index: 0;
  pointer-events: none;
}

/* Contenido */
.services-container {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
}

.services-container h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #222;
}

.services-container > p {
  font-size: 1.4rem;
  color: #444;
  margin-bottom: 36px;
}

.services-grid {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
}

.service-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 16px rgba(0,0,0,0.07);
  padding: 32px 24px 24px 24px;
  min-width: 230px;
  max-width: 270px;
  flex: 1 1 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.22s;
}

.service-card:hover {
  box-shadow: 0 8px 24px rgba(0,90,167,0.12);
}
.service-card h3 {
  font-size: 1.23rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #222;
}

.service-card p {
  font-size: 1rem;
  color: #444;
}
.service-icon img {
  width: 70px;
  height: 70px;
  text-align: center;
  padding: 10px;
}
.before-after-section {
  background: #0a72bb;
  padding: 38px 0 42px 0;
  text-align: center;
}

.before-after-header h2 {
  color: #fff;
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.before-after-header p {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 26px;
}

.carousel-wrapper {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel {
  display: flex;
  gap: 12px;
  overflow: hidden; /* Oculta el scroll */
  padding-bottom: 0;
  scroll-behavior: smooth;
  width: 100%;
}

.carousel img {
  width: 240px;
  height: 300px;
  object-fit: cover;
  border-radius: 7px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.10);
  flex-shrink: 0;
  background: #eee;
  transition: transform 0.4s;
}

.carousel {
  scrollbar-width: none; 
}
.carousel::-webkit-scrollbar {
  display: none; 
}

.carousel-btn {
  background: #fff;
  color: #0a72bb;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  width: 42px;
  height: 42px;
  cursor: pointer;
  opacity: 0.85;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  z-index: 2;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn.left {
  margin-right: 16px;
}
.carousel-btn.right {
  margin-left: 16px;
}

.carousel-btn:hover {
  opacity: 1;
}
.testimonials-section {
  background: #f4f3f3;
  padding: 42px 0 46px 0;
  text-align: center;
}

.testimonials-section h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 32px;
  color: #111;
  letter-spacing: -1px;
}

.testimonials-grid {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.testimonial-card {
  background: #06426b;
  color: #fff;
  border-radius: 10px;
  padding: 32px 24px;
  max-width: 320px;
  min-width: 230px;
  font-size: 1.3rem;
  line-height: 1.4;
  box-shadow: 0 3px 14px rgba(0,0,0,0.07);
  text-align: center;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-card .testimonial-name {
  display: block;
  margin-top: 8px;
  font-weight: bold;
  font-size: 1.09em;
}
.why-choose-section {
  display: flex;
  min-height: 450px;
  background: #074b76;
}

.why-choose-left, .why-choose-right {
  flex: 1 1 50%;
}

.why-choose-left {
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 54px 38px;
  text-align: center;
  background: #074b76;
}

.why-choose-left h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 38px;
  line-height: 1.2;
}

.why-cards {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 38px;
}

.why-card {
  background: #f4f4f4;
  color: #222;
  padding: 22px 16px;
  border-radius: 12px;
  font-size: 1.4rem;
  box-shadow: 0 3px 16px rgba(0,0,0,0.07);
  font-weight: 400;
  transition: box-shadow 0.18s;
}

.why-card:hover {
  box-shadow: 0 6px 20px rgba(7,75,118,0.13);
}

.why-bottom {
  margin-top: 18px;
  font-size: 1.4rem;
  color: #fff;
  font-weight: 400;
}

.why-choose-right {
  display: flex;
  align-items: stretch;
}

.why-choose-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 350px;
  display: block;
}



.cta-section {
  position: relative;
  width: 100%;
  min-height: 340px;
  max-height: 400px;
  height: 32vw;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.cta-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.62) 48%, rgba(0,0,0,0.09) 100%);
  z-index: 2;
}

.cta-content {
  position: relative;
  z-index: 3;
  color: #033E66;
  max-width: 940px;
  padding: 52px 0 52px 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  text-align: left;
}

.cta-content h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 18px;
  line-height: 1.07;
}

.cta-content p {
  font-size: 1.4rem;
  margin-bottom: 26px;
  color: #033E66;
}

.cta-btn {
  display: inline-block;
  background: #033E66;
  color: #ffffff;
  font-weight: bold;
  padding: 10px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 3px 16px rgba(0,0,0,0.09);
  max-width: 200px;
}

.cta-btn:hover {
  background: #0a72bb;
  color: #fff;
}




/* Responsive */
@media (max-width: 700px) {
  .hero-section {
    height: auto;
    min-height: 320px;
    max-height: unset;
  }
  .hero-content {
    padding: 32px 18px;
    max-width: 95vw;
  }
  .hero-content h1 {
    font-size: 1.5rem;
  }
  .services-grid {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
  .services-container {
    padding: 0 8px;
  }
  .carousel img {
    width: 160px;
    height: 180px;
  }
  .carousel-wrapper {
    padding: 0 8px;
  }
  .before-after-header h2 {
    font-size: 1.1rem;
  }
  .before-after-header p {
    font-size: 1rem;
  }
   .testimonials-grid {
    padding: 0 6vw;
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
  .testimonial-card {
    max-width: 98vw;
  }
  .cta-section {
    height: auto;
    min-height: 220px;
    max-height: unset;
  }
  .cta-content {
    padding: 98px 60px;
    max-width: 98vw;
  }
  .cta-content h2 {
    font-size: 2rem;
  }
  .cta-content p {
    font-size: 1-3rem;
  }
   .why-choose-section {
    padding: 0 6vw;
    flex-direction: column;
  }
  .why-choose-left, .why-choose-right {
    flex: none;
    width: 100%;
    min-width: 0;
  }
  .why-choose-left {
    padding: 38px 14px 28px 14px;
  }
  .why-choose-right img {
    min-height: 180px;
    height: 260px;
  }
}
