﻿/* =====================================================
   OCAMMYS THEME — MAIN STYLESHEET v1.0.0
   ===================================================== */

/* ── 0. PRELOADER ─────────────────────────────────── */
.site-preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, #0C0C14 0%, #0A0A0F 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  /* Último recurso CSS: solo si JS falla completamente (3s) */
  animation: preloader-css-hide 0.4s 3s ease forwards;
}

body.preloader-active {
  overflow: hidden;
}

@keyframes preloader-css-hide {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}

.preloader-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.preloader-eyebrow {
  font-family: 'Montserrat', 'Helvetica Neue', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--color-text-muted, #8B7AAD);
  margin: 0 0 12px;
  opacity: 0;
  animation: preloader-up 0.45s 0.05s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.preloader-logo {
  font-family: 'Montserrat', 'Helvetica Neue', sans-serif;
  font-size: clamp(3.2rem, 10vw, 6.5rem);
  font-weight: 700;
  color: var(--color-text, #F0EBF8);
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0;
  opacity: 0;
  animation: preloader-up 0.5s 0.12s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.preloader-logo span {
  color: var(--color-accent, #C084FC);
}

.preloader-logo-img {
  display: block;
  max-height: clamp(130px, 22vw, 220px);
  max-width: min(480px, 78vw);
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  mix-blend-mode: screen;
  /* Estado inicial — GSAP anima desde aquí cuando la imagen esté cargada */
  opacity: 0;
  transform: translateY(18px);
}

.preloader-logo-year-img {
  display: block;
  max-height: clamp(32px, 5vw, 56px);
  max-width: min(260px, 60vw);
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  mix-blend-mode: screen;
  opacity: 0;
  transform: translateY(18px);
}

.preloader-line {
  width: 0;
  height: 1px;
  background: var(--gradient-prism, linear-gradient(90deg, #7304c5, #a717c4, #f0abfc, #7304c5));
  margin: 22px 0 18px;
}

.preloader-year {
  font-family: 'Montserrat', 'Helvetica Neue', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.4em;
  color: var(--color-text-muted, #8B7AAD);
  margin: 0;
  opacity: 0;
  animation: preloader-up 0.4s 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

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

@keyframes preloader-line {
  from { width: 0; }
  to   { width: 160px; }
}

/* Ocultar todo el contenido debajo del preloader hasta que salga */
body.preloader-active .site-header,
body.preloader-active .site-main,
body.preloader-active .site-footer {
  visibility: hidden;
}
body.preloader-done .site-header,
body.preloader-done .site-main,
body.preloader-done .site-footer {
  visibility: visible;
}

/* Prefers-reduced-motion: preloader directo sin animaciones */
@media (prefers-reduced-motion: reduce) {
  .site-preloader {
    animation: preloader-css-hide 0.1s 2s ease forwards;
  }
  .preloader-eyebrow,
  .preloader-logo,
  .preloader-logo-img,
  .preloader-logo-year-img,
  .preloader-year {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .preloader-line {
    width: 160px;
    animation: none;
  }
}

/* ── 1. CUSTOM PROPERTIES ─────────────────────────── */
:root {
  --color-bg:           #050509;
  --color-bg-secondary: #0C0C14;
  --color-primary:      #7304c5;
  --color-accent:       #C084FC;
  --color-cyan:         #a717c4;
  --color-pink:         #F0ABFC;
  --color-royal:        #1a4bde;
  --color-text:         #F4EFFF;
  --color-text-muted:   #9278a8;
  --color-border:       rgba(255, 255, 255, 0.07);

  /* Gradiente iridiscente — el "efecto vidrio/prisma" de la marca */
  --gradient-iridescent: linear-gradient(
    135deg,
    #7304c5  0%,
    #a717c4 28%,
    #f0abfc 50%,
    #c084fc 72%,
    #a717c4 100%
  );

  /* Gradiente sutil para bordes y líneas decorativas — toque royal en el centro */
  --gradient-prism: linear-gradient(
    90deg,
    #7304c5 0%,
    #1a4bde 40%,
    #a717c4 65%,
    #7304c5 100%
  );

  --font-display: 'Montserrat', 'Helvetica Neue', sans-serif;
  --font-heading: 'Montserrat', 'Helvetica Neue', sans-serif;
  --font-body:    'DM Sans', 'Helvetica Neue', Arial, sans-serif;

  --nav-height:      80px;
  --section-pad:     100px;
  --container-max:   1280px;
  --radius:          12px;
  --radius-sm:       6px;

  --ease-out:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in:    cubic-bezier(0.55, 0.055, 0.675, 0.19);
  --ease-inout: cubic-bezier(0.645, 0.045, 0.355, 1.0);
  --t-fast:     0.2s;
  --t-smooth:   0.4s;
}

/* ── 2. RESET & BASE ──────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  /* scroll-behavior: smooth eliminado — conflicto con GSAP ScrollTrigger causa lag */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg, #0A0A0F);
  color: var(--color-text, #F0EBF8);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent, #C084FC);
  text-decoration: none;
  transition: color var(--t-fast) ease;
}

a:hover {
  color: var(--color-text, #F0EBF8);
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.1;
  color: var(--color-text, #F0EBF8);
}

button {
  font-family: var(--font-body);
}

:focus-visible {
  outline: 2px solid var(--color-accent, #C084FC);
  outline-offset: 3px;
}

/* ── 3. LAYOUT ────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-pad) 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent, #C084FC);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background-color: var(--color-accent, #C084FC);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--color-text, #F0EBF8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-title-line {
  display: block;
  width: 60px;
  height: 2px;
  background: var(--gradient-prism);
  margin: 16px auto 0;
  transform-origin: left center;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted, #8B7AAD);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── 4. BUTTONS ───────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color var(--t-smooth) var(--ease-out),
              color var(--t-smooth) var(--ease-out),
              border-color var(--t-smooth) var(--ease-out),
              box-shadow var(--t-smooth) var(--ease-out),
              transform var(--t-fast) ease;
  text-decoration: none;
  border: 2px solid transparent;
  line-height: 1;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background-color: var(--color-primary, #7304c5);
  color: var(--color-text, #F0EBF8);
  border-color: var(--color-primary, #7304c5);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--color-text, #F4EFFF);
  border-color: var(--color-primary, #7304c5);
  box-shadow: 0 0 28px rgba(115, 4, 197, 0.5), 0 0 60px rgba(167, 23, 196, 0.12), 0 0 90px rgba(26, 75, 222, 0.07);
}

.btn-ghost {
  background-color: transparent;
  color: var(--color-text, #F4EFFF);
  border-color: rgba(192, 132, 252, 0.5);
  position: relative;
}

.btn-ghost:hover {
  background-color: rgba(115, 4, 197, 0.15);
  color: var(--color-text, #F4EFFF);
  border-color: var(--color-accent, #C084FC);
  box-shadow: 0 0 24px rgba(192, 132, 252, 0.3), 0 0 48px rgba(167, 23, 196, 0.1);
}

.btn-nominar {
  background-color: transparent;
  color: var(--color-accent, #C084FC);
  border-color: var(--color-accent, #C084FC);
  padding: 10px 22px;
  font-size: 0.78rem;
}

.btn-nominar:hover {
  background: linear-gradient(135deg, #7304c5, #a717c4);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 28px rgba(115, 4, 197, 0.45), 0 0 48px rgba(167, 23, 196, 0.15);
}

/* ── 5. NAVBAR ────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background-color: transparent;
  transition: background-color var(--t-smooth) var(--ease-out),
              transform var(--t-smooth) var(--ease-out),
              box-shadow var(--t-smooth) var(--ease-out);
  will-change: transform, background-color;
}

/* El hero ocupa todo el viewport sin importar el header fixed */
.front-page-main > :first-child {
  margin-top: 0;
}

.site-header.scrolled {
  background-color: rgba(10, 10, 15, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--color-border);
}

.site-header.hidden {
  transform: translateY(-100%);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  gap: 32px;
}

.site-logo {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--color-text, #F0EBF8);
  text-decoration: none;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.site-logo span {
  color: var(--color-accent, #C084FC);
}

.site-logo img {
  height: 44px;
  width: auto;
}

.site-logo:hover {
  color: var(--color-text, #F0EBF8);
}

/* ── Custom logo image (WordPress the_custom_logo()) ── */
.site-logo--img {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* El <a> que genera WP (custom-logo-link) */
.site-logo--img .custom-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

/* La imagen en sí — navbar */
.site-logo--img .custom-logo-link img,
.site-logo--img .custom-logo {
  height: 58px !important;
  width: auto !important;
  max-width: 210px !important;
  object-fit: contain;
  display: block;
  /* Hace el fondo negro "invisible" sobre fondos oscuros */
  mix-blend-mode: screen;
}

/* Logo en footer: más grande */
.site-logo--footer .custom-logo-link img,
.site-logo--footer .custom-logo {
  height: 100px !important;
  max-width: 300px !important;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  flex: 1;
  justify-content: center;
}

.primary-nav li {
  list-style: none;
}

.primary-nav a {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted, #8B7AAD);
  text-decoration: none;
  position: relative;
  transition: color var(--t-fast) ease;
}

.primary-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-accent, #C084FC);
  transition: width var(--t-smooth) var(--ease-out);
}

.primary-nav a:hover,
.primary-nav .current-menu-item a,
.primary-nav .current_page_item a {
  color: var(--color-text, #F0EBF8);
}

.primary-nav a:hover::after,
.primary-nav .current-menu-item a::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-text, #F0EBF8);
  transition: all var(--t-fast) ease;
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Nav overlay mobile */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background-color: rgba(10, 10, 15, 0.97);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.nav-overlay.active {
  display: flex;
}

.nav-overlay .nav-links,
.nav-overlay nav {
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.nav-overlay a {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  color: var(--color-text, #F0EBF8);
  text-decoration: none;
  transition: color var(--t-fast) ease;
}

.nav-overlay a:hover {
  color: var(--color-accent, #C084FC);
}

.nav-overlay-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--color-text, #F0EBF8);
  cursor: pointer;
  padding: 8px;
  line-height: 1;
  opacity: 0.7;
  transition: opacity var(--t-fast) ease;
}

.nav-overlay-close:hover {
  opacity: 1;
}

/* ── 6. HERO SECTION ──────────────────────────────── */
.hero-section {
  position: relative;
  overflow: hidden;
  background-color: var(--color-bg, #050509);
}

/* Glow ambiental izquierdo */
.hero-section::before {
  content: '';
  position: absolute;
  left: -10%;
  top: 20%;
  width: 55%;
  height: 65%;
  background: radial-gradient(
    ellipse at center,
    rgba(115, 4, 197, 0.10) 0%,
    rgba(115, 4, 197, 0.04) 45%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

/* Ribbon holográfico — esquina superior derecha */
.hero-section::after {
  content: '';
  position: absolute;
  right: -8%;
  top: -15%;
  width: 42%;
  height: 75%;
  background: linear-gradient(
    135deg,
    rgba(115, 4, 197, 0.09) 0%,
    rgba(167, 23, 196, 0.07) 25%,
    rgba(240, 171, 252, 0.06) 50%,
    rgba(129, 140, 248, 0.08) 75%,
    rgba(167, 23, 196, 0.05) 100%
  );
  filter: blur(36px);
  transform: rotate(-18deg);
  pointer-events: none;
  z-index: 0;
  border-radius: 40%;
  will-change: transform;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  min-height: 100vh;
  padding: calc(var(--nav-height) + 60px) 24px 80px;
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-muted, #8B7AAD);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.hero-eyebrow-line {
  display: block;
  width: 40px;
  height: 1px;
  background-color: var(--color-accent, #C084FC);
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 6.5vw, 96px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  color: var(--color-text, #F0EBF8);
  text-transform: uppercase;
}

.hero-title-line {
  display: block;
}

.hero-title-accent {
  background: var(--gradient-iridescent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--color-text-muted, #8B7AAD);
  max-width: 420px;
  line-height: 1.75;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* 3D Canvas side */
.hero-visual {
  position: relative;
  height: 100%;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Oculto en desktop, visible solo en mobile vía @media */
.canvas-scroll-zone {
  display: none;
}

#hero-canvas {
  width: 100%;
  height: 100%;
  display: block;
  min-height: 480px;
  animation: hero-float 3.4s ease-in-out infinite;
}

@keyframes hero-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-16px); }
}

.hero-fallback {
  display: none;
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: contain;
}

body.no-webgl #hero-canvas {
  display: none;
}

body.no-webgl .hero-fallback {
  display: block;
}

/* Año decorativo */
.hero-year {
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(100px, 14vw, 220px);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(115, 4, 197, 0.12);
  left: calc((100vw - var(--container-max)) / 2);
  bottom: 40px;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  line-height: 1;
  white-space: nowrap;
}

/* ── 7. ABOUT SECTION ─────────────────────────────── */
.about-section {
  background-color: var(--color-bg-secondary, #0C0C14);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.about-text p {
  color: var(--color-text-muted, #8B7AAD);
  line-height: 1.85;
  font-size: 1.02rem;
  margin-bottom: 16px;
}

.about-text p:last-of-type {
  margin-bottom: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-card {
  flex: 1;
  position: relative;
  padding: 8px 40px;
  text-align: center;
  background: none;
  border: none;
  border-radius: 0;
}

.stat-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 4.5vw, 5.2rem);
  font-weight: 900;
  line-height: 1;
  display: block;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
  background: linear-gradient(140deg, #ffffff 0%, #d8b4fe 45%, #7304c5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: filter 0.35s ease;
}

.stat-card:hover .stat-number {
  filter: brightness(1.15) drop-shadow(0 0 18px rgba(192,132,252,.5));
}

.stat-suffix {
  font-size: 0.55em;
  letter-spacing: 0;
}

.stat-label {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(192, 132, 252, 0.55);
  display: block;
}

/* ── 8. CATEGORIES SECTION ────────────────────────── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.category-card {
  background: rgba(8, 8, 14, 0.9);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: border-color var(--t-smooth) var(--ease-out),
              box-shadow var(--t-smooth) var(--ease-out),
              transform var(--t-smooth) var(--ease-out);
}

.category-card:hover {
  border-color: rgba(192, 132, 252, 0.45);
  box-shadow: 0 0 32px rgba(115, 4, 197, 0.2),
              inset 0 0 0 1px rgba(167, 23, 196, 0.06);
  transform: translateY(-5px);
}

.category-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 20px;
  display: block;
  color: var(--color-accent, #C084FC);
  flex-shrink: 0;
}

.category-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.category-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-text, #F0EBF8);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.category-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted, #8B7AAD);
  line-height: 1.7;
}

/* ── 9. JURY SECTION ──────────────────────────────── */
.jury-section {
  background-color: var(--color-bg-secondary, #0C0C14);
}

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

.jury-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.jury-card:focus-visible {
  outline: 2px solid var(--color-accent, #C084FC);
  outline-offset: 3px;
}

.jury-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-out);
}

.jury-card:hover .jury-card-img,
.jury-card:focus-visible .jury-card-img {
  transform: scale(1.06);
}

/* Placeholder cuando no hay foto */
.jury-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1A1428 0%, #0C0C18 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.jury-card-placeholder span {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(240, 235, 248, 0.4);
  text-transform: uppercase;
}

.jury-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 8, 22, 0.94) 0%,
    rgba(10, 8, 22, 0.55) 40%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity var(--t-smooth) var(--ease-out);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.jury-card:hover .jury-card-overlay,
.jury-card:focus-visible .jury-card-overlay {
  opacity: 1;
}

.jury-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(10, 10, 15, 0.9) 0%, transparent 100%);
  transition: opacity var(--t-smooth) var(--ease-out);
}

.jury-card:hover .jury-card-info {
  opacity: 0;
}

.jury-name {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-text, #F0EBF8);
  margin-bottom: 3px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.jury-role {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  color: var(--color-text-muted, #8B7AAD);
  letter-spacing: 0.05em;
}

.jury-name-hover {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-text, #F0EBF8);
  line-height: 1;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.jury-role-hover {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: rgba(240, 235, 248, 0.75);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── 10. COUNTDOWN SECTION ────────────────────────── */
.countdown-section {
  padding: 100px 0;
  background: #060611;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(124,58,237,0.25), inset 0 -1px 0 rgba(124,58,237,0.15);
}

.countdown-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 90% at 50% 50%, rgba(107,33,214,0.26) 0%, transparent 65%),
    radial-gradient(ellipse 45% 35% at 10% 100%, rgba(124,58,237,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 45% 35% at 90% 0%,  rgba(192,132,252,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.countdown-section .container {
  position: relative;
  z-index: 2;
}

/* Header block */
.countdown-header {
  margin-bottom: 52px;
}

/* Live badge */
.countdown-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-text-muted, #8B7AAD);
  margin-bottom: 18px;
}

.countdown-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34,197,94,0.9);
  flex-shrink: 0;
  animation: live-pulse 1.8s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1;   box-shadow: 0 0 8px rgba(34,197,94,0.9); }
  50%       { opacity: 0.35; box-shadow: 0 0 3px rgba(34,197,94,0.3); }
}

.countdown-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  color: var(--color-text, #F0EBF8);
  margin-bottom: 28px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Kick platform badge */
.countdown-platform {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 9px 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 100px;
}

.countdown-platform-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted, #8B7AAD);
}

.countdown-platform-logo {
  height: 24px;
  width: auto;
  display: block;
}

/* Timer */
.countdown-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.cd-item {
  text-align: center;
  min-width: 118px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 18px;
  padding: 26px 22px 20px;
  position: relative;
  overflow: hidden;
}

.cd-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(124,58,237,0.09) 0%, transparent 55%);
  pointer-events: none;
}

.cd-number {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7.5vw, 6.2rem);
  font-weight: 700;
  line-height: 1;
  display: block;
  font-feature-settings: 'tnum';
  font-variant-numeric: tabular-nums;
  background: linear-gradient(155deg, #ffffff 0%, #d8b4fe 45%, #7304c5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cd-unit {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-text-muted, #8B7AAD);
  margin-top: 12px;
  display: block;
}

.cd-separator {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  color: var(--color-royal, #1a4bde);
  line-height: 1;
  opacity: 0.5;
  align-self: center;
  margin-bottom: 20px;
}

.countdown-date {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: rgba(139,122,173,0.55);
  letter-spacing: 0.06em;
  margin-top: 20px;
}

.countdown-ended {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-accent, #C084FC);
}

/* ── 11. SPONSORS SECTION ─────────────────────────── */
.sponsors-section {
  background-color: var(--color-bg-secondary, #0C0C14);
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  align-items: center;
}

.sponsor-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: border-color var(--t-smooth) var(--ease-out);
  text-decoration: none;
}

.sponsor-item:hover {
  border-color: var(--color-border);
}

.sponsor-logo {
  max-height: 56px;
  width: auto;
  filter: grayscale(100%) brightness(0.65);
  transition: filter var(--t-smooth) var(--ease-out);
}

.sponsor-item:hover .sponsor-logo,
.sponsor-logo.hovered {
  filter: grayscale(0%) brightness(1);
}

.sponsor-name {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--color-text-muted, #8B7AAD);
  letter-spacing: 0.05em;
}

/* ── 12. BLOG SECTION ─────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.blog-section-footer {
  text-align: center;
}

.blog-card {
  background: rgba(8, 8, 14, 0.8);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--t-smooth) var(--ease-out),
              transform var(--t-smooth) var(--ease-out),
              box-shadow var(--t-smooth) var(--ease-out);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  border-color: rgba(115, 4, 197, 0.55);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.blog-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.65s var(--ease-out);
}

.blog-card:hover .blog-card-img {
  transform: scale(1.04);
}

.blog-card-body {
  padding: 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-cat {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent, #C084FC);
  margin-bottom: 10px;
  display: block;
  text-decoration: none;
}

a.blog-card-cat:hover {
  color: var(--color-text, #F0EBF8);
}

.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--color-text, #F0EBF8);
  line-height: 1.25;
}

.blog-card-title a {
  color: var(--color-text, #F0EBF8);
  text-decoration: none;
  transition: color var(--t-fast) ease;
}

.blog-card-title a:hover {
  color: var(--color-accent, #C084FC);
}

.blog-card-excerpt {
  font-size: 0.88rem;
  color: var(--color-text-muted, #8B7AAD);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 20px;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  gap: 12px;
}

.blog-card-date {
  font-size: 0.78rem;
  color: var(--color-text-muted, #8B7AAD);
  font-family: var(--font-heading);
}

.blog-card-link {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary, #7304c5);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--t-fast) ease;
  flex-shrink: 0;
}

.blog-card-link::after {
  content: '→';
  transition: transform var(--t-fast) ease;
  display: inline-block;
}

.blog-card-link:hover {
  color: var(--color-accent, #C084FC);
}

.blog-card-link:hover::after {
  transform: translateX(5px);
}

/* ── 13. FOOTER ───────────────────────────────────── */
.site-footer {
  background-color: var(--color-bg, #0A0A0F);
  padding: 80px 0 40px;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    #7304c5 20%,
    #a717c4 40%,
    #f0abfc 60%,
    #7304c5 80%,
    transparent 100%
  );
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  align-items: start;
}

.footer-brand .site-logo {
  font-size: 1.9rem;
  margin-bottom: 18px;
  display: inline-block;
}

.footer-brand .site-logo--img {
  display: block;
  margin-bottom: 18px;
}

.footer-tagline {
  color: var(--color-text-muted, #8B7AAD);
  font-size: 0.92rem;
  line-height: 1.75;
  max-width: 300px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text, #F0EBF8);
  margin-bottom: 22px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}

.footer-links li {
  list-style: none;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--color-text-muted, #8B7AAD);
  text-decoration: none;
  transition: color var(--t-fast) ease, padding-left var(--t-fast) ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--color-accent, #C084FC);
  padding-left: 6px;
}

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

.footer-social a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--color-text-muted, #8B7AAD);
  text-decoration: none;
  transition: color var(--t-fast) ease;
}

.footer-social a:hover {
  color: var(--color-accent, #C084FC);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  font-size: 0.82rem;
  color: var(--color-text-muted, #8B7AAD);
}

.footer-copyright a {
  color: var(--color-text-muted, #8B7AAD);
  text-decoration: none;
}

.footer-copyright a:hover {
  color: var(--color-accent, #C084FC);
}

.footer-privacy {
  font-size: 0.82rem;
  color: var(--color-text-muted, #8B7AAD);
}

/* ── 14. CUSTOM CURSOR ────────────────────────────── */
.custom-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  background-color: var(--color-primary, #7304c5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  top: 0;
  left: 0;
  mix-blend-mode: screen;
  transition: width 0.25s var(--ease-out),
              height 0.25s var(--ease-out),
              background-color 0.25s ease,
              opacity 0.25s ease;
  opacity: 0;
  will-change: transform;
}

.custom-cursor.visible {
  opacity: 1;
}

.custom-cursor.hover {
  width: 42px;
  height: 42px;
  background-color: var(--color-accent, #C084FC);
}

/* ── 15. BLOG / ARCHIVE PAGES ─────────────────────── */
.archive-header,
.blog-archive-section {
  padding-top: 0;
}

.archive-header {
  padding: 80px 0 0;
}

.archive-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.archive-description {
  color: var(--color-text-muted, #8B7AAD);
  max-width: 600px;
  margin: 16px auto 0;
  font-size: 1rem;
  line-height: 1.7;
}

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

/* ── 16. SINGLE POST ──────────────────────────────── */
.single-template,
.page-template {
  padding: 80px 0;
}

.single-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: start;
}

.post-header {
  margin-bottom: 40px;
  padding: 60px 0 0;
}

.post-header-inner {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.post-category {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent, #C084FC);
  margin-bottom: 14px;
  display: block;
}

.post-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 24px;
  line-height: 1.05;
}

.post-meta {
  font-size: 0.82rem;
  color: var(--color-text-muted, #8B7AAD);
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  font-family: var(--font-heading);
}

.post-featured-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 48px;
}

.post-content {
  max-width: 100%;
  font-size: 1.04rem;
  line-height: 1.88;
  color: var(--color-text-muted, #8B7AAD);
}

.post-content h2,
.post-content h3,
.post-content h4 {
  color: var(--color-text, #F0EBF8);
  margin-top: 44px;
  margin-bottom: 16px;
  font-family: var(--font-display);
}

.post-content h2 { font-size: 1.7rem; }
.post-content h3 { font-size: 1.4rem; }

.post-content p {
  margin-bottom: 22px;
}

.post-content a {
  color: var(--color-accent, #C084FC);
  text-decoration: underline;
  text-decoration-color: rgba(192, 132, 252, 0.3);
}

.post-content a:hover {
  text-decoration-color: var(--color-accent, #C084FC);
}

.post-content blockquote {
  border-left: 3px solid var(--color-primary, #7304c5);
  padding-left: 24px;
  margin: 36px 0;
  color: var(--color-text, #F0EBF8);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.55;
}

.post-content img {
  border-radius: var(--radius-sm);
  max-width: 100%;
  height: auto;
}

.post-content ul,
.post-content ol {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 22px;
}

.post-content li {
  margin-bottom: 6px;
}

.post-footer {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
}

.post-tags {
  font-size: 0.85rem;
  color: var(--color-text-muted, #8B7AAD);
  margin-bottom: 24px;
}

.post-tags .tags-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-right: 8px;
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.post-navigation a {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--color-text-muted, #8B7AAD);
  text-decoration: none;
  transition: color var(--t-fast) ease;
  letter-spacing: 0.05em;
}

.post-navigation a:hover {
  color: var(--color-accent, #C084FC);
}

/* ── 17. SIDEBAR ──────────────────────────────────── */
.sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}

.sidebar-widget {
  background: rgba(8, 8, 14, 0.9);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 28px;
}

.widget-title {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted, #8B7AAD);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

/* ── 18. PAGINATION ───────────────────────────────── */
.pagination-wrap {
  margin-top: 60px;
  display: flex;
  justify-content: center;
}

.pagination-wrap .nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.pagination-wrap .page-numbers {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--color-text-muted, #8B7AAD);
  text-decoration: none;
  padding: 8px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: all var(--t-fast) ease;
}

.pagination-wrap .page-numbers:hover,
.pagination-wrap .page-numbers.current {
  color: var(--color-text, #F0EBF8);
  border-color: var(--color-primary, #7304c5);
  background: rgba(115, 4, 197, 0.15);
}

/* ── 19. FORMS ────────────────────────────────────── */
input[type="text"],
input[type="email"],
input[type="url"],
textarea,
select {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text, #F0EBF8);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 16px;
  width: 100%;
  transition: border-color var(--t-fast) ease, background-color var(--t-fast) ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--color-primary, #7304c5);
  background: rgba(115, 4, 197, 0.08);
}

input::placeholder,
textarea::placeholder {
  color: var(--color-text-muted, #8B7AAD);
  opacity: 0.6;
}

/* ── 20. UTILITIES ────────────────────────────────── */
.text-center { text-align: center; }
.no-posts { color: var(--color-text-muted, #8B7AAD); text-align: center; padding: 60px 0; font-size: 1.05rem; }

/* GSAP animation setup — hidden until animated */
.section-animate,
.fade-up,
.fade-in {
  opacity: 0;
  transform: translateY(40px);
}

.stagger-cards .card,
.stagger-cards .blog-card,
.stagger-cards .category-card,
.stagger-cards .jury-card,
.stagger-cards .stat-card,
.stagger-cards .sponsor-item {
  opacity: 0;
  transform: translateY(50px);
}

/* Páginas internas (no portada): empujar contenido bajo el header fixed */
body:not(.home) .site-main {
  padding-top: var(--nav-height);
}

/* ── 21. ADMIN BAR COMPENSATION ───────────────────── */
.admin-bar .site-header {
  top: 32px;
}
.admin-bar body:not(.home) .site-main {
  padding-top: calc(var(--nav-height) + 32px);
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

/* =======================================================
   RESPONSIVE BREAKPOINTS
   ======================================================= */

/* ── Tablet: 768px – 1024px ───────────────────────── */
@media (max-width: 1024px) {
  :root {
    --section-pad: 72px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    min-height: 100vh;
    padding: calc(var(--nav-height) + 48px) 32px 80px;
  }

  .hero-content {
    order: 2;
    align-items: center;
  }

  .hero-visual {
    order: 1;
    min-height: 420px;
    height: 420px;
    margin-bottom: 0;
  }

  #hero-canvas,
  .hero-fallback {
    min-height: 400px;
  }

  .hero-eyebrow {
    justify-content: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-year {
    display: none;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 52px;
  }

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

  .jury-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .primary-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .single-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }
}

/* ── Mobile: < 768px ──────────────────────────────── */
@media (max-width: 767px) {
  :root {
    --section-pad: 60px;
    --nav-height:  64px;
  }

  /* ── Hero ── */
  .hero-inner {
    padding: calc(var(--nav-height) + 32px) 20px 52px;
    gap: 32px;
  }

  /* Premio arriba */
  .hero-content {
    order: 2;
    margin-bottom: 0;
    align-items: center;
  }

  /* Modelo arriba */
  .hero-visual {
    order: 1;
    height: 420px;
    min-height: 420px;
    position: relative;
    width: 100%;
  }

  .hero-title {
    font-size: clamp(36px, 11vw, 48px);
    margin-bottom: 16px;
    text-align: center;
  }

  .hero-eyebrow {
    justify-content: center;
  }

  .hero-desc {
    max-width: 100%;
    font-size: 1rem;
    margin-bottom: 32px;
    text-align: center;
  }

  /* CTA apilados y centrados */
  .hero-ctas {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
    justify-content: center;
  }

  #hero-canvas,
  .hero-fallback {
    min-height: 400px;
  }

  /* ── Zonas laterales de scroll (mobile) ── */
  /* Cubren el 22% izquierdo y derecho del canvas.
     touch-action:pan-y permite hacer scroll vertical
     sin que OrbitControls capture ese toque. */
  .canvas-scroll-zone {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 22%;
    z-index: 10;
    touch-action: pan-y;
    cursor: default;
  }

  .canvas-scroll-zone--left  {
    left: 0;
    background: linear-gradient(to right,  rgba(0, 0, 0, 0.15), transparent);
  }
  .canvas-scroll-zone--right {
    right: 0;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.15), transparent);
  }

  .section-eyebrow::before,
  .section-eyebrow::after {
    display: none;
  }

  .categories-grid {
    grid-template-columns: 1fr;
  }

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

  .blog-grid,
  .posts-grid {
    grid-template-columns: 1fr;
  }

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

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

  .footer-tagline {
    max-width: 100%;
  }

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

  .countdown-timer {
    gap: 10px;
  }

  .cd-item {
    min-width: 78px;
    padding: 20px 14px 16px;
    border-radius: 14px;
  }

  .cd-number {
    font-size: 2.8rem;
  }

  .cd-separator {
    font-size: 1.8rem;
    margin-bottom: 16px;
  }

  .countdown-section {
    padding: 80px 0;
  }

  .countdown-header {
    margin-bottom: 40px;
  }

  .countdown-title {
    margin-bottom: 22px;
  }

  .post-title {
    font-size: 1.8rem;
  }

  .archive-title {
    font-size: 2rem;
  }

  .nav-container {
    padding: 0 16px;
  }

  .container {
    padding: 0 16px;
  }

  /* Logo en navbar mobile */
  .site-logo--img .custom-logo-link img,
  .site-logo--img .custom-logo {
    height: 44px !important;
    max-width: 160px !important;
  }

  /* Logo en footer mobile */
  .site-logo--footer .custom-logo-link img,
  .site-logo--footer .custom-logo {
    height: 78px !important;
    max-width: 260px !important;
  }

  /* Logo en preloader mobile */
  .preloader-logo-img {
    max-height: clamp(100px, 28vw, 160px);
    max-width: min(360px, 82vw);
  }

  .preloader-logo-year-img {
    max-height: clamp(24px, 6vw, 40px);
    max-width: min(200px, 55vw);
  }
}

/* ── Muy pequeño: < 400px ─────────────────────────── */
@media (max-width: 399px) {
  .hero-inner {
    padding: calc(var(--nav-height) + 24px) 16px 44px;
    gap: 24px;
  }

  .hero-visual {
    height: 360px;
    min-height: 360px;
  }

  #hero-canvas,
  .hero-fallback {
    min-height: 340px;
  }

  .hero-title {
    font-size: clamp(32px, 10vw, 40px);
  }

  .cd-number {
    font-size: 2rem;
  }

  .cd-item {
    min-width: 66px;
    padding: 16px 10px 13px;
  }

  .countdown-timer {
    gap: 8px;
  }

  .cd-separator {
    font-size: 1.5rem;
  }

  .btn {
    padding: 12px 22px;
    font-size: 0.76rem;
  }
}

/* ── PARTÍCULAS DE CRISTAL (hero background) ────── */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.crystal-shard {
  position: absolute;
  border-radius: 1px;
  animation: crystal-drift linear infinite;
  will-change: transform;
  /* Sin box-shadow — cada shard tiene su propio compositing layer si se añade shadow */
}

@keyframes crystal-drift {
  0%   { transform: rotate(var(--base-rot, 45deg)) translateY(0px) scale(1); }
  30%  { transform: rotate(calc(var(--base-rot, 45deg) + 90deg)) translateY(-16px) scale(1.06); }
  65%  { transform: rotate(calc(var(--base-rot, 45deg) + 200deg)) translateY(-6px) scale(0.94); }
  100% { transform: rotate(calc(var(--base-rot, 45deg) + 360deg)) translateY(0px) scale(1); }
}

/* Glow puntual en la about-section — punto de atención */
.about-section {
  position: relative;
}
.about-section::before {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 40%;
  height: 60%;
  background: radial-gradient(
    ellipse at center,
    rgba(115, 4, 197, 0.07) 0%,
    transparent 65%
  );
  pointer-events: none;
  z-index: 0;
}
.about-section .container {
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════════════════════
   PARALLAX ORBS — Crystal spheres in the page flow that
   move at different scroll speeds to create depth layers.
   ═══════════════════════════════════════════════════════ */

/* Stage is absolute within <main> (position:relative),
   spans the full page so orbs can sit at any vertical %. */
.front-page-main { position: relative; overflow-x: clip; }

#orbs-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
  z-index: 2;
}

.p-orb-wrap {
  position: absolute;
  will-change: transform;
  opacity: 0;           /* GSAP fades each in on entry */
}

/* Horizontal offset via --ox CSS var (set inline per orb, always negative).
   left/right: var(--ox) → negative value pushes orb past the page edge. */
.p-orb-wrap--left  { left:  var(--ox, -50px); }
.p-orb-wrap--right { right: var(--ox, -50px); }

/* ── Orb image ───────────────────────────────────────── */
.p-orb {
  display: block;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  filter:
    drop-shadow(0 0 32px rgba(115, 4, 197, 0.60))
    drop-shadow(0 0 70px rgba(167, 92, 255, 0.25));
  animation: orb-sway var(--sway-d, 6s) ease-in-out infinite;
  animation-delay: var(--sway-del, 0s);
}

/* Ambient sway — only rotate+scale; y handled by GSAP */
@keyframes orb-sway {
  0%,  100% { transform: rotate(-4deg) scale(1.00); }
  50%        { transform: rotate( 4deg) scale(1.05); }
}

/* ── Size variants (≥ 1400px desktop) ───────────────── */
.p-orb--lg { width: 215px; height: 215px; }
.p-orb--md { width: 168px; height: 168px; }
.p-orb--sm { width: 122px; height: 122px; }

/* ── Mid-range desktop (1200 – 1399px): scale down ──── */
@media (min-width: 1200px) and (max-width: 1399px) {
  .p-orb--lg { width: 162px; height: 162px; }
  .p-orb--md { width: 128px; height: 128px; }
  .p-orb--sm { width:  95px; height:  95px; }
}

/* ── Tablet & mobile (< 1200px): todos los orbs, tamaño reducido ── */
@media (max-width: 1199px) {
  #orbs-stage .p-orb-wrap--left  { left:  -58px; }
  #orbs-stage .p-orb-wrap--right { right: -58px; }

  #orbs-stage .p-orb--lg { width: 105px; height: 105px; }
  #orbs-stage .p-orb--md { width:  88px; height:  88px; }
  #orbs-stage .p-orb--sm { width:  70px; height:  70px; }
}

@media (max-width: 767px) {
  #orbs-stage .p-orb-wrap--left  { left:  -44px; }
  #orbs-stage .p-orb-wrap--right { right: -44px; }

  #orbs-stage .p-orb--lg { width: 82px; height: 82px; }
  #orbs-stage .p-orb--md { width: 68px; height: 68px; }
  #orbs-stage .p-orb--sm { width: 54px; height: 54px; }
}

/* =======================================================
   CLIP-PATH FALLBACK
   ======================================================= */
@supports not (clip-path: polygon(0 0)) {
  .clip-shape {
    display: none;
  }
}

/* =======================================================
   PREFERS-REDUCED-MOTION
   ======================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .custom-cursor {
    display: none !important;
  }

  /* Show all elements immediately */
  .section-animate,
  .fade-up,
  .fade-in,
  .stagger-cards .card,
  .stagger-cards .blog-card,
  .stagger-cards .category-card,
  .stagger-cards .jury-card,
  .stagger-cards .stat-card,
  .stagger-cards .sponsor-item,
  .stagger-nominees .nominee-card,
  .about-word,
  .hero-title,
  .hero-eyebrow,
  .hero-desc,
  .hero-ctas,
  #hero-canvas {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* =======================================================
   MARQUEE STRIP
   ======================================================= */
.marquee-strip {
  overflow: hidden;
  background: var(--color-primary);
  padding: 11px 0;
  display: flex;
}

.marquee-track {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 100%;
  white-space: nowrap;
  animation: marquee-scroll 35s linear infinite;
  will-change: transform;
}


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

.marquee-item {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  flex-shrink: 0;
  padding: 0 6px;
}

.marquee-sep {
  color: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
  font-size: 0.5rem;
  padding: 0 6px;
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation-play-state: paused; }
}

/* =======================================================
   ABOUT V2 — Scrollmotion reveal
   ======================================================= */
.about-inner-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 72px;
}

.about-text-col .section-eyebrow {
  justify-content: flex-start;
  margin-bottom: 24px;
}

.about-text-col .section-eyebrow::before {
  display: none;
}

.about-headline {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.6vw, 4.8rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--color-text);
}

.about-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.about-line--accent .about-word {
  background: var(--gradient-iridescent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.about-word {
  display: inline-block;
  margin-right: 0.22em;
}

.about-desc-col {
  padding-top: 52px;
  display: flex;
  flex-direction: column;
}

.about-desc-col p {
  color: var(--color-text-muted);
  line-height: 1.88;
  font-size: 1.02rem;
  margin-bottom: 20px;
}

.about-desc-col p:last-of-type {
  margin-bottom: 0;
}

.about-stats-row {
  display: flex;
  align-items: center;
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* =======================================================
   NOMINEES SECTION
   ======================================================= */
.nominees-section {
  background-color: var(--color-bg);
  position: relative;
  overflow: hidden;
}

.nominees-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: var(--gradient-prism);
  opacity: 0.35;
}

.nominees-header {
  margin-bottom: 52px;
}

.nominees-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 10px;
  display: block;
}

.nominees-cat-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 7.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--color-text);
}

.nominees-title-line {
  display: block;
  width: 100px;
  height: 3px;
  background: var(--gradient-prism);
  margin-top: 20px;
  transform-origin: left center;
}

/* ── Row ─────────────────────────────────────── */
.nominees-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  align-items: stretch;
  margin-bottom: 48px;
}

/* ── Card ────────────────────────────────────── */
.nominee-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #0c0c15;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition:
    transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
    border-color 0.45s ease,
    box-shadow 0.45s ease;
}

.nominee-card:hover {
  transform: translateY(-10px);
  border-color: rgba(192, 132, 252, 0.55);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(192, 132, 252, 0.18),
    0 0 48px rgba(115, 4, 197, 0.22);
}

.nominee-card:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* ── Image wrapper ───────────────────────────── */
.nominee-img-wrap {
  position: relative;
  width: 100%;
  height: 360px;
  overflow: hidden;
  background: #08080E;
}

.nominee-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  filter: brightness(1) saturate(1);
  transition:
    filter 0.65s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.75s cubic-bezier(0.23, 1, 0.32, 1);
}

.nominee-card:hover .nominee-img,
.nominee-card:focus-visible .nominee-img {
  transform: scale(1.06);
}

/* ── Placeholder ─────────────────────────────── */
.nominee-placeholder {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  filter: brightness(0.85);
  transition: filter 0.65s cubic-bezier(0.23, 1, 0.32, 1);
}

.nominee-card:hover .nominee-placeholder,
.nominee-card:focus-visible .nominee-placeholder {
  filter: brightness(0.65);
}

.nominee-placeholder--1 { background: linear-gradient(165deg, #1e0640 0%, #0a0014 100%); }
.nominee-placeholder--2 { background: linear-gradient(165deg, #1a0030 0%, #0a0018 100%); }
.nominee-placeholder--3 { background: linear-gradient(165deg, #15003e 0%, #240060 100%); }
.nominee-placeholder--4 { background: linear-gradient(165deg, #150025 0%, #0a001e 100%); }
.nominee-placeholder--5 { background: linear-gradient(165deg, #1a0035 0%, #0a0020 100%); }

.nominee-placeholder:not([class*="nominee-placeholder--"]) {
  background: linear-gradient(165deg, #15003e 0%, #240060 100%);
}

.nominee-placeholder-silhouette {
  position: absolute;
  bottom: -8%;
  left: 50%;
  transform: translateX(-50%);
  width: 65%;
  padding-bottom: 85%;
  border-radius: 50% 50% 0 0;
  background: rgba(192, 132, 252, 0.06);
}

.nominee-placeholder-initial {
  position: absolute;
  top: 34%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  color: rgba(192, 132, 252, 0.15);
  line-height: 1;
  z-index: 1;
}

/* Gradient fade at the bottom for text legibility */
.nominee-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 75%;
  background: linear-gradient(
    to top,
    rgba(4, 4, 10, 1) 0%,
    rgba(4, 4, 10, 0.82) 30%,
    rgba(4, 4, 10, 0.22) 62%,
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* ── Overlay — solo oscurece levemente la foto ── */
.nominee-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(10, 4, 22, 0);
  transition: background 0.45s ease;
  pointer-events: none;
}

.nominee-card:hover .nominee-overlay {
  background: rgba(0, 0, 0, 0.30);
}

/* ── Info — nombre, handle y botón al pie ─────── */
.nominee-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 14px 16px;
  z-index: 3;
  transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1);
}

.nominee-card:hover .nominee-info {
  transform: translateY(-4px);
}

.nominee-name {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  line-height: 1.2;
  margin: 0 0 4px;
}

.nominee-handle {
  font-family: var(--font-heading);
  font-size: 0.66rem;
  color: rgba(192, 132, 252, 0.85);
  letter-spacing: 0.05em;
  display: block;
}

/* ── Vote button — aparece en la parte baja ────── */
.nominee-vote-btn {
  display: block;
  width: 100%;
  text-align: center;
  max-height: 0;
  margin-top: 0;
  padding: 0;
  overflow: hidden;
  background: rgba(115, 4, 197, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  opacity: 0;
  transition:
    max-height 0.35s ease,
    margin-top 0.35s ease,
    padding 0.35s ease,
    opacity 0.35s ease,
    background 0.2s ease;
}

.nominee-card:hover .nominee-vote-btn,
.nominee-card:focus-visible .nominee-vote-btn {
  max-height: 40px;
  margin-top: 10px;
  padding: 9px 0;
  opacity: 1;
}

.nominee-vote-btn:hover {
  background: var(--color-accent);
}

.nominees-bottom {
  text-align: center;
  padding-bottom: 8px;
}

/* =======================================================
   NOMINEES STAGE — curtain / reveal
   ======================================================= */
.nominees-stage {
  position: relative;
  max-height: 4600px;
  overflow: hidden;
}

.nominees-curtain {
  position: relative;
  margin-top: -520px;
  z-index: 10;
  pointer-events: none;
}

.nominees-curtain-gradient {
  height: 460px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(5, 5, 9, 0.55) 35%,
    rgba(5, 5, 9, 0.88) 65%,
    var(--color-bg) 100%
  );
}

.nominees-curtain-action {
  background: var(--color-bg);
  display: flex;
  justify-content: center;
  padding: 12px 0 64px;
  pointer-events: all;
}

/* ── Reveal button ─────────────────────────────── */
.nominees-reveal-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text);
  outline: none;
  transition: color 0.3s ease;
}

.nominees-reveal-btn::before {
  content: '';
  position: absolute;
  inset: -14px -28px;
  border-radius: 999px;
  background: rgba(115, 4, 197, 0.08);
  border: 1px solid rgba(115, 4, 197, 0.22);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.nominees-reveal-btn:hover::before,
.nominees-reveal-btn:focus-visible::before {
  opacity: 1;
}

.nominees-reveal-btn:hover,
.nominees-reveal-btn:focus-visible {
  color: var(--color-accent);
}

.nominees-reveal-icon {
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              color 0.3s ease;
}

.nominees-reveal-btn:hover .nominees-reveal-icon,
.nominees-reveal-btn:focus-visible .nominees-reveal-icon {
  transform: translateY(3px);
}

/* =======================================================
   RESPONSIVE — New sections
   ======================================================= */
@media (max-width: 1024px) {
  .about-inner-v2 {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-desc-col {
    padding-top: 0;
  }

  .about-stats-row {
    flex-wrap: wrap;
  }
  .about-stats-row .stat-card {
    flex: 1 1 50%;
    padding: 24px 16px;
  }
  .about-stats-row .stat-card::after { display: none; }
  .about-stats-row .stat-card:nth-child(1),
  .about-stats-row .stat-card:nth-child(2) {
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .about-stats-row .stat-card:nth-child(1),
  .about-stats-row .stat-card:nth-child(3) {
    border-right: 1px solid rgba(255,255,255,0.08);
  }

  .nominees-cat-title {
    font-size: clamp(2.4rem, 5vw, 4rem);
  }

  /* Horizontal scroll on tablet */
  .nominees-row {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 20px;
    gap: 8px;
    align-items: flex-start;
  }

  .nominees-row::-webkit-scrollbar { display: none; }

  .nominee-card {
    flex-shrink: 0;
    width: 200px;
  }

  .nominee-img-wrap {
    height: 290px;
  }

  .nominees-stage {
    max-height: 4100px;
  }

  .nominees-curtain {
    margin-top: -480px;
  }
}

@media (max-width: 767px) {
  .about-headline {
    font-size: clamp(2rem, 9vw, 3rem);
    line-height: 1.08;
  }

  .about-stats-row .stat-number {
    font-size: clamp(2.4rem, 9vw, 3.5rem);
  }

  .nominees-cat-title {
    font-size: clamp(2rem, 9vw, 3rem);
    line-height: 0.92;
  }

  .nominee-card {
    width: 160px;
  }

  .nominee-img-wrap {
    height: 240px;
  }

  .nominee-name {
    font-size: 0.75rem;
  }

  .nominees-stage {
    max-height: 3500px;
  }

  .nominees-curtain {
    margin-top: -420px;
  }

  .nominees-curtain-gradient {
    height: 360px;
  }
}

/* =======================================================
   FAQ SECTION
   ======================================================= */
.faq-section {
  background: var(--color-bg);
  position: relative;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── Item ─────────────────────────────────────────────── */
.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.faq-item.is-open {
  border-color: rgba(192, 132, 252, 0.38);
  box-shadow: 0 0 32px rgba(115, 4, 197, 0.10);
}

/* ── Question button ──────────────────────────────────── */
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 28px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.45;
  transition: color 0.25s ease;
}

.faq-question:hover,
.faq-item.is-open .faq-question {
  color: #c084fc;
}

/* ── +/× icon ─────────────────────────────────────────── */
.faq-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid rgba(192, 132, 252, 0.45);
  position: relative;
  transition:
    transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
    background  0.3s ease,
    border-color 0.3s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: #c084fc;
  border-radius: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.faq-icon::before { width: 11px; height: 1.5px; }
.faq-icon::after  { width: 1.5px; height: 11px; }

.faq-item.is-open .faq-icon {
  background: rgba(115, 4, 197, 0.22);
  border-color: #c084fc;
  transform: rotate(45deg);
}

/* ── Answer panel ─────────────────────────────────────── */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.23, 1, 0.32, 1);
}

.faq-item.is-open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 28px 24px;
  margin: 0;
  color: var(--color-text-muted, #a09ab8);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ── Mobile ───────────────────────────────────────────── */
@media (max-width: 767px) {
  .faq-question {
    padding: 18px 20px;
    font-size: 0.9rem;
  }
  .faq-answer p {
    padding: 0 20px 20px;
    font-size: 0.88rem;
  }
}
