* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #123653;
  line-height: 1.6;
  overflow-x: hidden;
}

/* =========================
   HEADER
========================= */

header {
  background: white;
  border-bottom: 1px solid #e5edf3;
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  width: 92%;
  max-width: 1120px;
  height: 75px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 55px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

.logo span {
  color: #f4c400;
}

nav a {
  color: #173a5e;
  text-decoration: none;
  font-weight: bold;
  margin-left: 30px;
}

/* =========================
   HERO
========================= */

.hero {
  background: #eefaff;
  padding: 90px 7%;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 60px;
  align-items: center;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.hero-text {
  max-width: 700px;
  min-width: 0;
}

.tag {
  color: #087bc1;
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 900;
}

.hero h1 {
  color: #09294c;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.05;
  margin: 15px 0;
}

.hero h1 span {
  color: #087bc1;
  display: block;
}

.hero p {
  font-size: 18px;
  color: #5b7185;
}

.btn {
  display: inline-block;
  padding: 14px 23px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  margin: 10px 5px 10px 0;
}

.yellow {
  background: #f4c400;
  color: #09294c;
}

.blue {
  border: 2px solid #087bc1;
  color: #087bc1;
}

.trust {
  margin-top: 25px;
  color: #526b80;
  font-size: 14px;
}

/* =========================
   FOTO HERO
========================= */

.hero-card {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 380px;
  border-radius: 25px;
  overflow: hidden;
  background: #087bc1;
  color: white;
  box-shadow: 0 20px 45px rgba(8, 123, 193, 0.2);
}

.hero-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  display: block;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75),
    rgba(0, 0, 0, 0.05)
  );
  pointer-events: none;
}

.hero-card > div:last-child {
  position: absolute;
  left: 30px;
  bottom: 30px;
  z-index: 2;
  color: white;
}

.bolt {
  font-size: 70px;
  color: #f4c400;
  line-height: 1;
}

.hero-card h2 {
  font-size: 30px;
  line-height: 1.15;
  margin: 10px 0 0;
}

/* =========================
   CONTENEDOR
========================= */

.container {
  width: 92%;
  max-width: 1120px;
  margin: auto;
}

/* =========================
   SERVICIOS
========================= */

section#servicios {
  padding: 90px 0;
}

.title {
  font-size: 42px;
  line-height: 1.1;
  color: #09294c;
  margin-bottom: 35px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  border: 1px solid #dfebf2;
  border-radius: 16px;
  padding: 28px;
  background: white;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(23, 58, 94, 0.1);
}

.icon {
  font-size: 35px;
}

.card h3 {
  color: #123b61;
}

.card p {
  color: #60778a;
}

/* =========================
   NOSOTROS
========================= */

.about {
  background: #f2f9fd;
  padding: 90px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 70px;
  align-items: center;
}

.about-card {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 400px;
  height: 400px;
  border-radius: 25px;
  overflow: hidden;
  background: #09294c;
  color: white;
  padding: 0;
}

.about-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  display: block;
}

.about-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75),
    rgba(0, 0, 0, 0.05)
  );
  pointer-events: none;
}

.about-card > div:last-child {
  position: absolute;
  left: 30px;
  bottom: 30px;
  z-index: 2;
  color: white;
}

.about-card h2 {
  font-size: 35px;
  margin: 10px 0;
  line-height: 1.15;
}

.about-card p {
  color: #ffffff;
  max-width: 270px;
  margin: 0;
}

.about-card > div:first-child {
  font-size: 50px;
  color: #f4c400;
}

.numbers {
  display: flex;
  gap: 45px;
  margin-top: 30px;
}

.numbers strong {
  display: block;
  font-size: 30px;
  color: #087bc1;
}

.numbers small {
  color: #60778a;
}

/* =========================
   SEC
========================= */

.sec-box {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.sec-symbol {
  font-weight: 900;
  font-size: 25px;
  color: #087bc1;
}

.sec-content strong {
  color: #09294c;
}

.sec-content p {
  margin: 5px 0 0;
  color: #60778a;
}

/* =========================
   CONTACTO
========================= */

.contact-section {
  padding: 90px 0;
  background: #f5f9fc;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 45px;
}

.section-heading .eyebrow,
.contact-cta .eyebrow {
  color: #168bd0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
}

.section-heading h2 {
  margin: 10px 0 14px;
  font-size: 38px;
  line-height: 1.15;
  color: #082b4c;
}

.section-heading p {
  color: #60758a;
  font-size: 17px;
  line-height: 1.7;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 25px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e3edf4;
  box-shadow: 0 8px 25px rgba(8, 43, 76, 0.06);
  transition: all 0.25s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(8, 43, 76, 0.1);
}

.contact-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8f6ff;
  border-radius: 12px;
  font-size: 22px;
}

.contact-card h3 {
  margin: 0 0 7px;
  color: #082b4c;
  font-size: 17px;
}

.contact-card p {
  margin: 0 0 10px;
  color: #52697d;
}

.contact-whatsapp,
.contact-link {
  color: #168bd0;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.contact-whatsapp:hover,
.contact-link:hover {
  text-decoration: underline;
}

.contact-muted {
  color: #8495a5;
  font-size: 13px;
}

/* =========================
   BOTÓN WHATSAPP
========================= */

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25d366;
  color: white;
  padding: 15px 25px;
  border-radius: 11px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 7px 18px rgba(37, 211, 102, 0.25);
  transition: all 0.25s ease;
}

.btn-whatsapp:hover {
  background: #1ebe5d;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
}

.whatsapp-logo {
  width: 23px;
  height: 23px;
  border: 2px solid white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

/* =========================
   CONTACT CTA
========================= */

.contact-cta {
  margin-top: 35px;
  padding: 30px 35px;
  background: #082b4c;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.contact-cta h3 {
  margin: 8px 0 0;
  color: white;
  font-size: 25px;
}

.contact-cta .eyebrow {
  color: #ffd21c;
}

/* =========================
   FOOTER
========================= */

footer {
  background: #061d35;
  color: white;
  padding: 30px 7%;
}

footer small {
  float: right;
  color: #a9bfce;
}

/* =========================
   TABLET
========================= */

@media (max-width: 800px) {

  .hero,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 70px 5%;
  }

  .hero-card {
    width: 100%;
    height: 380px;
  }

  .about-card {
    width: 100%;
    height: 380px;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
  }

  nav a {
    margin-left: 12px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   CELULAR
========================= */

@media (max-width: 520px) {

  .nav {
    height: 65px;
  }

  .logo img {
    height: 45px;
    max-width: 150px;
  }

  nav a {
    margin-left: 8px;
    font-size: 13px;
  }

  .hero {
    padding: 55px 5%;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-card {
    height: 320px;
  }

  .about-card {
    height: 320px;
  }

  .title,
  .section-heading h2 {
    font-size: 34px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .numbers {
    gap: 20px;
  }

  .contact-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-cta .btn-whatsapp {
    width: 100%;
  }

  footer small {
    float: none;
    display: block;
    margin-top: 10px;
  }
}f