/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, picture, video, canvas { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
p { overflow-wrap: break-word; }
button { background: none; border: none; cursor: pointer; }
:focus-visible { outline: 2px solid #D4A017; outline-offset: 2px; }

/* === VARIABLES === */
:root {
  --bg-dark: #0A0A0A;
  --bg-surface: #1A1A1A;
  --gold-primary: #D4A017;
  --gold-bright: #FFD700;
  --red-deep: #8B0000;
  --red-bright: #DC143C;
  --text-primary: #FFFFFF;
  --text-secondary: #F5E6C8;
  --glass: rgba(255, 255, 255, 0.05);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: Inter, Arial, sans-serif;
  --font-accent: Impact, sans-serif;
  --max-width: 1280px;
  --header-h: 72px;
  --nav-gap: 2rem;
  --radius: 4px;
  --transition: 0.3s ease;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* === BASE TYPOGRAPHY === */
body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-primary);
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }
.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--gold-primary);
  position: relative;
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 80px; height: 3px;
  background: var(--gold-primary);
}
@media (max-width: 768px) {
  .section-title { font-size: 1.8rem; }
}

/* === SKIP LINK === */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 10000;
  padding: 0.75rem 1.5rem;
  background: var(--gold-primary);
  color: var(--bg-dark);
  font-weight: 700;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* === HEADER === */
.site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--header-h);
  background: var(--bg-dark);
  border-bottom: 1px solid rgba(212, 160, 23, 0.25);
  z-index: 1000;
}
.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header__logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-primary);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.site-header__logo:hover { color: var(--gold-bright); }
.site-header__nav-list {
  display: flex;
  gap: var(--nav-gap);
  align-items: center;
}
.nav-link {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-secondary);
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--transition);
}
.nav-link:hover { color: var(--gold-primary); }
.nav-link[aria-current="page"] {
  color: var(--gold-bright);
  border-bottom: 2px solid var(--gold-bright);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: transparent;
}
.nav-toggle__bar {
  display: block;
  width: 26px; height: 2px;
  background: var(--gold-primary);
  transition: transform 0.3s, opacity 0.3s;
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .site-header__nav {
    position: fixed;
    top: var(--header-h); left: 0;
    width: 100%; height: calc(100vh - var(--header-h));
    background: var(--bg-dark);
    transform: translateX(100%);
    transition: transform 0.4s ease;
    overflow-y: auto;
    padding: 2rem 1.5rem;
  }
  .site-header__nav[data-open] { transform: translateX(0); }
  .site-header__nav-list {
    flex-direction: column;
    gap: 1.5rem;
    align-items: stretch;
  }
  .nav-link { font-size: 1.2rem; display: block; padding: 0.5rem 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
}

/* === FOOTER === */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid rgba(212, 160, 23, 0.2);
  padding: 3rem 1.5rem 2rem;
  margin-top: 4rem;
}
.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2.5rem;
}
.site-footer__logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--gold-primary);
  display: inline-block;
  margin-bottom: 0.75rem;
}
.site-footer__trust {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 320px;
}
.site-footer__heading {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--gold-primary);
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(212, 160, 23, 0.2);
  padding-bottom: 0.4rem;
}
.site-footer__contact-list li,
.site-footer__policy-list li {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}
.site-footer__contact-list a,
.site-footer__policy-list a {
  color: var(--text-secondary);
  transition: color var(--transition);
}
.site-footer__contact-list a:hover,
.site-footer__policy-list a:hover { color: var(--gold-primary); }
.site-footer__note {
  color: rgba(245, 230, 200, 0.6);
  font-size: 0.8rem;
  margin-top: 0.75rem;
}
.site-footer__copyright {
  color: rgba(245, 230, 200, 0.5);
  font-size: 0.85rem;
  margin-top: 1.5rem;
}
@media (max-width: 900px) {
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .site-footer__inner { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* === BUTTONS === */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  background: var(--gold-primary);
  color: var(--bg-dark);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid var(--gold-primary);
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
}
.btn-gold:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}
.btn-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  background: var(--red-deep);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid var(--red-deep);
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
}
.btn-red:hover {
  background: var(--red-bright);
  border-color: var(--red-bright);
  box-shadow: 0 0 16px rgba(220, 20, 60, 0.3);
}

/* === GLASS CARD === */
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(212, 160, 23, 0.12);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.glass-card:hover {
  border-color: rgba(212, 160, 23, 0.3);
  box-shadow: 0 4px 24px rgba(212, 160, 23, 0.06);
}
.glass-card--highlight {
  border-color: var(--gold-primary);
  border-width: 1.5px;
}

/* === GRID 12 === */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}
.grid-12__item { min-width: 0; }
.grid-12__item--span-1 { grid-column: span 1; }
.grid-12__item--span-2 { grid-column: span 2; }
.grid-12__item--span-3 { grid-column: span 3; }
.grid-12__item--span-4 { grid-column: span 4; }
.grid-12__item--span-5 { grid-column: span 5; }
.grid-12__item--span-6 { grid-column: span 6; }
.grid-12__item--span-7 { grid-column: span 7; }
.grid-12__item--span-8 { grid-column: span 8; }
.grid-12__item--span-9 { grid-column: span 9; }
.grid-12__item--span-10 { grid-column: span 10; }
.grid-12__item--span-11 { grid-column: span 11; }
.grid-12__item--span-12 { grid-column: span 12; }
@media (max-width: 900px) {
  .grid-12 { grid-template-columns: repeat(6, 1fr); gap: 1rem; }
  .grid-12__item--span-1,\n  .grid-12__item--span-2,\n  .grid-12__item--span-3,\n  .grid-12__item--span-4,\n  .grid-12__item--span-5,\n  .grid-12__item--span-6 { grid-column: span 6; }
  .grid-12__item--span-7,\n  .grid-12__item--span-8,\n  .grid-12__item--span-9,\n  .grid-12__item--span-10,\n  .grid-12__item--span-11,\n  .grid-12__item--span-12 { grid-column: span 6; }
}
@media (max-width: 600px) {
  .grid-12 { grid-template-columns: 1fr; }
  .grid-12__item { grid-column: span 1 !important; }
}

/* === FILTER === */
[data-filter] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
[data-filter] button {
  padding: 0.5rem 1.25rem;
  background: var(--bg-surface);
  color: var(--text-secondary);
  border: 1px solid rgba(212, 160, 23, 0.2);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: all var(--transition);
  cursor: pointer;
}
[data-filter] button:hover { border-color: var(--gold-primary); color: var(--gold-primary); }
[data-filter] button[data-active] {
  background: var(--gold-primary);
  color: var(--bg-dark);
  border-color: var(--gold-primary);
  font-weight: 700;
}

/* === SCROLL REVEAL === */
[data-scroll-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-scroll-reveal][data-visible] {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-scroll-reveal] { opacity: 1; transform: none; }
}

/* === PROGRESS BAR === */
[data-progress] {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-primary), var(--gold-bright));
  z-index: 10001;
  transition: width 0.1s linear;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  [data-progress] { display: none; }
}

/* === UTILITY === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-4 { margin-top: 4rem; }
.mb-2 { margin-bottom: 2rem; }
/* === BREADCRUMB === */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.8rem;
  padding: 1rem 0;
  color: var(--text-secondary);
  font-size: 0.85rem;
}
.breadcrumb a { color: var(--gold-primary); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--gold-bright); }
.breadcrumb span { color: var(--text-secondary); }
/* === IMAGE CONTAINER BASE === */
.img-container {
  position: relative;
  overflow: hidden;
  background: var(--bg-surface);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
}
.img-container--portrait { aspect-ratio: 3 / 4; }
.img-container--square { aspect-ratio: 1 / 1; }
.img-container--wide { aspect-ratio: 21 / 9; }
