/* ============================================================
   NAV, FOOTER & GLOBAL COMPONENTS
   ============================================================ */

/* NAV */
.tuy-nav {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(27,107,176,0.08);
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
  transition: box-shadow .2s;
}
.tuy-nav.scrolled { box-shadow: var(--sombra); }
.tuy-nav-logo { display: flex; align-items: center; line-height: 0; }
.tuy-nav-logo img { height: 40px; width: auto; display: block; }
.tuy-nav-links { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.tuy-nav-links a {
  font-family: 'Nunito'; font-weight: 700; font-size: 0.92rem;
  color: var(--texto); padding: 6px 2px;
  border-bottom: 2px solid transparent; transition: color .15s, border-color .15s;
}
.tuy-nav-links a:hover, .tuy-nav-links a.active, .tuy-nav-links .current-menu-item > a {
  color: var(--azul); border-bottom-color: var(--naranja);
}
.tuy-nav-cta {
  background: var(--naranja) !important; color: white !important;
  padding: 10px 22px !important; border-radius: 50px !important;
  font-family: 'Nunito'; font-weight: 800;
  border-bottom: none !important;
  transition: background .15s, transform .15s;
}
.tuy-nav-cta:hover { background: var(--naranja-oscuro) !important; transform: translateY(-1px); }
.tuy-nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.tuy-nav-hamburger span { width: 24px; height: 2px; background: var(--texto); border-radius: 2px; transition: transform .2s; }

@media (max-width: 960px) {
  .tuy-nav-links { display: none; position: fixed; top: 72px; left: 0; right: 0;
    background: white; flex-direction: column; padding: 20px 5%; gap: 14px;
    border-top: 1px solid rgba(27,107,176,0.08); align-items: stretch; }
  .tuy-nav-links.open { display: flex; }
  .tuy-nav-hamburger { display: flex; }
}

/* BUTTONS */
.btn-primary, .btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; border-radius: 50px;
  font-family: 'Nunito'; font-weight: 800; font-size: 1rem;
  transition: all .2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--azul); color: white;
  box-shadow: 0 4px 16px rgba(27,107,176,0.3);
}
.btn-primary:hover { background: var(--azul-oscuro); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(27,107,176,0.4); color: white; }
.btn-secondary {
  background: transparent; color: var(--azul);
  border: 2px solid var(--azul);
}
.btn-secondary:hover { background: var(--azul-claro); }
.btn-naranja {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; border-radius: 50px;
  font-family: 'Nunito'; font-weight: 800; font-size: 1rem;
  background: var(--naranja); color: white;
  transition: all .2s;
}
.btn-naranja:hover { background: var(--naranja-oscuro); color: white; transform: translateY(-2px); }

/* SECTION SCAFFOLD */
section.tuy-section { padding: 90px 5%; }
.tuy-section-inner { max-width: 1200px; margin: 0 auto; }
.tuy-section-tag {
  display: inline-block;
  background: var(--azul-claro); color: var(--azul);
  padding: 4px 14px; border-radius: 50px;
  font-family: 'Nunito'; font-weight: 800; font-size: 0.78rem;
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px;
}
.tuy-section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 900;
  line-height: 1.15; margin-bottom: 16px; color: var(--texto);
}
.tuy-section-title span { color: var(--azul); }
.tuy-section-title em { color: var(--naranja); font-style: normal; }
.tuy-section-sub {
  color: var(--texto-sec); font-size: 1.05rem; line-height: 1.7;
  max-width: 640px; margin-bottom: 56px;
}

/* FOOTER */
.tuy-foot {
  background: var(--texto);
  color: rgba(255,255,255,0.7);
  padding: 70px 5% 32px;
}
.tuy-foot-inner { max-width: 1200px; margin: 0 auto; }
.tuy-foot-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 56px;
}
.tuy-foot-brand img { height: 36px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.tuy-foot-brand p { font-size: 0.88rem; line-height: 1.7; max-width: 240px; }
.tuy-foot-tagline {
  margin-top: 16px; font-weight: 700;
  color: var(--naranja); font-size: 0.85rem; font-style: italic;
}
.tuy-foot-col h5 {
  font-family: 'Nunito'; font-weight: 800;
  color: white; font-size: 0.9rem; margin-bottom: 16px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.tuy-foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; padding: 0; }
.tuy-foot-col a { color: rgba(255,255,255,0.6); font-size: 0.88rem; transition: color .15s; }
.tuy-foot-col a:hover { color: white; }
.tuy-foot-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.tuy-foot-copy { font-size: 0.82rem; }
.tuy-foot-legal { display: flex; gap: 20px; }
.tuy-foot-legal a { color: rgba(255,255,255,0.5); font-size: 0.82rem; }
.tuy-foot-legal a:hover { color: white; }
@media (max-width: 960px) { .tuy-foot-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .tuy-foot-top { grid-template-columns: 1fr; gap: 32px; } .tuy-foot-bottom { flex-direction: column; text-align: center; } }

/* WHATSAPP FLOATING */
.tuy-wa {
  position: fixed; bottom: 24px; right: 24px; z-index: 900;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: white;
  display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
  transition: transform .2s;
}
.tuy-wa:hover { transform: scale(1.08); color: white; }
.tuy-wa svg { width: 30px; height: 30px; }

/* COOKIE BANNER */
.tuy-cookie {
  position: fixed; bottom: 20px; left: 20px; right: 20px; z-index: 9999;
  max-width: 680px; margin: 0 auto;
  background: white;
  border: 1px solid var(--borde-calido);
  border-radius: var(--radio);
  padding: 20px 22px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.16);
  display: none;
  align-items: center; gap: 16px; flex-wrap: wrap;
}
.tuy-cookie.show { display: flex; }
.tuy-cookie-text { flex: 1; min-width: 240px; font-size: 0.88rem; line-height: 1.55; color: var(--tinta); }
.tuy-cookie-text a { color: var(--azul); font-weight: 700; }
.tuy-cookie-actions { display: flex; gap: 8px; }
.tuy-cookie-actions button {
  padding: 10px 18px; border-radius: 50px;
  font-family: 'Nunito'; font-weight: 800; font-size: 0.85rem;
  transition: all .15s;
}
.tuy-cookie-accept { background: var(--azul); color: white; }
.tuy-cookie-accept:hover { background: var(--azul-oscuro); }
.tuy-cookie-reject { background: var(--fondo); color: var(--texto-sec); }
.tuy-cookie-reject:hover { background: var(--papel-profundo); color: var(--texto); }
