/* ============================================================
   FALLAS-GUIDE.ES — SINGLE DESIGN FILE
   Valencian Flag Colors: Red (#DA1B2C) & Gold (#FCDD09)
   ============================================================ */

/* --- IMPORTS --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;0,900;1,400&family=Source+Sans+3:wght@300;400;500;600;700&family=Fira+Sans:wght@400;500;600;700&display=swap');

/* --- CSS VARIABLES --- */
:root {
  /* Valencian Flag Primary */
  --red: #DA1B2C;
  --red-deep: #B01523;
  --red-light: #E8434F;
  --gold: #FCDD09;
  --gold-dark: #D4B800;
  --gold-warm: #F5C518;
  --gold-pale: #FFF3B0;

  /* Accent & Support */
  --fire-orange: #F07523;
  --fire-glow: #FF9A3C;
  --night-blue: #1A1F3A;
  --night-medium: #252B4D;
  --sky-blue: #3B82F6;

  /* Neutrals */
  --cream: #FFFDF5;
  --cream-warm: #FFF9E6;
  --white: #FFFFFF;
  --gray-50: #FAFAF8;
  --gray-100: #F3F2EE;
  --gray-200: #E5E3DC;
  --gray-300: #D1CFC5;
  --gray-400: #A8A59B;
  --gray-500: #7D7A70;
  --gray-600: #5C5A52;
  --gray-700: #3D3B35;
  --gray-800: #2A2924;
  --gray-900: #1A1916;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
  --font-ui: 'Fira Sans', 'Helvetica Neue', sans-serif;

  /* Spacing */
  --section-pad: 5rem 2rem;
  --section-pad-sm: 3rem 1.25rem;
  --container-max: 1200px;
  --container-narrow: 800px;

  /* Effects */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.16);
  --shadow-glow-red: 0 4px 24px rgba(218,27,44,0.25);
  --shadow-glow-gold: 0 4px 24px rgba(252,221,9,0.3);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Language Switching (i18n) */
.lang-hidden {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--red-deep); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--gray-900);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1rem; }

::selection {
  background: var(--gold);
  color: var(--gray-900);
}

/* --- CONTAINER --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

.container--narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- DECORATIVE STRIPE (Valencian Flag) --- */
.flag-stripe {
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--red) 0, var(--red) 12.5%,
    var(--gold) 12.5%, var(--gold) 25%
  );
}

.flag-stripe--thick {
  height: 10px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 253, 245, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.nav__logo-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.nav__logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}

.nav__logo-text span {
  color: var(--red);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav__links a {
  display: block;
  padding: 0.5rem 0.85rem;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--red);
  background: rgba(218,27,44,0.06);
}

/* Dropdown */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-trigger {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__dropdown-trigger::after {
  content: '▾';
  font-size: 0.7em;
  opacity: 0.5;
}

.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 100;
}

.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__dropdown-menu a {
  padding: 0.6rem 0.85rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

/* Language Switcher */
.nav__lang {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 1rem;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 3px;
}

.nav__lang button {
  border: none;
  background: transparent;
  padding: 0.35rem 0.65rem;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  border-radius: 4px;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav__lang button.active {
  background: var(--white);
  color: var(--red);
  box-shadow: var(--shadow-sm);
}

.nav__lang button:hover:not(.active) {
  color: var(--gray-700);
}

/* Mobile Menu Toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  position: relative;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-800);
  position: absolute;
  left: 7px;
  transition: var(--transition);
}

.nav__toggle span:nth-child(1) { top: 10px; }
.nav__toggle span:nth-child(2) { top: 17px; }
.nav__toggle span:nth-child(3) { top: 24px; }

.nav__toggle.open span:nth-child(1) { top: 17px; transform: rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { top: 17px; transform: rotate(-45deg); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 5rem;
  background: linear-gradient(135deg, var(--night-blue) 0%, #2A1520 40%, var(--red-deep) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(252,221,9,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(218,27,44,0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(240,117,35,0.1) 0%, transparent 60%);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--cream) 0%, transparent 100%);
  z-index: 2;
}

/* Animated fire particles */
.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero__particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  animation: particleFloat 4s ease-in-out infinite;
}

@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(0) scale(1); }
  20% { opacity: 0.8; }
  100% { opacity: 0; transform: translateY(-200px) scale(0); }
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 820px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(252,221,9,0.15);
  border: 1px solid rgba(252,221,9,0.3);
  border-radius: 100px;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.8s ease both;
}

.hero__title {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 1.25rem;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero__title span {
  background: linear-gradient(135deg, var(--gold) 0%, var(--fire-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: rgba(255,255,255,0.8);
  line-height: 1.65;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn--primary:hover {
  background: var(--red-deep);
  border-color: var(--red-deep);
  color: var(--white);
  box-shadow: var(--shadow-glow-red);
  transform: translateY(-1px);
}

.btn--gold {
  background: var(--gold);
  color: var(--gray-900);
  border-color: var(--gold);
}

.btn--gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--gray-900);
  box-shadow: var(--shadow-glow-gold);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.btn--outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  color: var(--white);
}

.btn--outline-dark {
  background: transparent;
  color: var(--gray-700);
  border-color: var(--gray-300);
}

.btn--outline-dark:hover {
  border-color: var(--red);
  color: var(--red);
}

.btn--sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.82rem;
}

.btn--lg {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

/* ============================================================
   SECTION STYLES
   ============================================================ */
.section {
  padding: var(--section-pad);
}

.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--gray { background: var(--gray-50); }

.section--dark {
  background: var(--night-blue);
  color: rgba(255,255,255,0.85);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--white);
}

.section--red {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
  color: rgba(255,255,255,0.9);
}

.section--red h2 { color: var(--white); }

.section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section__overline {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.section--dark .section__overline,
.section--red .section__overline {
  color: var(--gold);
}

.section__title {
  margin-bottom: 1rem;
}

.section__desc {
  font-size: 1.05rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.section--dark .section__desc {
  color: rgba(255,255,255,0.65);
}

/* ============================================================
   PAGE HERO (Sub-pages)
   ============================================================ */
.page-hero {
  padding: 10rem 2rem 4rem;
  text-align: center;
  background: linear-gradient(135deg, var(--night-blue) 0%, var(--red-deep) 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 70%, rgba(252,221,9,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 30%, rgba(218,27,44,0.15) 0%, transparent 50%);
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--cream) 0%, transparent 100%);
  z-index: 2;
}

.page-hero__content {
  position: relative;
  z-index: 3;
}

.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.25rem;
}

.page-hero__breadcrumb a {
  color: rgba(255,255,255,0.6);
}

.page-hero__breadcrumb a:hover {
  color: var(--gold);
}

.page-hero__breadcrumb span {
  color: var(--gold);
}

.page-hero__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.page-hero__desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   CARDS
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.card-grid--3 {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.card-grid--2 {
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
}

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--gray-300);
}

.card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--gray-100);
}

.card__body {
  padding: 1.75rem;
}

.card__tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(218,27,44,0.08);
  color: var(--red);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}

.card__tag--gold {
  background: rgba(252,221,9,0.15);
  color: var(--gold-dark);
}

.card__title {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.card__title a {
  color: var(--gray-900);
}

.card__title a:hover {
  color: var(--red);
}

.card__text {
  font-size: 0.92rem;
  color: var(--gray-500);
  line-height: 1.65;
}

.card__footer {
  padding: 1rem 1.75rem;
  border-top: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
}

.card__link {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.card__link:hover {
  gap: 0.5rem;
}

/* Feature Card (icon-based) */
.feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  padding: 2rem;
  transition: var(--transition);
  text-align: center;
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--red);
}

.feature-card__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-card__title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.feature-card__text {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--gold), var(--red), var(--fire-orange));
  border-radius: 3px;
}

.timeline__item {
  position: relative;
  padding-left: 72px;
  padding-bottom: 2.5rem;
}

.timeline__dot {
  position: absolute;
  left: 16px;
  top: 4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red);
  border: 4px solid var(--cream);
  box-shadow: 0 0 0 2px var(--red);
  z-index: 2;
}

.timeline__dot--gold {
  background: var(--gold);
  box-shadow: 0 0 0 2px var(--gold-dark);
}

.timeline__dot--fire {
  background: var(--fire-orange);
  box-shadow: 0 0 0 2px var(--fire-orange);
}

.timeline__date {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 0.35rem;
}

.timeline__title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.timeline__text {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.65;
}

.timeline__meta {
  display: flex;
  gap: 1rem;
  margin-top: 0.75rem;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--gray-400);
}

.timeline__meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ============================================================
   CONTENT BLOCKS
   ============================================================ */
.content-block {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.content-block h2 {
  margin-bottom: 1rem;
}

.content-block h3 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--red);
}

.content-block p {
  font-size: 1.02rem;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.content-block ul,
.content-block ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.content-block li {
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.75;
  margin-bottom: 0.5rem;
}

.content-block blockquote {
  border-left: 4px solid var(--gold);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  background: var(--cream-warm);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--gray-600);
}

/* Info Box */
.info-box {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--red);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}

.info-box--gold {
  border-left-color: var(--gold);
  background: var(--cream-warm);
}

.info-box--tip {
  border-left-color: var(--sky-blue);
}

.info-box__title {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  color: var(--red);
}

.info-box--gold .info-box__title { color: var(--gold-dark); }
.info-box--tip .info-box__title { color: var(--sky-blue); }

.info-box p {
  font-size: 0.92rem;
  color: var(--gray-600);
  margin-bottom: 0;
}

/* ============================================================
   TABLE
   ============================================================ */
.table-wrap {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

thead {
  background: var(--night-blue);
  color: var(--white);
}

th {
  padding: 0.85rem 1.25rem;
  text-align: left;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
}

tbody tr:hover {
  background: var(--cream-warm);
}

tbody tr:last-child td {
  border-bottom: none;
}

/* ============================================================
   FAQ / ACCORDION
   ============================================================ */
.accordion {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.accordion__item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: var(--white);
  transition: var(--transition);
}

.accordion__item:hover {
  border-color: var(--gray-300);
}

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-800);
  text-align: left;
  line-height: 1.4;
}

.accordion__trigger::after {
  content: '+';
  font-family: var(--font-ui);
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--red);
  flex-shrink: 0;
  margin-left: 1rem;
  transition: var(--transition);
}

.accordion__item.open .accordion__trigger::after {
  content: '−';
}

.accordion__item.open .accordion__trigger {
  color: var(--red);
}

.accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.accordion__body-inner {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ============================================================
   STATS ROW
   ============================================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
  padding: 3rem 0;
}

.stat__number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1.1;
}

.section--dark .stat__number {
  color: var(--gold);
}

.stat__label {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  margin-top: 0.35rem;
}

.section--dark .stat__label {
  color: rgba(255,255,255,0.6);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 50%, var(--night-blue) 100%);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(252,221,9,0.15) 0%, transparent 60%);
}

.cta-banner__content {
  position: relative;
  z-index: 2;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  max-width: 550px;
  margin: 0 auto 2rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--gray-900);
  color: rgba(255,255,255,0.55);
  padding: 4rem 2rem 2rem;
}

.footer__grid {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer__brand span { color: var(--gold); }

.footer__about {
  font-size: 0.88rem;
  line-height: 1.65;
  max-width: 320px;
}

.footer h4 {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: 0.4rem;
}

.footer__links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer__links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer__bottom {
  max-width: var(--container-max);
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__bottom a {
  color: rgba(255,255,255,0.45);
}

.footer__bottom a:hover {
  color: var(--white);
}

/* ============================================================
   TWO-COLUMN LAYOUT
   ============================================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.two-col--reverse {
  direction: rtl;
}

.two-col--reverse > * {
  direction: ltr;
}

.two-col__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.two-col__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.two-col__text h2 { margin-bottom: 1rem; }
.two-col__text h3 { margin-bottom: 0.75rem; color: var(--red); }
.two-col__text p { color: var(--gray-600); font-size: 1rem; line-height: 1.75; }

/* ============================================================
   LANGUAGE TOGGLE (content switching)
   ============================================================ */
[data-lang="es"] { display: none; }
html[lang="es"] [data-lang="es"] { display: block; }
html[lang="es"] [data-lang="en"] { display: none; }

/* For inline elements */
span[data-lang="es"],
a[data-lang="es"] { display: none; }
html[lang="es"] span[data-lang="es"],
html[lang="es"] a[data-lang="es"] { display: inline; }
html[lang="es"] span[data-lang="en"],
html[lang="es"] a[data-lang="en"] { display: none; }

/* For flex items */
div.flex-lang[data-lang="es"] { display: none; }
html[lang="es"] div.flex-lang[data-lang="es"] { display: flex; }
html[lang="es"] div.flex-lang[data-lang="en"] { display: none; }

/* For grid items */
div.grid-lang[data-lang="es"] { display: none; }
html[lang="es"] div.grid-lang[data-lang="es"] { display: grid; }
html[lang="es"] div.grid-lang[data-lang="en"] { display: none; }

/* ============================================================
   LEGAL PAGE
   ============================================================ */
.legal-content {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

.legal-content h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--gray-900);
}

.legal-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--red);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.legal-content strong {
  color: var(--gray-700);
}

.legal-divider {
  height: 1px;
  background: var(--gray-200);
  margin: 3rem 0;
}

/* ============================================================
   SCHEDULE / EVENT LIST
   ============================================================ */
.schedule-day {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.schedule-day__header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.75rem;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  cursor: pointer;
}

.schedule-day__date {
  text-align: center;
  min-width: 60px;
}

.schedule-day__date-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
}

.schedule-day__date-month {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
}

.schedule-day__info h3 {
  margin-bottom: 0.2rem;
  font-size: 1.15rem;
}

.schedule-day__info p {
  font-size: 0.88rem;
  color: var(--gray-500);
  margin-bottom: 0;
}

.schedule-day__events {
  padding: 1.5rem 1.75rem;
}

.schedule-event {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray-100);
}

.schedule-event:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.schedule-event__time {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--red);
}

.schedule-event__name {
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.25rem;
}

.schedule-event__desc {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.schedule-event__location {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-top: 0.3rem;
  font-family: var(--font-ui);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .two-col {
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 3.5rem 1.25rem;
  }

  /* Nav Mobile */
  .nav__links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 80px 1.5rem 1.5rem;
    gap: 0.5rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    transition: var(--transition);
    z-index: 9999;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
  }

  .nav__links.open {
    transform: translateX(0);
  }

  .nav__links a {
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--gray-800);
    background: transparent;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  
  .nav__links a:hover,
  .nav__links a:active {
    background: rgba(218, 27, 44, 0.08);
    color: var(--red);
  }

  .nav__dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0.5rem 0 0.5rem 1.5rem;
    min-width: auto;
    background: rgba(218, 27, 44, 0.03);
    border-radius: 8px;
    margin: 0.25rem 0;
  }
  
  .nav__dropdown-menu a {
    font-size: 1rem;
    padding: 0.75rem 1rem;
  }

  .nav__toggle {
    display: block;
    z-index: 10000;
    position: relative;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(218, 27, 44, 0.1);
    width: 44px;
    height: 44px;
  }
  
  .nav__toggle span {
    width: 24px;
    height: 3px;
    left: 10px;
  }
  
  .nav__toggle span:nth-child(1) { top: 14px; }
  .nav__toggle span:nth-child(2) { top: 21px; }
  .nav__toggle span:nth-child(3) { top: 28px; }
  
  .nav__toggle.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
  .nav__toggle.open span:nth-child(2) { opacity: 0; }
  .nav__toggle.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

  .nav__lang {
    margin-left: 0;
    margin-right: 0.5rem;
  }

  /* Hero Mobile */
  .hero {
    min-height: 75vh;
    padding: 7rem 1.5rem 4rem;
  }

  .hero__buttons {
    flex-direction: column;
    align-items: center;
  }

  /* Page Hero Mobile */
  .page-hero {
    padding: 8rem 1.5rem 3rem;
  }

  /* Two Column Mobile */
  .two-col,
  .two-col--reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
    direction: ltr;
  }

  /* Cards Mobile */
  .card-grid,
  .card-grid--2,
  .card-grid--3 {
    grid-template-columns: 1fr;
  }

  /* Timeline Mobile */
  .timeline::before {
    left: 14px;
  }

  .timeline__item {
    padding-left: 48px;
  }

  .timeline__dot {
    left: 4px;
    width: 24px;
    height: 24px;
  }

  /* Footer Mobile */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Schedule Mobile */
  .schedule-day__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .schedule-event {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  /* Stats Mobile */
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stat__number {
    font-size: 2.2rem;
  }

  /* Table responsive */
  .table-wrap {
    font-size: 0.85rem;
  }

  th, td {
    padding: 0.65rem 0.85rem;
  }
}

@media (max-width: 480px) {
  .stats-row {
    grid-template-columns: 1fr 1fr;
  }

  .hero__title {
    font-size: 2.2rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
  .nav, .footer, .hero__particles, .cta-banner { display: none; }
  body { color: #000; background: #fff; }
  a { color: #000; }
}
