/* Highlander Security Solutions — premium dark security aesthetic */

:root {
  --bg-deep: #0a0a0b;
  --bg-charcoal: #121214;
  --bg-elevated: #1a1a1e;
  --bg-card: #16161a;
  --border: rgba(192, 192, 200, 0.14);
  --border-strong: rgba(212, 175, 55, 0.35);
  --text: #e8e8ec;
  --text-muted: #9a9aa3;
  --silver: #c0c0c8;
  --silver-bright: #e4e4ea;
  --gold: #d4af37;
  --gold-soft: #c9a227;
  --gold-glow: rgba(212, 175, 55, 0.25);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --header-h: 72px;
  --font-display: "Cinzel", "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--silver-bright);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--gold);
  color: var(--bg-deep);
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* —— Header / Nav —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(10, 10, 11, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--silver-bright);
  text-decoration: none;
}

.nav-brand:hover {
  color: var(--gold);
}

.nav-logo {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  box-shadow: 0 0 12px var(--gold-glow);
}

.nav-wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: var(--silver);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-menu a:hover {
  color: var(--gold);
}

.nav-cta {
  padding: 0.45rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--gold) !important;
}

.nav-cta:hover {
  background: rgba(212, 175, 55, 0.12);
  color: var(--silver-bright) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--silver);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.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: translateY(-7px) rotate(-45deg);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.25rem 5rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(212, 175, 55, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(192, 192, 200, 0.05), transparent 50%),
    linear-gradient(180deg, var(--bg-charcoal) 0%, var(--bg-deep) 100%);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 35%, var(--gold-glow), transparent 45%);
  pointer-events: none;
  opacity: 0.5;
}

.hero-inner {
  position: relative;
  max-width: 720px;
}

.hero-logo {
  width: min(280px, 70vw);
  height: auto;
  margin: 0 auto 1.75rem;
  border-radius: 50%;
  border: 2px solid rgba(212, 175, 55, 0.45);
  box-shadow:
    0 0 0 8px rgba(212, 175, 55, 0.06),
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 0 40px var(--gold-glow);
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-tagline {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: var(--silver-bright);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}

.hero-lead {
  margin: 0 auto 2rem;
  max-width: 540px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #e0c35a 0%, var(--gold) 40%, var(--gold-soft) 100%);
  color: #1a1508;
  box-shadow: 0 8px 28px var(--gold-glow);
}

.btn-primary:hover {
  color: #0a0a0b;
  box-shadow: 0 12px 36px rgba(212, 175, 55, 0.4);
  transform: translateY(-1px);
}

.btn-full {
  width: 100%;
}

/* —— Sections —— */
.section {
  padding: 5.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-header-left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.section-header h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--silver-bright);
}

.section-sub {
  margin: 0;
  color: var(--text-muted);
}

/* —— About —— */
.about {
  background: var(--bg-charcoal);
  border-block: 1px solid var(--border);
}

.about-content {
  max-width: 760px;
  margin-inline: auto;
}

.about-content p {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  font-size: 1.08rem;
}

.about-content p:last-child {
  margin-bottom: 0;
}

/* —— Services —— */
.services {
  background:
    radial-gradient(ellipse 50% 40% at 10% 0%, rgba(212, 175, 55, 0.05), transparent),
    var(--bg-deep);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow), 0 0 30px rgba(212, 175, 55, 0.08);
  transform: translateY(-3px);
}

.service-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1.25rem;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 12px;
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--silver-bright);
}

.service-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* —— Leadership —— */
.leadership {
  background: var(--bg-charcoal);
  border-block: 1px solid var(--border);
}

.leadership-list {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.leader-card {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 2.5rem;
  align-items: start;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.leader-card-reverse {
  grid-template-columns: minmax(220px, 320px) 1fr;
}

.leader-media {
  position: relative;
}

.leader-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.leader-body h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--silver-bright);
}

.leader-role {
  margin: 0 0 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.leader-bio p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.leader-bio p:last-child {
  margin-bottom: 0;
}

/* —— Contact —— */
.contact {
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(212, 175, 55, 0.07), transparent),
    var(--bg-deep);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: start;
}

.contact-email-label {
  margin: 2rem 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-email {
  display: inline-block;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold);
  word-break: break-all;
}

.contact-email:hover {
  color: var(--silver-bright);
}

.contact-domain {
  margin: 0.75rem 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-field {
  margin-bottom: 1.25rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #5c5c66;
}

.form-field input:hover,
.form-field textarea:hover {
  border-color: rgba(192, 192, 200, 0.28);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
  outline: none;
}

.form-field textarea {
  resize: vertical;
  min-height: 140px;
}

.form-note {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

/* —— Footer —— */
.site-footer {
  padding: 2.5rem 0;
  background: #070708;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-logo {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
}

.footer-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--silver-bright);
}

.footer-tagline {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* —— Responsive —— */
@media (max-width: 960px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .leader-card,
  .leader-card-reverse {
    grid-template-columns: 240px 1fr;
    gap: 1.75rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 64px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem;
    background: rgba(10, 10, 11, 0.97);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
  }

  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu li {
    border-bottom: 1px solid var(--border);
  }

  .nav-menu a {
    display: block;
    padding: 1rem;
  }

  .nav-cta {
    margin: 0.75rem 0 0.25rem;
    text-align: center;
    border-radius: 8px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .leader-card,
  .leader-card-reverse {
    grid-template-columns: 1fr;
    padding: 1.25rem;
  }

  .leader-media {
    max-width: 280px;
    margin-inline: auto;
  }

  .section {
    padding: 4rem 0;
  }

  .hero {
    padding: 3rem 1rem 4rem;
    min-height: auto;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-brand {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
