/* ==========================================================================
   HolaHello v5 — Encabezado, menú mobile y pie COMPARTIDOS por todo el sitio
   (Home, Work, About Us, Contact, Careers). Mismas medidas en todas las páginas.
   Clases con prefijo hh5- para no chocar con los estilos de v3 (home-1.css).
   ========================================================================== */
:root {
  --hh5-ink: #0E0E10;
  --hh5-pink: #E56061;
  --hh5-pink-hover: #EF7778;
  --hh5-border: rgba(255, 255, 255, .08);
  --hh5-divider: rgba(255, 255, 255, .10);
  --hh5-container: 1200px;
  --hh5-gx: 120px;          /* margen lateral */
  --hh5-header-h: 80px;
  --hh5-ease: cubic-bezier(.2, .7, .2, 1);
}
@media (max-width: 1439px) { :root { --hh5-gx: max(40px, calc((100vw - var(--hh5-container)) / 2)); } }
@media (max-width: 1279px) { :root { --hh5-gx: 40px; } }
@media (max-width: 767px)  { :root { --hh5-gx: 20px; --hh5-header-h: 64px; } }

.hh5-container {
  width: 100%;
  max-width: calc(var(--hh5-container) + 2 * var(--hh5-gx));
  margin-inline: auto;
  padding-inline: var(--hh5-gx);
  box-sizing: border-box;
}
.hh5-header a, .hh5-menu a, .hh5-footer a { text-decoration: none; color: inherit; transition: color .2s; }
.hh5-header ul, .hh5-footer ul { margin: 0; padding: 0; list-style: none; }

/* Botón */
.hh5-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 28px; border-radius: 999px; border: 1px solid transparent;
  font: 600 16px/1 'Poppins', system-ui, sans-serif; white-space: nowrap; cursor: pointer;
  background: var(--hh5-pink); color: var(--hh5-ink) !important;
  transition: background-color .2s;
}
.hh5-btn:hover { background: var(--hh5-pink-hover); }
.hh5-btn--sm { height: 44px; padding: 0 22px; gap: 8px; font-size: 14px; }

/* Logo */
.hh5-logo { display: inline-flex; align-items: center; height: 44px; }
.hh5-logo img { display: block; height: 40px; width: auto; }

/* ---------------------------------------------------------------- Header */
.hh5-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--hh5-header-h);
  font-family: 'Poppins', system-ui, sans-serif;
  border-bottom: 1px solid transparent;
  transition: background-color .3s, backdrop-filter .3s, border-color .3s;
}
.hh5-header.is-scrolled {
  background: rgba(14, 14, 16, .85);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom-color: var(--hh5-border);
}
.hh5-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hh5-header__actions { display: flex; align-items: center; gap: 12px; }

.hh5-nav { display: flex; align-items: center; gap: 40px; }
.hh5-nav a { font-size: 15px; line-height: 24px; font-weight: 500; color: rgba(255, 255, 255, .8); }
.hh5-nav a:hover { color: #fff; }
.hh5-nav a[aria-current="page"] { position: relative; font-weight: 600; color: #fff; }
.hh5-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: -8px;
  width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--hh5-pink);
}

.hh5-menu-btn {
  display: none;
  width: 44px; height: 44px; padding: 0; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2); background: rgba(14, 14, 16, .4); color: #fff;
  align-items: center; justify-content: center; cursor: pointer;
}
.hh5-menu-btn svg { width: 18px; height: 18px; }

@media (max-width: 1023px) {
  .hh5-header .hh5-nav { display: none; }
  .hh5-menu-btn { display: inline-flex; }
}
@media (max-width: 767px) {
  .hh5-logo img { height: 34px; }
  .hh5-header__actions .hh5-btn { display: none; }
}

/* ---------------------------------------------------------------- Menú mobile */
.hh5-menu {
  position: fixed; inset: 0; z-index: 60;
  display: flex; flex-direction: column;
  padding: 0 var(--hh5-gx) 32px;
  background: var(--hh5-ink); color: #fff;
  font-family: 'Poppins', system-ui, sans-serif;
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--hh5-ease), visibility .3s;
}
.hh5-menu.is-open { opacity: 1; visibility: visible; }
.hh5-menu__top { height: var(--hh5-header-h); display: flex; align-items: center; justify-content: space-between; }
.hh5-menu__nav { margin-top: 32px; display: flex; flex-direction: column; }
.hh5-menu__nav a {
  padding: 16px 0; border-bottom: 1px solid var(--hh5-divider);
  font-size: 32px; line-height: 40px; font-weight: 600; letter-spacing: -0.02em;
}
.hh5-menu__nav a[aria-current="page"] { color: var(--hh5-pink); }
.hh5-menu__foot { margin-top: auto; display: flex; flex-direction: column; gap: 24px; }
.hh5-menu__foot .hh5-btn { width: 100%; }
body.menu-open { overflow: hidden; }

/* ---------------------------------------------------------------- Redes */
.hh5-socials { display: flex; gap: 12px; }
.hh5-social {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, .15); color: #fff; transition: border-color .2s;
}
.hh5-social:hover { border-color: var(--hh5-pink); }
.hh5-social svg { width: 18px; height: 18px; }

/* ---------------------------------------------------------------- Footer */
.hh5-footer {
  padding: 80px 0 40px; border-top: 1px solid var(--hh5-border);
  background: var(--hh5-ink); color: #fff;
  font-family: 'Poppins', system-ui, sans-serif; line-height: 1.6;
}
.hh5-footer h2, .hh5-footer p { margin: 0; }
.hh5-footer__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.hh5-footer__brand { grid-column: span 5; }
.hh5-footer__brand .hh5-logo img { height: 42px; }
.hh5-footer__tagline { max-width: 380px; margin-top: 20px !important; font-size: 15px; line-height: 24px; color: rgba(255, 255, 255, .6); }
.hh5-footer__col { grid-column: span 2; }
.hh5-footer__col--wide { grid-column: span 3; }
.hh5-footer__heading { margin-bottom: 20px !important; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.hh5-footer__links { display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 22px; }
.hh5-footer__links a:hover { color: var(--hh5-pink); }
.hh5-footer__offices { font-size: 15px; line-height: 26px; color: rgba(255, 255, 255, .8); }
.hh5-footer__bottom { margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--hh5-border); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hh5-footer__copy { font-size: 13px; color: rgba(255, 255, 255, .5); }

@media (max-width: 1023px) {
  .hh5-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 16px; }
  .hh5-footer__brand, .hh5-footer__col--wide { grid-column: 1 / -1; }
  .hh5-footer__col { grid-column: auto; }
}
@media (max-width: 767px) {
  .hh5-footer { padding: 56px 0 32px; }
  .hh5-footer__grid { row-gap: 32px; }
  .hh5-footer__tagline { margin-top: 16px !important; font-size: 14px; line-height: 22px; }
  .hh5-footer__heading { margin-bottom: 14px !important; font-size: 11px; }
  .hh5-footer__links { gap: 10px; font-size: 14px; }
  .hh5-footer__bottom { margin-top: 48px; }
  .hh5-footer__copy-full { display: none; }
}
