@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #08284d;
  --blue: #123e70;
  --light-blue: #eaf1f7;
  --white: #fff;
  --text: #1c2d3f;
  --muted: #647487;
  --border: #dce5ed;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }

.text-center { text-align: center; }

/* HEADER */
.header {
  height: 88px;
  padding: 8px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,.97);
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 3px 18px rgba(8,40,77,.08);
}
.brand img { width: 145px; height: 70px; object-fit: contain; }
.nav { display: flex; gap: 34px; align-items: center; }
.nav a {
  font-size: .92rem;
  font-weight: 600;
  color: var(--navy);
  transition: .2s;
}
.nav a:hover { color: #6f94b8; }
.menu-btn { display: none; border: 0; background: none; font-size: 1.7rem; color: var(--navy); }

/* HERO */
.hero {
  min-height: 650px;
  background: url('assets/banner.png') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,30,58,.88) 0%, rgba(5,30,58,.56) 38%, rgba(5,30,58,.08) 72%, rgba(5,30,58,0) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  max-width: 650px;
  margin-left: 8%;
  padding: 70px 0;
}
.eyebrow {
  display: block;
  letter-spacing: .22em;
  font-size: .72rem;
  font-weight: 700;
  margin-bottom: 15px;
  opacity: .9;
}
.eyebrow.dark { color: var(--blue); }
.hero h1 {
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 1.04;
  letter-spacing: -.045em;
  margin-bottom: 24px;
}
.hero p { font-size: 1.12rem; max-width: 510px; margin-bottom: 32px; color: #edf4fa; }

/* BOTONES Y SECCIONES */
.btn {
  display: inline-block;
  border: 0;
  border-radius: 4px;
  padding: 14px 23px;
  background: var(--navy);
  color: white;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s, opacity .2s;
}
.btn:hover { transform: translateY(-2px); opacity: .92; }
.btn-light { background: white; color: var(--navy); }

.section { padding: 95px 8%; }
.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.1;
  color: var(--navy);
  letter-spacing: -.035em;
}
.intro p { color: var(--muted); font-size: 1.08rem; max-width: 580px; }

/* SERVICIOS */
.services { background: var(--light-blue); }
.section-heading { margin-bottom: 42px; }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: white;
  padding: 34px;
  min-height: 250px;
  border: 1px solid var(--border);
  border-radius: 5px;
  transition: .25s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(8,40,77,.09); }
.card-number { color: #8da7bf; font-size: .8rem; font-weight: 800; margin-bottom: 38px; }
.card h3 { color: var(--navy); font-size: 1.35rem; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: .94rem; }

/* CONTACTO (UBICACIÓN A LA IZQUIERDA Y MAPA A LA DERECHA) */
.contact-columns {
  display: flex;
  flex-direction: row;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: stretch;
}

.contact-info-box {
  flex: 1;
  background: #fbfcfd;
  padding: 35px;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info-box h3 {
  color: var(--navy);
  font-size: 1.35rem;
  margin-bottom: 20px;
}

.contact-phone {
  font-size: 1.05rem;
  color: var(--blue);
  margin-bottom: 20px;
  line-height: 1.5;
}

.address-details p {
  color: var(--muted);
  line-height: 1.6;
}

.map-box {
  flex: 1;
  min-height: 380px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.map-box iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  display: block;
}

/* FOOTER */
.footer {
  background: #061d38;
  color: #b9c9d8;
  padding: 30px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: .82rem;
}
.footer img { width: 125px; height: 50px; object-fit: contain; }

/* MEDIA QUERIES (DISEÑO ADAPTABLE A MÓVILES) */
@media (max-width: 800px) {
  .header { height: 75px; padding: 6px 5%; }
  .brand img { width: 120px; height: 60px; }
  .menu-btn { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 75px; left: 0; right: 0;
    padding: 20px 5%;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    box-shadow: 0 12px 20px rgba(0,0,0,.08);
  }
  .nav.open { display: flex; }
  .hero { min-height: 580px; }
  .hero-content { margin-left: 6%; margin-right: 6%; }
  .intro { grid-template-columns: 1fr; gap: 35px; }
  .cards { grid-template-columns: 1fr; }
  .section { padding: 70px 6%; }
  .contact-columns { flex-direction: column; }
  .map-box, .map-box iframe { min-height: 300px; }
  .footer { flex-direction: column; text-align: center; }
}