:root {
  --brand-navy: #003b68;
  --brand-blue: #087fbd;
  --brand-cyan: #13a8e8;
  --brand-orange: #ff7900;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--brand-navy);
  display: block;
  min-height: 0;
  padding: 0;
  color: #fff;
}

/* Fotografía del lobby + ondas SVG */
.hero__image {
  position: relative;
  height: clamp(390px, 58vw, 690px);
  z-index: 2;
}
.hero__image > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}
.hero__waves {
  position: absolute;
  z-index: 3;
  left: 0;
  bottom: -1px;
  display: block;
  width: 100%;
  height: clamp(95px, 16vw, 190px);
  overflow: visible;
  pointer-events: none;
}
.hero__wave--light { fill: var(--brand-cyan); }
.hero__wave--dark { fill: var(--brand-navy); }

.hero__content {
  position: relative;
  z-index: 1;
  margin-top: -1px;
  padding: clamp(72px, 10vw, 112px) clamp(24px, 7vw, 88px) 64px;
  color: #fff;
  background: var(--brand-navy);
}
.hero__content h1 {
  max-width: 900px;
  margin: 0 0 24px;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.035em;
}
.hero__content h1 span {
  display: block;
  color: var(--brand-orange);
}
.hero__content p {
  max-width: 850px;
  margin: 0 0 30px;
  font-size: clamp(1rem, 1.8vw, 1.55rem);
  line-height: 1.45;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.button--primary { border-color: var(--brand-orange); background: var(--brand-orange); }
.button--outline { background: transparent; }

/* Drawer */
.hd-scrim { background: linear-gradient(90deg, rgba(4, 20, 28, 0.52), rgba(4, 20, 28, 0.26)); }
.hd-menu {
  transform-origin: left center;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 24px 0 60px rgba(0, 0, 0, 0.28);
  background: linear-gradient(165deg, #064b66 0%, #06384d 55%, #0a2d3d 100%);
}
.hd-photo {
  margin-top: auto;
  border-radius: 14px;
  overflow: hidden;
  height: 120px;
  background: url('assets/terraza-corporativa.jpg?v=20261203') center / cover no-repeat;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.hd-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6, 56, 77, 0.88), rgba(6, 56, 77, 0.05) 70%);
}

/* Header: hamburguesa izquierda + logo junto */
@media (max-width: 900px) {
  .nav { justify-content: flex-start; gap: 10px; }
  .hd-burger { order: -1; }
  .logo { width: 190px; }
  .nav > a:first-child {
    padding-left: 12px;
    border-left: 1px solid #e2ebee;
    line-height: 0;
  }
}

/* Móvil: todo entra en la primera vista */
@media (max-width: 600px) {
  .logo { width: 180px; }
  .hero__image { height: clamp(260px, 36vh, 330px); }
  .hero__waves { height: clamp(90px, 14vw, 130px); }
  .hero__content { padding: 70px 24px 36px; }
  .hero__content h1 {
    font-size: clamp(1.55rem, 7.2vw, 2rem);
    margin-bottom: 14px;
  }
  .hero__content p {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 16px;
  }
  .hero__actions { flex-direction: column; gap: 10px; }
  .button { width: 100%; min-height: 48px; padding: 12px 18px; font-size: 15px; }
  .hd-photo { height: 96px; }
}

/* Fix overflow por correo largo */
.contact-grid, .contact-actions, .contact-link { min-width: 0; }
.contact-link span { min-width: 0; overflow-wrap: anywhere; word-break: break-word; }
