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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: #212121;
  background-color: #F5F5F5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid #F26C23;
  outline-offset: 2px;
}

/* ===== CSS VARIABLES ===== */
:root {
  --color-primary: #0A1F44;
  --color-primary-light: #1A3A6B;
  --color-accent: #F26C23;
  --color-accent-hover: #e05d1a;
  --color-bg: #F5F5F5;
  --color-text: #212121;
  --color-text-light: #D0D0D0;
  --color-secondary: #3D7B99;
  --color-danger: #E53935;
  --color-white: #FFFFFF;
  --font-headline: Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --content-max-width: 1200px;
  --border-radius-lg: 20px;
  --border-radius-md: 12px;
  --border-radius-sm: 8px;
  --header-top-height: 80px;
  --nav-height: 52px;
  --stripe-height: 6px;
  --transition-speed: 0.3s;
}

/* ===== CONTAINER ===== */
.container {
  max-width: var(--content-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ===== SECTION ===== */
.section {
  padding: 4rem 0;
}

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10000;
  padding: 0.75rem 1.5rem;
  background: var(--color-accent);
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 0 0 var(--border-radius-sm) 0;
  transform: translateY(-120%);
  transition: transform 0.25s ease;
}
.skip-link:focus {
  transform: translateY(0);
  outline: none;
}

/* ===== SITE HEADER ===== */
.site-header {
  position: relative;
  background: linear-gradient(135deg, #0A1F44 0%, #1A3A6B 100%);
  color: var(--color-white);
  overflow: hidden;
  z-index: 1000;
}

.header-bg {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    65deg,
    transparent,
    transparent 40px,
    rgba(255,255,255,0.012) 40px,
    rgba(255,255,255,0.012) 41px
  );
  pointer-events: none;
}

.header-inner {
  position: relative;
  z-index: 2;
  padding-top: 0.75rem;
  padding-bottom: 0.5rem;
}

.header-masthead {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  padding: 0.5rem 0;
  min-height: var(--header-top-height);
}

.brand-block {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.brand-name {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 2.25rem;
  line-height: 1.15;
  letter-spacing: 0.03em;
  color: var(--color-white);
  text-shadow: 0 0 24px rgba(242,108,35,0.30), 0 0 80px rgba(242,108,35,0.10);
}

.brand-sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.875rem;
  color: var(--color-accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.92;
}

.masthead-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: 0.04em;
  background: rgba(242,108,35,0.12);
  padding: 0.25rem 0.75rem 0.25rem 0.5rem;
  border-radius: 100px;
  border: 1px solid rgba(242,108,35,0.25);
}

.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-danger);
  animation: pulse-dot 1.6s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-sm);
  background: rgba(255,255,255,0.06);
  transition: background 0.2s ease;
}
.nav-toggle:hover {
  background: rgba(255,255,255,0.12);
}
.nav-toggle-line {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-white);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== NAVIGATION ===== */
.header-nav {
  transition: max-height 0.4s ease, opacity 0.3s ease;
}

.nav-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.125rem;
  padding: 0.5rem 0 0.25rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 0.625rem 1.25rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.03em;
  border-radius: 100px;
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--color-white);
  background: rgba(242,108,35,0.12);
}

.nav-link[aria-current="page"] {
  color: var(--color-accent);
  background: rgba(242,108,35,0.08);
  box-shadow: inset 0 -2px 0 var(--color-accent);
}

/* ===== HEADER STRIPE ===== */
.header-stripe {
  height: var(--stripe-height);
  background: linear-gradient(110deg, #F26C23 0%, #F26C23 30%, #e05d1a 50%, #F26C23 70%, #F26C23 100%);
  clip-path: polygon(0 0, 100% 0, 98% 100%, 2% 100%);
  position: relative;
  z-index: 2;
  opacity: 0.85;
}

/* ===== SITE FOOTER ===== */
.site-footer {
  background: var(--color-primary);
  color: var(--color-text-light);
  padding: 3rem 0 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
}

.footer-brand-name {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-white);
  letter-spacing: 0.02em;
}

.footer-brand-sub {
  font-size: 0.8125rem;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-tagline {
  max-width: 520px;
  font-size: 0.875rem;
  color: rgba(208,208,208,0.7);
  line-height: 1.5;
}

.footer-links-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 2rem;
}

.footer-link {
  color: rgba(255,255,255,0.75);
  font-weight: 400;
  font-size: 0.9375rem;
  transition: color 0.2s ease;
  position: relative;
}
.footer-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width 0.25s ease;
}
.footer-link:hover,
.footer-link:focus-visible {
  color: var(--color-accent);
}
.footer-link:hover::after,
.footer-link:focus-visible::after {
  width: 100%;
}

.footer-contact {
  font-size: 0.875rem;
  color: rgba(208,208,208,0.65);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  font-size: 0.8125rem;
  color: rgba(208,208,208,0.5);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.25rem;
  width: 100%;
  max-width: 600px;
}

.footer-icp {
  letter-spacing: 0.02em;
}

/* ===== BUTTON ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 100px;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(242,108,35,0.30);
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  box-shadow: 0 6px 24px rgba(242,108,35,0.40);
  transform: translateY(-1px);
}
.btn-primary:active {
  transform: translateY(0);
}
.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(242,108,35,0.06);
}

/* ===== CARD ===== */
.card {
  background: var(--color-bg);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(10,31,68,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(10,31,68,0.10);
}

/* ===== IMAGE CONTAINER (base) ===== */
.img-container {
  display: block;
  width: 100%;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  background: var(--color-primary-light);
  aspect-ratio: 16 / 9;
  position: relative;
}
.img-container img,
.img-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--color-accent);
  width: 0%;
  z-index: 10001;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(242,108,35,0.30);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease, background 0.2s ease;
}
.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--color-accent-hover);
}
.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .header-masthead {
    justify-content: space-between;
    padding: 0.25rem 0;
    min-height: auto;
  }

  .brand-block {
    text-align: left;
    align-items: flex-start;
  }

  .brand-name {
    font-size: 1.625rem;
  }

  .brand-sub {
    font-size: 0.75rem;
  }

  .live-indicator {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .header-nav {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    padding: 0;
  }

  .header-nav[data-open] {
    max-height: 480px;
    opacity: 1;
    visibility: visible;
    padding-bottom: 0.75rem;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.125rem;
    padding: 0.5rem 0 0.25rem;
  }

  .nav-link {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border-radius: var(--border-radius-sm);
    text-align: center;
  }

  .nav-link[aria-current="page"] {
    box-shadow: none;
    background: rgba(242,108,35,0.15);
  }

  .header-stripe {
    height: 4px;
    clip-path: polygon(0 0, 100% 0, 96% 100%, 4% 100%);
  }

  .site-footer {
    padding: 2rem 0 1.25rem;
  }

  .footer-links-row {
    gap: 0.5rem 1.25rem;
  }

  .footer-legal {
    flex-direction: column;
    gap: 0.25rem;
  }

  .back-to-top {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .brand-name {
    font-size: 1.875rem;
  }

  .nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }

  .live-indicator {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem 0.2rem 0.4rem;
  }
}

/* ===== 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;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .live-dot {
    animation: none !important;
    opacity: 1 !important;
  }

  .scroll-progress {
    display: none !important;
  }

  .back-to-top {
    transition: none !important;
  }
}
