/* Portada: la foto se revela con un barrido, se acerca muy despacio y el texto entra escalonado. */
.tq-home-hero > .wp-block-columns > .wp-block-column:first-child {
  background: linear-gradient(160deg, #ffffff 0%, #fcf9f5 100%);
}
@media (min-width: 782px) {
  .tq-home-hero > .wp-block-columns { min-height: min(84vh, 760px); }
}

/* Antetítulo dorado con línea que se dibuja */
.tq-hero-eyebrow {
  display: flex; align-items: center; gap: 12px; margin: 0 0 18px !important;
  font-family: "Roboto Flex", sans-serif; font-size: 12.5px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: #b07f22;
  animation: tqUp .8s .25s cubic-bezier(.2,.7,.2,1) both;
}
.tq-hero-eyebrow::before {
  content: ""; width: 44px; height: 1.5px; background: #c9942c; flex: none;
  transform-origin: left; animation: tqLine 1s .45s cubic-bezier(.65,0,.35,1) both;
}

.tq-home-hero h1 {
  font-size: clamp(2.3rem, 3.6vw, 3.4rem) !important; line-height: 1.08; letter-spacing: -.01em;
  color: #0b0449; animation: tqUp .9s .4s cubic-bezier(.2,.7,.2,1) both;
}
.tq-home-hero h1 + p { animation: tqUp .9s .6s cubic-bezier(.2,.7,.2,1) both; }
.tq-home-hero .wp-block-buttons { animation: tqUp .9s .8s cubic-bezier(.2,.7,.2,1) both; }

/* Botones en píldora, a juego con la cabecera */
.tq-home-hero .wp-block-button__link {
  border-radius: 999px !important; padding: 14px 28px !important; font-weight: 600;
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.tq-home-hero .wp-block-button:not(.is-style-outline) .wp-block-button__link {
  background: #070f79; color: #fff; box-shadow: 0 10px 24px rgba(7,15,121,.25);
}
.tq-home-hero .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
  background: #c9942c; transform: translateY(-2px);
}
.tq-home-hero .wp-block-button.is-style-outline .wp-block-button__link {
  border: 1.5px solid #0b0449; color: #0b0449; background: transparent;
}
.tq-home-hero .wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: #0b0449; color: #fff; transform: translateY(-2px);
}

/* Foto: barrido de entrada + acercamiento lento */
.tq-home-hero .wp-block-cover {
  overflow: hidden; animation: tqRevealX 1.5s .1s cubic-bezier(.77,0,.18,1) both;
}
.tq-home-hero .wp-block-cover__image-background {
  object-position: 50% 45%; transform-origin: 50% 40%;
  animation: tqKen 14s .1s cubic-bezier(.2,.6,.3,1) both;
}
.tq-home-hero .wp-block-cover::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    linear-gradient(90deg, rgba(252,249,245,.28) 0%, rgba(252,249,245,0) 14%),
    radial-gradient(ellipse at 50% 115%, rgba(11,4,73,.35) 0%, rgba(11,4,73,0) 60%);
}
@media (max-width: 781px) {
  .tq-home-hero .wp-block-cover { animation-name: tqRevealY; }
}

@keyframes tqUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes tqLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes tqRevealX { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes tqRevealY { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes tqKen { from { transform: scale(1.14); } to { transform: scale(1.02); } }

@media (prefers-reduced-motion: reduce) {
  .tq-home-hero *, .tq-home-hero .wp-block-cover { animation: none !important; }
}

/* Móvil: la foto arriba, para que sea lo primero que se ve al abrir, y el texto debajo. */
@media (max-width: 781px) {
  .tq-home-hero > .wp-block-columns { flex-direction: column-reverse; }
  .tq-home-hero .wp-block-cover { min-height: 46vh !important; padding: 0 !important; }
  .tq-home-hero .wp-block-cover .wp-block-spacer { height: 0 !important; }
  .tq-home-hero > .wp-block-columns > .wp-block-column:last-child > .wp-block-group { padding-top: 34px !important; padding-bottom: 44px !important; }
  .tq-hero-eyebrow { font-size: 11px; letter-spacing: .16em; gap: 10px; }
  .tq-hero-eyebrow::before { width: 28px; }
}

/* Aviso temporal de Macondo Park, con la paleta de la carta del stand (rosa, oro, fondo casi negro):
   el fondo es un degradado que fluye despacio y dos manchas de luz que se mezclan por encima. */
.tq-hero-news {
  --mp-pink: #ff2f92; --mp-pink-soft: #ff8fc4; --mp-gold: #ffd166; --mp-magenta: #c91e6b; --mp-bg: #0c0410;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 11px; max-width: 100%; box-sizing: border-box;
  margin: 0 0 22px !important; padding: 11px 18px 11px 15px; border-radius: 14px; text-wrap: balance;
  color: #fff; font-family: "Roboto Flex", sans-serif; font-size: 13.5px; line-height: 1.38;
  background: linear-gradient(115deg, var(--mp-bg) 0%, #3a0a2c 22%, var(--mp-magenta) 42%, #2a0820 62%, #5a3a12 80%, var(--mp-bg) 100%);
  background-size: 320% 100%;
  border: 1px solid rgba(255,143,196,.35);
  box-shadow: 0 12px 30px rgba(201,30,107,.28), 0 0 0 1px rgba(255,209,102,.06) inset;
  animation: tqUp .8s .1s cubic-bezier(.2,.7,.2,1) both, tqMpFlow 14s ease-in-out infinite alternate;
}
/* Manchas de luz rosa y oro que derivan y se funden con el degradado de fondo */
.tq-hero-news::before, .tq-hero-news::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none; border-radius: 50%;
  filter: blur(18px); mix-blend-mode: screen; opacity: .75;
}
.tq-hero-news::before {
  width: 55%; height: 220%; top: -60%; left: -10%;
  background: radial-gradient(circle, rgba(255,47,146,.85) 0%, rgba(255,47,146,0) 65%);
  animation: tqMpBlobA 9s ease-in-out infinite alternate;
}
.tq-hero-news::after {
  width: 45%; height: 200%; top: -50%; right: -8%;
  background: radial-gradient(circle, rgba(255,209,102,.7) 0%, rgba(255,209,102,0) 65%);
  animation: tqMpBlobB 11s ease-in-out infinite alternate;
}
.tq-hero-news strong {
  font-weight: 800;
  background: linear-gradient(100deg, #fff 0%, var(--mp-pink-soft) 45%, var(--mp-gold) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tq-hero-news-dot {
  flex: none; width: 9px; height: 9px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff 0%, var(--mp-gold) 45%, var(--mp-pink) 100%);
  box-shadow: 0 0 0 0 rgba(255,47,146,.7); animation: tqPulse 1.8s infinite;
}
@keyframes tqPulse { 70% { box-shadow: 0 0 0 10px rgba(255,47,146,0); } 100% { box-shadow: 0 0 0 0 rgba(255,47,146,0); } }
@keyframes tqMpFlow { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } }
@keyframes tqMpBlobA { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(70%, 10%) scale(1.15); } 100% { transform: translate(140%, -6%) scale(.9); } }
@keyframes tqMpBlobB { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-80%, 8%) scale(1.2); } 100% { transform: translate(-150%, -4%) scale(.95); } }
@media (max-width: 781px) {
  .tq-hero-news { font-size: 13px; align-items: flex-start; }
  .tq-hero-news-dot { margin-top: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  .tq-hero-news, .tq-hero-news::before, .tq-hero-news::after { animation: none !important; }
}

/* Franja de confianza bajo la portada: eventos en los que ha estado Tequendama. */
.tq-trust { background: #0b0449; color: #fff; margin-top: 0 !important; margin-bottom: 0 !important; padding: 28px 24px; position: relative; overflow: hidden; }
.tq-trust::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 0% 50%, rgba(201,148,44,.16) 0%, rgba(201,148,44,0) 45%);
}
.tq-trust-in { position: relative; max-width: 1240px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 18px 40px; flex-wrap: wrap; }
.tq-trust-label {
  margin: 0 !important; font-family: "Roboto Flex", sans-serif; font-size: 12px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: #e3b75c; max-width: 17em; line-height: 1.5; flex: none; width: 15.5em;
}
.tq-trust-list { list-style: none; margin: 0 !important; padding: 0 !important; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 0; flex: 1; }
.tq-trust-list li { display: flex; align-items: center; margin: 0 !important; }
.tq-trust-list li + li::before { content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%; background: #c9942c; margin: 0 clamp(16px, 2.4vw, 34px); }
.tq-trust-list a, .tq-trust-list span {
  display: flex; flex-direction: column; color: #fff !important; text-decoration: none !important;
  font-family: "Source Serif Pro", serif; font-size: clamp(1.1rem, 1.7vw, 1.4rem); line-height: 1.2;
}
.tq-trust-list small { font-family: "Roboto Flex", sans-serif; font-size: 12px; letter-spacing: .02em; color: rgba(255,255,255,.62); margin-top: 3px; }
.tq-trust-list a { transition: color .2s ease; }
.tq-trust-list a:hover { color: #e3b75c !important; }
.tq-trust-cta {
  flex: none; color: #fff !important; text-decoration: none !important; font-family: "Roboto Flex", sans-serif;
  font-size: 14px; font-weight: 600; padding: 11px 22px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.45);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.tq-trust-cta:hover { background: #c9942c; border-color: #c9942c; transform: translateY(-1px); }
@media (max-width: 960px) {
  .tq-trust { padding: 30px 20px 32px; }
  .tq-trust-in { flex-direction: column; text-align: center; }
  .tq-trust-label { max-width: none; width: auto; }
  .tq-trust-list { flex-direction: column; gap: 16px; }
  .tq-trust-list li + li::before { display: none; }
  .tq-trust-list a, .tq-trust-list span { align-items: center; }
}

/* Aviso de Navidad: misma animación que el de Macondo, con la paleta de la marca (tinta, oro y
   papel) y un brillo que cruza la píldora de vez en cuando. Es un enlace a /menus-de-navidad/. */
a.tq-hero-news { text-decoration: none !important; color: #fff !important; transition: transform .25s ease, box-shadow .25s ease; }
a.tq-hero-news:hover { transform: translateY(-2px); }
a.tq-hero-news:focus-visible { outline: 3px solid #e3b75c; outline-offset: 3px; }
.tq-hero-news[hidden] { display: none !important; }
.tq-hero-news-flecha { flex: none; font-weight: 700; color: #e3b75c; transition: transform .25s ease; }
a.tq-hero-news:hover .tq-hero-news-flecha { transform: translateX(3px); }
.tq-hero-news--navidad {
  background: linear-gradient(115deg, #0b0449 0%, #1a1170 26%, #6b4a10 46%, #0b0449 64%, #2a1d6e 82%, #0b0449 100%);
  background-size: 320% 100%;
  border-color: rgba(227,183,92,.45);
  box-shadow: 0 12px 30px rgba(11,4,73,.30), 0 0 0 1px rgba(255,255,255,.04) inset;
}
.tq-hero-news--navidad::before { background: radial-gradient(circle, rgba(201,148,44,.75) 0%, rgba(201,148,44,0) 65%); }
.tq-hero-news--navidad::after {
  width: 40%; height: 300%; top: -100%; right: auto; left: -60%; border-radius: 0; filter: none; opacity: 1; mix-blend-mode: normal;
  background: linear-gradient(100deg, rgba(255,255,255,0) 30%, rgba(255,240,200,.28) 50%, rgba(255,255,255,0) 70%);
  animation: tqNavBrillo 5.5s ease-in-out infinite;
}
.tq-hero-news--navidad strong { background: linear-gradient(100deg, #fff 0%, #f6e3b4 50%, #e3b75c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tq-hero-news--navidad .tq-hero-news-dot { background: radial-gradient(circle at 35% 35%, #fff 0%, #e3b75c 55%, #c9942c 100%); box-shadow: 0 0 0 0 rgba(227,183,92,.7); animation: tqPulseOro 1.8s infinite; }
@keyframes tqNavBrillo { 0%, 55% { transform: translateX(0) skewX(-12deg); } 100% { transform: translateX(420%) skewX(-12deg); } }
@keyframes tqPulseOro { 70% { box-shadow: 0 0 0 10px rgba(227,183,92,0); } 100% { box-shadow: 0 0 0 0 rgba(227,183,92,0); } }
@media (prefers-reduced-motion: reduce) {
  .tq-hero-news--navidad::after { animation: none !important; display: none; }
}
