/* spain-3 — "Citrus orbit UI" (prefix vlc-) */
:root {
  --vlc-cream: #fff6dc;
  --vlc-orange: #ff8a1f;
  --vlc-lemon: #ffe14d;
  --vlc-lime: #b7e34b;
  --vlc-teal: #1fb5a6;
  --vlc-coral: #ff6a5c;
  --vlc-ink: #1d2a1f;
  --vlc-head: "Syne", "Trebuchet MS", sans-serif;
  --vlc-text: "Manrope", system-ui, sans-serif;
  --vlc-topbar-h: 64px;
  --ft-bg: #1d2a1f;
  --ft-text: #fff6dc;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

.vlc-body {
  position: relative;
  min-height: 100vh;
  background: var(--vlc-cream);
  color: var(--vlc-ink);
  font-family: var(--vlc-text);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}
.vlc-body a { color: inherit; }
.vlc-body img { display: block; max-width: 100%; }

/* ---------- mesh gradient backdrop ---------- */
.vlc-mesh { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; filter: blur(70px) saturate(1.2); }
.vlc-mesh i { position: absolute; border-radius: 50%; opacity: 0.7; animation: vlc-drift 22s ease-in-out infinite alternate; }
.vlc-mesh i:nth-child(1) { width: 52vw; height: 52vw; background: var(--vlc-orange); left: -12vw; top: -14vw; }
.vlc-mesh i:nth-child(2) { width: 44vw; height: 44vw; background: var(--vlc-lime); right: -10vw; top: 22vh; animation-delay: -6s; }
.vlc-mesh i:nth-child(3) { width: 40vw; height: 40vw; background: var(--vlc-teal); left: 18vw; bottom: -18vw; animation-delay: -12s; opacity: 0.5; }
.vlc-mesh i:nth-child(4) { width: 30vw; height: 30vw; background: var(--vlc-coral); right: 24vw; top: -10vw; animation-delay: -3s; opacity: 0.45; }
@keyframes vlc-drift {
  from { translate: 0 0; scale: 1; }
  to { translate: 6vw 5vh; scale: 1.18; }
}

/* ---------- top bar ---------- */
.vlc-brand__dot {
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background: conic-gradient(var(--vlc-orange), var(--vlc-lemon), var(--vlc-lime), var(--vlc-orange));
  animation: vlc-spin 8s linear infinite;
  flex: none;
}
@keyframes vlc-spin { to { rotate: 360deg; } }

.vlc-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: var(--vlc-topbar-h);
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 clamp(1rem, 3vw, 2rem);
  background: rgba(255, 246, 220, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1.5px solid var(--vlc-ink);
}
.vlc-topbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--vlc-head);
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  color: var(--vlc-ink);
  white-space: nowrap;
}
.vlc-topbar__nav {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.2rem 0.9rem;
}
.vlc-topbar__nav a {
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--vlc-ink);
  opacity: 0.72;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.vlc-topbar__nav a:hover,
.vlc-topbar__nav a.is-on { opacity: 1; border-bottom-color: var(--vlc-orange); }
.vlc-topbar__cta {
  flex: none;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: var(--vlc-ink);
  color: var(--vlc-lemon) !important;
  font-weight: 700;
  font-size: 0.8rem;
  text-decoration: none;
}

/* ---------- common ---------- */
.vlc-main {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: calc(var(--vlc-topbar-h) + 1rem) 1.4rem 4rem;
}
.vlc-eyebrow { font-family: var(--vlc-head); text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.2em; font-weight: 700; color: var(--vlc-coral); }
.vlc-section-head { margin: 5rem 0 2rem; }
.vlc-section-head h2,
.vlc-route__text h2,
.vlc-faq h2 { font-family: var(--vlc-head); font-weight: 800; font-size: clamp(1.9rem, 4.4vw, 3.3rem); line-height: 1.05; letter-spacing: -0.02em; max-width: 20ch; }
.vlc-btn {
  display: inline-block;
  padding: 0.85rem 1.7rem;
  background: var(--vlc-ink);
  color: var(--vlc-lemon) !important;
  border-radius: 999px;
  font-family: var(--vlc-head);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.vlc-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 0 -4px var(--vlc-orange); }
.vlc-btn--soft { background: rgba(255, 255, 255, 0.55); color: var(--vlc-ink) !important; border: 1.5px solid var(--vlc-ink); }
.vlc-btn--dark { background: var(--vlc-cream); color: var(--vlc-ink) !important; }

/* ---------- hero ---------- */
.vlc-hero { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 3rem; align-items: center; padding: 7rem 0 3rem; }
.vlc-hero__orbit { --or: clamp(150px, 20vw, 245px); position: relative; display: grid; place-items: center; padding: 2.4rem; }
.vlc-hero__orbit::before { content: ""; position: absolute; inset: 0; margin: auto; width: calc(var(--or) * 2); height: calc(var(--or) * 2); border-radius: 50%; border: 2px dashed rgba(29, 42, 31, 0.5); }
.vlc-hero__arch { width: min(100%, 330px); border-radius: 999px 999px 36px 36px; overflow: hidden; border: 3px solid var(--vlc-ink); box-shadow: 14px 14px 0 var(--vlc-orange); background: var(--vlc-lemon); }
.vlc-hero__arch img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.vlc-chip {
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -1.6rem 0 0 -2.2rem;
  width: 4.4rem;
  height: 3.2rem;
  display: grid;
  place-content: center;
  border-radius: 999px;
  background: var(--vlc-lemon);
  border: 2px solid var(--vlc-ink);
  font-family: var(--vlc-head);
  font-weight: 800;
  font-size: 0.8rem;
  animation: vlc-around 30s linear infinite;
}
.vlc-chip--2 { animation-delay: -7.5s; background: var(--vlc-lime); }
.vlc-chip--3 { animation-delay: -15s; background: var(--vlc-teal); color: #fff; }
.vlc-chip--4 { animation-delay: -22.5s; background: var(--vlc-coral); color: #fff; }
@keyframes vlc-around {
  from { transform: rotate(0deg) translateX(var(--or)) rotate(0deg); }
  to { transform: rotate(360deg) translateX(var(--or)) rotate(-360deg); }
}
.vlc-hero__copy h1 { font-family: var(--vlc-head); font-weight: 800; font-size: clamp(2.4rem, 5.4vw, 4.6rem); line-height: 1; letter-spacing: -0.03em; margin: 0.8rem 0 1.2rem; }
.vlc-hero__copy em { font-style: normal; background: linear-gradient(100deg, var(--vlc-orange), var(--vlc-coral)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vlc-hero__lead { max-width: 52ch; font-size: 1.08rem; }
.vlc-hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 1.6rem 0 1rem; }
.vlc-hero__fine { font-size: 0.8rem; opacity: 0.75; }

/* ---------- bento ---------- */
.vlc-bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(170px, auto);
  grid-template-areas:
    "a a a a b b"
    "a a a a c c"
    "d d e e f f"
    "g g g g h h"
    "g g g g i i";
  gap: 1rem;
}
.vlc-tile--a { grid-area: a; } .vlc-tile--b { grid-area: b; } .vlc-tile--c { grid-area: c; }
.vlc-tile--d { grid-area: d; } .vlc-tile--e { grid-area: e; } .vlc-tile--f { grid-area: f; }
.vlc-tile--g { grid-area: g; } .vlc-tile--h { grid-area: h; } .vlc-tile--i { grid-area: i; }
.vlc-tile {
  position: relative;
  overflow: hidden;
  padding: 1.4rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(10px);
  border: 1.5px solid var(--vlc-ink);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: translate 0.25s, box-shadow 0.25s;
}
.vlc-tile:hover { translate: 0 -4px; box-shadow: 0 12px 0 -6px var(--vlc-orange); }
.vlc-tile h3 { font-family: var(--vlc-head); font-weight: 800; font-size: 1.35rem; line-height: 1.1; margin-bottom: 0.3rem; }
.vlc-tile p { font-size: 0.9rem; }
.vlc-tile--photo { padding: 0; color: #fff; }
.vlc-tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vlc-tile--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14, 20, 12, 0.82) 0%, rgba(14, 20, 12, 0) 62%); }
.vlc-tile__body { position: relative; z-index: 2; padding: 1.4rem; }
.vlc-tile--a h3 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.vlc-tile--b { background: var(--vlc-lemon); justify-content: space-between; }
.vlc-tile__big { font-family: var(--vlc-head); font-weight: 800; font-size: 3.4rem; line-height: 1; color: var(--vlc-coral); }
.vlc-tile--d { background: var(--vlc-lime); }
.vlc-tile--g { background: var(--vlc-ink); color: var(--vlc-cream); justify-content: flex-start; }
.vlc-pills { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.vlc-pills li { padding: 0.45rem 0.95rem; border-radius: 999px; background: var(--vlc-lemon); color: var(--vlc-ink); font-weight: 700; font-size: 0.86rem; }
.vlc-pills li:nth-child(even) { background: var(--vlc-orange); }
.vlc-pills li:nth-child(3n) { background: var(--vlc-lime); }

/* ---------- route ---------- */
.vlc-route {
  margin-top: 5rem;
}
.vlc-route__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 2rem;
  align-items: center;
}
.vlc-route__diagram { position: relative; width: min(100%, 380px); aspect-ratio: 1; margin: 0 auto; border-radius: 50%; border: 2px dashed rgba(29, 42, 31, 0.5); animation: vlc-spin 50s linear infinite; }
.vlc-route__sun { position: absolute; inset: 32%; border-radius: 50%; display: grid; place-content: center; background: var(--vlc-orange); border: 2px solid var(--vlc-ink); font-family: var(--vlc-head); font-weight: 800; font-size: 1.6rem; animation: vlc-spin 50s linear infinite reverse; }
.vlc-route__sat { position: absolute; width: 3.4rem; height: 3.4rem; border-radius: 50%; display: grid; place-content: center; background: var(--vlc-ink); color: var(--vlc-lemon); font-family: var(--vlc-head); font-weight: 800; }
.vlc-route__sat--1 { left: 50%; top: -1.7rem; margin-left: -1.7rem; }
.vlc-route__sat--2 { right: -1.7rem; top: 50%; margin-top: -1.7rem; }
.vlc-route__sat--3 { left: 50%; bottom: -1.7rem; margin-left: -1.7rem; }
.vlc-route__sat--4 { left: -1.7rem; top: 50%; margin-top: -1.7rem; }
.vlc-route__text ol { list-style: none; margin-top: 1.4rem; display: grid; gap: 0.8rem; }
.vlc-route__text li { padding: 0.9rem 1.3rem; border-radius: 999px; background: rgba(255, 255, 255, 0.65); border: 1.5px solid var(--vlc-ink); }
.vlc-route__text li:nth-child(even) { margin-left: 2.4rem; background: var(--vlc-lemon); }

/* ---------- price bubbles ---------- */
.vlc-bubbles { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem; }
.vlc-bubble { width: 210px; aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; text-align: center; padding: 1rem; background: var(--vlc-orange); border: 2px solid var(--vlc-ink); transition: scale 0.25s; }
.vlc-bubble:hover { scale: 1.06; }
.vlc-bubble b { font-family: var(--vlc-head); font-weight: 800; font-size: 2.3rem; line-height: 1; }
.vlc-bubble span { font-size: 0.82rem; font-weight: 500; }
.vlc-bubble--xl { width: 290px; background: var(--vlc-lemon); }
.vlc-bubble--xl b { font-size: 3.6rem; }
.vlc-bubble--sm { width: 150px; }
.vlc-bubble--sm b { font-size: 1.7rem; }
.vlc-bubble--lime { background: var(--vlc-lime); }
.vlc-bubble--teal { background: var(--vlc-teal); color: #fff; }
.vlc-prices__note { text-align: center; margin-top: 1.4rem; font-size: 0.82rem; opacity: 0.75; }

/* ---------- faq ---------- */
.vlc-faq { max-width: 760px; margin: 6rem auto 0; }
.vlc-faq details { margin-top: 0.8rem; border-radius: 26px; background: rgba(255, 255, 255, 0.7); border: 1.5px solid var(--vlc-ink); padding: 0.2rem 1.4rem; }
.vlc-faq summary { cursor: pointer; padding: 0.9rem 0; font-family: var(--vlc-head); font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.vlc-faq summary::-webkit-details-marker { display: none; }
.vlc-faq summary::after { content: "+"; width: 1.6rem; height: 1.6rem; display: grid; place-content: center; border-radius: 50%; background: var(--vlc-orange); flex: none; }
.vlc-faq details[open] summary::after { content: "–"; background: var(--vlc-lime); }
.vlc-faq details p { padding-bottom: 1rem; }

/* ---------- cta ---------- */
.vlc-cta {
  position: relative;
  display: grid;
  place-items: center;
  margin-top: 6rem;
  padding: 3rem 1rem;
  border-radius: 32px;
  overflow: hidden;
}
.vlc-cta--fill {
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(255, 138, 31, 0.35), transparent 55%),
    radial-gradient(ellipse 70% 55% at 85% 70%, rgba(31, 181, 166, 0.28), transparent 50%),
    rgba(255, 246, 220, 0.65);
  border: 1.5px solid var(--vlc-ink);
}
.vlc-cta__disc {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.9rem;
  text-align: center;
  padding: 3rem;
  background: conic-gradient(from 200deg, var(--vlc-orange), var(--vlc-coral), var(--vlc-orange));
  border: 3px solid var(--vlc-ink);
  box-shadow: 0 0 0 14px rgba(255, 225, 77, 0.55), 0 0 0 16px var(--vlc-ink);
}
.vlc-cta__disc h2 { font-family: var(--vlc-head); font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.9rem); line-height: 1; }

/* ---------- footer: static bar (sin órbita animada) ---------- */
.vlc-footbar {
  position: relative;
  z-index: 2;
  margin: 3rem 1rem 2rem;
  padding: 0;
  color: var(--vlc-cream);
  font-size: 0.84rem;
}
.vlc-footbar__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 1.75rem clamp(1.2rem, 4vw, 2.2rem);
  border-radius: 28px;
  background: var(--vlc-ink);
  border: 1px solid rgba(255, 246, 220, 0.22);
  box-shadow: 0 20px 50px rgba(29, 42, 31, 0.35);
  text-align: center;
}
.vlc-footbar__brand {
  font-family: var(--vlc-head);
  font-weight: 800;
  font-size: 1.65rem;
  color: var(--vlc-lemon);
  line-height: 1.1;
}
.vlc-footbar__addr {
  margin-top: 0.4rem;
  font-size: 0.82rem;
  opacity: 0.88;
}
.vlc-footbar__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin: 1.25rem 0 1rem;
}
.vlc-footbar__nav a {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 246, 220, 0.4);
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}
.vlc-footbar__nav a:hover {
  background: var(--vlc-orange);
  color: var(--vlc-ink);
  border-color: var(--vlc-orange);
}
.vlc-footbar__tel { font-size: 0.82rem; opacity: 0.92; }
.vlc-footbar__risk {
  margin-top: 1rem;
  font-size: 0.76rem;
  opacity: 0.78;
  max-width: 48ch;
  margin-inline: auto;
  line-height: 1.5;
}
.vlc-footbar__copy {
  margin-top: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .vlc-topbar__nav { display: none; }
  .vlc-hero { grid-template-columns: 1fr; }
  .vlc-route__inner { grid-template-columns: 1fr; }
  .vlc-bento { grid-template-columns: repeat(2, 1fr); grid-template-areas: none; }
  .vlc-bento .vlc-tile { grid-area: auto; min-height: 220px; }
  .vlc-tile--a, .vlc-tile--g { grid-column: span 2; }
}
@media (max-width: 560px) {
  .vlc-bento { grid-template-columns: 1fr; }
  .vlc-tile--a, .vlc-tile--g { grid-column: auto; }
  .vlc-route__text li:nth-child(even) { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .vlc-mesh i, .vlc-chip, .vlc-brand__dot, .vlc-route__diagram, .vlc-route__sun { animation: none; }
  html { scroll-behavior: auto; }
}

/* Shared site footer — themed via --ft-* on each landing */
.cl-footer {
  margin-top: auto;
  padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2.5rem) 2rem;
  border-top: 1px solid var(--ft-border, rgba(255,255,255,0.1));
  background: var(--ft-bg, #0a0f18);
  color: var(--ft-text, rgba(255,255,255,0.72));
  font-size: 0.88rem;
  line-height: 1.55;
}
.cl-footer a {
  color: var(--ft-link, inherit);
  text-decoration: none;
}
.cl-footer a:hover {
  color: var(--ft-link-hover, #fff);
  text-decoration: underline;
}
.cl-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 2rem 2.5rem;
  max-width: 1100px;
  margin: 0 auto 2rem;
}
.cl-footer__name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ft-title, #fff);
  margin-bottom: 0.35rem;
}
.cl-footer__tagline {
  font-size: 0.8rem;
  opacity: 0.82;
  margin-bottom: 0.55rem;
  max-width: 36ch;
}
.cl-footer__addr {
  font-size: 0.85rem;
  max-width: 28ch;
  opacity: 0.88;
}
.cl-footer__col h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
  color: var(--ft-muted, rgba(255,255,255,0.5));
}
.cl-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 2;
  font-size: 0.85rem;
}
.cl-footer__contact { font-size: 0.85rem; line-height: 1.75; margin: 0; }
.cl-footer__risk {
  max-width: 900px;
  margin: 0 auto 1.25rem;
  font-size: 0.78rem;
  line-height: 1.6;
  opacity: 0.88;
  color: var(--ft-text, rgba(255,255,255,0.72));
}
.cl-footer__copy {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.78rem;
  opacity: 0.65;
}
@media (max-width: 800px) {
  .cl-footer__grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* Base figure rhythm — Spain landings */
figure img {
  width: 100%;
  height: auto;
  display: block;
}

/* Spain — per-landing figure crops (mad- bcn- vlc- and- blb- can-) */

.mad-front__photo img { object-position: center 42%; }
.mad-story--photo img { object-position: center 30%; }
.mad-night__image img { object-position: center 55%; }

.bcn-poster__tile img { object-position: center 35%; }
.bcn-piece--img img { object-position: center 40%; }
.bcn-lane img { object-position: center 60%; }

.vlc-hero__arch img { object-position: center 40%; }
.vlc-tile--photo img { object-position: center 45%; }

.and-slide__bg img { object-position: center 45%; }
.and-slide--two .and-slide__bg img { object-position: center; }
.and-slide--four .and-slide__bg img { object-position: center 30%; }

.blb-frame img { object-position: center 50%; }
.blb-spec--plates td img { object-position: center 55%; }

.can-stage__sky img { object-position: center 35%; }
.can-ferry img { object-position: center 60%; }
.can-panel img { object-position: center 50%; }

/* Scroll reveal + subtle UI motion (AR / CL landings) */
.cl-nav-in {
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.5s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.cl-nav-in.cl-visible,
.cl-motion-off .cl-nav-in {
  opacity: 1;
  transform: none;
}

.cl-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--cl-reveal-delay, 0ms);
  will-change: opacity, transform;
}
.cl-reveal--hero {
  transform: translateY(28px) scale(0.985);
}
.cl-reveal.cl-visible,
.cl-motion-off .cl-reveal {
  opacity: 1;
  transform: none;
}

.cord-top nav a,
.map-bar nav a,
.pac-nav nav a,
.lit-nav__links a,
.aus-header nav a {
  transition: color 0.2s ease, opacity 0.2s ease;
}
.cord-btn,
.map-pill,
.pac-btn,
.lit-btn,
.aus-cta,
.ban-cta,
.pam-btn,
.rio-btn,
.obl-cta,
.mlg-btn,
.sur-go,
.prn-go,
.prn-handoff__action,
.est-closing__reach a,
.est-cta a {
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}
.cord-btn:hover,
.map-pill:hover,
.pac-btn:hover,
.lit-btn:hover,
.aus-cta:hover,
.ban-cta:hover,
.pam-btn:hover,
.rio-btn:hover,
.obl-cta:hover,
.mlg-btn:hover,
.sur-go:hover,
.prn-go:hover,
.prn-handoff__action:hover,
.est-closing__reach a:hover,
.est-cta a:hover {
  transform: translateY(-2px);
}
.obl-head nav a,
.mlg-side nav a,
.sur-float nav a,
.est-masthead nav a,
.prn-dock nav a {
  transition: color 0.2s ease, opacity 0.2s ease;
}
.cord-card,
.lit-card,
.aus-cards article,
.pac-bento article,
.ban-cards article,
.pam-columns article,
.rio-features article {
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.cord-card:hover,
.lit-card:hover {
  transform: translateY(-3px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cl-reveal.cl-visible.cord-card:hover,
.cl-reveal.cl-visible.lit-card:hover {
  transform: translateY(-3px);
}

details {
  transition: background 0.2s ease;
}
details[open] summary {
  color: inherit;
}

@keyframes cl-glow-pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.85; }
}
.aus-glow {
  animation: cl-glow-pulse 8s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .cl-reveal,
  .cl-nav-in,
  .aus-glow {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .cord-btn:hover,
  .map-pill:hover,
  .pac-btn:hover,
  .lit-btn:hover,
  .aus-cta:hover,
  .cord-card:hover,
  .lit-card:hover {
    transform: none;
  }
}

/* Spain landings — motion beyond scroll-reveal (per-theme) */

/* ── global micro-interactions ───────────────────────────────────────── */
.cl-motion-on .mad-btn,
.cl-motion-on .bcn-btn,
.cl-motion-on .vlc-btn,
.cl-motion-on .and-btn,
.cl-motion-on .blb-btn,
.cl-motion-on .can-btn,
.cl-motion-on .mad-cta,
.cl-motion-on .bcn-cta,
.cl-motion-on .eix-cta,
.cl-motion-on .ner-cta {
  transition:
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.22s ease,
    background 0.2s ease,
    color 0.2s ease,
    filter 0.2s ease;
}
.cl-motion-on .mad-btn:active,
.cl-motion-on .bcn-btn:active,
.cl-motion-on .vlc-btn:active,
.cl-motion-on .and-btn:active,
.cl-motion-on .blb-btn:active,
.cl-motion-on .can-btn:active {
  transform: translate(1px, 1px) scale(0.98);
}

/* scroll progress (injected by es-anim.js) */
.es-scroll-progress {
  position: fixed;
  z-index: 60;
  pointer-events: none;
  transform-origin: 0 50%;
  scale: var(--es-scroll, 0) 1;
  transition: scale 0.12s linear;
}
.es-scroll-progress--mad {
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--mad-brick, #c45c3e), var(--mad-gold, #e8b84a));
}
.es-scroll-progress--bcn {
  top: var(--bcn-bar-h, 72px);
  left: 0;
  right: 0;
  height: 2px;
  background: var(--bcn-accent, #2a7c6f);
  opacity: 0.9;
}
.es-scroll-progress--and {
  right: 0;
  top: 0;
  width: 3px;
  height: 100vh;
  background: var(--and-cream, #fbf1dc);
  opacity: 0.7;
  transform-origin: 50% 0;
  scale: 1 var(--es-scroll, 0);
}

/* ── spain-1 mad- gazette ──────────────────────────────────────────── */
.cl-motion-on .mad-ticker__list .mad-up,
.cl-motion-on .mad-ticker__list .mad-down {
  animation: es-tick-flash 2.8s ease-in-out infinite;
}
.cl-motion-on .mad-nameplate {
  animation: es-press-glow 6s ease-in-out infinite;
}
.cl-motion-on .mad-sections a {
  position: relative;
  transition: color 0.25s ease, letter-spacing 0.25s ease;
}
.cl-motion-on .mad-sections a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.cl-motion-on .mad-sections a:hover::after,
.cl-motion-on .mad-sections a.is-on::after {
  transform: scaleX(1);
}
.cl-motion-on .mad-front__photo img {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.cl-motion-on .mad-front__photo:hover img {
  transform: scale(1.03);
}

@keyframes es-tick-flash {
  0%, 100% { opacity: 1; filter: brightness(1); }
  50% { opacity: 0.65; filter: brightness(1.15); }
}
@keyframes es-press-glow {
  0%, 100% { text-shadow: 0 0 0 transparent; }
  50% { text-shadow: 0 0 28px rgba(232, 184, 74, 0.35); }
}

/* ── spain-2 bcn- patrimonial ───────────────────────────────────────── */
.cl-motion-on .bcn-hero__visual img {
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.cl-motion-on .bcn-hero__visual:hover img {
  transform: scale(1.02);
}
.cl-motion-on .bcn-prod-card {
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.cl-motion-on .bcn-prod-card:hover {
  border-color: var(--bcn-accent, #2a7c6f);
  box-shadow: 0 8px 24px rgba(26, 45, 61, 0.08);
}

@keyframes es-dock-pulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

/* ── spain-3 vlc- orbit ─────────────────────────────────────────────── */
.cl-motion-on .vlc-chip {
  animation: es-chip-float 4.5s ease-in-out infinite;
  animation-delay: calc(var(--chip-i, 0) * 0.35s);
}
.cl-motion-on .vlc-chip--1 { --chip-i: 0; }
.cl-motion-on .vlc-chip--2 { --chip-i: 1; }
.cl-motion-on .vlc-chip--3 { --chip-i: 2; }
.cl-motion-on .vlc-chip--4 { --chip-i: 3; }
.cl-motion-on .vlc-tile {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.cl-motion-on .vlc-tile:hover {
  transform: translateY(-4px) rotate(-0.4deg);
  box-shadow: 0 18px 40px rgba(255, 107, 74, 0.25);
}
/* sin pop en pie de página */
.cl-motion-on .vlc-footbar__nav a.is-on {
  animation: none;
}

@keyframes es-chip-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -6px; }
}
/* ── spain-4 and- duotone slides ───────────────────────────────────── */
.cl-motion-on .and-rail a.is-on::after {
  animation: es-rail-ring 1.8s ease-out infinite;
}
.cl-motion-on .and-slide__in {
  transition: opacity 0.9s ease, translate 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.cl-motion-on .and-slide:not(.is-live) .and-slide__in {
  opacity: 0.88;
  translate: 0 8px;
}
.cl-motion-on .and-slide.is-live .and-slide__in {
  opacity: 1;
  translate: 0 0;
}
.cl-motion-on .and-q {
  transition: translate 0.4s ease;
}
.cl-motion-on .and-q:hover {
  translate: 6px 0;
}

@keyframes es-rail-ring {
  0% { box-shadow: 0 0 0 0 rgba(251, 241, 220, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(251, 241, 220, 0); }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* ── spain-5 blb- corporativo ───────────────────────────────────────── */
.cl-motion-on .blb-card {
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.cl-motion-on .blb-card:hover {
  border-color: var(--blb-accent, #1d5f8c);
  box-shadow: 0 8px 22px rgba(21, 36, 51, 0.1);
}
.cl-motion-on .blb-hero__media img {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.cl-motion-on .blb-hero__media:hover img {
  transform: scale(1.02);
}

/* ── spain-6 can- glass OS ──────────────────────────────────────────── */
.cl-motion-on .can-status__mid {
  animation: es-status-blink 3s step-end infinite;
}
.cl-motion-on .can-window {
  animation: es-window-float 9s ease-in-out infinite alternate;
}
.cl-motion-on .can-toast {
  opacity: 0;
  translate: 0 16px;
  transition:
    opacity 0.55s ease,
    translate 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--es-toast-delay, 0ms);
}
.cl-motion-on .can-toast.es-toast-in {
  opacity: 1;
  translate: 0 0;
}
.cl-motion-on .can-dock a.is-on svg {
  animation: es-dock-icon 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.cl-motion-on .can-bubble--in {
  animation: es-bubble-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--es-bubble-delay, 0ms);
}

@keyframes es-status-blink {
  0%, 70% { opacity: 0.75; }
  71%, 100% { opacity: 1; }
}
@keyframes es-window-float {
  from { translate: 0 -4px; }
  to { translate: 0 6px; }
}
@keyframes es-dock-icon {
  0% { transform: scale(1); }
  50% { transform: scale(1.18) translateY(-2px); }
  100% { transform: scale(1); }
}
@keyframes es-bubble-in {
  from { opacity: 0; transform: translateX(-12px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

/* parallax hook (JS sets --es-parallax-y) */
.cl-motion-on [data-parallax] {
  translate: 0 calc(var(--es-parallax-y, 0) * 1px);
  transition: translate 0.08s linear;
  will-change: translate;
}

@media (prefers-reduced-motion: reduce) {
  .es-scroll-progress { display: none; }
  .cl-motion-on .mad-ticker__list .mad-up,
  .cl-motion-on .mad-ticker__list .mad-down,
  .cl-motion-on .mad-nameplate,
  .cl-motion-on .vlc-chip,
  .cl-motion-on .and-rail a.is-on::after,
  .cl-motion-on .can-status__mid,
  .cl-motion-on .can-window,
  .cl-motion-on .can-bubble--in {
    animation: none !important;
  }
  .cl-motion-on .and-slide:not(.is-live) .and-slide__in {
    opacity: 1;
    translate: none;
  }
  .cl-motion-on .can-toast {
    opacity: 1;
    translate: none;
  }
  .cl-motion-on [data-parallax] { translate: none; }
}
