/* ─── HERO ─── */
  #hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(10,8,6,0.52) 0%, rgba(10,8,6,0.28) 40%, rgba(10,8,6,0.62) 100%),
      url('../img/hero.jpg') center center / cover no-repeat;
    will-change: transform;
    transform: translateY(0px) scale(1.12);
    transform-origin: center center;
  }

  .hero-lines {
    position: absolute;
    inset: -20%;
    background-image:
      linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 80%);
    will-change: transform;
    transform: translateY(0px);
  }

  .hero-content {
    position: relative;
    text-align: center;
    z-index: 2;
    padding: 0 2rem;
    animation: fadeUp 1.2s ease forwards;
    opacity: 0;
    transform: translateY(30px);
  }

  @keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
  }

  .hero-eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 2rem;
  }

  .hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 300;
    line-height: 0.95;
    color: var(--white);
    margin-bottom: 0.3rem;
  }

  .hero-title em {
    font-style: italic;
    color: var(--gold);
  }

  .hero-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 300;
    font-style: italic;
    color: var(--white);
    margin-bottom: 3rem;
    text-shadow: 0 2px 12px rgba(10,8,6,0.9), 0 1px 4px rgba(10,8,6,0.8);
  }

  .hero-phrase {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 3rem;
    line-height: 1.8;
  }

  .hero-phrase span {
    color: var(--gold);
    font-style: italic;
  }

  .btn-primary {
    display: inline-block;
    padding: 0.9rem 3rem;
    border: 1px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
  }

  .btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
    z-index: -1;
  }

  .btn-primary:hover {
    color: var(--black);
  }

  .btn-primary:hover::before {
    transform: scaleX(1);
  }

  .scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: bounce 2s infinite;
  }

  @keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
  }

  .scroll-indicator::after {
    content: '';
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--gold) 0%, transparent 100%);
    display: block;
  }

  /* ─── HISTORIA ─── */
  #historia {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
  }

  .historia-text p {
    font-size: 0.9rem;
    line-height: 1.9;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
  }

  .historia-text p strong {
    color: var(--text);
    font-weight: 500;
  }

  .historia-quote {
    border-left: 2px solid var(--gold);
    padding: 1.5rem 2rem;
    margin: 2.5rem 0;
    background: rgba(201,168,76,0.04);
  }

  /* Specificity raised — no !important needed */
  section#historia .historia-quote p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-style: italic;
    color: var(--gold-light);
    line-height: 1.6;
    margin: 0;
  }

  .historia-visual {
    position: relative;
  }

  .pilares-grid {
    display: grid;
    gap: 1.5rem;
  }

  .pilar {
    padding: 1.8rem;
    border: 1px solid rgba(201,168,76,0.15);
    background: rgba(201,168,76,0.03);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
  }

  .pilar::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px;
    height: 0;
    background: var(--gold);
    transition: height 0.4s;
  }

  .pilar:hover::before { height: 100%; }
  .pilar:hover {
    border-color: rgba(201,168,76,0.35);
    background: rgba(201,168,76,0.06);
  }

  .pilar-icon {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
  }

  .pilar h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: var(--gold-light);
    margin-bottom: 0.5rem;
  }

  .pilar p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.7;
  }

  /* ─── EXPERIENCIAS ─── */
  #experiencias { background: var(--dark); }

  .exp-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 2.5rem;
    border-top: 1px solid rgba(201,168,76,0.15);
  }

  .exp-card {
    display: grid;
    grid-template-columns: 3.5rem 1fr auto;
    align-items: center;
    gap: 0 2.5rem;
    padding: 1.8rem 0;
    border-bottom: 1px solid rgba(201,168,76,0.2);
    border-left: 3px solid transparent;
    cursor: default;
    transition: background var(--transition-base), padding var(--transition-base), border-left-color var(--transition-base);
    position: relative;
  }
  .exp-card:hover {
    border-left-color: rgba(201,168,76,0.6);
  }
  .exp-card:hover {
    background: rgba(201,168,76,0.03);
    padding-left: 1rem;
    padding-right: 1rem;
    margin: 0 -1rem;
  }
  .exp-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
  }
  .exp-card-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }
  .exp-card-bottles {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: 0.25rem;
  }
  .exp-card-right {
    text-align: right;
    flex-shrink: 0;
    min-width: 120px;
  }

  .exp-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201,168,76,0.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
  }

  .exp-card:hover::after { opacity: 1; }
  .exp-card:hover { transform: translateY(-4px); }

  .exp-number {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: rgba(201,168,76,0.65);
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0.05em;
    align-self: start;
    padding-top: 0.15rem;
  }

  .exp-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0.8rem;
  }

  .exp-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
  }

  .exp-price {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
    display: block;
    margin-bottom: 0.3rem;
  }
  .exp-shots {
    font-size: 0.6rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .exp-tag {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    border: 1px solid rgba(201,168,76,0.25);
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    color: rgba(201,168,76,0.7);
    text-transform: uppercase;
    border-radius: 20px;
  }

  /* ─── MENU / CARTA ─── */
  #menu { background: var(--black); }

  .menu-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 4rem;
    border-bottom: 1px solid rgba(201,168,76,0.15);
  }

  .menu-tab {
    padding: 1rem 2rem;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-base);
    border-bottom: 2px solid transparent;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
  }

  .menu-tab.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
  }

  .menu-panel {
    display: block;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    width: 100%;
    transition: opacity 0.3s ease;
    transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .menu-panel.active {
    opacity: 1;
    pointer-events: all;
    position: relative;
    transform: translateY(0);
  }
  /* Wrap panels in relative container */
  .menu-panels-wrap {
    position: relative;
    min-height: 200px;
  }
  .menu-panel.active { display: block; }

  .menu-category {
    margin-bottom: 3rem;
  }

  .menu-category h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--gold-light);
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(201,168,76,0.1);
  }

  .menu-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    gap: 1rem;
  }

  .menu-item:last-child { border-bottom: none; }

  .menu-item-info h4 {
    font-size: 0.85rem;
    color: var(--text);
    font-weight: 400;
    margin-bottom: 0.2rem;
  }

  .menu-item-info p {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-style: italic;
  }

  .menu-item-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    color: var(--gold);
    white-space: nowrap;
  }

  .menu-note {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 2rem;
    padding: 1rem;
    border: 1px solid rgba(201,168,76,0.1);
    text-align: center;
  }

  /* ─── VIDEOS ─── */
  #videos { background: var(--dark); }

  .videos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    margin-top: 4rem;
  }

  .video-wrapper {
    position: relative;
    aspect-ratio: 16/9;
    background: var(--dark-2);
    overflow: hidden;
  }

  .video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
  }

  .video-label {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 0.8rem 1rem;
    background: linear-gradient(0deg, rgba(10,8,6,0.9) 0%, transparent 100%);
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
  }

  .video-featured {
    grid-column: 1 / -1;
    aspect-ratio: 16/6;
  }

  /* ─── GALERÍA ─── */
  #galeria { background: var(--black); }

  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 260px);
    gap: 4px;
    margin-top: 4rem;
  }
  /* Editorial sizing — some photos span 2 columns or 2 rows */
  .gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
  }
  .gallery-item:nth-child(5) {
    grid-column: span 2;
  }
  .gallery-item:nth-child(9) {
    grid-column: span 2;
    grid-row: span 2;
  }

  .gallery-item {
    position: relative;
    overflow: hidden;
    background: var(--dark-3);
    cursor: pointer;
  }
  .gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10,8,6,0);
    transition: background 0.4s ease;
  }
  .gallery-item:hover::after,
  .gallery-item:active::after {
    background: rgba(10,8,6,0.28);
  }

  .gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: unset;
    min-height: 400px;
  }

  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
    display: block;
  }
  .gallery-item:hover img,
  .gallery-item:active img {
    transform: scale(1.06);
  }

  .gallery-item:hover img { transform: scale(1.06); }

  .gallery-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark-2), var(--dark-3));
    border: 1px dashed rgba(201,168,76,0.2);
    color: var(--text-muted);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    padding: 1rem;
  }

  .gallery-placeholder span {
    font-size: 2rem;
    opacity: 0.3;
  }

  .gallery-upload-note {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
  }

  /* ─── UBICACIÓN ─── */
  #ubicacion { background: var(--dark); }

  .ubicacion-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
  }

  .map-placeholder {
    aspect-ratio: 4/3;
    background: var(--dark-2);
    border: 1px solid rgba(201,168,76,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }

  .map-placeholder iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(100%) invert(92%) hue-rotate(180deg);
    opacity: 0.7;
  }

  .ubicacion-info h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 1.5rem;
  }

  .info-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
  }

  .info-icon {
    color: var(--gold);
    font-size: 1rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
  }

  .info-row p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.7;
  }

  .info-row strong {
    color: var(--text);
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 0.2rem;
  }

  /* ─── YOUTUBE THUMBNAIL PLAYER ─── */
  .yt-thumb {
    cursor: pointer;
    position: relative;
  }
  .yt-thumb img {
    transition: filter 0.3s;
  }
  .yt-thumb:hover img {
    filter: brightness(0.75);
  }
  .yt-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.2s, opacity 0.2s;
    filter: drop-shadow(0 4px 16px rgba(0,0,0,0.5));
    z-index: 2;
  }
  .yt-thumb:hover .yt-play-btn {
    transform: translate(-50%, -50%) scale(1.12);
  }

  /* ─── YT CARD HOVER ─── */
  .yt-card:hover img { transform: scale(1.04); filter: brightness(0.8); }
  .yt-card:hover svg { transform: scale(1.15); }

  /* ─── RESPONSIVE ─── */
  

  /* ═══════════════════════════════════════════════════ */
  /* SCROLL REVEAL — Intersection Observer Animations    */
  /* ═══════════════════════════════════════════════════ */

  /* Base hidden state — applied via JS */
  .sr-hidden {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1),
                transform 0.65s cubic-bezier(0.22,1,0.36,1);
  }
  .sr-hidden.sr-left {
    transform: translateX(-30px);
  }
  .sr-hidden.sr-right {
    transform: translateX(30px);
  }
  .sr-hidden.sr-scale {
    transform: scale(0.94) translateY(16px);
  }
  .sr-hidden.sr-fade {
    transform: none;
  }

  /* Visible state — !important intentional: must override animation keyframe states */
  .sr-visible {
    opacity: 1 !important;
    transform: none !important;
  }

  /* Stagger delays for grid children */
  .sr-stagger > *:nth-child(1)  { transition-delay: 0.00s; }
  .sr-stagger > *:nth-child(2)  { transition-delay: 0.07s; }
  .sr-stagger > *:nth-child(3)  { transition-delay: 0.14s; }
  .sr-stagger > *:nth-child(4)  { transition-delay: 0.21s; }
  .sr-stagger > *:nth-child(5)  { transition-delay: 0.28s; }
  .sr-stagger > *:nth-child(6)  { transition-delay: 0.35s; }
  .sr-stagger > *:nth-child(7)  { transition-delay: 0.42s; }
  .sr-stagger > *:nth-child(8)  { transition-delay: 0.49s; }
  .sr-stagger > *:nth-child(9)  { transition-delay: 0.56s; }
  .sr-stagger > *:nth-child(10) { transition-delay: 0.63s; }
  .sr-stagger > *:nth-child(11) { transition-delay: 0.70s; }
  .sr-stagger > *:nth-child(12) { transition-delay: 0.77s; }

  /* Line reveal — golden divider grows */
  .sr-line {
    width: 0 !important;
    transition: width 0.9s cubic-bezier(0.22,1,0.36,1) !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .sr-line.sr-visible {
    width: 60px !important;
  }

  /* Respect reduced-motion preference */
  


  /* ═══════════════════════════════════════════════════ */
  /* CURSOR PERSONALIZADO — Premium Gold                 */
  /* ═══════════════════════════════════════════════════ */
  * { cursor: none !important; } /* intentional global cursor reset for custom cursor */

  #cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: #C9A84C;
    border-radius: 50%;
    pointer-events: none;
    z-index: 999999;
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease, background 0.2s ease, opacity 0.2s ease;
    will-change: transform;
  }

  #cursor-ring {
    position: fixed;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(201,168,76,0.6);
    border-radius: 50%;
    pointer-events: none;
    z-index: 999998;
    transform: translate(-50%, -50%);
    transition: width 0.35s cubic-bezier(0.22,1,0.36,1),
                height 0.35s cubic-bezier(0.22,1,0.36,1),
                border-color 0.25s ease,
                opacity 0.25s ease;
    will-change: transform;
  }

  /* Hover sobre links y botones — cursor se expande */
  body.cursor-hover #cursor-dot {
    width: 4px;
    height: 4px;
    background: #fff;
    opacity: 0.9;
  }
  body.cursor-hover #cursor-ring {
    width: 48px;
    height: 48px;
    border-color: rgba(201,168,76,0.9);
    border-width: 1.5px;
  }

  /* Hover sobre imágenes — ring cambia a blanco */
  body.cursor-image #cursor-dot {
    background: #fff;
    width: 5px;
    height: 5px;
  }
  body.cursor-image #cursor-ring {
    width: 44px;
    height: 44px;
    border-color: rgba(255,255,255,0.5);
  }

  /* Click — comprime */
  body.cursor-click #cursor-dot {
    width: 10px;
    height: 10px;
    background: #C9A84C;
  }
  body.cursor-click #cursor-ring {
    width: 22px;
    height: 22px;
    border-color: rgba(201,168,76,1);
  }

  /* Ocultar cuando sale del viewport */
  body.cursor-outside #cursor-dot,
  body.cursor-outside #cursor-ring {
    opacity: 0;
  }

  /* No aplicar en touch/móvil */
  


  /* ═══════════════════════════════════════════════════ */
  /* PRELOADER                                           */
  /* ═══════════════════════════════════════════════════ */
  #preloader {
    position: fixed;
    inset: 0;
    z-index: 999997;
    background: #0A0806;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1),
                transform 0.7s cubic-bezier(0.22,1,0.36,1);
  }
  #preloader.pl-hide {
    opacity: 0;
    transform: scale(1.04);
    pointer-events: none;
  }

  /* Top + bottom gold lines that grow inward */
  #preloader::before,
  #preloader::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(201,168,76,0.5), transparent);
    width: 0;
    transition: width 0.9s cubic-bezier(0.22,1,0.36,1) 0.2s;
  }
  #preloader::before { top: 0; }
  #preloader::after  { bottom: 0; }
  #preloader.pl-ready::before,
  #preloader.pl-ready::after {
    width: 100%;
  }

  .pl-logo-wrap {
    text-align: center;
    position: relative;
  }

  /* Rotating outer ring */
  .pl-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 130px;
    height: 130px;
    margin: -65px 0 0 -65px;
    border-radius: 50%;
    border: 1px solid transparent;
    border-top-color: rgba(201,168,76,0.7);
    border-right-color: rgba(201,168,76,0.2);
    animation: pl-spin 1.6s linear infinite;
  }
  .pl-ring-2 {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 110px;
    height: 110px;
    margin: -55px 0 0 -55px;
    border-radius: 50%;
    border: 1px solid transparent;
    border-bottom-color: rgba(201,168,76,0.4);
    animation: pl-spin 2.2s linear infinite reverse;
  }

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

  .pl-eyebrow {
    font-size: 0.48rem;
    letter-spacing: 0.45em;
    text-transform: uppercase;
    color: rgba(201,168,76,0.5);
    margin-bottom: 0.6rem;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
  }
  .pl-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.8rem, 6vw, 4.2rem);
    font-weight: 300;
    color: #fff;
    letter-spacing: 0.08em;
    line-height: 1;
    margin: 0 0 0.2rem;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.7s ease 0.5s, transform 0.7s ease 0.5s;
  }
  .pl-subtitle {
    font-size: 0.55rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(201,168,76,0.6);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.6s ease 0.75s, transform 0.6s ease 0.75s;
  }

  /* Gold divider line */
  .pl-line {
    width: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #C9A84C, transparent);
    margin: 1.2rem auto;
    transition: width 0.8s cubic-bezier(0.22,1,0.36,1) 0.6s;
  }

  /* Progress bar */
  .pl-progress {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background: rgba(255,255,255,0.06);
    overflow: hidden;
  }
  .pl-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, rgba(201,168,76,0.4), #C9A84C);
    transition: width 0.1s linear;
  }

  /* Trigger visible states */
  #preloader.pl-ready .pl-eyebrow,
  #preloader.pl-ready .pl-title,
  #preloader.pl-ready .pl-subtitle {
    opacity: 1;
    transform: translateY(0);
  }
  #preloader.pl-ready .pl-line {
    width: 80px;
  }


  /* ═══════════════════════════════════════════════════ */
  /* HAMBURGER + MOBILE MENU                             */
  /* ═══════════════════════════════════════════════════ */

  /* Hamburger button — hidden on desktop */
  .hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    padding: 0;
    z-index: 10002;
    position: relative;
  }

  .ham-line {
    display: block;
    height: 1px;
    background: var(--gold);
    border-radius: 1px;
    transition: transform 0.4s cubic-bezier(0.22,1,0.36,1),
                opacity 0.3s ease,
                width 0.3s ease;
  }
  .ham-line-1 { width: 24px; }
  .ham-line-2 { width: 32px; }
  .ham-line-3 { width: 18px; }

  /* Animated state — X */
  .hamburger.is-open .ham-line-1 {
    transform: translateY(6px) rotate(45deg);
    width: 28px;
  }
  .hamburger.is-open .ham-line-2 {
    opacity: 0;
    transform: scaleX(0);
  }
  .hamburger.is-open .ham-line-3 {
    transform: translateY(-6px) rotate(-45deg);
    width: 28px;
  }

  /* Mobile overlay menu */
  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 10001;
    background: rgba(10,8,6,0.0);
    pointer-events: none;
    transition: background 0.4s ease;
  }
  .mobile-menu.is-open {
    background: rgba(10,8,6,0.96);
    pointer-events: all;
  }

  .mobile-menu-inner {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: min(85vw, 360px);
    background: #0D0B08;
    border-left: 1px solid rgba(201,168,76,0.12);
    padding: 5rem 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.22,1,0.36,1);
  }
  .mobile-menu.is-open .mobile-menu-inner {
    transform: translateX(0);
  }

  /* Grain texture on menu */
  .mobile-menu-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url('data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%22200%22 height=%22200%22><filter id=%22n%22><feTurbulence type=%22fractalNoise%22 baseFrequency=%220.9%22 numOctaves=%224%22/></filter><rect width=%22200%22 height=%22200%22 filter=%22url(%23n)%22 opacity=%221%22/></svg>');
    pointer-events: none;
  }

  .mobile-menu-eyebrow {
    font-size: 0.5rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(201,168,76,0.45);
    margin: 0 0 0.2rem;
  }
  .mobile-menu-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 300;
    color: var(--white);
    letter-spacing: 0.1em;
    margin: 0 0 1.5rem;
  }
  .mobile-menu-divider {
    width: 40px;
    height: 1px;
    background: rgba(201,168,76,0.3);
    margin-bottom: 2.5rem;
  }

  .mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
  }

  .mobile-nav-link {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(201,168,76,0.07);
    text-decoration: none;
    color: rgba(212,201,176,0.65);
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    position: relative;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.2s ease, padding-left 0.2s ease;
  }
  .mobile-nav-link::before {
    content: attr(data-label);
    font-size: 0.45rem;
    color: rgba(201,168,76,0.35);
    letter-spacing: 0.15em;
    flex-shrink: 0;
  }
  .mobile-nav-link:hover {
    color: var(--gold);
    padding-left: 6px;
  }

  /* Todos los ítems visibles al abrir el menú */
  .mobile-menu.is-open .mobile-nav-link { opacity:1; transform:none; }
  /* Stagger: solo ajusta el delay de la animación de entrada */
  .mobile-menu.is-open .mobile-nav-link:nth-child(1)  { transition-delay:0.15s; }
  .mobile-menu.is-open .mobile-nav-link:nth-child(2)  { transition-delay:0.20s; }
  .mobile-menu.is-open .mobile-nav-link:nth-child(3)  { transition-delay:0.25s; }
  .mobile-menu.is-open .mobile-nav-link:nth-child(4)  { transition-delay:0.30s; }
  .mobile-menu.is-open .mobile-nav-link:nth-child(5)  { transition-delay:0.35s; }
  .mobile-menu.is-open .mobile-nav-link:nth-child(6)  { transition-delay:0.40s; }
  .mobile-menu.is-open .mobile-nav-link:nth-child(7)  { transition-delay:0.45s; }
  .mobile-menu.is-open .mobile-nav-link:nth-child(8)  { transition-delay:0.50s; }
  .mobile-menu.is-open .mobile-nav-link:nth-child(9)  { transition-delay:0.55s; }
  .mobile-menu.is-open .mobile-nav-link:nth-child(10) { transition-delay:0.60s; }

  .mobile-menu-footer {
    padding-top: 2rem;
    border-top: 1px solid rgba(201,168,76,0.08);
    display: flex;
    align-items: center;
    gap: 0.8rem;
  }
  .mobile-social {
    font-size: 0.55rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(201,168,76,0.45);
    text-decoration: none;
    transition: color var(--transition-fast);
  }
  .mobile-social:hover { color: var(--gold); }
  .mobile-social-sep { color: rgba(201,168,76,0.2); font-size: 0.7rem; }

  /* ── Mobile breakpoint ── */
  


  /* ═══════════════════════════════════════════════════ */
  /* MOBILE TYPOGRAPHY — Legibilidad en pantallas <900px */
  /* ═══════════════════════════════════════════════════ */
  

  /* ── Extra pequeño: <480px ── */
  


  /* ═══════════════════════════════════════════════════ */
  /* TOUCH INTERACTIONS — Alternativas táctiles          */
  /* Solo aplica en dispositivos sin hover real          */
  /* ═══════════════════════════════════════════════════ */
  


  /* ── Skip to content (accesibilidad) ── */
  .skip-to-content {
    position: fixed;
    top: -100%;
    left: 1rem;
    z-index: 999999;
    background: var(--gold);
    color: #000;
    padding: 0.7rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
    transition: top 0.2s ease;
    outline: none;
  }
  .skip-to-content:focus {
    top: 1rem;
  }


  /* ══════════════════════════════════════════════════ */
  /* FOCUS VISIBLE — Navegación por teclado             */
  /* ══════════════════════════════════════════════════ */

  /* Reset browser default outline */
  *:focus { outline: none; }

  /* Custom focus ring — visible solo con teclado */
  *:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
  }

  /* Botones y links — ring dorado */
  a:focus-visible,
  button:focus-visible,
  [role="tab"]:focus-visible,
  [tabindex]:focus-visible {
    outline: 2px solid #C9A84C;
    outline-offset: 3px;
    border-radius: 1px;
  }

  /* Input chat — ring más ancho */
  #chat-input:focus-visible {
    outline: 2px solid rgba(201,168,76,0.8);
    outline-offset: 0;
  }

  /* Menu tabs focus */
  .menu-tab:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: -2px;
  }

  /* Gallery items */
  .gallery-item:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: -2px;
  }
  .gallery-item:focus-visible img {
    transform: scale(1.04);
  }


  /* Screen reader only — visually hidden but accessible */
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
  }


  /* ── Typing indicator ── */
  .typing-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0.7rem 1rem; /* overrides .msg padding */
  }
  .typing-indicator span {
    width: 6px; height: 6px;
    background: rgba(201,168,76,0.6);
    border-radius: 50%;
    animation: typingDot 1.2s infinite;
    display: inline-block;
  }
  .typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
  .typing-indicator span:nth-child(3) { animation-delay: 0.4s; }
  @keyframes typingDot {
    0%, 60%, 100% { transform: translateY(0); opacity:0.4; }
    30% { transform: translateY(-5px); opacity:1; }
  }
  #chat-clear {
    background: none;
    border: none;
    color: rgba(201,168,76,0.35);
    font-size: 0.55rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0;
    transition: color var(--transition-fast);
  }
  #chat-clear:hover { color: rgba(201,168,76,0.7); }


  /* ── Lightbox mejorado ── */
  #lightbox {
    position: fixed; inset: 0; z-index: var(--z-lightbox);
    background: rgba(5,4,3,0.97);
    display: none; align-items: center; justify-content: center;
    flex-direction: column;
  }
  #lightbox.open { display: flex; }
  #lightbox-img-wrap {
    position: relative;
    max-width: 90vw; max-height: 82vh;
    overflow: hidden;
    cursor: zoom-in;
  }
  #lightbox-img-wrap.zoomed { cursor: zoom-out; }
  #lightbox-img {
    max-width: 90vw; max-height: 82vh;
    object-fit: contain;
    transition: transform 0.25s ease;
    user-select: none;
    display: block;
  }
  #lightbox-close {
    position: absolute; top: 1.5rem; right: 1.5rem;
    background: rgba(255,255,255,0.08); border: var(--border-gold);
    color: rgba(201,168,76,0.8); width: 40px; height: 40px;
    font-size: 1rem; cursor: pointer; z-index: 9001;
    transition: var(--transition-fast);
  }
  #lightbox-close:hover { background: rgba(201,168,76,0.15); color: #fff; }
  #lightbox-prev, #lightbox-next {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.06); border: 1px solid rgba(201,168,76,0.15);
    color: rgba(201,168,76,0.7); width: 44px; height: 44px;
    font-size: 1.2rem; cursor: pointer; z-index: 9001;
    transition: var(--transition-fast);
  }
  #lightbox-prev { left: 1.5rem; }
  #lightbox-next { right: 1.5rem; }
  #lightbox-prev:hover, #lightbox-next:hover {
    background: rgba(201,168,76,0.15); color: #fff;
  }
  #lightbox-counter {
    position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
    font-size: 0.6rem; letter-spacing: 0.25em; color: rgba(201,168,76,0.5);
    text-transform: uppercase;
  }
  



    .yt-thumb:hover img { transform: scale(1.05); filter: brightness(0.8); }
    .yt-thumb:hover > div:first-of-type { opacity: 0.95; }
    
  

      #reviews-track::-webkit-scrollbar { display:none; }
      #reviews-track > div:hover { border-color:rgba(201,168,76,0.3); }

/* ═══════════════════════════════════════════════════════
   DESKTOP FIXES — solo aplica por encima de 900px
   (evitar que los FABs flotantes tapen contenido)
   ═══════════════════════════════════════════════════════ */
@media (min-width: 901px) {

  /* Fix 1+5 — Carta: espacio para no solapar con FABs */
  #menu {
    padding-right: 100px;
  }

  /* Fix 2 — Reseñas: espacio para 3ra tarjeta no quede detrás de FABs */
  #resenas {
    padding-right: 100px !important;
  }

  /* Fix 2b — Videos: thumbnails no tapados */
  #videos {
    padding-right: 100px !important;
  }

}
