/* 🎨 PALETA */
:root {
  --primary: #0B3D91;
  --primary-dark: #072A66;
  --accent: #25D366;
  --accent-hover: #1DA851;
  --white: #ffffff;
  --bg: #f4f7fb;
  --text: #1f2937;
  --text-light: #6b7280;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  padding-top: 0;
}

img {
  width: 100%;
  display: block;
}

section {
  padding: 100px 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  background: rgba(11, 61, 145, 0.1);
  color: var(--primary);
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(32px, 5vw, 48px);
}

/* ===================== */
/* NAVBAR */
/* ===================== */

.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;

  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);

  transition: 0.3s;
}

.navbar.scrolled {
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.nav-container {
  max-width: 1400px;
  margin: auto;

  padding: 15px 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */

.logo img {
  height: 100px;
  width: auto;
}

/* MENU */

.menu {
  display: flex;
  gap: 35px;
}

.menu a {
  position: relative;
  text-decoration: none;
  color: var(--primary);
  font-weight: 600;
  transition: 0.3s;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;

  width: 0;
  height: 2px;

  background: var(--accent);

  transition: 0.4s;
}

.menu a:hover::after {
  width: 100%;
}

/* BOTONES */

.btn-nav,
.btn {
  background: var(--accent);
  color: white;

  text-decoration: none;

  padding: 14px 28px;

  border-radius: 50px;

  font-weight: 700;

  transition: 0.3s ease;

}

.btn:hover,
.btn-nav:hover {
  transform: translateY(-3px);
  background: var(--accent-hover);
}

.btn-secondary {
  background: transparent;
  border: 2px solid white;
  box-shadow: none;
}

/* ========================= */
/* HERO PREMIUM CORPORATIVO */
/* ========================= */

.carousel {
  width: 100%;
  padding-top: 90px;
  padding: 0;
  background: #ffffff;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 92vh;
  min-height: 650px;
  overflow: hidden;
}

/* SLIDES */

.slide {
  position: absolute;
  width: 100%;
  height: 100%;

  opacity: 0;

  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

/* OVERLAY OSCURO */

.carousel-container::before {
  content: "";

  position: absolute;
  inset: 0;

  background:
  linear-gradient(
    to right,
    rgba(1, 15, 45, 0.88),
    rgba(5, 25, 65, 0.75),
    rgba(10, 30, 70, 0.55)
  );

  z-index: 2;
}

/* HERO CONTENT */

.hero-overlay {
  position: absolute;

  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);

  width: 90%;
  max-width: 1400px;

  z-index: 3;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

/* TAG */

.hero-mini-title {
  color: #7dd3fc;

  font-size: 15px;

  font-weight: 700;

  letter-spacing: 3px;

  margin-bottom: 20px;

  text-transform: uppercase;
}

/* TITULO */

.hero-overlay h1 {
  font-size: clamp(70px, 10vw, 170px);

  line-height: 0.9;

  font-weight: 800;

  color: white;

  margin-bottom: 35px;

  text-transform: uppercase;
}

/* TEXTO AZUL */

.hero-overlay h1 span {
  color: #38bdf8;
}

/* TEXTO */

.hero-overlay p {
  max-width: 850px;

  font-size: clamp(18px, 2vw, 34px);

  line-height: 1.4;

  color: rgba(255,255,255,0.92);

  font-weight: 600;

  margin-bottom: 40px;
}

/* BOTONES */

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* BTN PRINCIPAL */

.btn {
  background: var(--accent);

  color: white;

  padding: 16px 34px;

  border-radius: 50px;

  text-decoration: none;

  font-weight: 700;

  transition: 0.3s;

}

.btn:hover {
  transform: translateY(-4px);

  background: var(--accent-hover);
}

/* BTN SECUNDARIO */

.btn-secondary {
  background: transparent;

  border: 2px solid rgba(255,255,255,0.5);

  color: white;

  box-shadow: none;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
}

/* BOTONES CARRUSEL */

.prev,
.next {
  position: absolute;

  top: 50%;

  transform: translateY(-50%);

  z-index: 5;

  width: 55px;
  height: 55px;

  border: none;

  border-radius: 50%;

  background: rgba(255,255,255,0.12);

  backdrop-filter: blur(10px);

  color: white;

  font-size: 20px;

  cursor: pointer;

  transition: 0.3s;
}

.prev:hover,
.next:hover {
  background: rgba(255,255,255,0.22);
}

.prev {
  left: 25px;
}

.next {
  right: 25px;
}

/* DOTS */

.dots {
  position: absolute;

  bottom: 35px;

  width: 100%;

  text-align: center;

  z-index: 5;
}

.dot {
  width: 12px;
  height: 12px;

  border-radius: 50%;

  display: inline-block;

  margin: 0 6px;

  background: rgba(255,255,255,0.35);

  cursor: pointer;

  transition: 0.3s;
}

.dot.active {
  background: white;

  transform: scale(1.2);
}

/* RESPONSIVE */

@media(max-width: 900px) {

  .carousel-container {
    height: 85vh;
    min-height: 550px;
  }

  .hero-overlay {
    align-items: center;
    text-align: center;
  }

  .hero-overlay h1 {
    font-size: clamp(48px, 14vw, 85px);
  }

  .hero-overlay p {
    font-size: 18px;
  }

  .hero-buttons {
    justify-content: center;
  }

}

/* BOTONES CARRUSEL */

.prev,
.next {
  position: absolute;

  top: 50%;
  transform: translateY(-50%);

  z-index: 3;

  background: rgba(0,0,0,0.5);

  backdrop-filter: blur(6px);

  color: white;

  border: none;

  padding: 12px 16px;

  font-size: 18px;

  cursor: pointer;

  border-radius: 5px;

  transition: 0.3s;
}

.prev:hover,
.next:hover {
  background: rgba(0,0,0,0.75);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

/* DOTS */

.dots {
  text-align: center;

  position: absolute;

  bottom: 20px;

  width: 100%;

  z-index: 3;
}

.dot {
  height: 12px;
  width: 12px;

  margin: 0 5px;

  display: inline-block;

  background: rgba(255,255,255,0.5);

  border-radius: 50%;

  cursor: pointer;

  transition: 0.3s;
}

.dot.active {
  background: white;
}

/* ===================== */
/* TRUST */
/* ===================== */

.trust-grid {
  max-width: 1300px;

  margin: auto;

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

  gap: 25px;
}

.trust-card {
  background: white;

  padding: 40px 30px;

  border-radius: 25px;

  text-align: center;

  transition: 0.4s;

  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.trust-card:hover {
  transform: translateY(-10px);

  box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

.trust-card i {
  font-size: 45px;

  color: var(--primary);

  margin-bottom: 20px;
}

.trust-card h3 {
  margin-bottom: 15px;
}

/* ===================== */
/* ABOUT */
/* ===================== */

.about-grid {
  max-width: 1300px;

  margin: auto;

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));

  gap: 60px;

  align-items: center;
}

.about-image img {
  border-radius: 30px;

  height: 450px;

  width: 100%;

}

.about-content p {
  color: var(--text-light);

  line-height: 1.9;

  margin-top: 25px;
}

.about-features {
  margin-top: 35px;

  display: grid;

  grid-template-columns: repeat(2,1fr);

  gap: 20px;
}

.about-features div {
  display: flex;

  align-items: center;

  gap: 10px;

  font-weight: 600;
}

.about-features i {
  color: var(--accent);
}

/* ===================== */
/* SERVICES */
/* ===================== */

.services-grid {
  max-width: 1400px;

  margin: auto;

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

  gap: 30px;
}

.service-card {
  background: white;

  border-radius: 25px;

  overflow: hidden;

  transition: 0.4s;

  box-shadow: 0 10px 35px rgba(0,0,0,0.08);
}

.service-card:hover {
  transform: translateY(-12px);

  box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

.service-image {
  overflow: hidden;

  height: 240px;
}

.service-image img {
  width: 100%;
  height: 100%;


  transition: 0.5s;
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-content {
  padding: 35px 30px;
}

.service-content i {
  font-size: 40px;

  color: var(--primary);

  margin-bottom: 20px;
}

.service-content h3 {
  margin-bottom: 15px;
}

.service-content p {
  color: var(--text-light);

  line-height: 1.8;
}

/* ===================== */
/* STATS */
/* ===================== */

.stats-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.stats-grid {
  max-width: 1200px;

  margin: auto;

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

  gap: 30px;
}

.stat-box {
  text-align: center;

  color: white;
}

.stat-box h3 {
  font-size: 60px;

  margin-bottom: 10px;
}

/* ===================== */
/* CONTACT */
/* ===================== */

.contact-section {
  background: white;
}

.contact-container {
  max-width: 1300px;

  margin: auto;

  display: grid;

  grid-template-columns: 1.2fr 0.8fr;

  gap: 60px;
}

.contact-form form {
  display: flex;

  flex-direction: column;

  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 18px;

  border-radius: 15px;

  border: 1px solid #d1d5db;

  font-family: 'Montserrat', sans-serif;

  outline: none;

  transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
}

.contact-form button {
  width: fit-content;

  background: var(--primary);

  color: white;

  border: none;

  padding: 16px 30px;

  border-radius: 50px;

  cursor: pointer;

  font-weight: 700;
}

.contact-info {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));

  padding: 50px;

  border-radius: 30px;

  color: white;
}

.contact-info h3 {
  font-size: 30px;

  margin-bottom: 30px;
}

.contact-info p {
  margin-bottom: 20px;

  display: flex;

  align-items: center;

  gap: 12px;
}

.socials {
  margin-top: 30px;

  display: flex;

  gap: 15px;
}

.socials a {
  width: 45px;
  height: 45px;

  border-radius: 50%;

  background: rgba(255,255,255,0.15);

  display: flex;

  align-items: center;

  justify-content: center;

  color: white;

  text-decoration: none;
}

/* ===================== */
/* WHATSAPP */
/* ===================== */

.whatsapp {
  position: fixed;

  bottom: 25px;
  right: 25px;

  width: 65px;
  height: 65px;

  border-radius: 50%;

  background: var(--accent);

  color: white;

  display: flex;

  align-items: center;
  justify-content: center;

  font-size: 34px;

  text-decoration: none;

  z-index: 999;

  box-shadow: 0 10px 30px rgba(37,211,102,0.4);
}

/* ===================== */
/* FOOTER */
/* ===================== */

footer {
  background: #07152d;

  color: white;

  padding: 80px 20px 30px;
}

.footer-container {
  max-width: 1300px;

  margin: auto;

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

  gap: 40px;
}

.footer-container img {
  height: 200px;
  width: auto;
}

.footer-container h4 {
  margin-bottom: 20px;
}

.footer-container a {
  display: block;

  color: #cbd5e1;

  margin-bottom: 10px;

  text-decoration: none;
}

.copyright {
  text-align: center;

  margin-top: 50px;

  color: #94a3b8;
}

/* ===================== */
/* MOBILE */
/* ===================== */

.menu-toggle {
  display: none;

  flex-direction: column;

  gap: 5px;

  cursor: pointer;
}

.menu-toggle span {
  width: 28px;
  height: 3px;

  background: var(--primary);
}

@media(max-width: 900px) {

  .menu {
    position: absolute;

    top: 90px;
    left: 0;

    width: 100%;

    background: white;

    flex-direction: column;

    padding: 30px;

    align-items: center;

    opacity: 0;
    visibility: hidden;

    transform: translateY(-10px);

    transition: 0.3s;

    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
  }

  .menu.active {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
  }

  .menu a {
    color: var(--primary);
  }

  .menu-toggle {
    display: flex;
  }

  .btn-nav {
    display: none;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .hero-overlay h1 {
    font-size: 42px;
  }

  .hero-overlay p {
    font-size: 16px;
  }

  .about-image img {
    height: 400px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .prev,
  .next {
    padding: 10px 14px;
  }

}