/* === BLOCK 1: Core styles === */
:root {
    --color-bg: #050505;
    --color-surface: #0F0F0F;
    --color-border: #1C1C1C;
    --color-gold: #D4AF37;
    --color-gold-dim: #B8922A;
    --color-gold-glow: rgba(212,175,55,0.15);
    --color-text: #FAFAFA;
    --color-muted: #888888;
    --color-white-10: rgba(255,255,255,0.06);
    --color-error: #E53E3E;
    --color-success: #38A169;
    --font-display: 'Cormorant Garamond', serif;
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Inter', sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    overflow-x: hidden;
    cursor: auto;}
    @media (hover: hover) and (pointer: fine) {
      body:not(.no-custom-cursor) { cursor: none; }
    }    
  a { text-decoration: none; color: inherit; }

  /* === CUSTOM CURSOR === */
  #cursor-dot {
    position: fixed;
    width: 8px; height: 8px;
    background: var(--color-gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, width 0.2s ease, height 0.2s ease, background 0.2s ease;
    mix-blend-mode: normal;
  }
  #cursor-ring {
    position: fixed;
    width: 36px; height: 36px;
    border: 1px solid rgba(212,175,55,0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                width 0.3s ease, height 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
  }
  body:hover #cursor-ring { opacity: 1; }
  .cursor-hover #cursor-dot { width: 12px; height: 12px; background: var(--color-gold); }
  .cursor-hover #cursor-ring { width: 56px; height: 56px; border-color: rgba(212,175,55,0.8); }
  
  /* Cursor con label "Explorar" para showcase cards */
#cursor-label {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s ease;
}
body.cursor-explore #cursor-label { opacity: 1; }
body.cursor-explore #cursor-dot { width: 0; height: 0; }
body.cursor-explore #cursor-ring { width: 72px; height: 72px; border-color: rgba(212,175,55,0.6); }

/* Crea un área invisible arriba del dropdown para que el hover no se rompa */
.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -25px; /* Cubre el hueco de 20px */
  left: 0;
  width: 100%;
  height: 25px;
  background: transparent;
}

  /* === NAVBAR === */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(5,5,5,0.85);
    border-bottom: 1px solid rgba(212,175,55,0);
    transition: border-color 0.2s ease;
    height: 72px;
    display: flex; align-items: center;
  }
  nav.scrolled { border-color: rgba(212,175,55,0.12); }
  .nav-inner {
    max-width: 1280px; margin: 0 auto; padding: 0 48px;
    display: flex; align-items: center; justify-content: space-between;
    width: 100%;
  }
  .nav-logo {
    font-weight: 700; font-size: 22px; letter-spacing: -0.02em;
    color: var(--color-gold);
    display: flex;
    align-items: center;
  }
  .nav-links {
    display: flex; align-items: center; gap: 40px;
    list-style: none;
  }
  .nav-links a {
    font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
    color: var(--color-muted);
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--color-text); }
  .nav-services-trigger { position: relative; }
  .nav-services-trigger > a { display: flex; align-items: center; gap: 6px; }
  .nav-services-trigger > a::after {
    content: '';
    width: 6px; height: 6px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    display: inline-block;
    transition: transform 0.2s;
  }
  .nav-services-trigger:hover > a::after { transform: rotate(-135deg) translateY(-2px); }
  .nav-dropdown {
    position: absolute; top: calc(100% + 20px); left: 50%;
    transform: translateX(-50%) translateY(-8px);
    width: 480px;
    background: rgba(10,10,10,0.96);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212,175,55,0.12);
    padding: 16px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
    opacity: 0; pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav-services-trigger:hover .nav-dropdown {
    opacity: 1; pointer-events: all;
    transform: translateX(-50%) translateY(0);
  }
  .nav-dropdown-item {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 12px; border-radius: 4px;
    transition: background 0.15s;
  }
  .nav-dropdown-item:hover { background: rgba(212,175,55,0.06); }
  .nav-dropdown-icon {
    width: 32px; height: 32px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    color: var(--color-gold); opacity: 0.7;
  }
  .nav-dropdown-text span {
    display: block; font-size: 13px; font-weight: 500;
    color: var(--color-text); margin-bottom: 2px;
  }
  .nav-dropdown-text p {
    font-size: 11px; color: var(--color-muted); line-height: 1.4;
  }

  /* === GOLD BUTTON === */
  .btn-gold {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 32px;
    font-family: 'Inter', sans-serif;
    font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
    border-radius: 0; border: none; cursor: none;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    position: relative; overflow: hidden;
    white-space: nowrap;
  }
  .btn-gold.solid {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dim));
    color: #050505;
  }
  .btn-gold.solid:hover {
    transform: scale(1.02);
    box-shadow: 0 0 24px rgba(212,175,55,0.4);
  }
  .btn-gold.solid:active { transform: scale(0.98); }
  .btn-gold.outline {
    background: transparent;
    color: var(--color-gold);
    border: 1px solid var(--color-gold);
  }
  .btn-gold.outline:hover { background: var(--color-gold-glow); }
  .btn-gold.outline:active { transform: scale(0.98); }
  .btn-gold.sm { padding: 10px 22px; font-size: 12px; }

  /* === SECTION LABEL === */
  .section-label {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 11px; font-weight: 500; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--color-gold);
    margin-bottom: 20px;
  }
  .section-label::before {
    content: ''; display: block;
    width: 24px; height: 1px; background: var(--color-gold); opacity: 0.6;
  }

  /* === GOLD LINE === */
  .gold-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, #D4AF37, transparent);
    opacity: 0.3; margin: 80px 0;
  }

  /* === CONTAINER === */
  .container {
    max-width: 1280px; margin: 0 auto; padding: 0 48px;
  }
  @media (max-width: 768px) {
    .container { padding: 0 24px; }
  }

  /* === HERO === */
  #hero {
    min-height: 100vh; position: relative;
    display: flex; flex-direction: column; justify-content: center;
    overflow: hidden; padding-top: 72px;
  }

  /* Aura */
  .hero-aura {
    position: absolute; top: -20%; left: 50%;
    transform: translateX(-50%);
    width: 700px; height: 700px;
    background: radial-gradient(ellipse at center,
      rgba(212,175,55,0.18) 0%,
      rgba(212,175,55,0.05) 40%,
      transparent 70%);
    pointer-events: none; z-index: 0;
    animation: aura-expand 2.5s ease-out forwards;
  }
  @keyframes aura-expand {
    from { transform: translateX(-50%) scale(0.6); opacity: 0; }
    to   { transform: translateX(-50%) scale(1.8); opacity: 1; }
  }

  /* Grain */
  .hero-grain {
    position: absolute; inset: 0;
    pointer-events: none; z-index: 2;
    opacity: 0.04; mix-blend-mode: overlay;
  }

  /* Overlay */
 .hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
      160deg,
      rgba(5,5,5,0.55) 0%,
      rgba(5,5,5,0.2) 45%,
      rgba(5,5,5,0.6) 100%
    );
    pointer-events: none; z-index: 1;
  }

  /* Light lines */
  .light-line {
    position: absolute; height: 1px; width: 100%;
    background: linear-gradient(90deg,
      transparent 0%,
      rgba(212,175,55,0.4) 30%,
      rgba(212,175,55,0.6) 50%,
      rgba(212,175,55,0.4) 70%,
      transparent 100%);
    pointer-events: none; z-index: 1;
    transform: translateX(-100%);
  }
  .light-line-1 { top: 35%; animation: sweep 4s linear infinite; animation-delay: 0s; }
  .light-line-2 { top: 55%; animation: sweep 4s linear infinite; animation-delay: 2.5s; }
  .light-line-3 { top: 70%; animation: sweep 4s linear infinite; animation-delay: 5.5s; }
  @keyframes sweep {
    0%   { transform: translateX(-100%); opacity: 0; }
    5%   { opacity: 0.6; }
    95%  { opacity: 0.6; }
    100% { transform: translateX(100%); opacity: 0; }
  }

  /* hero-flares canvas */
  #hero-flares { position: absolute; inset: 0; pointer-events: none; z-index: 1; }

  .hero-content {
    position: relative; z-index: 10;
    max-width: 1280px; margin: 0 auto;
    padding: 0 48px; padding-top: 80px; padding-bottom: 60px;
  }
  .hero-eyebrow {
    font-size: 11px; font-weight: 500; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--color-gold);
    margin-bottom: 28px;
    opacity: 0; animation: fade-up 0.8s ease 0.3s forwards;
    display: flex; align-items: center; gap: 10px;
  }
  .hero-eyebrow::before {
    content: ''; display: block; width: 28px; height: 1px;
    background: var(--color-gold); opacity: 0.7;
  }
  h1.hero-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(40px, 5.2vw, 76px);
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0.01em;
    line-height: 1.12;
    color: var(--color-text);
    max-width: 780px;
    margin-bottom: 32px;

    opacity: 0;
    transform: translateY(0px);
    filter: blur(6px);
    animation: hero-title-in 1.3s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
  }

  h1.hero-title em {
    font-style: normal;
    font-weight: 400;
    color: var(--color-gold);
    font-size: 0.95em;
    letter-spacing: 0.02em;
  }

  @keyframes hero-title-in {
    0%   { opacity: 0; transform: translateY(18px); filter: blur(8px); }
    40%  { opacity: 0.6; filter: blur(2px); }
    100% { opacity: 1; transform: translateY(0); filter: blur(0px); }
  }

  @media (max-width: 768px) {
    h1.hero-title {
      font-size: clamp(32px, 8vw, 48px);
      letter-spacing: 0.005em;
      line-height: 1.18;
    }
  }
  .hero-subtitle {
    font-size: clamp(16px, 1.4vw, 18px);
    color: var(--color-muted); line-height: 1.75;
    max-width: 560px; margin-bottom: 48px;
    opacity: 0; animation: fade-up 0.9s ease 0.7s forwards;
  }
  .hero-ctas {
    display: flex; gap: 16px; flex-wrap: wrap;
    opacity: 0; animation: fade-up 0.9s ease 0.9s forwards;
  }

  @keyframes fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* Tour placeholder */
  .tour-placeholder {
    width: calc(100% - 90px);
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 0 80px;
    position: relative; z-index: 10;
    opacity: 0; animation: fade-up 1s ease 1.1s forwards;
  }
  .tour-wrapper {
    position: relative; border: 1px solid rgba(212,175,55,0.15);
    overflow: hidden;
  }

  .tour-ratio-box {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: linear-gradient(135deg, #0A0A0A 0%, #111 50%, #0A0A0A 100%);
    overflow: hidden;
  }
  .tour-thumb {
    position: absolute;
    inset: 0;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    transition: opacity 0.3s ease;
  }

  .tour-thumb-bg {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 50%,
      rgba(212,175,55,0.08) 0%, transparent 60%),
      radial-gradient(ellipse at 70% 30%, rgba(212,175,55,0.05) 0%, transparent 50%);
  }
  .tour-grid-overlay {
    position: absolute; inset: 0; opacity: 0.06;
    background-image:
      linear-gradient(rgba(212,175,55,0.5) 1px, transparent 1px),
      linear-gradient(90deg, rgba(212,175,55,0.5) 1px, transparent 1px);
    background-size: 60px 60px;
  }
  .tour-play-btn {
    position: relative; z-index: 2;
    display: flex; flex-direction: column; align-items: center; gap: 20px;
  }
  .play-circle {
    width: 80px; height: 80px; border-radius: 50%;
    border: 1px solid rgba(212,175,55,0.4);
    background: transparent;
    display: flex; align-items: center; justify-content: center;
    position: relative;
    transition: all 0.3s ease;
    cursor: none;
    appearance: none;
    -webkit-appearance: none;
  }
  .play-circle::before {
    content: '';
    position: absolute; inset: -8px; border-radius: 50%;
    border: 1px solid rgba(212,175,55,0.15);
    animation: pulse-ring 2s ease infinite;
  }
  .play-circle:hover,
  .play-circle:focus-visible {
    border-color: var(--color-gold);
    box-shadow: 0 0 32px rgba(212,175,55,0.25);
    outline: none;
  }
  @keyframes pulse-ring {
    0%   { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
  }
  .play-triangle {
    width: 0; height: 0;
    border-left: 22px solid var(--color-gold);
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    margin-left: 4px;
  }
  .tour-label {
    font-size: 12px; font-weight: 500; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--color-muted);
  }
  .tour-badge {
    position: absolute; top: 20px; left: 20px;
    background: rgba(5,5,5,0.8); border: 1px solid rgba(212,175,55,0.2);
    padding: 6px 14px;
    font-size: 11px; font-weight: 500; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--color-gold);
  }
  .tour-demo-notice {
    padding: 14px 20px;
    background: var(--color-surface);
    border-top: 1px solid rgba(212,175,55,0.1);
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    flex-wrap: wrap;
  }
  .tour-demo-notice p {
    font-size: 12px; color: var(--color-muted); font-style: italic;
  }

  #tourIframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: none;
    z-index: 10;
  }

  /* === SECTION GENERAL === */
  .section { padding: 96px 0; }

  
  /* === SERVICES — PREMIUM IMAGE CARDS === */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--color-border);
    border: 1px solid var(--color-border);
    margin-top: 56px;
  }

  .service-card {
    position: relative;
    overflow: hidden;
    background: #080808;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border: 1px solid rgba(255,255,255,0.02);
    transition:
      transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
      border-color 0.35s ease,
      box-shadow 0.35s ease,
      background 0.35s ease;
    isolation: isolate;
    cursor: none;
  }

  .service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212,175,55,0.18);
    box-shadow:
      0 24px 60px rgba(0,0,0,0.45),
      0 0 40px rgba(212,175,55,0.08);
  }

  .service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(212,175,55,0);
    transition: border-color 0.35s ease;
    pointer-events: none;
    z-index: 4;
  }

  .service-card:hover::after {
    border-color: rgba(212,175,55,0.22);
  }

  .service-image {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
  }

  .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition:
      transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
      filter 0.5s ease;
    filter:
      saturate(0.95)
      contrast(1.02)
      brightness(0.78);
  }

  .service-card:hover .service-image img {
    transform: scale(1.08);
    filter:
      saturate(1)
      contrast(1.04)
      brightness(0.9);
  }

  .service-image-overlay {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(
        180deg,
        rgba(5,5,5,0.05) 0%,
        rgba(5,5,5,0.18) 22%,
        rgba(5,5,5,0.74) 62%,
        rgba(5,5,5,0.94) 100%
      ),
      linear-gradient(
        135deg,
        rgba(212,175,55,0.08) 0%,
        rgba(212,175,55,0.02) 28%,
        rgba(5,5,5,0.04) 100%
      );
    z-index: 1;
  }

  .service-image-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(
        circle at top right,
        rgba(212,175,55,0.12),
        transparent 38%
      );
    mix-blend-mode: screen;
    opacity: 0.9;
  }

  .service-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 34px 30px 30px;
    margin-top: auto;
  }

  .service-name {
    font-family: var(--font-display);
    font-size: clamp(24px, 2vw, 32px);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 14px;
    line-height: 1.08;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 18px rgba(0,0,0,0.45);
  }

  .service-desc {
    font-size: 14px;
    line-height: 1.75;
    color: rgba(255,255,255,0.78);
    max-width: 95%;
    text-shadow: 0 2px 12px rgba(0,0,0,0.45);
  }

  .service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    width: fit-content;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-gold);
    opacity: 0.92;
    transition:
      opacity 0.25s ease,
      transform 0.25s ease;
  }

  .service-card:hover .service-link {
    opacity: 1;
    transform: translateX(2px);
  }

  .service-link::after {
    content: '→';
    font-size: 13px;
  }

  .service-card-cta .service-image img {
    filter:
      brightness(0.65)
      contrast(1.08)
      saturate(0.9);
  }

  .service-card-cta .service-image-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(5,5,5,0.18) 0%,
        rgba(5,5,5,0.3) 25%,
        rgba(5,5,5,0.78) 70%,
        rgba(5,5,5,0.96) 100%
      ),
      linear-gradient(
        135deg,
        rgba(212,175,55,0.18) 0%,
        rgba(212,175,55,0.04) 45%,
        rgba(5,5,5,0.08) 100%
      );
  }

  @media (max-width: 1180px) {
    .services-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-card {
      min-height: 500px;
    }
  }

  @media (max-width: 768px) {
    .services-grid {
      grid-template-columns: 1fr;
    }

    .service-card {
      min-height: 440px;
    }

    .service-content {
      padding: 28px 24px 24px;
    }

    .service-name {
      font-size: clamp(24px, 7vw, 34px);
      line-height: 1.05;
    }

    .service-desc {
      font-size: 14px;
      line-height: 1.7;
      max-width: 100%;
    }
  }

  @media (max-width: 480px) {
    .service-card {
      min-height: 400px;
    }

    .service-content {
      padding: 24px 20px 22px;
    }

    .service-link {
      margin-top: 20px;
      letter-spacing: 0.12em;
    }
  }


  /* === SHOWCASES === */
  .showcases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px; margin-top: 56px;
  }
  .showcase-card {
    border: 1px solid var(--color-border);
    overflow: hidden; cursor: none;
    transition: border-color 0.3s ease;
    position: relative;
  }
  .showcase-card:hover { border-color: rgba(212,175,55,0.3); }
  .showcase-thumb {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #0D0D0D, #141414);
    position: relative; overflow: hidden;
  }
  .showcase-thumb-inner {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
  }
  .showcase-tag {
    position: absolute; top: 12px; left: 12px;
    font-size: 10px; font-weight: 500; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--color-gold);
    background: rgba(5,5,5,0.8); border: 1px solid rgba(212,175,55,0.2);
    padding: 4px 10px;
  }
  .showcase-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(5,5,5,0.8) 100%);
    opacity: 0; transition: opacity 0.3s;
  }
  .showcase-card:hover .showcase-overlay { opacity: 1; }
  .showcase-explore {
    position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
    font-size: 11px; font-weight: 500; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--color-gold);
    opacity: 0; transition: opacity 0.3s;
    white-space: nowrap;
    display: flex; align-items: center; gap: 6px;
  }
  .showcase-card:hover .showcase-explore { opacity: 1; }
  .showcase-info { padding: 20px 24px; background: var(--color-surface); }
  /* ✅ CAMBIO: .showcase-name con tipografía display */
  .showcase-name {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 4px;
    letter-spacing: 0.01em;
    line-height: 1.2;
  }
  .showcase-type {
    font-size: 12px; color: var(--color-muted); letter-spacing: 0.04em;
  }
  .showcases-footer {
    margin-top: 40px; display: flex;
    align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
  }
  .showcases-note {
    font-size: 13px; color: var(--color-muted); font-style: italic;
  }
  .showcases-footer-copy {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 760px;
  }
  .showcase-destination-links {
    font-style: normal;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    line-height: 1.7;
  }
  .showcase-destination-links a {
    color: var(--color-gold);
    text-decoration: none;
    border-bottom: 1px solid rgba(212,175,55,0.32);
    padding-bottom: 2px;
    transition: color .2s ease, border-color .2s ease, opacity .2s ease;
  }
  .showcase-destination-links a:hover,
  .showcase-destination-links a:focus-visible {
    color: #F5D87A;
    border-color: rgba(245,216,122,0.72);
    outline: none;
  }

  /* Showcase thumb visuals */
    .thumb-casa    { background-image: url('assets/img/thumbs/casa-residencial-aqua.jpg');    background-size: cover; background-position: center; }
    .thumb-tulum   { background-image: url('assets/img/thumbs/tulum-country-club.jpg');       background-size: cover; background-position: center; }
    .thumb-tienda  { background-image: url('assets/img/thumbs/tienda-todo-inoxidable.jpg');   background-size: cover; background-position: center; }
    .thumb-torno   { background-image: url('assets/img/thumbs/torno-cisneros.jpg');           background-size: cover; background-position: center; }
    .thumb-concierto { background-image: url('assets/img/thumbs/concierto-adanowsky.jpg');    background-size: cover; background-position: center; }
    .thumb-galeria { background-image: url('assets/img/thumbs/galeria-360.jpg'); background-size: cover; background-position: center; }

  /* === CTA FINAL === */
  #cta-final {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    text-align: center; padding: 96px 48px;
  }
  /* ✅ CAMBIO: #cta-final h2 con tipografía display */
  #cta-final h2 {
    font-family: var(--font-display);
    font-size: clamp(36px, 4.5vw, 56px);
    font-weight: 600; letter-spacing: -0.01em;
    color: var(--color-text); margin-bottom: 16px;
    line-height: 1.15;
  }
  #cta-final p {
    font-size: 18px; color: var(--color-muted);
    margin-bottom: 48px;
  }
  .cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

  /* === FOOTER === */
  footer {
    padding: 64px 0 40px; border-top: 1px solid var(--color-border);
  }
  .footer-inner {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px; margin-bottom: 56px;
  }
  .footer-logo {
    margin-bottom: 16px;
  }
  .footer-tagline {
    font-size: 13px; color: var(--color-muted); line-height: 1.6;
    max-width: 280px; margin-bottom: 24px;
  }
  .footer-wa {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; color: var(--color-gold);
    border: 1px solid rgba(212,175,55,0.2);
    padding: 8px 16px;
    transition: border-color 0.2s;
  }
  .footer-wa:hover { border-color: var(--color-gold); }
  .footer-col h4 {
    font-size: 11px; font-weight: 500; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--color-muted);
    margin-bottom: 20px;
  }
  .footer-col ul { list-style: none; }
  .footer-col li { margin-bottom: 10px; }
  .footer-col a {
    font-size: 14px; color: var(--color-muted);
    transition: color 0.2s;
  }
  .footer-col a:hover { color: var(--color-text); }
  .footer-bottom {
    padding-top: 24px; border-top: 1px solid var(--color-border);
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 12px;
  }
  .footer-copy {
    font-size: 12px; color: var(--color-muted);
  }
  .footer-legal { display: flex; gap: 24px; }
  .footer-legal a { font-size: 12px; color: var(--color-muted); transition: color 0.2s; }
  .footer-legal a:hover { color: var(--color-text); }


  /* FAQ SECTION */
.faq-section{
  padding: 120px 0;
  position: relative;
  background:
    radial-gradient(circle at top right,
    rgba(212,175,55,0.05),
    transparent 35%);
}

.faq-header{
  text-align:center;
  max-width:900px;
  margin:0 auto 64px;
}

.faq-intro{
  color:var(--color-muted);
  font-size:15px;
  line-height:1.8;
  max-width:760px;
  margin:24px auto 0;
}

.faq-wrapper{
  max-width:980px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  gap:14px;
}

.faq-item{
  border:1px solid rgba(212,175,55,0.12);
  background:rgba(212,175,55,0.03);
  transition:all .35s ease;
}

.faq-item:hover{
  border-color:rgba(212,175,55,0.35);
  background:rgba(212,175,55,0.05);
}

.faq-question{
  width:100%;
  background:none;
  border:none;
  color:var(--color-text);
  text-align:left;
  padding:28px 32px;
  font-size:16px;
  line-height:1.5;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  font-weight:500;
}

.faq-icon{
  font-size:24px;
  color:var(--color-gold);
  transition:transform .3s ease;
}

.faq-answer{
  max-height:0;
  overflow:hidden;
  transition:max-height .45s ease;
}

.faq-answer p{
  padding:0 32px 28px;
  color:var(--color-muted);
  font-size:14px;
  line-height:1.9;
}

.faq-item.active .faq-answer{
  max-height:400px;
}

.faq-item.active .faq-icon{
  transform:rotate(45deg);
}

@media(max-width:768px){

  .faq-section{
    padding:90px 0;
  }

  .faq-question{
    padding:24px;
    font-size:15px;
  }

  .faq-answer p{
    padding:0 24px 24px;
    font-size:14px;
  }

}

  /* === COTIZADOR MODAL === */
  #cotizador-overlay {
    position: fixed; inset: 0; z-index: 200;
    background: rgba(5,5,5,0.92);
    backdrop-filter: blur(12px);
    display: none; align-items: center; justify-content: center;
    padding: 24px;
  }
  #cotizador-overlay.open { display: flex; }
  .cotizador-card {
    background: var(--color-surface);
    border: 1px solid rgba(212,175,55,0.15);
    width: 100%; max-width: 640px;
    max-height: 90vh; overflow-y: auto;
    padding: 48px;
    position: relative;
    animation: modal-in 0.3s ease;
  }
  @keyframes modal-in {
    from { opacity: 0; transform: scale(0.96) translateY(16px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
  }
  .cotizador-close {
    position: absolute; top: 24px; right: 24px;
    background: none; border: none; cursor: none;
    color: var(--color-muted); font-size: 24px;
    transition: color 0.2s;
    line-height: 1;
  }
  .cotizador-close:hover { color: var(--color-text); }
  .step-progress {
    height: 2px; background: var(--color-border);
    margin-bottom: 32px; position: relative;
  }
  .step-progress-bar {
    position: absolute; top: 0; left: 0; height: 100%;
    background: var(--color-gold);
    transition: width 0.4s ease;
  }
  .step-meta {
    font-size: 11px; font-weight: 500; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--color-muted);
    margin-bottom: 12px;
  }
  .step-title {
    font-size: 26px; font-weight: 600; letter-spacing: -0.02em;
    color: var(--color-text); margin-bottom: 8px;
  }
  .step-subtitle {
    font-size: 14px; color: var(--color-muted); line-height: 1.6;
    margin-bottom: 32px;
  }
  .selection-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 8px; margin-bottom: 32px;
  }
  .selection-card {
    border: 1px solid var(--color-border);
    padding: 16px 12px;
    text-align: center; cursor: none;
    transition: all 0.15s;
    background: transparent;
    color: var(--color-muted); font-size: 13px; font-weight: 500;
    font-family: 'Inter', sans-serif;
  }
  .selection-card:hover {
    border-color: rgba(212,175,55,0.3);
    color: var(--color-text);
    background: rgba(212,175,55,0.04);
  }
  .selection-card.selected {
    border-color: var(--color-gold);
    color: var(--color-text);
    background: rgba(212,175,55,0.08);
  }
  .service-sel-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 10px; margin-bottom: 32px;
  }
  .service-sel-card {
    border: 1px solid var(--color-border);
    padding: 16px 18px;
    display: flex; align-items: center; gap: 14px;
    cursor: none; transition: all 0.15s;
    background: transparent;
    text-align: left;
    font-family: 'Inter', sans-serif;
  }
  .service-sel-card:hover {
    border-color: rgba(212,175,55,0.3);
    background: rgba(212,175,55,0.04);
  }
  .service-sel-card.selected {
    border-color: var(--color-gold);
    background: rgba(212,175,55,0.08);
  }
  .service-sel-card svg {
    flex-shrink: 0; color: var(--color-gold); opacity: 0.7;
  }
  .service-sel-card .svc-name {
    font-size: 13px; font-weight: 500; color: var(--color-text);
    display: block; margin-bottom: 2px;
  }
  .service-sel-card .svc-desc {
    font-size: 11px; color: var(--color-muted);
  }
  .form-group { margin-bottom: 24px; }
  .form-label {
    display: block; font-size: 11px; font-weight: 500;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--color-muted); margin-bottom: 8px;
  }
  .form-input, .form-select {
    width: 100%; background: transparent;
    border: none; border-bottom: 1px solid var(--color-border);
    padding: 10px 0; font-size: 15px; color: var(--color-text);
    font-family: 'Inter', sans-serif; outline: none;
    transition: border-color 0.2s;
  }
  .form-input:focus, .form-select:focus {
    border-color: var(--color-gold);
  }
  .form-input::placeholder { color: #444; }
  .form-select option { background: #111; }
  .step-nav {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 8px;
  }
  .btn-prev {
    background: none; border: none; cursor: none;
    font-size: 13px; font-weight: 500; color: var(--color-muted);
    font-family: 'Inter', sans-serif;
    transition: color 0.2s; padding: 0;
  }
  .btn-prev:hover { color: var(--color-text); }
  .step-dots { display: flex; gap: 6px; }
  .step-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--color-border); transition: background 0.2s;
  }
  .step-dot.active { background: var(--color-gold); }

  /* Success screen */
  .success-screen {
    text-align: center; padding: 32px 0;
    display: none;
  }
  .success-screen.show { display: block; }
  .success-check {
    width: 72px; height: 72px; margin: 0 auto 28px;
    border-radius: 50%; border: 2px solid var(--color-gold);
    display: flex; align-items: center; justify-content: center;
    animation: success-pop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  }
  @keyframes success-pop {
    from { transform: scale(0); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
  }
  .success-title {
    font-size: 28px; font-weight: 600; color: var(--color-text);
    margin-bottom: 16px; letter-spacing: -0.02em;
  }
  .success-sub {
    font-size: 15px; color: var(--color-muted); line-height: 1.75;
    margin-bottom: 36px; max-width: 380px; margin-left: auto; margin-right: auto;
  }

  /* Scroll reveal */
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .reveal.visible { opacity: 1; transform: translateY(0); }
  /* ============================================================
     SECTOR CARDS — Scroll reveal escalonado (stagger)
     Cada tarjeta hereda --i (índice) desde JS y lo usa
     como multiplicador de su delay. Funciona con cualquier
     cantidad de tarjetas, sin tocar el HTML.
     ============================================================ */
  .sector-card {
    opacity: 0;
    transform: translateY(28px);
    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: calc(var(--i, 0) * 90ms);
  }
  .sector-card.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* Respeto a usuarios con preferencia de movimiento reducido */
  @media (prefers-reduced-motion: reduce) {
    .sector-card {
      opacity: 1;
      transform: none;
      transition: none;
    }
  }

  /* === RESPONSIVE === */
  @media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .showcases-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-inner { padding: 0 24px; }
    .hero-content { padding: 48px 24px 40px; }
    .tour-placeholder { 
      width: calc(100% - 48px);
      padding: 0 0 60px; 
    }
    .services-grid { grid-template-columns: 1fr; }
    .showcases-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 36px; }
    .selection-grid { grid-template-columns: repeat(2, 1fr); }
    .service-sel-grid { grid-template-columns: 1fr; }
    .cotizador-card { padding: 32px 24px; }
    #cta-final { padding: 72px 24px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .hero-aura, .light-line, .play-circle::before, #hero-flares,
    .hero-eyebrow, h1.hero-title, .hero-subtitle, .hero-ctas, .tour-placeholder,
    .reveal { animation: none !important; transition: none !important;
      opacity: 1 !important; transform: none !important; }
  }

  /* ✅ CAMBIO: h2.section-h2 con tipografía display */
  h2.section-h2 {
    font-family: var(--font-display);
    font-size: clamp(36px, 4vw, 54px);
    font-weight: 600; letter-spacing: -0.01em;
    color: var(--color-text); max-width: 640px;
    line-height: 1.1;
  }
  h3.card-h3 {
    font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
    text-transform: uppercase; color: var(--color-gold);
  }

  /* Mobile nav toggle */
  .hamburger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: none; padding: 4px;
  }
  .hamburger span {
    display: block; width: 24px; height: 1.5px;
    background: var(--color-text); transition: all 0.3s;
  }
  @media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-cta { display: none; }
  }
  .mobile-nav {
    position: fixed; top: 72px; left: 0; right: 0;
    background: rgba(5,5,5,0.98);
    border-bottom: 1px solid var(--color-border);
    padding: 24px;
    transform: translateY(-100%); opacity: 0;
    transition: all 0.3s ease;
    z-index: 90;
  }
  .mobile-nav.open { transform: translateY(0); opacity: 1; }
  .mobile-nav a {
    display: block; padding: 14px 0;
    font-size: 15px; color: var(--color-muted);
    border-bottom: 1px solid var(--color-border);
    transition: color 0.2s;
  }
  .mobile-nav a:last-child { border-bottom: none; }
  .mobile-nav a:hover { color: var(--color-text); }
  /* =========================================
     ARREGLO: TÍTULO ANIMADO (SIN DESFASE Y MÓVIL)
  ========================================= */
  .filosofia-title {
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1.1;
  }

  .animated-word {
    display: inline-block;
    width: 4.8em; /* Ancho fijo relativo al font-size para que las palabras no empujen el layout */
    text-align: right; /* Mantiene la palabra pegada a "Digital" */
    margin-right: 0.25em; /* Espaciado sutil */
    transition: opacity 0.35s ease, transform 0.35s ease;
  }

  .static-phrase {
    display: inline-block;
    white-space: nowrap; /* Evita que "Digital con LUM360" se rompa en dos líneas */
    text-align: left;
  }

  @media (max-width: 768px) {
    .filosofia-title {
      flex-direction: column; /* Apila "Soberanía" arriba y la frase abajo */
      line-height: 1.25;
    }
    .animated-word {
      width: 100%;
      text-align: center;
      margin-right: 0;
      margin-bottom: 4px;
    }
    .static-phrase {
      text-align: center;
    }
  }
  
  .count-up { display: inline-block; color: inherit; font: inherit; }
  .stats-banner.reveal { opacity: 0; transition: opacity 0.6s ease-out, transform 0.6s ease-out; transform: translateY(20px); }
  .stats-banner.reveal.active { opacity: 1; transform: translateY(0); }

/* === BLOCK 2: Card-in keyframe (sector section) === */
@keyframes card-in {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .sector-canvas { display: block; width: 80px; height: 64px; }

/* === BLOCK 3: Filosofía / lum-breathe / pd-grid === */
@keyframes lum-breathe {
  0%, 100% { color: #C9A227; text-shadow: 0 0 8px rgba(212,175,55,0), 0 0 0px rgba(255,220,100,0); letter-spacing: 0.04em; }
  40% { color: #F5DC7A; text-shadow: 0 0 18px rgba(212,175,55,0.55), 0 0 38px rgba(212,175,55,0.2), 0 0 70px rgba(212,175,55,0.08); letter-spacing: 0.055em; }
  55% { color: #EDD063; text-shadow: 0 0 22px rgba(212,175,55,0.45), 0 0 48px rgba(212,175,55,0.15), 0 0 80px rgba(212,175,55,0.06); letter-spacing: 0.055em; }
}

@keyframes word-up {
  0%   { opacity: 0; transform: translateY(12px); }
  15%  { opacity: 1; transform: translateY(0); }
  80%  { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-10px); }
}

.pd-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--color-border);
  border: 1px solid var(--color-border);
  max-width: 900px; margin: 0 auto;
}
.pd-card { background: var(--color-bg); padding: 48px 40px; position: relative; transition: background 0.25s ease; }
.pd-card:hover { background: var(--color-surface); }
.pd-card-featured { background: var(--color-surface); border-left: 1px solid rgba(212,175,55,0.15); }
.pd-card-featured::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(212,175,55,0.5), transparent); }
.pd-icon { color: var(--color-gold); opacity: 0.7; margin-bottom: 24px; }
.pd-tag { font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-muted); margin-bottom: 12px; }
.pd-tag-gold { color: var(--color-gold); }
/* ✅ CAMBIO: .pd-title con font-display */
.pd-title { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--color-text); letter-spacing: 0.01em; margin-bottom: 6px; line-height: 1.25; }
.pd-sub { font-size: 12px; color: var(--color-muted); letter-spacing: 0.04em; margin-bottom: 20px; }
.pd-desc { font-size: 14px; color: var(--color-muted); line-height: 1.7; margin-bottom: 0; }
.pd-divider { height: 1px; background: var(--color-border); margin: 28px 0; }
.pd-cost-label { font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-muted); margin-bottom: 8px; }
.pd-cost { font-size: 20px; font-weight: 600; color: var(--color-text); letter-spacing: -0.01em; margin-bottom: 6px; }
.pd-cost-gold { background: linear-gradient(135deg, #F5D87A, #D4AF37, #B8922A); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.pd-cost-sub { font-size: 12px; color: var(--color-muted); line-height: 1.6; }
.pd-more {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(212,175,55,0.10);
}
.pd-more summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  cursor: pointer;
  color: var(--color-gold);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
  opacity: 0.78;
  transition: opacity .22s ease, color .22s ease;
  -webkit-tap-highlight-color: transparent;
}
.pd-more summary::-webkit-details-marker { display: none; }
.pd-more summary::after {
  content: '+';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border: 1px solid rgba(212,175,55,0.26);
  border-radius: 50%;
  color: var(--color-gold);
  font-size: 14px;
  font-weight: 300;
  line-height: 1;
  transition: transform .24s ease, border-color .24s ease, background .24s ease;
}
.pd-more summary:hover,
.pd-more summary:focus-visible {
  opacity: 1;
  color: #F5D87A;
  outline: none;
}
.pd-more summary:hover::after,
.pd-more summary:focus-visible::after {
  border-color: rgba(245,216,122,0.62);
  background: rgba(212,175,55,0.05);
}
.pd-more[open] summary::after {
  transform: rotate(45deg);
}
.pd-more-content {
  margin-top: 14px;
  animation: pd-more-in .26s ease both;
}
.pd-more-content .pd-cost-sub + .pd-cost-sub { margin-top: 8px; }
@keyframes pd-more-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 768px) {
  .pd-grid { grid-template-columns: 1fr; }
  .pd-card { padding: 36px 24px; }
  .pd-card-featured { border-left: none; border-top: 1px solid rgba(212,175,55,0.15); }
}

/* === BLOCK 4: Shimmer, gold-line pulse, cursor-burst, cta-breathe === */
/* ── SHIMMER en cards de servicios ── */
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(105deg, transparent 20%, rgba(212,175,55,0.06) 50%, transparent 80%);
  transition: left 0.6s ease;
  pointer-events: none;
  z-index: 1;
}
.service-card:hover::before { left: 160%; }
.showcase-card::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent 20%, rgba(212,175,55,0.07) 50%, transparent 80%);
  transition: left 0.7s ease;
  pointer-events: none;
  z-index: 1;
}
.showcase-card:hover::before { left: 160%; }
.btn-gold.outline:hover { box-shadow: 0 0 18px rgba(212,175,55,0.18), inset 0 0 12px rgba(212,175,55,0.05); }
.section-label { animation: label-shimmer 3s ease-in-out infinite; }
@keyframes label-shimmer { 0%, 100% { opacity: 1; } 50% { opacity: 0.65; } }
.gold-line { animation: line-pulse 4s ease-in-out infinite; }
@keyframes line-pulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 0.55; } }
@keyframes click-burst { 0% { transform: translate(-50%,-50%) scale(0); opacity: 0.8; } 100% { transform: translate(-50%,-50%) scale(3.5); opacity: 0; } }
.cursor-burst { position: fixed; width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(212,175,55,0.7); pointer-events: none; z-index: 9997; animation: click-burst 0.5s ease-out forwards; }
.section-h2 { position: relative; }
.section-h2::after { content: ''; position: absolute; bottom: -8px; left: 0; height: 1px; width: 0; background: linear-gradient(90deg, var(--color-gold), transparent); transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal.visible .section-h2::after { width: 80px; transition-delay: 0.4s; }
.footer-logo img { filter: drop-shadow(0 0 0px rgba(212,175,55,0)); transition: filter 0.4s ease; }
.footer-logo:hover img { filter: drop-shadow(0 0 8px rgba(212,175,55,0.35)); }
.nav-logo img { transition: filter 0.3s ease; }
.nav-logo:hover img { filter: drop-shadow(0 0 6px rgba(212,175,55,0.4)); }
.showcase-tag { animation: tag-flicker 6s ease-in-out infinite; }
@keyframes tag-flicker { 0%, 90%, 100% { opacity: 1; } 92% { opacity: 0.6; } 94% { opacity: 1; } 96% { opacity: 0.7; } }
.tour-badge { animation: badge-glow 3s ease-in-out infinite; }
@keyframes badge-glow { 0%, 100% { box-shadow: 0 0 0px rgba(212,175,55,0); } 50% { box-shadow: 0 0 10px rgba(212,175,55,0.2); } }
.footer-wa:hover { box-shadow: 0 0 14px rgba(212,175,55,0.15); }
#cta-final { position: relative; overflow: hidden; }
#cta-final::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 600px; height: 300px; background: radial-gradient(ellipse, rgba(212,175,55,0.06) 0%, transparent 70%); pointer-events: none; animation: cta-breathe 5s ease-in-out infinite; }
@keyframes cta-breathe { 0%, 100% { opacity: 0.5; transform: translate(-50%,-50%) scale(1); } 50% { opacity: 1; transform: translate(-50%,-50%) scale(1.15); } }

/* ================================================================
   SECTOR CARDS — Expandable cards with animated chevron indicator
   ================================================================ */

.sc-card {
  background: rgba(212,175,55,0.04);
  border: 1px solid rgba(212,175,55,0.12);
  padding: 28px 24px 20px;
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  outline: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  /* Merge scroll-reveal transitions (opacity, transform) with hover transitions */
  transition-property: opacity, transform, border-color, background, box-shadow;
  transition-duration: 0.7s, 0.7s, 0.28s, 0.28s, 0.28s;
  transition-timing-function:
    cubic-bezier(0.22, 1, 0.36, 1), cubic-bezier(0.22, 1, 0.36, 1),
    ease, ease, ease;
  transition-delay: calc(var(--i, 0) * 90ms), calc(var(--i, 0) * 90ms), 0s, 0s, 0s;
}

.sc-card:hover {
  border-color: rgba(212,175,55,0.42);
  background: rgba(212,175,55,0.08);
  box-shadow: 0 0 28px rgba(212,175,55,0.07);
}

.sc-card[aria-expanded="true"] {
  border-color: rgba(212,175,55,0.38);
  background: rgba(212,175,55,0.07);
}

.sc-card:focus-visible {
  box-shadow: 0 0 0 2px rgba(212,175,55,0.5), 0 0 24px rgba(212,175,55,0.07);
  outline: none;
}

/* Top gold accent line — appears when expanded */
.sc-card::after {
  content: '';
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.6), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.sc-card[aria-expanded="true"]::after {
  opacity: 1;
}

/* Canvas wrapper */
.sc-canvas-wrap { margin-bottom: 18px; }

/* Card title */
.sc-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 10px;
  line-height: 1.2;
}

/* Gold keyword */
.sc-keyword { color: var(--color-gold); }

/* Always-visible preview text */
.sc-preview {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.65;
  margin: 0;
}

.sc-preview strong {
  color: rgba(212,175,55,0.9);
  font-weight: 600;
}

/* Expandable body — hidden by default */
.sc-expand-body {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition:
    max-height 0.44s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.34s ease;
  will-change: max-height, opacity;
}

.sc-card[aria-expanded="true"] .sc-expand-body {
  max-height: 220px;
  opacity: 1;
}

.sc-expand-body p {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.65;
  padding-top: 10px;
  margin: 0;
  border-top: 1px solid rgba(212,175,55,0.08);
  margin-top: 10px;
}

/* Chevron indicator */
.sc-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  color: rgba(212,175,55,0.32);
  transition:
    color 0.25s ease,
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sc-card:hover .sc-chevron,
.sc-card:focus-visible .sc-chevron {
  color: rgba(212,175,55,0.72);
}

.sc-card[aria-expanded="true"] .sc-chevron {
  transform: rotate(180deg);
  color: var(--color-gold);
}

/* Subtle bob hint to signal interactivity */
.sc-chevron svg {
  display: block;
  animation: sc-bob 2.6s ease-in-out infinite;
}

.sc-card[aria-expanded="true"] .sc-chevron svg {
  animation: none;
}

@keyframes sc-bob {
  0%, 55%, 100% { transform: translateY(0); }
  75% { transform: translateY(4px); }
}

/* Touch devices — ensure 44px min tap height compliant with WCAG */
@media (hover: none) and (pointer: coarse) {
  .sc-chevron { margin-top: 22px; }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .sc-expand-body { transition: none; }
  .sc-chevron { transition: transform 0.15s ease, color 0.15s ease; }
  .sc-chevron svg { animation: none; }
  .sc-card { transition-property: opacity, transform, border-color, background; transition-duration: 0s, 0s, 0.15s, 0.15s; }
}

/* ================================================================
   SECTOR CARDS — Mobile accordion compact premium state
   En celular la tarjeta colapsada muestra únicamente canvas + título.
   Al tocar, despliega el texto con contraste y jerarquía visual.
   ================================================================ */
@media (max-width: 768px) {
  .sector-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin-bottom: 48px !important;
  }

  .sc-card {
    min-height: 122px;
    padding: 22px 54px 22px 20px;
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    background:
      linear-gradient(135deg, rgba(212,175,55,0.075), rgba(255,255,255,0.018)),
      rgba(10,10,10,0.86);
    border-color: rgba(212,175,55,0.16);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.035);
  }

  .sc-card[aria-expanded="true"] {
    align-items: start;
    background:
      linear-gradient(145deg, rgba(212,175,55,0.105), rgba(255,255,255,0.02)),
      rgba(10,10,10,0.94);
    border-color: rgba(212,175,55,0.34);
    box-shadow:
      0 18px 42px rgba(0,0,0,0.32),
      0 0 24px rgba(212,175,55,0.06),
      inset 0 1px 0 rgba(255,255,255,0.045);
  }

  .sc-canvas-wrap {
    width: 74px;
    height: 60px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(212,175,55,0.10), transparent 68%);
  }

  .sector-canvas {
    width: 74px;
    height: 60px;
    display: block;
  }

  .sc-title {
    margin: 0;
    font-size: clamp(20px, 5.7vw, 25px);
    line-height: 1.08;
    letter-spacing: -0.01em;
  }

  .sc-preview,
  .sc-expand-body {
    grid-column: 1 / -1;
  }

  .sc-card:not([aria-expanded="true"]) .sc-preview,
  .sc-card:not([aria-expanded="true"]) .sc-expand-body {
    display: none;
  }

  .sc-card[aria-expanded="true"] .sc-preview {
    display: block;
    margin-top: 4px;
    padding-top: 16px;
    border-top: 1px solid rgba(212,175,55,0.10);
    color: rgba(255,255,255,0.74);
    font-size: 13px;
    line-height: 1.65;
  }

  .sc-card[aria-expanded="true"] .sc-expand-body {
    display: block;
  }

  .sc-expand-body p {
    border-top: 0;
    margin-top: 0;
    padding-top: 10px;
    color: rgba(255,255,255,0.64);
  }

  .sc-chevron {
    position: absolute;
    right: 20px;
    top: 50%;
    margin-top: 0;
    transform: translateY(-50%);
    color: rgba(212,175,55,0.58);
  }

  .sc-card[aria-expanded="true"] .sc-chevron {
    top: 26px;
    transform: rotate(180deg);
    color: var(--color-gold);
  }
}

@media (max-width: 480px) {
  .sc-card {
    grid-template-columns: 64px minmax(0, 1fr);
    min-height: 112px;
    padding: 20px 48px 20px 18px;
    gap: 14px;
  }

  .sc-canvas-wrap,
  .sector-canvas {
    width: 64px;
    height: 54px;
  }

  .sc-title {
    font-size: clamp(19px, 6vw, 23px);
  }
}

/* === LUM360 audit refinements: UX/UI, mobile typography and performance-safe states === */
:root {
  --font-step--1: clamp(0.78rem, 0.72rem + 0.22vw, 0.88rem);
  --font-step-0: clamp(0.94rem, 0.89rem + 0.25vw, 1.06rem);
  --font-step-1: clamp(1.18rem, 1.06rem + 0.55vw, 1.52rem);
  --font-step-2: clamp(1.55rem, 1.24rem + 1.12vw, 2.15rem);
}

.btn-gold:focus-visible,
.nav-links a:focus-visible,
.mobile-nav a:focus-visible,
.service-card:focus-visible,
.showcase-card:focus-visible,
.footer-col a:focus-visible,
.footer-wa:focus-visible {
  outline: 2px solid rgba(212,175,55,0.72);
  outline-offset: 4px;
}

.stats-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.15vw, 40px);
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 10px 0;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.stats-grid { align-items: start; }
.stats-item { min-width: 0; }
.stats-value {
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 8px;
  line-height: 1;
  letter-spacing: -0.015em;
}
.stats-copy {
  font-size: clamp(12px, 1.05vw, 13.5px);
  color: var(--color-muted);
  margin: 0;
  line-height: 1.62;
}

.mobile-nav {
  max-height: calc(100dvh - 72px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

@media (max-width: 768px) {
  .section { padding: 82px 0; }
  h2.section-h2 {
    font-size: clamp(31px, 8.2vw, 42px);
    line-height: 1.12;
    max-width: 100%;
  }
  .section-label {
    font-size: 10px;
    letter-spacing: 0.11em;
    margin-bottom: 16px;
  }
  .hero-subtitle {
    font-size: clamp(15px, 4.1vw, 17px);
    line-height: 1.68;
    margin-bottom: 36px;
  }
  .hero-ctas .btn-gold {
    width: 100%;
    min-height: 48px;
  }
  .tour-demo-notice {
    align-items: stretch;
  }
  .tour-demo-notice .btn-gold {
    width: 100%;
  }
  .showcases-footer {
    align-items: flex-start;
    justify-content: flex-start;
  }
  .showcases-footer .btn-gold {
    width: 100%;
  }
  .stats-title {
    font-size: clamp(28px, 8vw, 36px);
  }
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 26px 18px !important;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .tour-placeholder { width: calc(100% - 32px); }
  .btn-gold { padding: 13px 22px; letter-spacing: 0.045em; }
  .stats-grid { grid-template-columns: 1fr !important; }
  .stats-value { font-size: 40px; }
}

@media (hover: none), (pointer: coarse) {
  #cursor-dot,
  #cursor-ring,
  #cursor-label { display: none; }
  .btn-gold,
  .showcase-card,
  .service-card,
  .selection-card,
  .service-sel-card,
  .hamburger,
  .cotizador-close,
  .btn-prev { cursor: pointer; }
}


/* === LUM360 refinements: subtle destination links + hosting accordions === */
@media (max-width: 768px) {
  .showcases-footer {
    align-items: flex-start;
  }

  .showcase-destination-links {
    display: block;
  }

  .showcase-destination-links a {
    display: inline-block;
    margin: 4px 6px 0 0;
  }

  .pd-more summary {
    font-size: 10px;
    letter-spacing: 0.1em;
  }
}
