/* ==========================================================================
   Spain Nova — Cinematic redesign
   ========================================================================== */

:root {
  --bg: #060a12;
  --bg-soft: #0b1320;
  --bg-warm: #0d1b2e;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-border: rgba(255, 255, 255, 0.08);

  --gold-deep: #9c7222;
  --gold: #cfa24a;
  --gold-light: #f4dfa8;
  --gold-grad: linear-gradient(120deg, #9c7222 0%, #e8c873 45%, #f8ecc8 55%, #cfa24a 100%);

  --text: #f4f1ea;
  --text-muted: #9b968d;
  --text-dim: #6c6862;

  --container: 1200px;

  --ease: cubic-bezier(0.65, 0, 0.1, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  overflow-x: hidden;
}

body {
  font-family: "Montserrat", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
  font-weight: 300;
}

h1, h2, h3, h4 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}

.gold-text {
  background: var(--gold-grad);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 8s linear infinite;
}

@keyframes shine {
  to { background-position: 200% center; }
}

/* ==========================================================================
   Buttons & links
   ========================================================================== */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.5s var(--ease-soft), box-shadow 0.5s var(--ease-soft), color 0.4s, border-color 0.4s;
}

.btn span { position: relative; z-index: 2; }

.btn-gold {
  background: var(--gold-grad);
  background-size: 200% auto;
  color: #16110a;
  box-shadow: 0 8px 30px -10px rgba(207, 162, 74, 0.55);
}

.btn-gold:hover {
  background-position: 100% center;
  transform: translateY(-3px);
  box-shadow: 0 14px 40px -8px rgba(207, 162, 74, 0.7);
}

.btn-outline {
  border-color: rgba(244, 241, 234, 0.25);
  color: var(--text);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-3px);
}

.btn-ghost {
  border: 1px solid rgba(244, 241, 234, 0.18);
  color: var(--text);
  padding: 11px 26px;
  font-size: 0.7rem;
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-light);
  margin-top: 8px;
}

.link-arrow svg { transition: transform 0.45s var(--ease-soft); }
.link-arrow:hover svg { transform: translateX(8px); }

/* ==========================================================================
   Preloader
   ========================================================================== */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s var(--ease), visibility 0.8s var(--ease);
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.preloader-logo {
  width: 220px;
  opacity: 0;
  animation: fadeIn 1s var(--ease-soft) 0.2s forwards;
}

.preloader-bar {
  width: 200px;
  height: 1px;
  background: rgba(244, 241, 234, 0.12);
  overflow: hidden;
}

.preloader-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--gold-grad);
  animation: loadBar 1.4s var(--ease) 0.3s forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes loadBar {
  to { width: 100%; }
}

/* ==========================================================================
   Custom cursor
   ========================================================================== */

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--gold-light);
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(244, 241, 234, 0.5);
  transition: width 0.3s var(--ease-soft), height 0.3s var(--ease-soft), border-color 0.3s, opacity 0.3s;
}

.cursor-ring.is-hover {
  width: 64px;
  height: 64px;
  border-color: var(--gold);
}

@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ==========================================================================
   Grain overlay
   ========================================================================== */

.grain {
  position: fixed;
  inset: -100%;
  width: 300%;
  height: 300%;
  pointer-events: none;
  z-index: 9990;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-2%, 2%); }
  40% { transform: translate(2%, -1%); }
  60% { transform: translate(-1%, -2%); }
  80% { transform: translate(1%, 2%); }
}

/* ==========================================================================
   Navbar
   ========================================================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 26px 0;
  transition: padding 0.45s var(--ease), background 0.45s var(--ease), backdrop-filter 0.45s var(--ease), border-color 0.45s var(--ease);
  border-bottom: 1px solid transparent;
}

.navbar.is-scrolled {
  padding: 14px 0;
  background: rgba(6, 10, 18, 0.7);
  backdrop-filter: blur(16px) saturate(140%);
  border-color: rgba(244, 241, 234, 0.06);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  flex: none;
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  height: 52px;
  width: auto;
  max-width: none;
  flex: none;
  transition: height 0.45s var(--ease);
}

.navbar.is-scrolled .brand-logo {
  height: 42px;
}

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
  margin-right: 24px;
}

.nav-cta {
  flex: none;
  padding: 12px 24px;
  white-space: nowrap;
}

.nav-links a {
  position: relative;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-muted);
  overflow: hidden;
  height: 1.5em;
  line-height: 1.5em;
  display: inline-block;
  white-space: nowrap;
}

.nav-links a span {
  display: block;
  line-height: 1.5em;
  white-space: nowrap;
  transition: transform 0.45s var(--ease-soft), color 0.45s;
}

.nav-links a::after {
  content: attr(data-text);
  position: absolute;
  top: 100%;
  left: 0;
  line-height: 1.5em;
  white-space: nowrap;
  color: var(--gold-light);
  transition: transform 0.45s var(--ease-soft);
}

.nav-links {
  flex-wrap: nowrap;
}

.nav-links a:hover span {
  transform: translateY(-100%);
}

.nav-links a:hover::after {
  transform: translateY(-100%);
}

/* Sección activa (scrollspy) / página actual — palabra en dorado */
.nav-links a.is-active span { color: var(--gold); }

/* WebLab — link siempre destacado en el header: mismo shimmer dorado que los titulares hero */
.nav-links a.nav-featured span,
.nav-links a.nav-featured::after {
  background: var(--gold-grad);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 5s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .nav-links a.nav-featured span,
  .nav-links a.nav-featured::after { animation: none; }
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-left: 14px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.1);
  color: #25d366;
  flex-shrink: 0;
  animation: whatsappFloat 3.4s ease-in-out infinite;
  transition: transform 0.3s var(--ease-soft), background 0.3s, box-shadow 0.3s;
}

.whatsapp-link svg {
  width: 19px;
  height: 19px;
  display: block;
}

.whatsapp-link:hover {
  background: rgba(37, 211, 102, 0.22);
  box-shadow: 0 0 18px rgba(37, 211, 102, 0.35);
  transform: scale(1.1);
  animation-play-state: paused;
}

@keyframes whatsappFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.burger span {
  display: block;
  height: 1px;
  width: 100%;
  background: var(--text);
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}

.burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-active span:nth-child(2) { opacity: 0; }
.burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: rgba(6, 10, 18, 0.98);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 36px;
  transform: translateY(-100%);
  transition: transform 0.6s var(--ease);
}

.mobile-menu.is-open {
  transform: translateY(0);
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.mobile-menu a {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: var(--text);
  transition: color 0.3s;
}

.mobile-menu a:hover {
  color: var(--gold-light);
}

.mobile-menu a.nav-featured {
  background: var(--gold-grad);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 5s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu a.nav-featured { animation: none; }
}

.mobile-menu-footer {
  position: absolute;
  bottom: 48px;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 120%;
  z-index: 0;
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0%) brightness(1.9) contrast(1) saturate(1.2);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 50% 100%, rgba(6, 10, 18, 0.05) 0%, rgba(6, 10, 18, 0.5) 100%),
    linear-gradient(180deg, rgba(6, 10, 18, 0.2) 0%, rgba(6, 10, 18, 0.05) 40%, rgba(6, 10, 18, 0.4) 100%);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 220px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

.network-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.5;
}

#networkCanvas {
  opacity: 0.95;
  mix-blend-mode: screen;
}

/* Hero 1 (home): partículas ocultas (test de limpieza) — quitar esta regla para volver */
#inicio #heroWebGL,
#inicio #networkCanvas { display: none; }

.hero-webgl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 60px;
}

.hero-title {
  font-size: clamp(1.9rem, 5vw, 4.2rem);
  line-height: 1.08;
  text-transform: none;
  margin-bottom: 28px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7), 0 1px 4px rgba(0, 0, 0, 0.6);
}

.hero-title .gold-text {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: var(--gold-light);
  color: var(--gold-light);
  animation: none;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.95), 0 2px 10px rgba(0, 0, 0, 0.9), 0 0 3px rgba(0, 0, 0, 0.95);
}

.reveal-line {
  display: block;
  overflow: hidden;
}

.reveal-inner {
  display: inline-block;
  transform: translateY(110%);
}

.hero-sub {
  max-width: 620px;
  font-size: clamp(1.1rem, 1.65vw, 1.35rem);
  color: rgba(244, 241, 234, 0.92);
  font-weight: 500;
  line-height: 1.85;
  letter-spacing: 0.01em;
  margin-bottom: 44px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.7);
}
.hero-sub-accent {
  color: var(--gold-light);
  font-weight: 600;
  text-shadow: 0 0 30px #f4dfa8, 0 0 70px #cfa24a, 0 0 120px rgba(207, 162, 74, 0.35);
}
.hero-sub-accent .sub-word {
  text-shadow: 0 0 30px #f4dfa8, 0 0 70px #cfa24a, 0 0 120px rgba(207, 162, 74, 0.35);
}

.hero-cta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.scroll-cue {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
}

.scroll-cue-line {
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(180deg, var(--gold-light), transparent);
  animation: scrollCue 2.2s ease-in-out infinite;
  transform-origin: top;
}

.scroll-cue-text {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

@keyframes scrollCue {
  0% { transform: scaleY(0); opacity: 0; }
  40% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ==========================================================================
   Reveal animations (generic)
   ========================================================================== */

.reveal-up {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1.1s var(--ease-soft), transform 1.1s var(--ease-soft);
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Marquee
   ========================================================================== */

.marquee {
  position: relative;
  border-top: 1px solid var(--panel-border);
  border-bottom: 1px solid var(--panel-border);
  background: var(--bg-soft);
  overflow: hidden;
  padding: 20px 0;
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  gap: 28px;
  font-family: "Playfair Display", serif;
  font-size: clamp(1rem, 2vw, 1.6rem);
  font-style: italic;
  color: var(--text-muted);
  animation: marquee 38s linear infinite;
  width: max-content;
}

.marquee-track span:nth-child(2n) {
  color: var(--gold);
  font-style: normal;
  font-family: "Montserrat", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  align-self: center;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   Section base
   ========================================================================== */

.section {
  position: relative;
  padding: 90px 0;
  background: var(--bg);
}

.section-tag {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}

.section-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 24px;
}

.section-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 640px;
}

.center-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 48px;
}

.center-head .section-lead {
  margin: 0 auto 36px;
}

/* split layout */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.split-reverse {
  direction: rtl;
}

.split-reverse > * {
  direction: ltr;
}

.split-text p {
  color: var(--text-muted);
  margin-bottom: 18px;
  max-width: 520px;
}

.split-text strong { color: var(--text); }

/* ==========================================================================
   Quiénes somos
   ========================================================================== */

.about {
  background:
    radial-gradient(circle at 12% 8%, rgba(207, 162, 74, 0.07), transparent 45%),
    var(--bg);
}

.center-tag {
  display: block;
  text-align: center;
  margin: -20px 0 60px;
  opacity: 0.85;
}

/* Image reveal frame */
.img-reveal,
.team-avatar {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: var(--bg-soft);
}

.img-reveal img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(60%) contrast(1.05) brightness(0.92);
  transform: scale(1.12);
  transition: transform 1.6s var(--ease-soft), filter 1s ease;
}

.img-reveal:hover img {
  filter: grayscale(0%) contrast(1.08) brightness(1);
  transform: scale(1.02);
}

/* curtain reveal */
.img-reveal::after,
.team-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg);
  transform-origin: left;
  transform: scaleX(1);
  transition: transform 1.1s var(--ease);
  z-index: 2;
}

.reveal-up.is-visible .img-reveal::after,
.reveal-up.is-visible .team-avatar::after {
  transform: scaleX(0);
}

/* corner accents */
.corner {
  position: absolute;
  width: 26px;
  height: 26px;
  border: 0 solid var(--gold);
  opacity: 0;
  transition: opacity 0.6s ease 0.6s, width 0.6s var(--ease-soft) 0.6s, height 0.6s var(--ease-soft) 0.6s;
  z-index: 3;
  pointer-events: none;
}

.reveal-up.is-visible .corner {
  opacity: 0.85;
}

.corner-tl {
  top: 12px;
  left: 12px;
  border-top-width: 2px;
  border-left-width: 2px;
}

.corner-br {
  bottom: 12px;
  right: 12px;
  border-bottom-width: 2px;
  border-right-width: 2px;
}

.img-reveal:hover .corner,
.team-card:hover .corner {
  width: 34px;
  height: 34px;
}

/* Leader rows */
.leader {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: center;
  padding: 70px 0;
  border-bottom: 1px solid var(--panel-border);
}

.leader:first-of-type {
  border-top: 1px solid var(--panel-border);
}

.leader-reverse {
  direction: rtl;
}

.leader-reverse > * {
  direction: ltr;
}

.leader-photo {
  perspective: 1000px;
}

.leader-photo .img-reveal {
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  transform: rotateX(0deg) rotateY(0deg);
  transition: transform 0.4s ease-out;
  will-change: transform;
}

.leader-role {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.leader-name {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 20px;
}

.leader-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  max-width: 560px;
}

/* Nuestra promesa */
.promise {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-top: 40px;
}

.promise-bg {
  background-image:
    linear-gradient(180deg, rgba(6, 10, 18, 0.35) 0%, rgba(6, 10, 18, 0.65) 100%),
    url("../assets/img/team/team-group.jpg");
  background-size: cover;
  background-position: center;
  filter: grayscale(20%);
  animation: kenBurns 26s ease-in-out infinite alternate;
}

@keyframes kenBurns {
  from { transform: scale(1) translate3d(0, -2%, 0); }
  to { transform: scale(1.12) translate3d(0, 2%, 0); }
}

.promise-content {
  position: relative;
  z-index: 2;
  padding: 64px 32px;
}

.promise-quote {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: clamp(2rem, 5.5vw, 4rem);
  line-height: 1.25;
  margin: 24px 0 28px;
}

.promise-sub {
  max-width: 560px;
  margin: 0 auto;
  color: var(--text-muted);
}

/* Team grid */
.team-wrap {
  margin-top: 100px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.team-card {
  text-align: center;
}

.team-photo,
.team-avatar {
  aspect-ratio: 1;
  margin-bottom: 20px;
}

.team-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--panel-border);
  background: var(--panel);
  transition: border-color 0.5s, box-shadow 0.5s;
}

.team-avatar span {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 2.4rem;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.team-card:hover .team-avatar {
  border-color: rgba(207, 162, 74, 0.45);
  box-shadow: 0 0 40px rgba(207, 162, 74, 0.18);
}

.team-card h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: var(--text);
}

.team-role {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ==========================================================================
   National section — radar visual
   ========================================================================== */

.national {
  background:
    radial-gradient(circle at 85% 20%, rgba(207, 162, 74, 0.06), transparent 45%),
    var(--bg);
}

.split-visual {
  display: flex;
  justify-content: center;
}

.radar {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
}

.spain-map-bg {
  position: absolute;
  inset: 1%;
  width: 98%;
  height: 98%;
  object-fit: contain;
  opacity: 0.07;
  mix-blend-mode: screen;
  pointer-events: none;
}

.radar-ring {
  position: absolute;
  border: 1px solid rgba(207, 162, 74, 0.18);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.radar-ring.r1 { width: 100%; height: 100%; }
.radar-ring.r2 { width: 68%; height: 68%; }
.radar-ring.r3 { width: 36%; height: 36%; }

.radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(207, 162, 74, 0.35), transparent 35%);
  animation: spin 6s linear infinite;
  mix-blend-mode: screen;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.radar-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-soft);
  border: 1px solid var(--gold);
  box-shadow: 0 0 50px rgba(207, 162, 74, 0.35);
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--gold-light);
  animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 30px rgba(207, 162, 74, 0.25); }
  50% { box-shadow: 0 0 70px rgba(207, 162, 74, 0.55); }
}

.radar-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 14px var(--gold);
  animation: blink 2.6s ease-in-out infinite;
}

.radar-dot.d1 { top: 12%; left: 60%; animation-delay: 0s; }
.radar-dot.d2 { top: 30%; left: 85%; animation-delay: 0.5s; }
.radar-dot.d3 { top: 75%; left: 78%; animation-delay: 1s; }
.radar-dot.d4 { top: 80%; left: 20%; animation-delay: 1.5s; }
.radar-dot.d5 { top: 25%; left: 15%; animation-delay: 2s; }

@keyframes blink {
  0%, 100% { opacity: 0.25; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* ==========================================================================
   Parallax sections
   ========================================================================== */

.parallax-section {
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  inset: -20% 0;
  height: 140%;
  background:
    radial-gradient(60% 55% at 22% 25%, rgba(207, 162, 74, 0.28), transparent 65%),
    radial-gradient(55% 60% at 85% 80%, rgba(156, 114, 34, 0.24), transparent 70%),
    linear-gradient(135deg, rgba(207, 162, 74, 0.14), transparent 60%),
    repeating-linear-gradient(135deg, rgba(244, 241, 234, 0.04) 0px, rgba(244, 241, 234, 0.04) 1px, transparent 1px, transparent 64px),
    var(--bg-warm);
  z-index: 0;
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, transparent 18%, transparent 82%, var(--bg) 100%);
  z-index: 1;
  pointer-events: none;
}

.world-map-bg {
  position: absolute;
  inset: -20% 0;
  height: 140%;
  width: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  opacity: 0.4;
  mix-blend-mode: soft-light;
  z-index: 0;
  pointer-events: none;
}

.international .container,
.global-reach .container {
  position: relative;
  z-index: 2;
}

/* Sección internacional: menos aire arriba y menos hueco antes de las tarjetas */
.international {
  padding-top: 72px;
}
.international .center-head {
  margin-bottom: 28px;
}
.international .center-head .section-title {
  margin-bottom: 0;
}

/* cards */
.cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.info-card {
  position: relative;
  padding: 26px 26px 28px;
  background: var(--panel);
  border: 1px solid rgba(207, 162, 74, 0.24);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(244, 223, 168, 0.1), 0 22px 44px -26px rgba(0, 0, 0, 0.7);
  transition: transform 0.6s var(--ease-soft), border-color 0.6s, background 0.6s, box-shadow 0.6s;
}

/* Borde superior dorado degradado (elegante) */
.info-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 22px;
  right: 22px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.7;
}

.info-card:hover {
  transform: translateY(-10px);
  border-color: rgba(207, 162, 74, 0.55);
  background: rgba(207, 162, 74, 0.07);
  box-shadow: inset 0 1px 0 rgba(244, 223, 168, 0.14), 0 30px 60px -28px rgba(207, 162, 74, 0.25);
}

.info-card-num {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 12px;
}

.info-card p {
  color: var(--text);
  font-size: 1.12rem;
  line-height: 1.6;
  font-weight: 400;
}

.info-card p strong {
  color: var(--gold-light);
  font-weight: 700;
}

/* stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
  border-top: 1px solid var(--panel-border);
  padding-top: 36px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stat-num {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-num::after {
  content: "+";
}

.stat-num.no-plus::after {
  content: "";
}

.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ==========================================================================
   Process timeline
   ========================================================================== */

.process {
  background:
    radial-gradient(55% 45% at 12% 8%, rgba(207, 162, 74, 0.14) 0%, transparent 60%),
    radial-gradient(50% 50% at 92% 88%, rgba(207, 162, 74, 0.12) 0%, transparent 62%),
    radial-gradient(40% 40% at 80% 20%, rgba(244, 223, 168, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-warm) 0%, var(--bg-soft) 55%, var(--bg) 100%);
}

.timeline {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding-left: 60px;
}

.timeline-line {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 18px;
  width: 1px;
  background: rgba(244, 241, 234, 0.08);
}

.timeline-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  box-shadow: 0 0 12px rgba(207, 162, 74, 0.6);
}

.timeline-item {
  position: relative;
  padding-bottom: 64px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-num {
  position: absolute;
  left: -60px;
  top: -6px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid var(--panel-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", serif;
  font-size: 0.85rem;
  color: var(--gold-light);
  transition: border-color 0.5s, box-shadow 0.5s;
}

.timeline-item.is-visible .timeline-num {
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(207, 162, 74, 0.4);
}

.timeline-content {
  background: linear-gradient(180deg, rgba(207, 162, 74, 0.06), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(207, 162, 74, 0.18);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  padding: 18px 24px 20px;
  box-shadow: 0 18px 40px -28px rgba(0, 0, 0, 0.7);
  transition: border-color 0.5s, box-shadow 0.5s, transform 0.5s;
}

.timeline-item.is-visible .timeline-content,
.timeline-content:hover {
  border-left-color: var(--gold-light);
  box-shadow: 0 22px 46px -26px rgba(207, 162, 74, 0.28);
}

.timeline-content h3 {
  font-size: 1.42rem;
  margin-bottom: 10px;
  color: var(--gold-light);
  font-weight: 600;
}

.timeline-content p {
  color: var(--text);
  max-width: 620px;
  font-size: 1.02rem;
  line-height: 1.6;
}

.timeline-content p strong {
  color: #f2c65a;
  font-weight: 700;
}

/* ==========================================================================
   Global reach
   ========================================================================== */

.global-reach {
  text-align: center;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.globe-bg {
  background:
    radial-gradient(55% 65% at 50% 48%, rgba(207, 162, 74, 0.32), transparent 70%),
    radial-gradient(120% 90% at 50% 100%, rgba(156, 114, 34, 0.18), transparent 60%),
    var(--bg);
}

#globeCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.global-reach .center-head {
  margin-bottom: 0;
}

.global-reach .section-lead {
  margin-bottom: 40px;
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}

.contact-email {
  display: inline-block;
  margin-top: 16px;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--gold-light);
  border-bottom: 1px solid rgba(207, 162, 74, 0.35);
  padding-bottom: 6px;
  transition: color 0.4s, border-color 0.4s;
}

.contact-email:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.contact-meta {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-meta-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.contact-meta div {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact-btn {
  margin-top: 32px;
}

.contact-radar {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
}

.signal-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 1px solid rgba(207, 162, 74, 0.45);
  transform: translate(-50%, -50%) scale(1);
  opacity: 0.6;
  animation: signalPulse 3.9s ease-out infinite;
}

.signal-ring.s2 { animation-delay: 1.3s; }
.signal-ring.s3 { animation-delay: 2.6s; }

@keyframes signalPulse {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(3.2); opacity: 0; }
}

.contact-core {
  width: 130px;
  height: 130px;
}

.contact-core .gold-text {
  font-size: 1.8rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.radar-dot.d6 { top: 58%; left: 6%; animation-delay: 2.3s; }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--panel-border);
  padding: 70px 0 30px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--panel-border);
}

.footer-brand img {
  height: 40px;
  margin-bottom: 18px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 320px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-nav a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.3s, padding-left 0.3s;
}

.footer-nav a:hover {
  color: var(--gold-light);
  padding-left: 6px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.footer-contact a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-contact a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.back-to-top {
  transition: color 0.3s;
}

.back-to-top:hover {
  color: var(--gold-light);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .split,
  .split-reverse {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .split-reverse {
    direction: ltr;
  }

  .split-visual {
    order: -1;
  }

  .cards-row {
    grid-template-columns: 1fr;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .leader,
  .leader-reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 36px;
    padding: 50px 0;
  }

  .leader-photo .img-reveal {
    max-width: 360px;
    margin: 0 auto;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* Colapsa la navegación completa a menú hamburguesa cuando no caben los 5 enlaces */
@media (max-width: 1180px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .burger {
    display: flex;
  }
}

@media (max-width: 860px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .burger {
    display: flex;
  }

  .section {
    padding: 90px 0;
  }

  .timeline {
    padding-left: 46px;
  }

  .timeline-num {
    left: -46px;
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
  }
}

@media (max-width: 560px) {
  .container {
    padding: 0 22px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .promise-content {
    padding: 70px 22px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
}

/* ==========================================================================
   PRUEBA — Liquid Glass Hero (Bloom-style)
   ========================================================================== */
.lg-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  font-family: "Poppins", sans-serif;
  --radius: 1rem;
}
.lg-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.lg-hero-tint {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  z-index: 1;
}
.lg-split {
  position: relative;
  z-index: 10;
  display: flex;
  min-height: 100vh;
}
.lg-left { width: 52%; position: relative; }

/* Glass tiers */
.liquid-glass {
  background: rgba(255, 255, 255, 0.01);
  background-blend-mode: luminosity;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}
.liquid-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(180deg, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.15) 20%, transparent 40%, transparent 60%, rgba(255,255,255,0.15) 80%, rgba(255,255,255,0.45) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.liquid-glass-strong {
  background: rgba(255, 255, 255, 0.01);
  background-blend-mode: luminosity;
  -webkit-backdrop-filter: blur(50px);
  backdrop-filter: blur(50px);
  border: none;
  box-shadow: 4px 4px 4px rgba(0,0,0,0.05), inset 0 1px 1px rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
}
.liquid-glass-strong::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.2) 20%, transparent 40%, transparent 60%, rgba(255,255,255,0.2) 80%, rgba(255,255,255,0.5) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Left overlay */
.lg-left-overlay {
  position: absolute;
  top: 110px;
  left: 24px;
  right: 24px;
  bottom: 24px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  padding: 32px;
}
.lg-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lg-brand { display: flex; align-items: center; gap: 10px; }
.lg-brand img { width: 32px; height: 32px; object-fit: contain; }
.lg-brand span { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.03em; color: #fff; }
.lg-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.25s;
}
.lg-pill:hover { transform: scale(1.05); }

.lg-hero-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 26px;
}
.lg-hero-logo { width: 80px; height: 80px; object-fit: contain; }
.lg-h1 {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  color: #fff;
  margin: 0;
}
.lg-h1 em {
  font-family: "Source Serif 4", serif;
  font-style: italic;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
}
.lg-sub {
  max-width: 540px;
  font-family: "Poppins", sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.8;
  font-weight: 400;
  color: rgba(244, 241, 234, 0.92);
}
.lg-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px 12px 22px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.25s;
}
.lg-cta:hover { transform: scale(1.05); }
.lg-cta:active { transform: scale(0.95); }
.lg-cta-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lg-pills { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.lg-pill-sm {
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}
.lg-quote { text-align: center; }
.lg-quote-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px;
}
.lg-quote-text {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 14px;
}
.lg-quote-text em {
  font-family: "Source Serif 4", serif;
  font-style: italic;
  color: rgba(255, 255, 255, 0.8);
}
.lg-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.6);
}
.lg-author span { height: 1px; width: 40px; background: rgba(255, 255, 255, 0.3); }

/* Right panel */
.lg-right-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.lg-social { gap: 14px; padding: 10px 18px; }
.lg-social a { color: #fff; display: flex; transition: color 0.2s, transform 0.2s; }
.lg-social a:hover { color: rgba(255, 255, 255, 0.7); transform: scale(1.05); }
.lg-arrow { color: rgba(255, 255, 255, 0.6); display: flex; margin-left: 4px; }
.lg-icon-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: transform 0.25s;
}
.lg-icon-btn:hover { transform: scale(1.05); }
.lg-community {
  width: 224px;
  border-radius: 22px;
  padding: 18px 20px;
}
.lg-community h3 { color: #fff; font-size: 0.95rem; font-weight: 600; margin-bottom: 6px; }
.lg-community p { color: rgba(255, 255, 255, 0.6); font-size: 0.78rem; line-height: 1.5; }

.lg-feature {
  margin-top: auto;
  border-radius: 2.5rem;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lg-feature-row { display: flex; gap: 14px; }
.lg-feature-card {
  flex: 1;
  border-radius: 24px;
  padding: 20px;
  color: #fff;
}
.lg-feature-card svg { color: #fff; margin-bottom: 12px; }
.lg-feature-card h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 5px; }
.lg-feature-card p { font-size: 0.75rem; color: rgba(255, 255, 255, 0.6); line-height: 1.45; }
.lg-feature-bottom {
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: 22px;
  padding: 14px 16px;
}
.lg-feature-bottom img { width: 56px; height: 56px; object-fit: contain; border-radius: 12px; background: rgba(255,255,255,0.06); padding: 6px; }
.lg-feature-bottom-text { flex: 1; }
.lg-feature-bottom-text h4 { color: #fff; font-size: 0.88rem; font-weight: 600; margin-bottom: 3px; }
.lg-feature-bottom-text p { color: rgba(255, 255, 255, 0.6); font-size: 0.74rem; line-height: 1.4; }
.lg-plus {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.3rem; font-weight: 300;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.25s;
}
.lg-plus:hover { transform: scale(1.05); }

@media (max-width: 1024px) {
  .lg-right { display: none; }
  .lg-left { width: 100%; }
  .lg-left-overlay { top: 90px; left: 16px; right: 16px; bottom: 16px; padding: 22px; }
}

/* ===== TESTIMONIOS ===== */
.testimonials { overflow: hidden; }
.testi-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.testi-badge {
  display: inline-block;
  padding: 5px 16px;
  border: 1px solid rgba(244, 241, 234, 0.18);
  border-radius: 8px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 22px;
}
.testi-intro {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}
.testi-columns {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 56px;
  max-height: 720px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}
.testi-col { width: 340px; flex-shrink: 0; }
.testi-track {
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: testiScroll linear infinite;
}
.testi-col:hover .testi-track { animation-play-state: paused; }
@keyframes testiScroll {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}
.testi-card {
  padding: 32px;
  border-radius: 24px;
  border: 1px solid rgba(244, 241, 234, 0.08);
  background: rgba(255, 255, 255, 0.025);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
}
.testi-text {
  font-size: 0.98rem;
  line-height: 1.65;
  color: rgba(244, 241, 234, 0.9);
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}
.testi-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(207, 162, 74, 0.4);
}
.testi-meta { display: flex; flex-direction: column; }
.testi-name { font-weight: 600; font-size: 0.92rem; letter-spacing: -0.01em; }
.testi-role { font-size: 0.82rem; color: var(--text-muted); }

@media (max-width: 1024px) { .testi-col-lg { display: none; } }
@media (max-width: 768px) {
  .testi-col-md { display: none; }
  .testi-col { width: 100%; max-width: 360px; }
}
