/* EGYPT LOVER Master Stylesheet (Unified Assets) */

/* --- design-tokens.css --- */
:root {
  /* Royal Palette Tokens */
  --bg-royal: #0B1613;
  --bg-sand: #FBF9F4;
  --bg-card: #FFFFFF;
  --surface-tint: #F3EFE6;
  --primary: #152A24;
  --primary-light: #234239;
  --primary-dark: #0D1A16;
  --gold: #C69A45;
  --gold-light: #E0BA6E;
  --gold-deep: #9B7428;
  --text-dark: #1A2421;
  --text-muted: #5C6762;
  --text-on-dark: #FBF9F4;
  --border-subtle: #E5E1D8;
  --border-gold: rgba(198, 154, 69, 0.4);
  --border-gold-strong: #C69A45;

  /* Status Tokens */
  --status-success: #1E6B37;
  --status-success-bg: #E8F5E9;
  --status-error: #B71C1C;
  --status-error-bg: #FFEBEE;
  --status-warning: #B26A00;
  --status-warning-bg: #FFF8E1;

  /* Elevation & Shadows */
  --shadow-xs: 0 1px 2px rgba(11, 22, 19, 0.05);
  --shadow-sm: 0 2px 6px rgba(11, 22, 19, 0.08);
  --shadow-md: 0 6px 18px rgba(11, 22, 19, 0.1);
  --shadow-lg: 0 12px 32px rgba(11, 22, 19, 0.14);
  --shadow-gold: 0 6px 20px rgba(198, 154, 69, 0.25);

  /* Spacing Scale (8pt Grid) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: 500ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout Containers */
  --container-max: 1280px;
  --container-narrow: 960px;
  --header-height: 80px;

  /* Z-Index Hierarchy */
  --z-base: 1;
  --z-card: 10;
  --z-sticky: 100;
  --z-header: 900;
  --z-dropdown: 1000;
  --z-drawer: 1100;
  --z-modal: 1200;
  --z-skip-link: 9999;
}

/* --- typography.css --- */
/* ==========================================================================
   EGYPT LOVER Typography & Self-Hosted Web Fonts System
   Ultra Egypt Travel (Lic. 874 Class A, IATA #90229930)
   Standard: WOFF2 Self-Hosted with font-display: swap & Zero CLS
   ========================================================================== */

/* Amiri Bold - Headings & Royal Titulary (Arabic) */
@font-face {
  font-family: "Amiri";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/amiri-bold.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}

/* Amiri Regular - Classical Excerpts & Archaeology Callouts (Arabic) */
@font-face {
  font-family: "Amiri";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/amiri-regular.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}

/* Cairo Regular - Body Reading & Descriptions (Arabic) */
@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/cairo-regular.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}

/* Cairo SemiBold - UI Elements, Buttons & Navigation (Arabic) */
@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/cairo-semibold.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}

/* Cairo Bold - Strong Subheadings & Data Indicators (Arabic) */
@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/cairo-bold.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}

/* Typography Tokens & Font Stacks */
:root {
  --font-serif: Georgia, Cambria, "Times New Roman", Times, serif;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Arial, sans-serif;
  --font-arabic-title: "Amiri", Georgia, "Times New Roman", serif;
  --font-arabic-body: "Cairo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-dark);
  font-feature-settings: "liga" 1, "kern" 1;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--primary);
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.25rem);
  margin-bottom: var(--space-4);
}

h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
  color: var(--primary-light);
}

h4 {
  font-size: 1.25rem;
  margin-bottom: var(--space-2);
}

p {
  margin-bottom: var(--space-5);
  color: var(--text-dark);
}

p.lead {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--primary);
  font-weight: 400;
}

.kicker {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-deep);
  margin-bottom: var(--space-3);
}

.transliteration {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold-deep);
  font-size: 1.15rem;
  margin-bottom: var(--space-4);
  display: block;
}

blockquote {
  border-left: 4px solid var(--gold);
  background-color: var(--surface-tint);
  padding: var(--space-6) var(--space-8);
  margin: var(--space-8) 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--primary);
}

small, .text-small {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- layout.css --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-sand);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}

.section-tint {
  background-color: var(--surface-tint);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-royal {
  background-color: var(--bg-royal);
  color: var(--text-on-dark);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-header p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-muted);
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.grid-specs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-4);
}

/* Split Main / Sidebar Layout */
.layout-split {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

@media (max-width: 1024px) {
  .layout-split {
    grid-template-columns: 1fr;
  }
  .grid-specs {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }
  .section {
    padding-top: var(--space-10);
    padding-bottom: var(--space-10);
  }
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  .grid-specs {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- components.css --- */
/* ==========================================================================
   EGYPT LOVER - components.css
   Ultra Egypt Travel (Lic. 874 Class A, IATA #90229930)
   Full Production Ready Components System (Zero Truncation)
   ========================================================================== */

/* Links & Standard Buttons */
a {
  color: var(--gold-deep);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: var(--bg-royal) !important;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--bg-royal) !important;
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-outline-gold {
  background: transparent;
  color: var(--primary);
  border-color: var(--gold);
}

.btn-outline-gold:hover {
  background: var(--surface-tint);
  color: var(--gold-deep);
  text-decoration: none;
}

/* ==========================================================================
   Header & Navigation (Optimized - No Word Wrap & Zero Brand Clipping)
   ========================================================================== */
.site-header {
  background-color: var(--bg-royal);
  border-bottom: 1px solid var(--border-gold);
  position: sticky;
  top: 0;
  z-index: var(--z-header);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  height: auto;
  padding: 8px 0;
}

.brand-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
}

.brand-title {
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-size: 1.42rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.15;
  margin: 0;
  padding: 0;
}

.brand-subtitle {
  color: var(--text-on-dark);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  opacity: 0.85;
  text-transform: uppercase;
  line-height: 1.2;
  margin-top: 3px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 10px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--text-on-dark);
  font-size: 0.83rem;
  font-weight: 500;
  padding: 6px 0;
  position: relative;
  white-space: nowrap; /* يمنع انكسار الكلمات على سطرين نهائياً */
  display: inline-block;
  line-height: 1.4;
}

.nav-link:hover, 
.nav-link.active {
  color: var(--gold-light);
  text-decoration: none;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--gold);
}

/* Nav Item Dropdown */
.nav-item-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.dropdown-arrow {
  font-size: 0.68rem;
  transition: transform var(--transition-fast);
  display: inline-block;
}

.nav-item-dropdown:hover .dropdown-arrow,
.nav-item-dropdown:focus-within .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--bg-royal);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  list-style: none;
  padding: var(--space-2) 0;
  z-index: var(--z-dropdown);
  text-align: right;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-dropdown-menu a {
  display: block;
  padding: 9px var(--space-4);
  color: var(--text-on-dark);
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  transition: var(--transition-fast);
  text-align: right;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav-dropdown-menu li:last-child a {
  border-bottom: none;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  background: var(--primary-light);
  color: var(--gold-light);
  text-decoration: none;
}

@media (max-width: 992px) {
  .nav-dropdown-menu {
    position: static;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    box-shadow: none;
    padding-right: var(--space-4);
    min-width: 100%;
  }
  .nav-item-dropdown:hover .nav-dropdown-menu,
  .nav-item-dropdown.open .nav-dropdown-menu {
    display: block;
  }
}


/* Nav Call To Action Button (Plan Your Trip) */
.nav-cta-btn {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: var(--bg-royal) !important;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 9px 15px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: var(--shadow-gold);
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--transition-base);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-cta-btn:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-2px);
  text-decoration: none;
}

/* Language Dropdown Selector */
.lang-switcher {
  position: relative;
  flex-shrink: 0;
}

.lang-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-gold);
  color: var(--text-on-dark);
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + var(--space-2));
  right: 0;
  background: var(--bg-royal);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  width: 230px;
  max-height: 420px;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  z-index: var(--z-dropdown);
  list-style: none;
  padding: var(--space-2) 0;
}

.lang-menu.open {
  display: block;
}

.lang-item a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 10px var(--space-4);
  color: var(--text-on-dark);
  font-size: 0.88rem;
  white-space: nowrap;
}

.lang-item a:hover {
  background: var(--primary-light);
  color: var(--gold-light);
  text-decoration: none;
}

.flag-svg {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  flex-shrink: 0;
  display: block;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gold-light);
  font-size: 1.8rem;
  cursor: pointer;
}

/* Breadcrumbs */
.breadcrumb-bar {
  background: var(--surface-tint);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--space-3) 0;
  font-size: 0.88rem;
}

.breadcrumb-bar ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: var(--space-2);
  align-items: center;
}

.breadcrumb-bar li+li::before {
  content: "/";
  color: var(--text-muted);
  margin-right: var(--space-2);
}

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-gold);
}

.card-media {
  overflow: hidden;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-4);
}

.card-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.card:hover .card-media img {
  transform: scale(1.04);
}

/* Fast-Fact Specs Strip */
.specs-strip {
  background: var(--bg-royal);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  padding: var(--space-8) 0;
}

.spec-cell {
  text-align: center;
  border-right: 1px solid rgba(198, 154, 69, 0.25);
  padding: 0 var(--space-3);
}

.spec-cell:last-child {
  border-right: none;
}

.spec-cell-label {
  color: var(--gold-light);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: var(--space-1);
}

.spec-cell-value {
  color: #FFFFFF;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
}

.spec-cell-sub {
  color: var(--text-muted);
  font-size: 0.75rem;
  display: block;
  margin-top: 2px;
}

/* Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: #FFFFFF;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.data-table th {
  background: var(--primary);
  color: var(--gold-light);
  padding: var(--space-4) var(--space-5);
  font-family: var(--font-serif);
  font-weight: 600;
}

.data-table td {
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
}

.data-table tr:nth-child(even) td {
  background-color: #FAF8F5;
}

/* Accordion FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 900px;
  margin: 0 auto;
}

.faq-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}

.faq-summary {
  padding: var(--space-5) var(--space-6);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--gold-deep);
  font-weight: 400;
}

details[open] .faq-summary::after {
  content: "−";
}

.faq-content {
  padding: 0 var(--space-6) var(--space-5);
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-4);
  line-height: 1.8;
}

/* Licensing Banner */
.licensing-strip {
  background: var(--bg-royal);
  color: #FFFFFF;
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  padding: var(--space-10) 0;
  text-align: center;
}

.badge-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.badge-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-gold);
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-light);
}

/* Global Footer */
.site-footer {
  background: #060D0B;
  color: var(--text-on-dark);
  padding: var(--space-16) 0 var(--space-6);
  border-top: 1px solid var(--border-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

.footer-col h3 {
  color: var(--gold-light);
  font-size: 1.15rem;
  margin-bottom: var(--space-4);
  border-bottom: 1px solid var(--border-gold);
  padding-bottom: var(--space-2);
}

.footer-col p {
  color: var(--text-on-dark);
  opacity: 0.85;
  font-size: 0.88rem;
  line-height: 1.7;
}

.footer-list {
  list-style: none;
}

.footer-list li {
  margin-bottom: var(--space-2);
}

.footer-list a {
  color: var(--text-on-dark);
  opacity: 0.8;
  font-size: 0.9rem;
}

.footer-list a:hover {
  color: var(--gold-light);
  opacity: 1;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Responsive Navigation Breakpoint */
@media (max-width: 1140px) {
  .nav-link {
    font-size: 0.78rem;
  }
  .nav-links {
    gap: 7px;
  }
  .nav-cta-btn {
    padding: 8px 11px;
    font-size: 0.78rem;
  }
}

@media (max-width: 992px) {
  .mobile-nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-royal);
    flex-direction: column;
    padding: 24px;
    border-bottom: 2px solid var(--gold);
    gap: 16px;
  }

  .site-nav.active {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    text-align: center;
    gap: 14px;
  }

  .nav-link {
    font-size: 1rem;
    padding: 8px 0;
  }

  .lang-menu {
    position: static;
    width: 100%;
    max-height: 300px;
    margin-top: 8px;
  }
}

/* --- accessibility.css --- */
/* WCAG 2.1 AAA Skip Link */
.skip-link {
  position: absolute;
  top: -80px;
  left: 12px;
  background: var(--gold);
  color: var(--bg-royal);
  padding: 12px 20px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  z-index: var(--z-skip-link);
  box-shadow: var(--shadow-lg);
  transition: top var(--transition-fast);
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
  outline: 3px solid var(--bg-royal);
}

/* High-Contrast Interactive Focus Ring */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Screen Reader Only Pattern */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.sr-only-focusable:active,
.sr-only-focusable:focus {
  position: static !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  clip: auto !important;
  white-space: normal !important;
}

/* Reduced Motion Mode */
@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;
  }
}

/* High Contrast Fallback */
@media (forced-colors: active) {
  .btn-gold, .btn-outline-gold {
    border: 2px solid ButtonText;
  }
  .lang-menu {
    border: 2px solid CanvasText;
  }
}
