
:root {
  --bg: #07111f;
  --bg-2: #0b1728;
  --panel: rgba(14, 28, 47, 0.92);
  --panel-2: rgba(8, 18, 32, 0.96);
  --gold: #d6b45f;
  --gold-2: #f3d98a;
  --cyan: #56d8ff;
  --text: #f3f6fb;
  --muted: #aeb9c9;
  --line: rgba(214, 180, 95, 0.28);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --max: 1320px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(44, 112, 165, 0.18), transparent 34%),
    linear-gradient(180deg, #07111f 0%, #081522 48%, #050b13 100%);
  line-height: 1.6;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(var(--max), calc(100% - 36px));
  margin-inline: auto;
}

/* =========================
   HEADER / NAV
========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 12, 22, 0.94);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(214, 180, 95, 0.55);
  border-radius: 50%;
  color: var(--gold-2);
  font-size: 24px;
  box-shadow: inset 0 0 22px rgba(214, 180, 95, 0.08);
}

.brand strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--gold-2);
  font-size: 16px;
  letter-spacing: 0.12em;
  line-height: 1.1;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--cyan);
  font-size: 10px;
  letter-spacing: 0.24em;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.menu-item {
  position: relative;
}

.menu-item > a,
.menu-item > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 11px;
  border: 0;
  background: transparent;
  color: #e9eef7;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.045em;
  white-space: nowrap;
  border-radius: 10px;
  transition: 0.2s ease;
}

.menu-item > a:hover,
.menu-item > button:hover {
  color: var(--gold-2);
  background: rgba(255, 255, 255, 0.04);
}

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 230px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(6, 15, 27, 0.98);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.18s ease;
}

.menu-item:hover .dropdown,
.menu-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 9px;
  color: #dfe7f3;
  font-size: 13px;
}

.dropdown a:hover {
  color: var(--gold-2);
  background: rgba(214, 180, 95, 0.09);
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--gold-2);
  background: rgba(255, 255, 255, 0.03);
}

/* =========================
   HERO SLIDER
========================= */

.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #050b13;
}

.slides {
  position: relative;
  width: 100%;
  height: clamp(250px, 38vw, 560px);
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
  background: #050b13;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

/* IMPORTANT:
   This makes the TOP rotating banner fit instead of zooming/cropping.
*/
.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background: #050b13;
}

.slider-ui {
  position: absolute;
  z-index: 10;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(3, 9, 16, 0.68);
  backdrop-filter: blur(8px);
}

.slider-ui > button {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  font-size: 25px;
  line-height: 1;
}

.slider-ui > button:hover {
  color: var(--gold-2);
  border-color: rgba(214, 180, 95, 0.45);
}

.dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.dot {
  width: 9px !important;
  height: 9px !important;
  min-width: 9px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.4) !important;
}

.dot.active {
  background: var(--gold-2) !important;
  box-shadow: 0 0 12px rgba(243, 217, 138, 0.65);
}

/* =========================
   QUICK PORTALS
========================= */

.quick-portals {
  padding: 70px 0 56px;
}

.section-head {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-head h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--gold-2);
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.08;
}

.section-head p {
  margin: 16px auto 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 15px;
}

.image-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.image-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.image-card:hover {
  transform: translateY(-5px);
  border-color: rgba(214, 180, 95, 0.6);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.32);
}

.image-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center center;
  background: #050b13;
}

.quote {
  margin-top: 34px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 14px;
  color: var(--gold-2);
  background: linear-gradient(90deg, rgba(214, 180, 95, 0.09), rgba(86, 216, 255, 0.025));
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.04em;
}

/* =========================
   FOOTER
========================= */

footer {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  background: #050b13;
}

.footer-row {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #96a4b6;
  font-size: 13px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-links a:hover {
  color: var(--gold-2);
}

/* =========================
   TABLET
========================= */

@media (max-width: 1100px) {
  .mobile-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav {
    position: relative;
  }

  .menu {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    padding: 14px 18px 20px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(5, 12, 22, 0.985);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  }

  .menu.open {
    display: block;
  }

  .menu-item {
    width: 100%;
  }

  .menu-item > a,
  .menu-item > button {
    width: 100%;
    justify-content: flex-start;
    padding: 10px 4px;
    min-height: 42px;
  }

  .dropdown {
    position: static;
    display: none;
    min-width: 0;
    margin: 4px 0 10px 12px;
    padding: 4px 0 4px 10px;
    border: 0;
    border-left: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .menu-item:hover .dropdown,
  .menu-item:focus-within .dropdown {
    display: block;
  }

  .dropdown a {
    padding: 8px 10px;
  }

  .image-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {
  .container {
    width: min(100% - 22px, var(--max));
  }

  .nav {
    min-height: 70px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    font-size: 21px;
  }

  .brand strong {
    font-size: 13px;
  }

  .brand small {
    font-size: 8px;
  }

  .slides {
    height: clamp(210px, 62vw, 390px);
  }

  .slide img {
    object-fit: contain;
  }

  .slider-ui {
    bottom: 10px;
    gap: 8px;
  }

  .slider-ui > button {
    width: 32px;
    height: 32px;
    font-size: 21px;
  }

  .quick-portals {
    padding: 48px 0 42px;
  }

  .section-head {
    margin-bottom: 24px;
  }

  .section-head p {
    font-size: 14px;
  }

  .image-card-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .quote {
    margin-top: 24px;
    padding: 18px 16px;
  }

  .footer-row {
    padding: 24px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

/* =========================
   VERY SMALL PHONES
========================= */

@media (max-width: 420px) {
  .brand {
    gap: 7px;
  }

  .brand strong {
    letter-spacing: 0.07em;
  }

  .brand small {
    letter-spacing: 0.15em;
  }

  .slides {
    height: 230px;
  }

  .slider-ui {
    padding: 6px 8px;
  }
}
