/*
Theme Name: Airshow
Theme URI: https://www.cabalgatas.es
Author: Airshow
Author URI: https://www.cabalgatas.es
Description: Tema personalizado Airshow — espectáculos de impacto visual, pasacalles y cabalgatas de reyes. Diseño oscuro con paleta rojo sobre negro.
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: airshow
Tags: custom, dark, red, spectacle, spanish, cabalgatas
*/

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

  :root {
    --gold: #C92C2C;
    --gold-light: #E85555;
    --gold-dim: #7A1818;
    --black: #080808;
    --deep: #0E0606;
    --charcoal: #1A1010;
    --cream: #F5DED8;
    --off-white: #E8CCCC;
    --text-muted: #8A6565;
  }

  html { scroll-behavior: smooth; }

  body {
    background: var(--black);
    color: var(--cream);
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    overflow-x: hidden;
    cursor: none;
  }

  /* Custom Cursor */
  .cursor {
    position: fixed;
    width: 10px; height: 10px;
    background: var(--gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
  }
  .cursor-ring {
    position: fixed;
    width: 36px; height: 36px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.18s ease, width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
    opacity: 0.6;
  }

  /* NAV */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 60px;
    /* Fondo con gradiente suave que se difumina abajo */
    background:
      linear-gradient(180deg, rgba(40,12,12,0.45) 0%, rgba(20,8,8,0.30) 50%, rgba(8,4,4,0.10) 100%);
    backdrop-filter: blur(28px) saturate(200%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    border-bottom: none;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.18),
      inset 0 -1px 0 rgba(201,44,44,0.20),
      0 8px 32px rgba(0,0,0,0.30),
      0 0 24px rgba(201,44,44,0.08);
  }
  /* Pluma de transicion suave bajo el nav (rompe el corte horizontal) */
  nav::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    bottom: -20px;
    height: 20px;
    background: linear-gradient(to bottom, rgba(20,8,8,0.18) 0%, transparent 100%);
    pointer-events: none;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));
  }

  .nav-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: opacity 0.3s;
  }
  .nav-logo:hover { opacity: 0.8; }

  .nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
    align-items: center;
  }
  .nav-links a {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--off-white);
    text-decoration: none;
    transition: color 0.3s;
    position: relative;
  }
  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
  }
  .nav-links a:hover { color: var(--gold); }
  .nav-links a:hover::after { width: 100%; }
  .nav-links a.active {
    color: var(--gold);
  }
  .nav-links a.active::after { width: 100%; }

  /* Pasacalles group in nav */
  .nav-group {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 22px;
  }
  .nav-group-label {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.85rem;
    font-style: italic;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    white-space: nowrap;
    padding: 0 12px;
    background: transparent;
    pointer-events: none;
  }
  .nav-group-label::before,
  .nav-group-label::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 22px;
    height: 1px;
    background: rgba(201,44,44,0.5);
  }
  .nav-group-label::before { right: 100%; }
  .nav-group-label::after { left: 100%; }
  .nav-group-links {
    display: flex;
    gap: 28px;
    padding: 4px 18px 0;
    border-top: 1px solid rgba(201,44,44,0.18);
  }
  .nav-group-links a {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--off-white);
    text-decoration: none;
    transition: color 0.3s;
    position: relative;
  }
  .nav-group-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
  }
  .nav-group-links a:hover { color: var(--gold); }
  .nav-group-links a:hover::after { width: 100%; }
  .nav-group-links a.active {
    color: var(--gold);
  }
  .nav-group-links a.active::after { width: 100%; }

  .nav-cta {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--black);
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dim) 100%);
    border: none;
    padding: 12px 28px;
    cursor: none;
    text-decoration: none;
    transition: filter 0.3s, transform 0.3s;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 4px 16px rgba(201,44,44,0.35);
  }
  .nav-cta:hover { filter: brightness(1.1); transform: translateY(-1px); }

  /* HERO */
  .hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(135deg, rgba(8,8,8,0.88) 0%, rgba(14,6,6,0.82) 50%, rgba(8,8,8,0.95) 100%),
      url('https://cabalgatas.es/wp-content/uploads/2026/07/piramide_hinchable_logo.jpg');
    background-size: cover;
    background-position: center;
  }
  .hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 80% 60% at 60% 40%, rgba(201,44,44,0.18) 0%, transparent 60%),
      radial-gradient(ellipse 40% 40% at 20% 80%, rgba(201,44,44,0.1) 0%, transparent 50%);
  }

  /* Animated particles */
  .particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
  }
  .particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--gold);
    border-radius: 50%;
    animation: float linear infinite;
    opacity: 0;
  }

  @keyframes float {
    0% { opacity: 0; transform: translateY(0) scale(0); }
    10% { opacity: 1; }
    90% { opacity: 0.5; }
    100% { opacity: 0; transform: translateY(-100vh) scale(1.5); }
  }

  /* Decorative lines */
  .hero-lines {
    position: absolute;
    right: 0; top: 0;
    width: 50%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
  }

  .hero-lines::before {
    content: '';
    position: absolute;
    top: 15%; right: 8%;
    width: 1px; height: 50%;
    background: linear-gradient(to bottom, transparent, var(--gold-dim), transparent);
    animation: linePulse 3s ease-in-out infinite;
  }
  .hero-lines::after {
    content: '';
    position: absolute;
    top: 25%; right: 14%;
    width: 1px; height: 30%;
    background: linear-gradient(to bottom, transparent, var(--gold-dim), transparent);
    animation: linePulse 3s ease-in-out 1.5s infinite;
  }
  @keyframes linePulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
  }

  .hero-content {
    position: relative;
    z-index: 2;
    padding: 0 60px;
    max-width: 900px;
    animation: heroReveal 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
  }
  @keyframes heroReveal {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .hero-eyebrow {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 16px;
    animation: heroReveal 1.4s 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
  }
  .hero-eyebrow::before {
    content: '';
    width: 40px; height: 1px;
    background: var(--gold);
  }

  .hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(5rem, 12vw, 10rem);
    line-height: 0.9;
    letter-spacing: 0.02em;
    color: var(--cream);
    margin-bottom: 8px;
    animation: heroReveal 1.4s 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
  }

  .hero-title span {
    color: var(--gold);
    display: block;
  }

  .hero-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    font-style: italic;
    font-weight: 300;
    color: var(--text-muted);
    margin-bottom: 50px;
    line-height: 1.5;
    max-width: 600px;
    animation: heroReveal 1.4s 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
  }

  .hero-actions {
    display: flex;
    gap: 24px;
    align-items: center;
    animation: heroReveal 1.4s 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
  }

  .btn-primary {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--black);
    background: var(--gold);
    padding: 18px 42px;
    text-decoration: none;
    cursor: none;
    position: relative;
    overflow: hidden;
    transition: color 0.3s;
    display: inline-block;
  }
  .btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold-light);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .btn-primary:hover::before { transform: scaleX(1); }
  .btn-primary span { position: relative; z-index: 1; }

  .btn-secondary {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    text-decoration: none;
    cursor: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: gap 0.3s;
  }
  .btn-secondary:hover { gap: 18px; }
  .btn-secondary::after {
    content: '→';
    font-size: 1rem;
  }

  /* Scroll indicator */
  .scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 60px;
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-muted);
    animation: heroReveal 1.4s 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
  }
  .scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollLine 2s ease-in-out infinite;
  }
  @keyframes scrollLine {
    0%, 100% { transform: scaleY(1); transform-origin: top; }
    50% { transform: scaleY(0.3); }
  }

  /* QUOTE BAND */
  .quote-band {
    background: var(--charcoal);
    border-top: 1px solid rgba(201,44,44,0.2);
    border-bottom: 1px solid rgba(201,44,44,0.2);
    padding: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .quote-band::before {
    content: '"';
    position: absolute;
    font-family: 'Cormorant Garamond', serif;
    font-size: 20rem;
    color: rgba(201,44,44,0.04);
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    line-height: 1;
  }

  .quote-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.3rem, 3vw, 2.2rem);
    font-style: italic;
    font-weight: 300;
    color: var(--cream);
    max-width: 820px;
    margin: 0 auto 20px;
    line-height: 1.5;
    position: relative;
  }
  .quote-attr {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
  }

  /* ABOUT */
  section { padding: 120px 60px; }

  .section-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .section-label::before {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--gold);
  }

  .section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 0.95;
    letter-spacing: 0.02em;
    color: var(--cream);
    margin-bottom: 40px;
  }

  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
  }

  .about-visual {
    position: relative;
    height: 500px;
  }

  .about-visual-main {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(135deg, rgba(14,6,6,0.55) 0%, rgba(8,8,8,0.45) 100%),
      url('https://cabalgatas.es/wp-content/uploads/2026/07/angeles_hinchables_logo.jpg');
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(201,44,44,0.25);
    overflow: hidden;
    filter: saturate(0.85) contrast(1.05);
  }
  .about-visual-main::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 70% 70% at 70% 30%, rgba(201,44,44,0.18) 0%, transparent 60%),
      radial-gradient(ellipse 50% 50% at 20% 80%, rgba(8,8,8,0.3) 0%, transparent 50%);
    pointer-events: none;
  }

  .visual-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
  }
  .visual-star {
    font-size: 5rem;
    line-height: 1;
    filter: drop-shadow(0 0 40px rgba(201,44,44,0.5));
    animation: starGlow 3s ease-in-out infinite;
    display: block;
    margin-bottom: 20px;
  }
  @keyframes starGlow {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(201,44,44,0.3)); }
    50% { filter: drop-shadow(0 0 60px rgba(201,44,44,0.8)); }
  }

  .about-visual-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 160px;
    height: 160px;
    border: 1px solid var(--gold);
    z-index: -1;
  }
  .about-visual-accent2 {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 80px;
    height: 80px;
    border: 1px solid rgba(201,44,44,0.3);
    z-index: -1;
  }

  .about-text p {
    font-size: 0.95rem;
    line-height: 1.9;
    color: var(--off-white);
    margin-bottom: 20px;
    font-weight: 300;
  }
  .about-text p:last-of-type { margin-bottom: 0; }

  /* SERVICES */
  .services-section {
    background: var(--deep);
    border-top: 1px solid rgba(201,44,44,0.1);
  }

  .services-header {
    max-width: 1300px;
    margin: 0 auto 80px;
  }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    max-width: 1300px;
    margin: 0 auto;
  }

  .service-card {
    background: var(--charcoal);
    position: relative;
    overflow: hidden;
    transition: background 0.4s ease;
    cursor: none;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
  }
  .service-card:hover { background: #1E1010; }

  .service-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 2px;
    background: var(--gold);
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 3;
  }
  .service-card:hover::after { width: 100%; }

  .service-image {
    position: relative;
    height: 260px;
    overflow: hidden;
  }
  .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s;
    filter: saturate(0.85) contrast(1.05) brightness(0.85);
  }
  .service-card:hover .service-image img {
    transform: scale(1.06);
    filter: saturate(1) contrast(1.1) brightness(1);
  }
  .service-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(201,44,44,0.12) 0%, transparent 40%, rgba(26,16,16,0.9) 100%);
    pointer-events: none;
    transition: background 0.5s;
  }
  .service-card:hover .service-image::after {
    background: linear-gradient(to bottom, rgba(201,44,44,0.18) 0%, transparent 40%, rgba(26,16,16,0.85) 100%);
  }

  .service-body {
    padding: 36px 40px 48px;
    position: relative;
  }

  .service-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.4rem;
    color: rgba(201,44,44,0.25);
    line-height: 1;
    margin-bottom: 16px;
    transition: color 0.4s;
    position: absolute;
    top: -30px;
    right: 30px;
    background: var(--charcoal);
    padding: 0 12px;
    transition: color 0.4s, background 0.4s;
  }
  .service-card:hover .service-number {
    color: var(--gold);
    background: #1E1010;
  }

  .service-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 0.05em;
    color: var(--cream);
    margin-bottom: 16px;
  }

  .service-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    line-height: 1.8;
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 28px;
  }

  .service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(201,44,44,0.3);
    transition: gap 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  }
  .service-card:hover .service-link {
    gap: 18px;
    border-color: var(--gold);
    color: var(--gold-light);
  }
  .service-link::after {
    content: '→';
    font-size: 1rem;
    letter-spacing: 0;
    transition: transform 0.3s ease;
  }
  .service-card:hover .service-link::after {
    transform: translateX(4px);
  }

  /* LOGROS */
  .stats-band {
    background: var(--gold);
    padding: 80px 60px;
  }

  .stats-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
  }

  .stat-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3.5rem, 6vw, 5rem);
    color: var(--black);
    line-height: 1;
    margin-bottom: 8px;
  }
  .stat-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(8,8,8,0.65);
  }
  .stat-divider {
    width: 1px;
    background: rgba(8,8,8,0.15);
    margin: 0 auto;
    display: none;
  }

  /* REFERENCES */
  .references-section {
    background: var(--black);
    border-top: 1px solid rgba(201,44,44,0.1);
  }

  .references-header {
    max-width: 1300px;
    margin: 0 auto 80px;
  }

  .refs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    max-width: 1300px;
    margin: 0 auto;
  }

  .ref-card {
    background: var(--charcoal);
    padding: 48px;
    position: relative;
    border-left: 2px solid transparent;
    transition: border-color 0.4s, background 0.4s;
    cursor: none;
  }
  .ref-card:hover {
    border-color: var(--gold);
    background: #1A1610;
  }

  .ref-year {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    color: var(--gold);
    margin-bottom: 16px;
  }

  .ref-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 12px;
    line-height: 1.2;
  }

  .ref-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    line-height: 1.7;
    color: var(--text-muted);
    font-weight: 300;
  }

  .ref-location {
    margin-top: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-dim);
  }

  /* CABALGATAS */
  .cabalg-section {
    background: var(--deep);
    border-top: 1px solid rgba(201,44,44,0.1);
  }

  .cabalg-layout {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
  }

  .cities-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 40px;
  }

  .city-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0;
    border-bottom: 1px solid rgba(201,44,44,0.1);
    cursor: none;
    transition: padding-left 0.4s;
  }
  .city-item:hover { padding-left: 16px; }
  .city-item:hover .city-name { color: var(--gold); }

  .city-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--cream);
    transition: color 0.3s;
  }
  .city-flag { font-size: 1.4rem; }

  .cabalg-text p {
    font-size: 0.9rem;
    line-height: 1.9;
    color: var(--off-white);
    margin-bottom: 20px;
    font-weight: 300;
  }

  /* CONTACT */
  .contact-section {
    background: var(--charcoal);
    border-top: 1px solid rgba(201,44,44,0.15);
    text-align: center;
  }

  .contact-inner {
    max-width: 800px;
    margin: 0 auto;
  }

  .contact-inner .section-label {
    justify-content: center;
  }
  .contact-inner .section-label::before { display: none; }

  .contact-desc {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    font-style: italic;
    font-weight: 300;
    color: var(--off-white);
    margin-bottom: 50px;
    line-height: 1.6;
  }

  .contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
    text-align: left;
  }

  .form-field {
    position: relative;
  }
  .form-field.full { grid-column: 1 / -1; }

  .form-field input,
  .form-field textarea,
  .form-field select {
    width: 100%;
    background: rgba(201,44,44,0.03);
    border: 1px solid rgba(201,44,44,0.2);
    color: var(--cream);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 300;
    padding: 16px 20px;
    outline: none;
    transition: border-color 0.3s;
    appearance: none;
    cursor: none;
  }
  .form-field select option { background: var(--charcoal); }
  .form-field input:focus,
  .form-field textarea:focus,
  .form-field select:focus { border-color: var(--gold); }
  .form-field input::placeholder,
  .form-field textarea::placeholder { color: var(--text-muted); }
  .form-field textarea { resize: vertical; min-height: 130px; }

  .submit-btn {
    width: 100%;
    background: var(--gold);
    color: var(--black);
    border: none;
    padding: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    cursor: none;
    position: relative;
    overflow: hidden;
    transition: background 0.3s;
  }
  .submit-btn:hover { background: var(--gold-light); }

  /* FOOTER */
  footer {
    background: var(--black);
    border-top: 1px solid rgba(201,44,44,0.15);
    padding: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .footer-logo img {
    height: 34px; width: auto; max-width: 300px;
    object-fit: contain; display: block;
    filter: drop-shadow(0 0 10px rgba(201,44,44,0.35));
  }

  .footer-copy {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    text-transform: uppercase;
  }

  .footer-social {
    display: flex;
    gap: 24px;
  }
  .footer-social a {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-decoration: none;
    cursor: none;
    transition: color 0.3s;
  }
  .footer-social a:hover { color: var(--gold); }

  /* Reveal animation */
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

/* Mobile */
  @media (max-width: 900px) {
    nav {
      padding: 16px 20px;
      flex-wrap: wrap;
      row-gap: 14px;
    }
    .nav-logo img { height: 26px; max-width: 220px; }
    .nav-cta { padding: 10px 20px; font-size: 0.6rem; }

    /* Menú siempre visible en segunda fila */
    
    

    /* Grupo Pasacalles adaptado a móvil: se integra en la fila */
    
    
    
    
    

    section { padding: 70px 22px; }
    .hero-content { padding: 0 22px; }

    /* --- Fix hero móvil: evita que se corte el texto --- */
    .hero-eyebrow {
      font-size: 0.6rem;
      letter-spacing: 0.25em;
      flex-wrap: wrap;
      line-height: 1.4;
    }
    .hero-eyebrow::before { width: 24px; }

    .hero-subtitle {
      font-size: 1.05rem;
      max-width: 100%;
      padding-right: 10px;
      overflow-wrap: break-word;
    }

    .hero-actions {
      flex-direction: column;
      align-items: stretch;
      gap: 16px;
    }
    .hero-actions .btn-primary { text-align: center; padding: 18px 24px; }
    .hero-actions .btn-secondary { justify-content: center; }
    /* --- fin fix hero móvil --- */

    .about-grid,
    .cabalg-layout { grid-template-columns: 1fr; gap: 50px; }
    .services-grid,
    .refs-grid { grid-template-columns: 1fr; }
    .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .contact-form { grid-template-columns: 1fr; }

    /* Page hero (páginas internas) más compacto */
    .page-hero { padding: 140px 22px 50px; min-height: auto; }
    .items-grid { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; gap: 40px; }
    .contact-form-wrap { padding: 30px; }
    .news-card { grid-template-columns: 1fr; }
    .news-image { min-height: 220px; }
    .news-body { padding: 30px; }

    footer {
      flex-direction: column;
      gap: 24px;
      text-align: center;
      padding: 40px 24px;
    }
    .footer-logo img { height: 28px; max-width: 240px; }

    .scroll-hint { display: none; }
    body { cursor: auto; }
    .cursor, .cursor-ring { display: none; }
  }

  /* Smaller phones */
  @media (max-width: 420px) {
    nav { padding: 14px 16px; }
    .nav-logo img { height: 22px; max-width: 180px; }
    .nav-cta { padding: 8px 16px; font-size: 0.55rem; letter-spacing: 0.15em; }
    
    
    
    section { padding: 60px 18px; }
    .page-hero { padding: 130px 18px 40px; }
    .stats-inner { gap: 18px; }
    .item-body { padding: 26px 24px 32px; }

    /* --- Fix hero en móviles estrechos --- */
    .hero-content { padding: 0 18px; }
    .hero-eyebrow { font-size: 0.55rem; letter-spacing: 0.2em; }
    .hero-title { font-size: clamp(3.6rem, 18vw, 5rem); }
    .hero-subtitle { font-size: 0.98rem; }
    .footer-social { flex-wrap: wrap; justify-content: center; gap: 16px; }
    /* --- fin fix hero estrecho --- */
  }

/* NAV — Liquid Glass mejorado */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; justify-content: space-between; align-items: center;
    padding: 28px 60px;
    /* Fondo con doble gradiente: tinte rojo arriba, fade suave abajo */
    background:
      linear-gradient(180deg, rgba(40,12,12,0.45) 0%, rgba(20,8,8,0.30) 50%, rgba(8,4,4,0.10) 100%);
    backdrop-filter: blur(28px) saturate(200%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    /* Eliminamos border-bottom (era el borde negro duro). En su lugar, sombras suaves */
    border-bottom: none;
    box-shadow:
      /* Highlight superior brillante (la firma de Liquid Glass) */
      inset 0 1px 0 rgba(255,255,255,0.18),
      /* Glow rojizo sutil en el borde inferior, no negro */
      inset 0 -1px 0 rgba(201,44,44,0.20),
      /* Sombra externa difusa: el cristal flota sobre el contenido */
      0 8px 32px rgba(0,0,0,0.30),
      /* Glow rojizo externo muy sutil para integrar con la marca */
      0 0 24px rgba(201,44,44,0.08);
    /* Pseudo-elemento "pluma" que difumina el borde inferior */
    position: fixed;
  }
  /* Pluma de transición: difumina la zona inferior del nav hacia transparente
     para evitar el corte duro horizontal */
  nav::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    bottom: -20px;
    height: 20px;
    background: linear-gradient(to bottom, rgba(20,8,8,0.18) 0%, transparent 100%);
    pointer-events: none;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));
  }

.nav-logo img {
    height: 30px; width: auto; display: block; max-width: 260px; object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(201,44,44,0.35));
  }

/* PAGE HERO (compact) */
  .page-hero {
    min-height: 70vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 60px 60px;
  }

.page-hero-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
  }

.page-hero-bg::before {
    content: '';
    position: absolute; inset: 0;
    background:
      linear-gradient(135deg, rgba(8,8,8,0.85) 0%, rgba(14,6,6,0.75) 50%, rgba(8,8,8,0.95) 100%);
  }

.page-hero-bg::after {
    content: '';
    position: absolute; inset: 0;
    background:
      radial-gradient(ellipse 80% 60% at 60% 40%, rgba(201,44,44,0.2) 0%, transparent 60%),
      radial-gradient(ellipse 40% 40% at 20% 80%, rgba(201,44,44,0.1) 0%, transparent 50%);
  }

.page-hero-content {
    position: relative; z-index: 2;
    max-width: 900px; margin: 0 auto;
    width: 100%;
  }

.page-eyebrow {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem; font-weight: 500;
    letter-spacing: 0.4em; text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
    display: flex; align-items: center; gap: 16px;
  }

.page-eyebrow::before {
    content: ''; width: 40px; height: 1px;
    background: var(--gold);
  }

.page-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3.5rem, 9vw, 7rem);
    line-height: 0.95; letter-spacing: 0.02em;
    color: var(--cream); margin-bottom: 28px;
  }

.page-title span { color: var(--gold); display: block; }

.page-intro {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-style: italic; font-weight: 300;
    color: var(--off-white);
    max-width: 700px; line-height: 1.6;
  }

/* ITEMS GRID */
  section { padding: 100px 60px; }

.section-inner { max-width: 1300px; margin: 0 auto; }

.items-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
  }

.item-card {
    background: var(--charcoal);
    position: relative; overflow: hidden;
    transition: background 0.4s ease;
    display: flex; flex-direction: column;
    text-decoration: none;
    color: inherit;
  }

.item-card *, .item-card *:hover, .item-card *:visited {
    text-decoration: none;
  }

.item-card:hover { background: #1E1010; }

.item-card::after {
    content: ''; position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 2px;
    background: var(--gold);
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 3;
  }

.item-card:hover::after { width: 100%; }

.item-image {
    position: relative; height: 240px; overflow: hidden;
  }

.item-image img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s;
    filter: saturate(0.85) contrast(1.05) brightness(0.85);
  }

.item-card:hover .item-image img {
    transform: scale(1.06);
    filter: saturate(1) contrast(1.1) brightness(1);
  }

.item-image::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(201,44,44,0.12) 0%, transparent 40%, rgba(26,16,16,0.85) 100%);
    pointer-events: none; transition: background 0.5s;
  }

.item-body {
    padding: 32px 36px 40px;
    position: relative;
  }

.item-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    color: rgba(201,44,44,0.25);
    line-height: 1;
    position: absolute;
    top: -28px; right: 28px;
    background: var(--charcoal);
    padding: 0 12px;
    transition: color 0.4s, background 0.4s;
  }

.item-card:hover .item-number {
    color: var(--gold);
    background: #1E1010;
  }

.item-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem; letter-spacing: 0.05em;
    color: var(--cream); margin-bottom: 14px;
  }

.item-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem; line-height: 1.8;
    color: var(--text-muted); font-weight: 300;
  }

/* CTA BAND */
  .cta-band {
    background: var(--gold);
    padding: 80px 60px;
    text-align: center;
  }

.cta-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--black); margin-bottom: 16px;
    letter-spacing: 0.02em;
  }

.cta-sub {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem; font-style: italic;
    color: rgba(8,8,8,0.75); margin-bottom: 36px;
  }

.cta-btn {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem; font-weight: 500;
    letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--gold); background: var(--black);
    padding: 20px 48px; text-decoration: none; cursor: none;
    transition: background 0.3s, color 0.3s;
  }

.cta-btn:hover { background: var(--deep); color: var(--gold-light); }

.footer-logo img {
    height: 34px; width: auto; max-width: 300px; object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(201,44,44,0.35));
  }

/* CONTACT PAGE */
  .contact-layout {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: start;
  }

.contact-info { padding-top: 20px; }

.contact-info h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem; letter-spacing: 0.1em;
    color: var(--gold); margin-bottom: 12px; margin-top: 30px;
  }

.contact-info h3:first-child { margin-top: 0; }

.contact-info p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem; line-height: 1.8;
    color: var(--off-white); font-weight: 300;
  }

.contact-info a {
    color: var(--gold); text-decoration: none;
    transition: color 0.3s;
  }

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

.contact-divider {
    width: 40px; height: 1px;
    background: var(--gold);
    margin: 12px 0 16px;
  }

.contact-form-wrap {
    background: var(--charcoal);
    padding: 50px;
    border: 1px solid rgba(201,44,44,0.15);
  }

.form-field { margin-bottom: 16px; }

.form-field input,
  .form-field textarea {
    width: 100%;
    background: rgba(201,44,44,0.03);
    border: 1px solid rgba(201,44,44,0.2);
    color: var(--cream);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem; font-weight: 300;
    padding: 16px 20px; outline: none;
    transition: border-color 0.3s;
    appearance: none; cursor: none;
  }

.form-field input:focus,
  .form-field textarea:focus { border-color: var(--gold); }

.form-check {
    display: flex; align-items: flex-start; gap: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem; color: var(--text-muted);
    margin-bottom: 20px; line-height: 1.6;
  }

.form-check input { width: auto; margin-top: 3px; cursor: none; }

.submit-btn {
    width: 100%;
    background: var(--gold); color: var(--black);
    border: none; padding: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem; font-weight: 500;
    letter-spacing: 0.3em; text-transform: uppercase;
    cursor: none;
    transition: background 0.3s;
  }

/* NEWS PAGE */
  .news-layout {
    max-width: 900px; margin: 0 auto;
  }

.news-card {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    background: var(--charcoal);
    border: 1px solid rgba(201,44,44,0.12);
    overflow: hidden;
    margin-bottom: 40px;
    transition: border-color 0.4s;
  }

.news-card:hover { border-color: rgba(201,44,44,0.35); }

.news-image {
    height: 100%; min-height: 260px;
    background-size: cover; background-position: center;
    position: relative;
  }

.news-image::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to right, transparent 60%, rgba(26,16,16,0.4) 100%);
  }

.news-body {
    padding: 40px 40px 40px 0;
    display: flex; flex-direction: column;
    justify-content: center;
  }

.news-meta {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.62rem; letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
  }

.news-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem; letter-spacing: 0.03em;
    color: var(--cream); margin-bottom: 16px;
    line-height: 1.1;
  }

.news-excerpt {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem; line-height: 1.8;
    color: var(--text-muted); font-weight: 300;
    margin-bottom: 24px;
  }

.news-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.62rem; font-weight: 500;
    letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--gold); text-decoration: none;
    display: inline-flex; align-items: center; gap: 10px;
    border-bottom: 1px solid rgba(201,44,44,0.3);
    padding-bottom: 6px; width: fit-content;
    transition: gap 0.3s, border-color 0.3s;
  }

.news-link:hover { gap: 18px; border-color: var(--gold); }

.news-link::after { content: '→'; font-size: 1rem; letter-spacing: 0; }

.item-card {
    background: var(--charcoal);
    position: relative; overflow: hidden;
    transition: background 0.4s ease;
    display: flex; flex-direction: column;
  }


/* ============================================================================
   FEED VERTICAL ESTILO TIKTOK/NETFLIX
   Sistema de tarjetas a pantalla completa con scroll snap + likes + email
   ============================================================================ */

/* ============================================================================
   SISTEMA DE FEED VERTICAL (estilo TikTok/Reels)
   Versión 2: Imagen a pantalla completa tipo Netflix
   ============================================================================ */

/* Contenedor principal: scroll snap vertical */
.feed-wrap {
  position: relative;
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background: var(--black);
}
.feed-wrap::-webkit-scrollbar { display: none; }

/* Cada slide ocupa 100vh */
.feed-slide {
  position: relative;
  height: 100vh;
  width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

/* NUEVO: La imagen llena toda la pantalla como fondo */
.feed-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  filter: saturate(1.05) contrast(1.05);
}

/* Overlay con gradientes para legibilidad del texto y los botones */
.feed-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to left, rgba(8,8,8,0.45) 0%, rgba(8,8,8,0.2) 20%, transparent 40%),
    linear-gradient(to bottom, rgba(8,8,8,0.35) 0%, rgba(8,8,8,0.1) 25%, rgba(8,8,8,0.1) 45%, rgba(8,8,8,0.75) 80%, rgba(8,8,8,0.95) 100%),
    radial-gradient(ellipse at 15% 15%, rgba(201,44,44,0.15) 0%, transparent 50%);
  z-index: 2;
  pointer-events: none;
}

/* ELIMINADO: el recuadro central con la imagen ya no hace falta */
.feed-image-wrap { display: none; }

/* Contenido textual */
.feed-content {
  position: relative;
  z-index: 4;
  width: 100%;
  padding: 0 110px 80px 60px;
  max-width: 820px;
}

.feed-category {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.8);
}
.feed-category::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--gold);
}

.feed-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.4rem, 6.5vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--cream);
  margin-bottom: 22px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.85), 0 1px 6px rgba(0,0,0,0.7);
}

.feed-desc {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--off-white);
  max-width: 620px;
  text-shadow: 0 1px 10px rgba(0,0,0,0.85), 0 0 20px rgba(0,0,0,0.4);
  margin-bottom: 28px;
}

/* Botones flotantes a la derecha */
.feed-actions {
  position: absolute;
  right: 28px;
  bottom: 140px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.feed-action-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  background: linear-gradient(135deg, rgba(40,18,18,0.45) 0%, rgba(8,8,8,0.55) 100%);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  color: var(--cream);
  cursor: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s, border-color 0.25s, box-shadow 0.25s;
  position: relative;
  padding: 0;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    inset 0 -1px 0 rgba(0,0,0,0.25),
    0 8px 24px rgba(0,0,0,0.4);
}
.feed-action-btn:hover {
  transform: scale(1.1);
  background: linear-gradient(135deg, rgba(201,44,44,0.55) 0%, rgba(122,24,24,0.6) 100%);
  border-color: var(--gold);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.3),
    inset 0 -1px 0 rgba(0,0,0,0.2),
    0 12px 32px rgba(201,44,44,0.5);
}
.feed-action-label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream);
  margin-top: 6px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.9);
  text-align: center;
}
.feed-action-group { display: flex; flex-direction: column; align-items: center; }

/* Icono corazón */
.feed-like-btn .heart-icon {
  display: block;
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--cream);
  stroke-width: 2;
  transition: fill 0.25s, stroke 0.25s, transform 0.15s;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.6));
}
.feed-like-btn.liked {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(232,85,85,0.55) 0%, rgba(201,44,44,0.7) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    inset 0 -1px 0 rgba(0,0,0,0.15),
    0 8px 24px rgba(201,44,44,0.55);
}
.feed-like-btn.liked .heart-icon {
  fill: var(--gold);
  stroke: var(--gold);
  transform: scale(1.1);
}
.feed-like-btn.burst::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  animation: burst 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  pointer-events: none;
}
@keyframes burst {
  0%   { transform: scale(0.8); opacity: 0.9; }
  100% { transform: scale(1.6); opacity: 0; }
}

.feed-contact-btn .contact-icon {
  display: block;
  width: 26px;
  height: 26px;
  fill: var(--cream);
  transition: fill 0.25s;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.6));
}
.feed-contact-btn:hover .contact-icon { fill: var(--gold); }

/* Indicador "1 / 8" */
.feed-position {
  position: absolute;
  top: 100px;
  right: 40px;
  z-index: 5;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  background: linear-gradient(135deg, rgba(40,18,18,0.55) 0%, rgba(8,8,8,0.65) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 6px 14px;
  border: 1px solid rgba(201,44,44,0.25);
  border-radius: 100px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.15),
    0 4px 16px rgba(0,0,0,0.3);
}

/* "Desliza para ver más" */
.feed-slide:first-child .feed-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--off-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: hintBounce 2s ease-in-out infinite;
  pointer-events: none;
  text-shadow: 0 1px 6px rgba(0,0,0,0.8);
}
.feed-scroll-hint::after {
  content: '';
  width: 1px;
  height: 30px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}
@keyframes hintBounce {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.7; }
  50%      { transform: translate(-50%, 10px); opacity: 1; }
}

/* Slide final */
.feed-end {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100vh;
  position: relative;
  z-index: 4;
  padding: 40px;
  width: 100%;
}
.feed-end-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--cream);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.8);
}
.feed-end-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--off-white);
  max-width: 500px;
  margin-bottom: 36px;
  text-shadow: 0 1px 10px rgba(0,0,0,0.8);
}
.feed-end-cta {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--black);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dim) 100%);
  padding: 18px 42px;
  text-decoration: none;
  cursor: none;
  transition: filter 0.3s, transform 0.3s;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.4),
    inset 0 -1px 0 rgba(0,0,0,0.15),
    0 10px 30px rgba(201,44,44,0.4);
}
.feed-end-cta:hover { filter: brightness(1.1); transform: translateY(-2px); }

.feed-slide:last-child::before {
  background:
    linear-gradient(to bottom, rgba(8,8,8,0.75) 0%, rgba(8,8,8,0.6) 50%, rgba(8,8,8,0.85) 100%),
    radial-gradient(ellipse at center, rgba(201,44,44,0.15) 0%, transparent 60%);
}

/* Nav más transparente sobre el feed */
.feed-wrap + nav,
body.has-feed nav {
  background: linear-gradient(to bottom, rgba(14,6,6,0.5) 0%, rgba(14,6,6,0.2) 70%, transparent 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(201,44,44,0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

/* ============================================================================
   BARRA FLOTANTE DE FAVORITOS
   ============================================================================ */
#feed-floating-bar {
  position: fixed;
  bottom: 20px;
  right: 20px;
  /* Sacamos completamente fuera de pantalla cuando está oculta */
  transform: translateY(150%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 0;
  background: linear-gradient(135deg, rgba(60,18,18,0.65) 0%, rgba(14,6,6,0.85) 100%);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border: 1px solid rgba(201,44,44,0.45);
  border-radius: 100px;
  padding: 5px 5px 5px 14px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    inset 0 -1px 0 rgba(0,0,0,0.2),
    0 20px 60px rgba(0,0,0,0.5),
    0 0 0 1px rgba(201,44,44,0.15);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.4s ease;
  font-family: 'Montserrat', sans-serif;
  max-width: calc(100vw - 40px);
}
#feed-floating-bar.visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.feed-floating-clear {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: none;
  font-size: 1.2rem;
  line-height: 1;
  padding: 0;
  margin-right: 8px;
  transition: color 0.2s;
}
.feed-floating-clear:hover { color: var(--gold); }
.feed-floating-count {
  color: var(--cream);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  margin-right: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.feed-floating-heart { color: var(--gold); font-size: 0.95rem; }
.feed-floating-num { color: var(--gold); font-weight: 600; font-size: 0.85rem; }
.feed-floating-cta {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dim) 100%);
  color: var(--black);
  text-decoration: none;
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: none;
  transition: filter 0.25s, transform 0.25s;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.4),
    inset 0 -1px 0 rgba(0,0,0,0.15),
    0 4px 14px rgba(201,44,44,0.45);
}
.feed-floating-cta:hover { filter: brightness(1.1); transform: translateY(-1px); }

/* ============================================================================
   MÓVIL
   ============================================================================ */
@media (max-width: 900px) {
  .feed-content {
    padding: 0 100px 50px 24px;
  }
  .feed-actions {
    right: 16px;
    bottom: 110px;
    gap: 16px;
  }
  .feed-action-btn {
    width: 52px;
    height: 52px;
  }
  .feed-action-btn .heart-icon,
  .feed-action-btn .contact-icon {
    width: 24px;
    height: 24px;
  }
  .feed-position {
    top: 90px;
    right: 16px;
    font-size: 0.85rem;
    padding: 5px 12px;
  }
  .feed-title {
    font-size: clamp(2rem, 8.5vw, 3rem);
  }
  .feed-desc {
    font-size: 0.82rem;
    -webkit-line-clamp: 4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  /* MÓVIL: la barra sube arriba a la derecha, debajo del indicador "1/8"
     y encima de los botones de me gusta (estilo Instagram). */
  #feed-floating-bar {
    bottom: auto;
    top: 130px;
    right: 14px;
    padding: 4px 4px 4px 12px;
    /* Cambiamos la dirección de aparición: desde arriba en lugar de desde abajo */
    transform: translateY(-150%);
  }
  #feed-floating-bar.visible {
    transform: translateY(0);
  }
  .feed-floating-count { font-size: 0.65rem; margin-right: 10px; }
  .feed-floating-cta { padding: 9px 16px; font-size: 0.55rem; }
  .feed-floating-clear { margin-right: 6px; }
}

@media (max-width: 420px) {
  #feed-floating-bar {
    top: 120px;
    right: 12px;
    padding: 4px 4px 4px 10px;
  }
  .feed-floating-count {
    font-size: 0.6rem;
    margin-right: 8px;
  }
  .feed-floating-cta {
    padding: 8px 14px;
    font-size: 0.52rem;
  }
  /* En pantallas muy pequeñas, ocultar la palabra "favoritos" para ahorrar espacio */
  .feed-floating-word {
    display: none;
  }
  .feed-content {
    padding: 0 86px 40px 18px;
  }
  .feed-actions {
    right: 12px;
    bottom: 100px;
    gap: 14px;
  }
  .feed-action-btn { width: 48px; height: 48px; }
  .feed-title {
    font-size: 2rem;
    margin-bottom: 16px;
  }
  .feed-desc {
    font-size: 0.78rem;
    -webkit-line-clamp: 3;
  }
}

/* ============================================================================
   MENÚ MÓVIL (HAMBURGUESA + OVERLAY)
   Sustituye al nav expandido en pantallas <= 900px
   ============================================================================ */

/* ============================================================================
   MENÚ MÓVIL HAMBURGUESA
   Sustituye al menú expandido en pantallas pequeñas
   ============================================================================ */

/* En PC, ocultar siempre la hamburguesa y el menú overlay */
.nav-burger { display: none; }
.mobile-menu { display: none; }

/* ============================================================================
   MÓVIL (≤ 900px) — sobreescribe los estilos previos del nav móvil
   ============================================================================ */
@media (max-width: 900px) {
  /* Volvemos a una sola fila con el nav compacto */
  nav {
    padding: 14px 18px !important;
    flex-wrap: nowrap !important;
    row-gap: 0 !important;
    align-items: center !important;
  }

  /* Logo más pequeño y sin tanto espacio */
  .nav-logo img {
    height: 24px !important;
    max-width: 200px !important;
  }

  /* Ocultar los enlaces inline y el botón Contacto del nav PC */
  nav > .nav-links,
  nav > .nav-cta {
    display: none !important;
  }

  /* Mostrar la hamburguesa */
  .nav-burger {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    gap: 5px;
    position: relative;
    z-index: 110;
  }
  .nav-burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--cream);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s;
    transform-origin: center;
  }

  /* Estado abierto: las 3 líneas se transforman en una X */
  .nav-burger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background: var(--gold);
  }
  .nav-burger.is-open span:nth-child(2) {
    opacity: 0;
  }
  .nav-burger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background: var(--gold);
  }

  /* Menú overlay */
  .mobile-menu {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: fixed;
    inset: 0;
    z-index: 105;
    background:
      radial-gradient(ellipse at 70% 30%, rgba(201,44,44,0.18) 0%, transparent 60%),
      linear-gradient(135deg, rgba(20,8,8,0.85) 0%, rgba(8,8,8,0.92) 100%);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
  }
  .mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
  }
  .mobile-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 100px 30px 60px;
    text-align: center;
    width: 100%;
    max-width: 400px;
  }

  .mobile-menu-link {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 0.1em;
    color: var(--cream);
    text-decoration: none;
    transition: color 0.25s, transform 0.25s;
    position: relative;
    line-height: 1;
    transform: translateY(20px);
    opacity: 0;
  }
  .mobile-menu.is-open .mobile-menu-link {
    transform: translateY(0);
    opacity: 1;
    transition: color 0.25s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) var(--delay, 0s), opacity 0.5s ease var(--delay, 0s);
  }
  .mobile-menu.is-open .mobile-menu-link:nth-child(1) { --delay: 0.05s; }
  .mobile-menu.is-open .mobile-menu-group-label    { --delay: 0.1s; }
  .mobile-menu.is-open .mobile-menu-link:nth-child(3) { --delay: 0.15s; }
  .mobile-menu.is-open .mobile-menu-link:nth-child(4) { --delay: 0.20s; }
  .mobile-menu.is-open .mobile-menu-link:nth-child(5) { --delay: 0.25s; }
  .mobile-menu.is-open .mobile-menu-link:nth-child(6) { --delay: 0.30s; }
  .mobile-menu.is-open .mobile-menu-cta            { --delay: 0.40s; }

  .mobile-menu-link:hover,
  .mobile-menu-link.active {
    color: var(--gold);
  }
  .mobile-menu-link.active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -8px;
    transform: translateX(-50%);
    width: 24px;
    height: 1px;
    background: var(--gold);
  }

  .mobile-menu-sub {
    font-size: 1.5rem;
    color: var(--off-white);
  }

  .mobile-menu-group-label {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 6px;
    margin-bottom: -4px;
    position: relative;
    padding: 0 16px;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) var(--delay, 0s), opacity 0.5s ease var(--delay, 0s);
  }
  .mobile-menu.is-open .mobile-menu-group-label {
    transform: translateY(0);
    opacity: 1;
  }
  .mobile-menu-group-label::before,
  .mobile-menu-group-label::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 18px;
    height: 1px;
    background: rgba(201,44,44,0.5);
  }
  .mobile-menu-group-label::before { right: 100%; }
  .mobile-menu-group-label::after  { left: 100%; }

  .mobile-menu-cta {
    margin-top: 20px;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dim) 100%);
    color: var(--black);
    text-decoration: none;
    padding: 16px 40px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    transition: filter 0.25s, transform 0.25s;
    transform: translateY(20px);
    opacity: 0;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.35),
      inset 0 -1px 0 rgba(0,0,0,0.15),
      0 8px 24px rgba(201,44,44,0.4);
  }
  .mobile-menu.is-open .mobile-menu-cta {
    transform: translateY(0);
    opacity: 1;
    transition: background 0.25s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) var(--delay, 0s), opacity 0.5s ease var(--delay, 0s);
  }
  .mobile-menu-cta:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
  }

  /* Bloquear scroll del body cuando el menú está abierto */
  body.menu-open {
    overflow: hidden;
  }
}

/* Móviles muy pequeños: ajuste fino */
@media (max-width: 420px) {
  nav {
    padding: 12px 14px !important;
  }
  .nav-logo img {
    height: 22px !important;
    max-width: 180px !important;
  }
  .mobile-menu-link {
    font-size: 1.7rem;
  }
  .mobile-menu-sub {
    font-size: 1.3rem;
  }
}

/* ============================================================================
   CARRUSEL MULTI-IMAGEN POR PRODUCTO
   ============================================================================ */

/* ============================================================================
   CARRUSEL MULTI-IMAGEN POR PRODUCTO (estilo Instagram)
   Track horizontal con scroll-snap + puntos clicables abajo
   Sustituye al .feed-bg cuando un producto tiene varias imágenes.
   ============================================================================ */

/* El carrusel reemplaza al fondo único — ocupa toda la pantalla */
.feed-carousel {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* Mejora gesto en móvil: permite scroll horizontal limpio */
  -webkit-overflow-scrolling: touch;
  /* Inhibe que el scroll horizontal se "fugue" al scroll vertical */
  overscroll-behavior-x: contain;
}
.feed-carousel::-webkit-scrollbar { display: none; }

/* ============================================================================
   CARRUSEL MULTI-IMAGEN: dos modos visuales distintos
   - Slide idx=0 (DESTACADA): pantalla completa como ahora
   - Slide idx>=1 (SECUNDARIA): tarjeta de cristal centrada al 65% con
     marco liquid glass, sobre fondo borroso de la propia imagen + tinte rojo
   ============================================================================ */

/* Cada slide del carrusel ocupa el 100% del ancho del contenedor.
   La imagen va como background. La primera (idx=0) sigue como antes.
   La posicion de encuadre es configurable por imagen via --bg-pos. */
.feed-carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
  background-size: cover;
  background-position: var(--bg-pos, center);
  background-repeat: no-repeat;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  filter: saturate(1.05) contrast(1.05);
  overflow: hidden;
}

/* MODO COVER: la imagen rellena toda el area (puede recortar bordes)
   Es el modo por defecto, definido arriba con background-size: cover */
.feed-carousel-slide.mode-cover {
  background-size: cover;
}

/* MODO CONTAIN para slide DESTACADA: la imagen se ve entera dentro del area
   (puede dejar bordes). Para que no quede feo, ponemos detras un fondo
   borroso de la propia imagen via pseudo-elemento ::before */
.feed-carousel-slide[data-idx="0"].mode-contain {
  background-size: contain;
  background-position: center;
  background-color: #0a0606;
}
.feed-carousel-slide[data-idx="0"].mode-contain::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  filter: blur(50px) saturate(150%) brightness(0.45);
  transform: scale(1.15);
  z-index: -1;
}

/* MODO SECUNDARIA: a partir de la 2a imagen, mostramos una tarjeta de cristal
   centrada al 65% con un fondo borroso de la propia imagen + tinte rojo.
   Necesita un cambio en la plantilla: la imagen debe ir dentro de un wrapper
   .feed-carousel-card (no como background del slide). */
.feed-carousel-slide.is-secondary {
  /* La imagen original NO se ve directamente: el wrapper interno la pinta */
  background: none;
  filter: none;
  /* El fondo borroso lo creamos con la misma imagen via la variable CSS
     --bg-image que la plantilla pasara con style="--bg-image:url(...)" */
}

/* Capa 1 de la slide secundaria: fondo borroso a pantalla completa */
.feed-carousel-slide.is-secondary::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  filter: blur(60px) saturate(150%) brightness(0.50);
  transform: scale(1.20);
  z-index: 0;
  /* Animacion: el blur de fondo entra con fade suave */
  opacity: 0;
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
.feed-carousel-slide.is-secondary.is-active::before {
  opacity: 1;
}

/* Capa 2: tinte rojo radial sutil que integra con la marca */
.feed-carousel-slide.is-secondary::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 50% 40%, rgba(122,44,44,0.40) 0%, transparent 75%),
    linear-gradient(180deg, rgba(20,8,8,0.30) 0%, rgba(50,15,15,0.55) 100%);
  z-index: 1;
  pointer-events: none;
  /* Animacion: el tinte rojo aparece sincronizado con el blur */
  opacity: 0;
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
.feed-carousel-slide.is-secondary.is-active::after {
  opacity: 1;
}

/* Tarjeta de cristal centrada al 65% con la imagen real dentro */
/* ----------------------------------------------------------------------------
   TARJETA DE CRISTAL ADAPTABLE A LA IMAGEN
   ----------------------------------------------------------------------------
   La tarjeta NO tiene tamano fijo: se adapta al tamano natural de la imagen
   contenida, manteniendo su proporcion. Se aplican limites maximos para
   que en pantallas pequenas no rebose.

   La imagen va dentro como <img> real (no como background). Sobre la imagen
   se aplica una mascara radial que difumina los bordes hacia transparente
   (efecto "feather edge") creando la fusion suave con el cristal y el fondo.
   ---------------------------------------------------------------------------- */

.feed-carousel-card {
  position: absolute;
  top: 50%;
  left: 50%;
  /* Estado inicial: pequena (scale 0.85), sin sombras, ligeramente transparente */
  transform: translate(-50%, -50%) scale(0.85);
  opacity: 0.4;
  /* La tarjeta se adapta a la imagen: limites maximos, sin tamano fijo */
  max-width: 78vw;
  max-height: 78vh;
  /* Display flex para que el contenido (la imagen) determine el tamano */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  z-index: 2;
  /* Sin sombras al inicio: aparecen en la animacion */
  box-shadow: none;
  /* Animacion: zoom-in + fade-in con easing iOS-like */
  transition:
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Imagen dentro de la tarjeta: se renderiza con su proporcion natural */
.feed-carousel-card img {
  display: block;
  max-width: 78vw;
  max-height: 78vh;
  width: auto;
  height: auto;
  border-radius: 24px;
  filter: saturate(1.05) contrast(1.05);
  /* MASCARA DE BORDES DIFUMINADOS (feather edge medio):
     Gradiente radial que es opaco en el centro y se desvanece a transparente
     en los ultimos ~12% de cada lado. El efecto difumina los bordes elegantemente
     y los funde con el cristal del marco y el fondo borroso */
  -webkit-mask-image: radial-gradient(
    ellipse 95% 95% at center,
    rgba(0,0,0,1) 60%,
    rgba(0,0,0,0.90) 75%,
    rgba(0,0,0,0.50) 90%,
    rgba(0,0,0,0) 100%
  );
  mask-image: radial-gradient(
    ellipse 95% 95% at center,
    rgba(0,0,0,1) 60%,
    rgba(0,0,0,0.90) 75%,
    rgba(0,0,0,0.50) 90%,
    rgba(0,0,0,0) 100%
  );
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  /* Object-fit y object-position controlan como se posiciona la imagen
     si la imagen excede los limites max-width/max-height. */
  object-fit: contain;
  object-position: var(--bg-pos, center);
}

/* Modo COVER: la imagen llena el cristal recortando si hace falta */
.feed-carousel-slide.is-secondary.mode-cover .feed-carousel-card img {
  object-fit: cover;
}

/* Modo CONTAIN: la imagen se ve entera dentro del cristal (es el default) */
.feed-carousel-slide.is-secondary.mode-contain .feed-carousel-card img {
  object-fit: contain;
}

/* Estado activo: la tarjeta entra con su tamano final, opacidad total
   y todas las sombras del marco liquid glass. La transicion se nota
   especialmente al venir de la imagen 1 (pantalla completa). Las sombras
   se aplican al CARD (no al img) para que rodeen el rectangulo del cristal */
.feed-carousel-slide.is-secondary.is-active .feed-carousel-card {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  box-shadow:
    /* Sombra externa difusa para sensacion de flotacion */
    0 20px 60px rgba(0,0,0,0.55),
    0 8px 24px rgba(0,0,0,0.40),
    /* Glow rojizo de la marca */
    0 0 80px rgba(201,44,44,0.18);
}

/* Highlight superior y borde fino brillante: aplicados como pseudo-elemento
   sobre el card, ya que el border-radius del card podria ser distinto de la
   imagen si esta tuviese proporciones extremas */
.feed-carousel-slide.is-secondary.is-active .feed-carousel-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  pointer-events: none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.45),
    inset 0 -1px 0 rgba(0,0,0,0.30),
    inset 0 0 0 1px rgba(255,255,255,0.12);
}

/* Animacion de salida en la imagen DESTACADA (idx=0):
   Cuando la imagen 1 deja de ser activa (porque se desliza a la 2a),
   se aleja sutilmente con un zoom-out, justificando narrativamente
   que la imagen "se contrae" para convertirse en tarjeta */
.feed-carousel-slide[data-idx="0"] {
  transition:
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 700ms cubic-bezier(0.22, 1, 0.36, 1);
  transform: scale(1);
}
.feed-carousel-slide[data-idx="0"].is-leaving {
  transform: scale(0.92);
  filter: saturate(0.85) brightness(0.9);
}

/* Cuando el carrusel solo tiene 1 imagen, deshabilitamos el snap
   (se comporta como antes) */
.feed-slide:not(.has-carousel) .feed-carousel {
  overflow: hidden;
  pointer-events: none;
}

/* Cuando el carrusel solo tiene 1 imagen, deshabilitamos el snap y el cursor de "drag"
   (se comporta como antes) */
.feed-slide:not(.has-carousel) .feed-carousel {
  overflow: hidden;
  pointer-events: none;
}

/* Puntitos indicadores (estilo Instagram, abajo centrados) */
.feed-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 6px;
  padding: 8px 14px;
  background: linear-gradient(135deg, rgba(40,18,18,0.5) 0%, rgba(8,8,8,0.6) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 100px;
  border: 1px solid rgba(201,44,44,0.18);
  pointer-events: auto;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.15),
    0 4px 16px rgba(0,0,0,0.35);
}
.feed-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.4);
  padding: 0;
  cursor: none;
  transition: background 0.25s, transform 0.25s, width 0.25s;
}
.feed-dot:hover { background: rgba(255,255,255,0.7); }
.feed-dot.active {
  background: var(--gold);
  width: 18px;
  border-radius: 100px;
}

/* Pequeño contador de imagen actual (ej. "2/4") en esquina superior izquierda */
.feed-image-counter {
  position: absolute;
  top: 100px;
  left: 28px;
  z-index: 4;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--cream);
  background: linear-gradient(135deg, rgba(40,18,18,0.5) 0%, rgba(8,8,8,0.6) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid rgba(201,44,44,0.2);
  pointer-events: none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.15),
    0 4px 14px rgba(0,0,0,0.3);
}
.feed-image-counter-num {
  color: var(--gold);
  margin-right: 2px;
}

/* Adaptaciones móviles del carrusel */
@media (max-width: 900px) {
  .feed-dots {
    bottom: 22px;
    padding: 7px 12px;
    gap: 5px;
  }
  .feed-dot {
    width: 6px;
    height: 6px;
  }
  .feed-dot.active { width: 16px; }

  .feed-image-counter {
    top: 90px;
    left: 16px;
    font-size: 0.75rem;
    padding: 4px 10px;
  }
}

@media (max-width: 420px) {
  .feed-dots { bottom: 18px; }
  .feed-image-counter {
    top: 80px;
    left: 12px;
  }
}

/* ============================================================================
   NOVEDADES — Blog de eventos
   Listado de entradas (tarjetas con imagen) + vista individual del evento.
   ============================================================================ */

/* --- Bajada del hero de página (reutilizable) --- */
.page-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-style: italic;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 620px;
  margin-top: 24px;
}

/* --- Sección listado --- */
.novedades-section {
  background: var(--black);
  padding: 90px 60px 120px;
}

.novedades-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1300px;
  margin: 0 auto;
}

/* --- Tarjeta de novedad --- */
.novedad-card {
  display: flex;
  flex-direction: column;
  background: var(--charcoal);
  border: 1px solid rgba(201,44,44,0.12);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), border-color 0.4s, box-shadow 0.4s;
  position: relative;
}
.novedad-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 0 1px rgba(201,44,44,0.25);
}

.novedad-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #120d0d;
}
.novedad-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.novedad-card:hover .novedad-img { transform: scale(1.06); }

.novedad-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.55) 0%, transparent 55%);
  pointer-events: none;
}

.novedad-thumb-empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at center, rgba(201,44,44,0.12), transparent 70%);
}
.novedad-thumb-empty span {
  font-size: 3rem;
  color: var(--gold-dim);
  filter: drop-shadow(0 0 20px rgba(201,44,44,0.4));
}

.novedad-body {
  padding: 28px 30px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.novedad-date {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.novedad-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.7rem;
  letter-spacing: 0.02em;
  line-height: 1.05;
  color: var(--cream);
  margin-bottom: 14px;
  transition: color 0.3s;
}
.novedad-card:hover .novedad-title { color: var(--gold-light); }

.novedad-excerpt {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 22px;
  flex: 1;
}

.novedad-more {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  transition: letter-spacing 0.3s;
}
.novedad-card:hover .novedad-more { letter-spacing: 0.3em; }

/* --- Paginación --- */
.novedades-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 70px;
  flex-wrap: wrap;
}
.novedades-pagination .page-numbers {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--off-white);
  text-decoration: none;
  padding: 12px 18px;
  border: 1px solid rgba(201,44,44,0.2);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.novedades-pagination .page-numbers:hover,
.novedades-pagination .page-numbers.current {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

/* --- Estado vacío --- */
.novedades-empty {
  text-align: center;
  max-width: 500px;
  margin: 40px auto 60px;
  padding: 60px 30px;
}
.novedades-empty-icon {
  font-size: 3.5rem;
  color: var(--gold-dim);
  display: block;
  margin-bottom: 24px;
  filter: drop-shadow(0 0 25px rgba(201,44,44,0.4));
}
.novedades-empty h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  color: var(--cream);
  margin-bottom: 14px;
}
.novedades-empty p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-muted);
}

/* ============================================================================
   ENTRADA INDIVIDUAL (single) — un evento abierto
   ============================================================================ */

.single-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 160px 60px 60px;
}
.single-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}
.single-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.96) 0%, rgba(8,8,8,0.55) 45%, rgba(8,8,8,0.7) 100%);
}
.single-hero:not(.has-image) { min-height: 45vh; }

.single-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.single-back {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  margin-bottom: 24px;
  transition: opacity 0.3s;
}
.single-back:hover { opacity: 0.7; }

.single-date {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--off-white);
  margin-bottom: 16px;
}

.single-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--cream);
}

/* --- Contenido del artículo --- */
.single-article {
  max-width: 820px;
  margin: 0 auto;
  padding: 80px 60px 100px;
}

.single-content {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.02rem;
  line-height: 1.9;
  color: var(--off-white);
  font-weight: 300;
}
.single-content p { margin-bottom: 24px; }
.single-content h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: var(--cream);
  letter-spacing: 0.02em;
  margin: 48px 0 20px;
}
.single-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold-light);
  margin: 36px 0 16px;
}
.single-content a { color: var(--gold); text-decoration: underline; }
.single-content strong { color: var(--cream); font-weight: 500; }
.single-content img { border-radius: 4px; }

/* Galería Gutenberg dentro del evento */
.single-content .wp-block-gallery {
  margin: 40px 0;
  gap: 12px !important;
}
.single-content .wp-block-image img,
.single-content .wp-block-gallery img {
  border: 1px solid rgba(201,44,44,0.15);
}
.single-content figcaption {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 8px;
}

/* Pie del artículo: navegación + CTA */
.single-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(201,44,44,0.2);
  flex-wrap: wrap;
}
.single-back-btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--off-white);
  text-decoration: none;
  transition: color 0.3s;
}
.single-back-btn:hover { color: var(--gold); }
.single-cta-btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gold);
  padding: 14px 28px;
  text-decoration: none;
  transition: background 0.3s;
}
.single-cta-btn:hover { background: var(--gold-light); }

/* ============================================================================
   NOVEDADES — Responsive
   ============================================================================ */
@media (max-width: 900px) {
  .novedades-section { padding: 60px 22px 80px; }
  .novedades-grid { grid-template-columns: 1fr; gap: 24px; }
  .single-hero { padding: 130px 22px 40px; min-height: 50vh; }
  .single-article { padding: 50px 22px 70px; }
  .single-footer { flex-direction: column; align-items: stretch; text-align: center; }
  .single-cta-btn { text-align: center; }
}

@media (max-width: 420px) {
  .novedades-section { padding: 50px 18px 60px; }
  .single-hero { padding: 120px 18px 36px; }
  .single-article { padding: 40px 18px 60px; }
  .novedad-body { padding: 24px 22px 28px; }
}

/* ============================================================================
   NOVEDADES — Pieza DESTACADA (editorial estilo revista)
   ============================================================================ */
.novedad-featured {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 0;
  max-width: 1300px;
  margin: 0 auto 60px;
  background: var(--charcoal);
  border: 1px solid rgba(201,44,44,0.15);
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.4s, box-shadow 0.4s, transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.novedad-featured:hover {
  border-color: var(--gold);
  box-shadow: 0 25px 60px rgba(0,0,0,0.55), 0 0 0 1px rgba(201,44,44,0.3);
  transform: translateY(-4px);
}

.novedad-featured-thumb {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: #120d0d;
}
.novedad-featured-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.novedad-featured:hover .novedad-featured-img { transform: scale(1.05); }

.novedad-featured-tag {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gold);
  padding: 8px 16px;
}

.novedad-featured-body {
  padding: 56px 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.novedad-featured-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: 0.02em;
  color: var(--cream);
  margin: 16px 0 20px;
  transition: color 0.3s;
}
.novedad-featured:hover .novedad-featured-title { color: var(--gold-light); }

.novedad-featured-excerpt {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.65;
  color: var(--off-white);
  margin-bottom: 28px;
}

@media (max-width: 900px) {
  .novedad-featured { grid-template-columns: 1fr; margin-bottom: 40px; }
  .novedad-featured-thumb { min-height: 260px; }
  .novedad-featured-body { padding: 34px 26px 40px; }
}

/* ============================================================================
   CATÁLOGO — Navegación de carrusel en PC (flechas + arrastrar)
   Solo se muestran en dispositivos con ratón (pointer: fine).
   ============================================================================ */
@media (pointer: fine) {

  /* Flechas laterales ‹ › */
  .feed-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(8,8,8,0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease, background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    padding-bottom: 4px;
  }
  .feed-slide.has-carousel:hover .feed-nav-arrow { opacity: 1; }
  .feed-nav-arrow:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--black);
  }
  .feed-nav-prev { left: 24px; }
  .feed-nav-next { right: 24px; }
  .feed-nav-prev:hover { transform: translateY(-50%) translateX(-3px); }
  .feed-nav-next:hover { transform: translateY(-50%) translateX(3px); }
}

/* En pantallas pequeñas nunca mostramos las flechas (el swipe táctil basta) */
@media (max-width: 900px) {
  .feed-nav-arrow { display: none !important; }
}