/* ============================================
   COACH REYES — Design System & Styles
   Dark cinematic theme with gold accents
   ============================================ */

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

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Colors */
  --bg-primary: #0a0a0a;
  --bg-secondary: #0f0f0f;
  --bg-tertiary: #141414;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-gold: rgba(201, 168, 76, 0.3);

  --gold: #c9a84c;
  --gold-light: #e8d48b;
  --gold-dark: #8a6d2b;
  --gold-glow: rgba(201, 168, 76, 0.15);

  --text-primary: #f5f0e8;
  --text-secondary: #a09882;
  --text-muted: #5a5447;
  --text-inverse: #0a0a0a;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Sizing */
  --max-width: 1200px;
  --header-height: 72px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.4s;
  --duration-slow: 0.8s;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.25rem); }

p {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 65ch;
}

.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: var(--space-5xl) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-md);
  display: block;
}

.section-title {
  margin-bottom: var(--space-lg);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: background-color var(--duration-normal) ease,
              backdrop-filter var(--duration-normal) ease,
              box-shadow var(--duration-normal) ease;
}

.header.scrolled {
  background-color: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.header-logo img {
  height: 44px;
  width: auto;
  transition: transform var(--duration-fast) ease;
}

.header-logo:hover img {
  transform: scale(1.05);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links {
  display: flex;
  gap: var(--space-lg);
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  position: relative;
  padding: var(--space-xs) 0;
  transition: color var(--duration-fast) ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--duration-normal) var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Language Switcher */
.lang-switcher {
  position: relative;
  margin-left: var(--space-md);
}

.lang-current {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  padding: var(--space-xs) var(--space-sm);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--duration-fast) ease;
}

.lang-current:hover {
  background: var(--gold-glow);
}

.lang-current svg {
  width: 12px;
  height: 12px;
  transition: transform var(--duration-fast) ease;
}

.lang-switcher.open .lang-current svg {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-xs);
  min-width: 100px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--duration-fast) var(--ease-out);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.lang-switcher.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: var(--space-sm) var(--space-md);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast) ease;
}

.lang-option:hover,
.lang-option.active {
  color: var(--gold);
  background: var(--gold-glow);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--duration-normal) var(--ease-out);
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35) saturate(0.8);
  transform: scale(1.05);
  transition: transform 0.1s linear;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.4) 0%,
    rgba(10, 10, 10, 0.2) 40%,
    rgba(10, 10, 10, 0.6) 80%,
    rgba(10, 10, 10, 1) 100%
  );
  z-index: 1;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(10, 10, 10, 0.7) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 var(--space-xl);
}

.hero-logo {
  width: 160px;
  max-width: 40vw;
  height: auto;
  margin: 0 auto var(--space-2xl);
  opacity: 0;
  animation: heroFadeIn 1s var(--ease-out) 0.3s forwards;
  filter: drop-shadow(0 0 40px rgba(201, 168, 76, 0.4));
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: heroSlideUp 1s var(--ease-out) 0.5s forwards;
}

.hero-title .gold-text {
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-xl);
  opacity: 0;
  animation: heroSlideUp 1s var(--ease-out) 0.7s forwards;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 550px;
  margin: 0 auto var(--space-2xl);
  opacity: 0;
  animation: heroSlideUp 1s var(--ease-out) 0.9s forwards;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-2xl);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--duration-normal) var(--ease-out);
  opacity: 0;
  animation: heroSlideUp 1s var(--ease-out) 1.1s forwards;
}

.hero-cta:hover {
  background: var(--gold);
  color: var(--text-inverse);
  box-shadow: 0 0 40px var(--gold-glow);
}

.hero-cta svg {
  width: 16px;
  height: 16px;
  transition: transform var(--duration-fast) ease;
}

.hero-cta:hover svg {
  transform: translateY(3px);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  opacity: 0;
  animation: heroFadeIn 1s var(--ease-out) 1.5s forwards;
}

.scroll-indicator-inner {
  width: 24px;
  height: 40px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-dot {
  width: 3px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollBounce 2s var(--ease-in-out) infinite;
}

/* Particles */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat linear infinite;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  background: var(--bg-primary);
}

.about-story {
  display: grid;
  gap: var(--space-4xl);
  margin-bottom: var(--space-4xl);
}

.story-act {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.act-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.2;
  line-height: 1;
}

.act-content h3 {
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.act-content p {
  line-height: 1.8;
}

/* Values */
.values-section {
  margin-top: var(--space-4xl);
}

.values-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.value-tag {
  padding: var(--space-sm) var(--space-xl);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all var(--duration-normal) var(--ease-out);
}

.value-tag:hover {
  background: var(--gold);
  color: var(--bg-primary);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 30px rgba(201, 168, 76, 0.25);
}

/* CTA Block within About */
.about-cta-block {
  margin-top: var(--space-4xl);
  padding: var(--space-3xl);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  text-align: center;
}

.about-cta-block p {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ============================================
   CAREER / TIMELINE SECTION
   ============================================ */
.career {
  background: var(--bg-secondary);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    var(--gold-dark) 10%,
    var(--gold-dark) 90%,
    transparent 100%
  );
}

.timeline-item {
  position: relative;
  padding-left: var(--space-3xl);
  padding-bottom: var(--space-4xl);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -5px;
  top: 8px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--bg-secondary), 0 0 20px var(--gold-glow);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.4);
  box-shadow: 0 0 0 4px var(--bg-secondary), 0 0 30px rgba(201, 168, 76, 0.4);
}

.timeline-period {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
}

.timeline-role {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--space-xs);
}

.timeline-club {
  font-size: 0.85rem;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.timeline-description {
  font-size: 0.95rem;
  line-height: 1.7;
}

.timeline-highlight {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-md);
  padding: var(--space-xs) var(--space-md);
  background: var(--gold-glow);
  border: 1px solid var(--border-gold);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
}

/* Formation Section within Career */
.formation {
  margin-top: var(--space-4xl);
  padding: var(--space-2xl);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
}

.formation h3 {
  margin-bottom: var(--space-lg);
  color: var(--gold);
  font-size: 1.2rem;
}

.formation-list {
  display: grid;
  gap: var(--space-md);
}

.formation-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.formation-item::before {
  content: '→';
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================
   METHODOLOGY SECTION
   ============================================ */
.methodology {
  position: relative;
  background: var(--bg-primary);
  overflow: hidden;
}

.methodology-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.methodology-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.15) saturate(0.5);
}

.methodology-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--bg-primary) 0%,
    transparent 15%,
    transparent 85%,
    var(--bg-primary) 100%
  );
}

.methodology > .container {
  position: relative;
  z-index: 1;
}

.methodology-intro {
  max-width: 700px;
  margin: 0 auto var(--space-4xl);
  text-align: center;
}

.methodology-intro p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin: 0 auto;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.pillar-card {
  padding: var(--space-2xl);
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--duration-normal) var(--ease-out);
}

.pillar-card:hover {
  border-color: var(--border-gold);
  background: rgba(10, 10, 10, 0.75);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3),
              0 0 0 1px var(--border-gold);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  background: var(--gold-glow);
  border-radius: var(--radius-md);
  color: var(--gold);
}

.pillar-icon svg {
  width: 24px;
  height: 24px;
}

.pillar-card h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-md);
}

.pillar-card p {
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ============================================
   HIGHLIGHTS SECTION (Option C - Atmosphere)
   ============================================ */
.highlights {
  padding: 0;
  background: var(--bg-secondary);
}

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

.highlight-panel {
  position: relative;
  height: 500px;
  overflow: hidden;
  cursor: default;
}

.highlight-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3) saturate(0.7);
  transition: all var(--duration-slow) var(--ease-out);
  transform: scale(1.05);
}

.highlight-panel:hover img {
  filter: brightness(0.4) saturate(0.9);
  transform: scale(1.1);
}

.highlight-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl);
  z-index: 1;
}

.highlight-stat {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--space-sm);
  text-shadow: 0 0 40px rgba(201, 168, 76, 0.3);
}

.highlight-label {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  opacity: 0.9;
}

/* ============================================
   DOSSIER SECTION
   ============================================ */
.dossier {
  background: var(--bg-primary);
}

.dossier-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.dossier-text h2 {
  margin-bottom: var(--space-lg);
}

.dossier-text p {
  margin-bottom: var(--space-2xl);
  font-size: 1.05rem;
  line-height: 1.8;
}

.dossier-downloads {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.download-btn {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--duration-normal) var(--ease-out);
}

.download-btn:hover {
  border-color: var(--border-gold);
  background: var(--gold-glow);
  transform: translateX(8px);
}

.download-btn svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex-shrink: 0;
}

.download-btn .btn-text {
  flex: 1;
}

.download-btn .btn-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.download-btn .btn-size {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.download-btn .btn-arrow {
  color: var(--text-muted);
  transition: all var(--duration-fast) ease;
}

.download-btn:hover .btn-arrow {
  color: var(--gold);
  transform: translateX(4px);
}

.dossier-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.dossier-mockup {
  position: relative;
  width: 280px;
  height: 380px;
  background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.dossier-mockup img {
  width: 60%;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(201, 168, 76, 0.2));
  position: absolute;
  z-index: 1;
}

#dossier-preview-canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.9;
  transition: opacity var(--duration-normal);
}

#dossier-preview-wrapper:hover #dossier-preview-canvas {
  opacity: 1;
}

.dossier-mockup::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-glow) 0%, transparent 50%);
  pointer-events: none;
  z-index: 3;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  background: var(--bg-secondary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
}

.contact-info h2 {
  margin-bottom: var(--space-lg);
}

.contact-info > p {
  margin-bottom: var(--space-2xl);
  font-size: 1.05rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.contact-method {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.contact-method-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-glow);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  color: var(--gold);
  flex-shrink: 0;
}

.contact-method-icon svg {
  width: 20px;
  height: 20px;
}

.contact-method-text a {
  font-weight: 500;
  color: var(--text-primary);
  transition: color var(--duration-fast) ease;
}

.contact-method-text a:hover {
  color: var(--gold);
}

.contact-method-text span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--duration-fast) ease;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-2xl);
  background: var(--gold);
  color: var(--text-inverse);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
}

.submit-btn:hover {
  background: var(--gold-light);
  box-shadow: 0 8px 32px rgba(201, 168, 76, 0.3);
  transform: translateY(-2px);
}

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

.submit-btn svg {
  width: 16px;
  height: 16px;
}

.form-status {
  padding: var(--space-md);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  text-align: center;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid rgba(76, 175, 80, 0.3);
  color: #81c784;
}

.form-status.error {
  display: block;
  background: rgba(244, 67, 54, 0.1);
  border: 1px solid rgba(244, 67, 54, 0.3);
  color: #ef5350;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-3xl) 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.footer-brand img {
  height: 32px;
  width: auto;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
}

.footer-brand-text strong {
  font-size: 0.9rem;
  color: var(--text-primary);
}

.footer-brand-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: var(--space-xl);
}

.footer-link {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color var(--duration-fast) ease;
}

.footer-link:hover {
  color: var(--gold);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ============================================
   ANIMATIONS (Keyframes)
   ============================================ */
@keyframes heroFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes heroSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.3; }
}

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

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 4px var(--bg-secondary), 0 0 20px var(--gold-glow); }
  50% { box-shadow: 0 0 0 4px var(--bg-secondary), 0 0 30px rgba(201, 168, 76, 0.4); }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .pillars-grid {
    gap: var(--space-lg);
  }

  .dossier-content {
    gap: var(--space-2xl);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .container {
    padding: 0 var(--space-lg);
  }

  .section {
    padding: var(--space-4xl) 0;
  }

  /* Mobile Navigation */
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--bg-tertiary);
    flex-direction: column;
    padding: calc(var(--header-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
    transform: translateX(100%);
    transition: transform var(--duration-normal) var(--ease-out);
    box-shadow: -16px 0 48px rgba(0, 0, 0, 0.4);
    z-index: 999;
    gap: var(--space-sm);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 1rem;
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--border-subtle);
  }

  .menu-toggle {
    display: flex;
    z-index: 1001;
  }

  /* Mobile overlay */
  .mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
  }

  .mobile-overlay.active {
    display: block;
  }

  /* Hero */
  .hero-logo {
    width: 80px;
  }

  /* About */
  .story-act {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .act-number {
    font-size: 2.5rem;
  }

  /* Career */
  .timeline::before {
    left: 0;
  }

  .timeline-item {
    padding-left: var(--space-2xl);
  }

  /* Methodology */
  .pillars-grid {
    grid-template-columns: 1fr;
  }

  /* Highlights */
  .highlights-grid {
    grid-template-columns: 1fr;
  }

  .highlight-panel {
    height: 300px;
  }

  /* Dossier */
  .dossier-content {
    grid-template-columns: 1fr;
  }

  .dossier-visual {
    order: -1;
  }

  .dossier-mockup {
    width: 220px;
    height: 300px;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    gap: var(--space-xl);
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .section-header {
    margin-bottom: var(--space-2xl);
  }

  .values-grid {
    gap: var(--space-sm);
  }

  .value-tag {
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.8rem;
  }
}

/* Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gold);
  z-index: 10000;
  pointer-events: none;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px var(--gold-glow);
}

/* Custom Cursor Glow */
.cursor-glow {
  position: fixed;
  top: -200px; /* Offset half of width/height to center the glow at cursor */
  left: -200px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.12) 0%, rgba(201, 168, 76, 0) 65%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: screen;
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out),
              top 0.3s var(--ease-out), left 0.3s var(--ease-out), opacity 0.3s;
  opacity: 0;
}

.cursor-glow.active {
  width: 600px;
  height: 600px;
  top: -300px;
  left: -300px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.18) 0%, rgba(201, 168, 76, 0) 65%);
}

/* Film Grain Noise */
.film-grain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Availability Indicator */
.availability-indicator {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-xl);
  transition: all var(--duration-fast);
}

.availability-indicator:hover {
  background: rgba(201, 168, 76, 0.15);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--gold);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.6); }
  70% { box-shadow: 0 0 0 6px rgba(201, 168, 76, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 168, 76, 0); }
}

.availability-indicator span:last-child {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================
   LEGAL & COOKIES
   ============================================ */
/* Footer Legal Links */
.footer-legal {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-sm);
  justify-content: center;
}

.footer-legal-link {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color var(--duration-fast) ease;
  position: relative;
}

.footer-legal-link:hover {
  color: var(--gold);
}

.footer-legal-link:not(:last-child)::after {
  content: '·';
  position: absolute;
  right: -0.65rem;
  color: var(--text-muted);
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) var(--ease-out);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  padding: var(--space-2xl);
  transform: translateY(20px);
  transition: transform var(--duration-normal) var(--ease-out);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  font-size: 2rem;
  line-height: 1;
  color: var(--text-secondary);
  transition: color var(--duration-fast);
}

.modal-close:hover {
  color: var(--gold);
}

.modal-title {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: var(--space-lg);
  padding-right: var(--space-xl);
}

.modal-body {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.modal-body p {
  margin-bottom: var(--space-md);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-gold);
  z-index: 1500;
  padding: var(--space-md) var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-xl);
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
}

.cookie-banner.active {
  transform: translateY(0);
}

.cookie-content p {
  font-size: 0.9rem;
  margin: 0;
}

.cookie-btn {
  padding: var(--space-sm) var(--space-xl);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--bg-primary);
  transition: all var(--duration-fast);
  white-space: nowrap;
}

.cookie-btn:hover {
  background: transparent;
  color: var(--gold);
  box-shadow: 0 0 15px var(--gold-glow);
}

/* Form Checkbox */
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  margin-top: calc(var(--space-md) * -1);
}

.form-checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  min-width: 16px;
  height: 16px;
  border: 1px solid var(--border-subtle);
  border-radius: 3px;
  background: var(--bg-primary);
  position: relative;
  cursor: pointer;
  margin-top: 5px;
  transition: border-color var(--duration-fast);
}

.form-checkbox input[type="checkbox"]:focus {
  outline: 2px solid var(--gold-glow);
}

.form-checkbox input[type="checkbox"]:checked {
  background: var(--gold);
  border-color: var(--gold);
}

.form-checkbox input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--bg-primary);
  font-size: 10px;
  font-weight: bold;
}

.form-checkbox label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
  line-height: 1.5;
}

.link-btn {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--duration-fast);
  display: inline;
  padding: 0;
  font-size: inherit;
}

.link-btn:hover {
  color: var(--gold-light);
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    gap: var(--space-md);
    padding: var(--space-lg);
  }
  .cookie-actions {
    width: 100%;
  }
  .cookie-btn {
    width: 100%;
  }
}
