/* =========================================================
   THE LION AND SUN SECURITY — MAIN STYLESHEET
   ========================================================= */

/* ---- Design Tokens ---- */
:root {
  --black:        #0A0A0A;
  --dark:         #FFFFFF;
  --dark-card:    #FFFFFF;
  --dark-border:  #E6E1D2;
  --mid:          #D6D0BC;
  --muted:        #6E6A5C;
  --light:        #2B2822;
  --white:        #14120B;
  --off-white:    #FAF7F0;
  --on-gold:      #0A0A0A;
  --btn-outline-border: rgba(20,17,10,0.28);
  --silver:       #B8BCC2;
  --silver-lt:    #D9DBDE;
  --silver-dk:    #8A8F97;
  --gold:         #6B6D71;  /* darkened from #B8BCC2 for AA text contrast on light backgrounds; relit to #B8BCC2 inside each dark-section rescope below */
  --gold-lt:      #D9DBDE;
  --gold-dk:      #8A8F97;
  --gold-bg:      rgba(184, 188, 194, 0.07);
  --gold-border:  rgba(184, 188, 194, 0.22);
  --gold-glow:    rgba(184, 188, 194, 0.10);
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:     cubic-bezier(0, 0, 0.2, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--dark);
  color: var(--light);
  line-height: 1.65;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ---- Layout ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}
.container-sm {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---- Typography ---- */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-tag::before {
  content: '';
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--gold);
  flex-shrink: 0;
}
.section-header { text-align: center; margin-bottom: 64px; }
.section-header .section-tag { justify-content: center; }
.section-header .section-tag::before { display: none; }

.section-title {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.18;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.section-desc {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 620px;
}
.section-header .section-desc { margin: 0 auto; }

.gold-text {
  background: linear-gradient(135deg, var(--gold-lt) 0%, var(--gold) 55%, var(--gold-dk) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}
.gold-line {
  width: 48px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 20px 0 28px;
}
.gold-line.center { margin: 20px auto 28px; background: var(--gold); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 34px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--silver-lt) 0%, var(--silver) 45%, var(--silver-dk) 100%);
  color: var(--on-gold);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 2px 10px rgba(20,17,10,0.18);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,0.65) 48%, rgba(255,255,255,0.2) 54%, transparent 70%);
  pointer-events: none;
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,0.9) 50%, transparent 58%);
  transform: translateX(-130%);
  pointer-events: none;
}
.btn-primary:hover::after {
  animation: btn-shine-sweep 0.85s ease;
}
@keyframes btn-shine-sweep {
  from { transform: translateX(-130%); }
  to   { transform: translateX(130%); }
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--silver-lt) 0%, var(--silver-lt) 45%, var(--silver) 100%);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 8px 24px rgba(140, 145, 155, 0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--btn-outline-border);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.btn-ghost {
  background: var(--gold-bg);
  color: var(--gold);
  border: 1px solid var(--gold-border);
}
.btn-ghost:hover {
  background: rgba(184,188,194,0.14);
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }
.btn-sm { padding: 10px 22px; font-size: 13px; }
.btn-lg { padding: 17px 44px; font-size: 15px; }

/* ---- Gold divider ---- */
.divider {
  border: none;
  height: 1px;
  background: var(--dark-border);
  margin: 0;
}
.divider-gold {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-border), transparent);
  border: none;
  margin: 0;
}

/* ---- Scroll Animations ---- */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
[data-animate].visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   NAVIGATION
   ========================================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  padding: 0;
  transition: all 0.35s var(--ease);
  border-bottom: 1px solid var(--gold-border);
  box-shadow: 0 4px 30px rgba(20,17,10,0.06);
}
/* Frosted-glass fill lives on its own layer, not on .navbar itself: an
   element with backdrop-filter becomes the containing block for its own
   position:fixed descendants, which was collapsing the mobile menu panel
   (see .nav-links below) to a sliver instead of the full screen. */
.navbar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background 0.35s var(--ease);
}
.navbar.scrolled::before {
  background: rgba(255, 255, 255, 0.97);
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.logo-emblem { width: 68px; height: 76px; flex-shrink: 0; }
.logo-emblem svg, .logo-emblem img { width: 100%; height: 100%; object-fit: contain; display: block; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.nav-logo .logo-text { flex-direction: row; align-items: center; gap: 6px; }
.nav-logo .logo-sub { margin-top: 0; }
.logo-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--white);
  white-space: nowrap;
}
.logo-sub {
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 4px;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links > li > a {
  display: block;
  padding: 8px 13px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
  border-radius: 4px;
  transition: all 0.2s var(--ease);
}
.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--white); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a {
  display: flex !important;
  align-items: center;
  gap: 5px;
}
.drop-icon {
  width: 10px; height: 10px;
  flex-shrink: 0;
  transition: transform 0.2s var(--ease);
}
.nav-dropdown:hover .drop-icon { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: 268px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--gold-border);
  border-radius: 8px;
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.22s var(--ease);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 20px 50px rgba(20,17,10,0.14);
  z-index: 10;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu li a {
  display: block;
  padding: 9px 14px;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--light);
  border-radius: 5px;
  transition: all 0.15s;
  border-left: 2px solid transparent;
}
.dropdown-menu li a:hover {
  background: var(--gold-bg);
  color: var(--white);
  border-left-color: var(--gold);
  padding-left: 18px;
}
.dropdown-divider {
  height: 1px;
  background: var(--dark-border);
  margin: 5px 8px;
}
.menu-group-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.85;
  padding: 10px 14px 4px;
}
.sidebar-nav-list .menu-group-label {
  padding: 4px 10px 6px;
}
.sidebar-nav-list .sidebar-divider {
  height: 1px;
  background: var(--dark-border);
  margin: 6px 4px;
}

/* Staff link */
.nav-staff {
  margin-left: 8px;
  padding: 7px 14px !important;
  font-size: 12.5px !important;
  color: var(--muted) !important;
  border: 1px solid var(--dark-border) !important;
  border-radius: 4px !important;
  letter-spacing: 0.04em;
}
.nav-staff:hover {
  color: var(--gold) !important;
  border-color: var(--gold-border) !important;
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 4px;
}
.hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.28s var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* =========================================================
   HERO (HOMEPAGE)
   ========================================================= */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--black);
  --white: #FFFFFF;
  --gold: #B8BCC2;
  --light: #E4E2DC;
  --muted: #9C9890;
  --dark-card: #161513;
  --dark-border: #2A281F;
  --btn-outline-border: rgba(255,255,255,0.35);

}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(184,188,194,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,188,194,0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 85% 85% at 50% 45%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 85% 85% at 50% 45%, black 20%, transparent 70%);
}
.hero-radial {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 700px;
  background: radial-gradient(ellipse at 50% 35%, rgba(184,188,194,0.055) 0%, transparent 65%);
}

.hero-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 900px;
  width: 100%;
  padding: 140px 28px 60px;
}

.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--gold-bg);
  border: 1px solid var(--gold-border);
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 36px;
}
.location-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(40px, 7.5vw, 82px);
  font-weight: 700;
  line-height: 1.06;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--muted);
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 44px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Hero stats bar */
.hero-stats {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(10,10,10,0.85);
  border: 1px solid var(--gold-border);
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.stat-item {
  padding: 28px 24px;
  text-align: center;
  border-right: 1px solid var(--dark-border);
}
.stat-item:last-child { border-right: none; }
.stat-val {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}
.stat-sup { font-size: 24px; font-weight: 600; color: var(--gold-lt); }
.stat-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}

/* =========================================================
   PAGE HERO (inner pages)
   ========================================================= */
.page-hero {
  padding: 140px 0 80px;
  background: var(--black);
  --white: #FFFFFF;
  --gold: #B8BCC2;
  --light: #E4E2DC;
  --muted: #9C9890;
  --dark-card: #161513;
  --dark-border: #2A281F;
  --btn-outline-border: rgba(255,255,255,0.35);

  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(184,188,194,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,188,194,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, black, transparent);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(34px, 5.5vw, 58px);
  font-weight: 700;
  line-height: 1.12;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.page-hero-desc {
  font-size: 17px;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.8;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--gold); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold-lt); }
.breadcrumb-sep { color: var(--dark-border); }

/* =========================================================
   SERVICES GRID
   ========================================================= */
.services-section { padding: 100px 0; background: var(--dark); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 10px;
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease);
  position: relative;
}
.service-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(20,17,10,0.10), 0 0 30px var(--gold-glow);
}
.service-icon {
  width: 52px; height: 52px;
  border-radius: 10px;
  background: var(--gold-bg);
  border: 1px solid var(--gold-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  margin-bottom: 22px;
  flex-shrink: 0;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}
.service-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 22px;
  flex: 1;
}
.service-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
  flex: 1;
}
.service-list li {
  font-size: 13.5px;
  color: var(--light);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.7;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: auto;
  transition: all 0.2s;
}
.service-link:hover { gap: 12px; color: var(--gold-lt); }
.service-link svg { width: 14px; height: 14px; }

/* =========================================================
   WHY US / FEATURES
   ========================================================= */
.why-section {
  padding: 100px 0;
  background: var(--black);
  --white: #FFFFFF;
  --gold: #B8BCC2;
  --light: #E4E2DC;
  --muted: #9C9890;
  --dark-card: #161513;
  --dark-border: #2A281F;
  --btn-outline-border: rgba(255,255,255,0.35);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 10px;
  padding: 32px 28px;
  transition: all 0.3s var(--ease);
}
.feature-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(20,17,10,0.09);
}
.feature-icon {
  width: 46px; height: 46px;
  border-radius: 9px;
  background: var(--gold-bg);
  border: 1px solid var(--gold-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  margin-bottom: 18px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.78;
}

/* =========================================================
   CTA BANNER
   ========================================================= */
.cta-section {
  padding: 90px 0;
  background: var(--dark-card);
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 100% at 50% 0%, var(--gold-glow) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
}
.cta-section p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   ABOUT SECTION (homepage teaser)
   ========================================================= */
.about-teaser { padding: 100px 0; background: var(--dark); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text p {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 18px;
}
.about-certs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  background: var(--gold-bg);
  border: 1px solid var(--gold-border);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--gold);
}
.cert-badge svg { width: 13px; height: 13px; }

.about-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 10px;
  padding: 24px 28px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: border-color 0.25s;
}
.about-card:hover { border-color: var(--gold-border); }
.about-card-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--gold-bg);
  border: 1px solid var(--gold-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.about-card-icon svg { width: 20px; height: 20px; }
.about-card h4 { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 5px; }
.about-card p  { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* =========================================================
   ABOUT PAGE - full
   ========================================================= */
.about-section { padding: 90px 0; }
.about-section:nth-child(even) { background: var(--black); }
.about-section:nth-child(odd)  { background: var(--dark);  }

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.value-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  padding: 28px 26px;
}
.value-card h4 { font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 10px; }
.value-card p  { font-size: 14px; color: var(--muted); line-height: 1.75; }

.team-note {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 10px;
  padding: 40px;
  text-align: center;
  max-width: 640px;
  margin: 48px auto 0;
}
.team-note p { font-size: 15px; color: var(--muted); line-height: 1.8; }

/* =========================================================
   SERVICE DETAIL PAGES
   ========================================================= */
.service-detail { padding: 90px 0; background: var(--dark); }
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.service-detail-content p {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 18px;
}
.detail-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 28px 0;
}
.detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14.5px;
  color: var(--light);
  line-height: 1.6;
}
.detail-list-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gold-bg);
  border: 1px solid var(--gold-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 1px;
}
.detail-list-icon svg { width: 11px; height: 11px; }

.service-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 92px;
}
.sidebar-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 10px;
  padding: 28px;
}
.sidebar-card h4 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--dark-border);
}
.sidebar-nav-list { display: flex; flex-direction: column; gap: 4px; }
.sidebar-nav-list li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  font-size: 13.5px;
  color: var(--muted);
  border-radius: 5px;
  border-left: 2px solid transparent;
  transition: all 0.2s;
}
.sidebar-nav-list li a:hover,
.sidebar-nav-list li a.active {
  color: var(--white);
  background: var(--gold-bg);
  border-left-color: var(--gold);
  padding-left: 14px;
}
.contact-card {
  background: linear-gradient(135deg, rgba(184,188,194,0.1) 0%, var(--dark-card) 100%);
  border-color: var(--gold-border);
}
.contact-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 18px;
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact-section { padding: 100px 0; background: var(--dark); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  align-items: start;
}
.contact-info-head p {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 36px;
}
.contact-items { display: flex; flex-direction: column; gap: 14px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  transition: all 0.25s var(--ease);
}
.contact-item:hover {
  border-color: var(--gold-border);
  transform: translateX(4px);
}
.contact-item-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--gold-bg);
  border: 1px solid var(--gold-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.contact-item-icon svg { width: 17px; height: 17px; }
.contact-item-label {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}
.contact-item-val {
  font-size: 14px;
  font-weight: 500;
  color: var(--gold-lt);
}

/* =========================================================
   FORMS (Contact & Career)
   ========================================================= */
.form-wrap {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 12px;
  padding: 44px;
}
.form-wrap h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}
.form-wrap p.form-intro {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--dark-border);
  line-height: 1.7;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(20,17,10,0.025);
  border: 1px solid var(--dark-border);
  border-radius: 6px;
  padding: 12px 15px;
  font-size: 14.5px;
  color: var(--white);
  outline: none;
  transition: all 0.2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23777777' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-group select option { background: #FFFFFF; color: #2B2822; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: #9B968A; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(184,188,194,0.04);
  box-shadow: 0 0 0 3px rgba(184,188,194,0.1);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.12);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group .field-error {
  font-size: 11.5px;
  color: #ef4444;
  margin-top: 5px;
  display: none;
}
.form-group .field-error.show { display: block; }

/* File upload */
.file-input-wrap {
  position: relative;
  border: 1.5px dashed var(--dark-border);
  border-radius: 6px;
  padding: 22px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}
.file-input-wrap:hover { border-color: var(--gold-border); background: var(--gold-bg); }
.file-input-wrap input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.file-input-icon { color: var(--gold); margin: 0 auto 10px; width: 28px; height: 28px; }
.file-input-wrap p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.file-input-wrap strong { color: var(--gold); }
.file-name {
  font-size: 13px;
  color: var(--gold-lt);
  margin-top: 8px;
  display: none;
}

.honeypot { display: none !important; visibility: hidden; }
.form-note {
  font-size: 11.5px;
  color: var(--muted);
  text-align: center;
  margin-top: 14px;
  line-height: 1.6;
}
.form-success {
  display: none;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  margin-top: 16px;
  color: #15803D;
  font-size: 14px;
}
.form-success.show { display: block; }

/* =========================================================
   CAREERS PAGE
   ========================================================= */
.careers-section { padding: 90px 0; background: var(--dark); }
.positions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 72px;
}
.position-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 10px;
  padding: 28px;
  transition: all 0.25s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.position-card:hover { border-color: var(--gold-border); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(20,17,10,0.09); }
.position-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.position-title { font-size: 17px; font-weight: 600; color: var(--white); }
.position-type {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-bg);
  border: 1px solid var(--gold-border);
  padding: 4px 10px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
}
.position-card p { font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.position-reqs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.position-reqs span {
  font-size: 11.5px;
  color: var(--light);
  background: rgba(20,17,10,0.035);
  border: 1px solid var(--dark-border);
  padding: 4px 10px;
  border-radius: 100px;
}

.careers-form-section {
  padding: 90px 0;
  background: var(--black);
  --white: #FFFFFF;
  --gold: #B8BCC2;
  --light: #E4E2DC;
  --muted: #9C9890;
  --dark-card: #161513;
  --dark-border: #2A281F;
  --btn-outline-border: rgba(255,255,255,0.35);
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--black);
  --white: #FFFFFF;
  --gold: #B8BCC2;
  --light: #E4E2DC;
  --muted: #9C9890;
  --dark-card: #161513;
  --dark-border: #2A281F;
  --btn-outline-border: rgba(255,255,255,0.35);

  border-top: 1px solid var(--gold-border);
  padding-top: 72px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 0.85fr 0.85fr 0.85fr;
  gap: 40px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--dark-border);
}
.footer-brand .logo-text .logo-name { font-size: 14px; }
.footer-brand .logo-emblem { width: 58px; height: 64px; }
.footer-tagline {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.75;
  margin-top: 18px;
  margin-bottom: 18px;
}
.footer-licence {
  font-size: 11.5px;
  color: var(--muted);
  opacity: 0.6;
  line-height: 1.6;
}
.footer-col h5 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 13.5px;
  color: var(--muted);
  transition: color 0.2s;
  line-height: 1.4;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-col address {
  font-style: normal;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.8;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-size: 12.5px;
  color: var(--muted);
  opacity: 0.65;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { transition: color 0.2s; }
.footer-legal a:hover { color: var(--white); opacity: 1; }

/* =========================================================
   STAFF LOGIN
   ========================================================= */
.staff-page {
  min-height: 100vh;
  background: var(--black);
  --white: #FFFFFF;
  --light: #E4E2DC;
  --muted: #9C9890;
  --dark-card: #161513;
  --dark-border: #2A281F;
  --btn-outline-border: rgba(255,255,255,0.35);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  position: relative;
}
.staff-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(184,188,194,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,188,194,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.staff-card {
  position: relative;
  z-index: 1;
  background: var(--dark-card);
  border: 1px solid var(--gold-border);
  border-radius: 12px;
  padding: 52px 48px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 40px 90px rgba(20,17,10,0.14);
}
.staff-logo { text-align: center; margin-bottom: 36px; }
.staff-logo .logo-emblem { margin: 0 auto 16px; width: 78px; height: 86px; }
.staff-logo .logo-name { font-size: 16px; }
.staff-logo .logo-sub  { font-size: 9px; }
.staff-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
}
.staff-divider-line {
  flex: 1;
  height: 1px;
  background: var(--dark-border);
}
.staff-divider span {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.staff-card .form-group label { color: #6E6A5C; }
.staff-extras {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.remember-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.remember-wrap input[type="checkbox"] {
  width: 15px; height: 15px;
  accent-color: var(--gold);
  cursor: pointer;
}
.remember-wrap span {
  font-size: 13px;
  color: var(--muted);
}
.forgot-link {
  font-size: 12.5px;
  color: var(--gold);
  transition: color 0.2s;
}
.forgot-link:hover { color: var(--gold-lt); }
.staff-footer {
  text-align: center;
  margin-top: 28px;
  font-size: 12px;
  color: var(--muted);
}
.staff-footer a { color: var(--gold); transition: color 0.2s; }
.staff-footer a:hover { color: var(--gold-lt); }
.login-error {
  display: none;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 13px;
  color: #B3261E;
  text-align: center;
  margin-bottom: 18px;
}
.login-error.show { display: block; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .services-grid   { grid-template-columns: repeat(2, 1fr); }
  .footer-grid     { grid-template-columns: 1fr 1fr; gap: 36px; }
  .about-grid      { gap: 52px; }
  .service-detail-grid { gap: 48px; }
  .contact-grid    { gap: 52px; }
}

@media (max-width: 900px) {
  .features-grid   { grid-template-columns: repeat(2, 1fr); }
  .about-grid      { grid-template-columns: 1fr; gap: 48px; }
  .values-grid     { grid-template-columns: 1fr; }
  .contact-grid    { grid-template-columns: 1fr; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-sidebar { position: static; }
  .hero-stats      { grid-template-columns: repeat(2, 1fr); }
  .hero-stats .stat-item:nth-child(2) { border-right: 1px solid var(--dark-border); }
  .hero-stats .stat-item:nth-child(4) { border-right: none; }
  .careers-form-section .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 92px; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 28px 20px;
    border-top: 1px solid var(--gold-border);
    gap: 4px;
    align-items: stretch;
    overflow-y: auto;
    z-index: 998;
  }
  .nav-links.open { display: flex; }
  .nav-links > li > a { padding: 14px 18px; font-size: 15px; color: var(--light); }
  .nav-staff { margin-left: 0 !important; border-color: var(--dark-border) !important; }
  .nav-dropdown > a { justify-content: space-between; }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    width: auto;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--gold-border);
    border-radius: 0;
    margin-left: 18px;
    background: transparent;
    padding: 6px 0;
    display: none;
  }
  .nav-dropdown.mobile-open .dropdown-menu { display: block; }
  .hamburger { display: flex; }

  .services-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .positions-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .form-wrap { padding: 28px 20px; }
  .hero-stats { grid-template-columns: 1fr 1fr; border-radius: 8px; border: 1px solid var(--gold-border); }
  .hero-stats .stat-item:nth-child(3) { border-right: 1px solid var(--dark-border); }
  .hero-stats .stat-item:nth-child(2) { border-right: none; }
  .stat-item { border-bottom: 1px solid var(--dark-border); }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }
  .staff-card { padding: 36px 24px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; }
  .hero-content { padding: 120px 0 40px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
}
