/* ============================================
   SINERGIADS — LAYOUT
   layout.css
============================================ */

/* ---- HEADER ---- */
.hdr {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--t), box-shadow var(--t);
}
.hdr.scrolled {
  background: rgba(243,242,238,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--sh-s);
}
.hdr-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 1.5rem;
}

/* LOGO */
.logo-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-wrap img {
  height: 40px;
  width: auto;
  object-fit: contain;
  transition: opacity var(--t);
}
.logo-wrap:hover img { opacity: 0.8; }

/* NAV desktop */
.nav {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  flex: 1;
  justify-content: center;
}
.nav-link {
  padding: 7px 13px;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all var(--t);
  color: var(--txt);
  white-space: nowrap;
}
.nav-link:hover {
  background: var(--bg-c);
  color: var(--dark);
}
.nav-link.active {
  color: var(--blue);
  background: rgba(74,108,247,0.07);
}

/* HEADER ACTIONS */
.hdr-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.btn-wa-hdr {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px;
  background: #25D366;
  color: white;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all var(--t);
  white-space: nowrap;
}
.btn-wa-hdr:hover { background: #1EBA5A; transform: translateY(-1px); }

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--t);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* MOBILE NAV */
.mob-nav {
  display: none;
  position: fixed;
  inset: 68px 0 0;
  background: var(--bg-w);
  z-index: 99;
  padding: 2rem;
  flex-direction: column;
  gap: 0.4rem;
  overflow-y: auto;
}
.mob-nav.open { display: flex; }
.mob-nav .nav-link {
  font-size: 1.05rem;
  padding: 13px 16px;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--dark-2);
  padding: 5rem 0 2rem;
  color: rgba(255,255,255,0.45);
}
.ft-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 4rem;
}

/* Logo footer — invertido para fondo oscuro */
.logo-footer img {
  height: 34px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.75;
  transition: opacity var(--t);
}
.logo-footer:hover img { opacity: 1; }

.ft-tagline {
  margin-top: 1rem;
  font-size: 0.83rem;
  line-height: 1.65;
  max-width: 270px;
}
.ft-social {
  display: flex;
  gap: 8px;
  margin-top: 1.4rem;
}
.ft-soc {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.45);
  transition: all var(--t);
}
.ft-soc:hover { background: var(--blue); color: white; }
.ft-soc svg { width: 15px; height: 15px; }

.ft-col-title {
  font-size: 0.74rem;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.ft-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.ft-link {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.4);
  transition: color var(--t);
}
.ft-link:hover { color: white; }

.ft-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 0.76rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.ft-legal { display: flex; gap: 1.5rem; }
