/* XI CAMES 2026 - Design System */
:root {
  --wine: #6B1A2E;
  --wine-deep: #4A0E1F;
  --wine-soft: #8B2843;
  --gold: #C9A449;
  --gold-light: #E6C987;
  --gold-deep: #8C6B20;
  --cream: #FBF6EB;
  --cream-deep: #F3EAD4;
  --pink: #F5D4D8;
  --ink: #2B1419;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Spectral', Georgia, serif;
  --font-caps: 'Cinzel', 'Trajan Pro', serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ================= NAVIGATION ================= */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid var(--cream-deep);
  backdrop-filter: blur(12px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
.nav-inner {
  width: min(100%, 1380px);
  min-height: 76px;
  margin: 0 auto;
  padding: 10px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--wine);
  text-decoration: none;
  font-family: var(--font-caps);
  letter-spacing: 0.15em;
  flex: 0 0 auto;
}
.nav-brand img { width: 48px; height: 48px; object-fit: contain; display: block; }
.nav-brand-name, .nav-brand-year { display: block; }
.nav-brand-name { font-size: 15px; font-weight: 700; }
.nav-brand-year { margin-top: 1px; font-size: 9px; letter-spacing: 0.22em; opacity: 0.7; }
.nav-links { display: flex; justify-content: center; list-style: none; }
.nav-links a {
  position: relative;
  display: block;
  min-height: 44px;
  padding: 12px 11px;
  color: var(--ink);
  border-radius: 4px;
  text-decoration: none;
  font-family: var(--font-caps);
  font-size: 10px;
  letter-spacing: 0.14em;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--wine); background: rgba(201, 164, 73, 0.07); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 5px;
  width: 20px; height: 2px;
  background: var(--gold);
  transform: translateX(-50%);
}
.nav-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: var(--wine);
  color: var(--cream);
  border: 1px solid var(--gold);
  border-radius: 4px;
  text-decoration: none;
  font-family: var(--font-caps);
  font-size: 10px;
  letter-spacing: 0.16em;
  white-space: nowrap;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}
.nav-cta:hover { background: var(--wine-deep); box-shadow: 0 5px 18px rgba(74,14,31,.22); transform: translateY(-1px); }
.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  background: transparent;
  color: var(--wine);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span { width: 22px; height: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile { display: none; }

.floating-ticket {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid var(--gold-light);
  border-radius: 999px;
  background: var(--wine);
  color: var(--cream);
  box-shadow: 0 12px 32px rgba(74,14,31,.34), 0 0 0 4px rgba(201,164,73,.13);
  text-decoration: none;
  font: 600 10px var(--font-caps);
  letter-spacing: .15em;
  text-transform: uppercase;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.floating-ticket svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.floating-ticket:hover { background: var(--wine-deep); transform: translateY(-3px); box-shadow: 0 16px 36px rgba(74,14,31,.4), 0 0 0 5px rgba(201,164,73,.17); }

/* ================= TYPOGRAPHY & BUTTONS ================= */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; color: var(--wine-deep); line-height: 1.1; }
.eyebrow {
  font-family: var(--font-caps);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--gold-deep);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.eyebrow::before, .eyebrow::after { content: ''; width: 28px; height: 1px; background: var(--gold); }
.eyebrow.left { justify-content: flex-start; }
.eyebrow.left::before { display: none; }
.section-eyebrow { display: flex; }
.section-title {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 500;
  text-align: center;
  margin: 16px 0 22px;
}
.section-title em { color: var(--gold-deep); font-style: italic; }
.container { width: min(100%, 1280px); margin: 0 auto; }
section { position: relative; padding: 96px 40px; }
.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border: 1px solid transparent;
  border-radius: 2px;
  text-decoration: none;
  font-family: var(--font-caps);
  font-size: 11px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s, background .2s, color .2s, box-shadow .2s;
}
.btn-primary { background: var(--wine); color: var(--cream); border-color: var(--gold); box-shadow: 0 3px 0 var(--wine-deep); }
.btn-primary:hover { background: var(--wine-deep); transform: translateY(-2px); box-shadow: 0 5px 0 var(--wine-deep), 0 12px 26px rgba(74,14,31,.2); }
.btn-ghost { background: transparent; color: var(--wine); border-color: var(--gold); }
.btn-ghost:hover { background: var(--wine); color: var(--cream); }
.btn-disabled, .btn:disabled { background: #ded5c3; border-color: #c7bda8; color: #6c6458; cursor: not-allowed; box-shadow: none; }

/* ================= PAGE HEADERS ================= */
.page-header {
  padding: 140px 40px 64px;
  text-align: center;
  background: linear-gradient(180deg, var(--cream-deep), var(--cream));
  border-bottom: 1px solid var(--gold);
  overflow: hidden;
}
.page-title { font-size: clamp(48px, 6vw, 80px); font-weight: 400; margin: 16px auto 12px; }
.page-title em { color: var(--gold-deep); font-style: italic; }
.page-sub { max-width: 660px; margin: 0 auto; font-size: 18px; opacity: .8; }

/* ================= FOOTER ================= */
.footer { background: var(--wine-deep); color: var(--cream); padding: 72px 40px 28px; }
.footer-grid {
  width: min(100%, 1280px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr .9fr;
  gap: 54px;
}
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.footer-seal {
  width: 56px; height: 56px; flex: 0 0 56px;
  display: grid; place-items: center;
  border: 2px solid var(--gold); border-radius: 50%;
  color: var(--pink); background: var(--wine);
  font: 600 22px var(--font-display);
  box-shadow: 0 0 0 1px var(--gold-deep);
}
.footer-brand-title { color: var(--gold-light); font: 14px var(--font-caps); letter-spacing: .2em; }
.footer-brand-subtitle { margin-top: 4px; font-size: 10px; letter-spacing: .12em; opacity: .7; }
.footer-theme { max-width: 340px; font-family: var(--font-display); font-size: 20px; font-style: italic; opacity: .82; }
.footer h4 { color: var(--gold-light); font: 13px var(--font-caps); letter-spacing: .2em; margin-bottom: 18px; }
.footer a, .footer-grid p { display: block; margin-bottom: 8px; color: var(--cream); font-size: 15px; text-decoration: none; opacity: .78; overflow-wrap: anywhere; }
.footer a:hover { color: var(--gold-light); opacity: 1; }
.footer-bottom {
  width: min(100%, 1280px);
  margin: 54px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(201,164,73,.3);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font: 11px var(--font-caps);
  letter-spacing: .12em;
  opacity: .65;
}

@media (max-width: 1120px) {
  .nav-inner { padding-inline: 22px; }
  .nav-links a { padding-inline: 8px; font-size: 9px; }
  .nav-brand-name { font-size: 13px; }
  .nav-cta { padding-inline: 14px; }
}

@media (max-width: 900px) {
  .nav-inner { min-height: 70px; }
  .nav-links, .nav-inner > .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile {
    padding: 10px 20px 24px;
    background: rgba(251,246,235,.99);
    border-top: 1px solid var(--cream-deep);
  }
  .nav-mobile:not([hidden]) { display: block; }
  .nav-mobile ul { list-style: none; }
  .nav-mobile a:not(.nav-cta) {
    display: flex;
    min-height: 46px;
    align-items: center;
    padding: 10px 8px;
    border-bottom: 1px solid rgba(201,164,73,.25);
    color: var(--wine-deep);
    text-decoration: none;
    font: 12px var(--font-caps);
    letter-spacing: .13em;
  }
  .nav-mobile a.active { color: var(--gold-deep); }
  .nav-mobile-cta { width: 100%; margin-top: 16px; }
  section { padding: 72px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav-inner { padding: 9px 16px; }
  .nav-brand img { width: 44px; height: 44px; }
  .nav-brand-name { font-size: 12px; }
  .floating-ticket { right: 14px; bottom: 14px; width: 52px; min-height: 52px; padding: 0; justify-content: center; }
  .floating-ticket svg { width: 21px; height: 21px; }
  .floating-ticket span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  section { padding: 60px 18px; }
  .eyebrow { font-size: 9px; letter-spacing: .18em; gap: 8px; }
  .eyebrow::before, .eyebrow::after { width: 18px; }
  .section-title { font-size: clamp(36px, 12vw, 50px); }
  .page-header { padding: 118px 18px 50px; }
  .page-title { font-size: clamp(42px, 13vw, 58px); }
  .page-sub { font-size: 16px; }
  .footer { padding: 56px 20px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; margin-top: 42px; }
}
