/* ============================================================
   LGC — Navy & Gold design system
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --navy-950: #0a1119;
  --navy-900: #0c1420;
  --navy-800: #111c2b;
  --navy-700: #16233a;
  --ivory: #f4efe6;
  --ivory-300: #e8e2d8;
  --muted: #9aa2b2;
  --muted-2: #8d94a3;
  --gold: #b9994f;
  --gold-light: #d2b877;
  --gold-dark: #8a6d3b;
  --border: #233349;
  --border-light: #2b3a4d;
  --ink: #14100a;

  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 6px;
  --radius: 10px;
  --container: 1140px;
  --transition: 0.25s ease;
}

/* ---------- reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--navy-900);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  color: var(--ivory);
  line-height: 1.15;
  margin: 0 0 0.6em;
  font-weight: 600;
}

p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- helpers ---------- */
.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.section-head .kicker { margin-bottom: 14px; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 12px; }
.section-head p { color: var(--muted-2); }

.kicker {
  display: inline-block;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}
.btn:hover { transform: translateY(-1px); }

.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-light); color: var(--ink); }

.btn--outline { border-color: var(--border-light); color: var(--ivory); background: transparent; }
.btn--outline:hover { border-color: var(--gold); color: var(--gold-light); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 20, 32, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}
.site-logo {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--ivory);
  letter-spacing: 1px;
}
.site-logo:hover { color: var(--ivory); }
.site-logo span { color: var(--gold); }

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 30px;
}
.site-nav__link {
  color: var(--muted-2);
  font-size: 15px;
  font-weight: 500;
}
.site-nav__link:hover, .site-nav__link.is-active { color: var(--ivory); }
.site-nav__link.is-active { box-shadow: 0 1px 0 var(--gold); padding-bottom: 4px; }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 240px;
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a {
  display: block;
  color: var(--muted);
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 4px;
}
.dropdown a:hover { color: var(--ivory); background: var(--navy-700); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { color: var(--muted-2); font-size: 14px; font-weight: 500; }
.header-phone:hover { color: var(--ivory); }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 40px;
  cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--ivory);
  transition: transform var(--transition), opacity var(--transition);
}
.menu-toggle span:nth-child(1) { top: 11px; }
.menu-toggle span:nth-child(2) { top: 19px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-toggle.is-open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 60vh;
  padding: 96px 0 88px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 20, 32, 0.95) 0%, rgba(12, 20, 32, 0.7) 50%, rgba(12, 20, 32, 0.4) 100%);
}
.hero__overlay {
  position: relative;
  z-index: 1;
}
.hero__content { display: flex; flex-direction: column; gap: 8px; max-width: 600px; }
.hero__kicker { margin-bottom: 16px; }
.hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: 20px; color: var(--ivory); }
.hero__text { color: var(--muted-2); max-width: 500px; margin-bottom: 32px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__badge {
  display: inline-block;
  margin-top: 24px;
  background: rgba(12, 20, 32, 0.92);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
}

/* ---------- stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 44px 0;
  text-align: center;
}
.stat__value { font-family: var(--serif); font-size: 34px; font-weight: 600; color: var(--ivory); }
.stat__value em { font-style: normal; color: var(--gold); }
.stat__label { font-size: 13px; color: var(--muted-2); margin-top: 4px; }

/* ---------- services cards ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card {
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: border-color var(--transition), transform var(--transition), background var(--transition);
}
.service-card:hover { border-color: var(--gold); transform: translateY(-4px); background: var(--navy-700); }
.service-card__icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: rgba(185, 153, 79, 0.14);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.service-card__icon svg { width: 22px; height: 22px; }
.service-card h3 { font-size: 19px; margin-bottom: 8px; }
.service-card p { color: var(--muted-2); font-size: 14.5px; margin-bottom: 0; }
.service-card__link {
  display: inline-block;
  margin-top: 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gold);
}
.service-card__link:hover { color: var(--gold-light); }

/* ---------- trust / why us ---------- */
.why {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.why__media { position: relative; }
.why__img { width: 100%; height: 400px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); }
.why__stat {
  position: absolute;
  right: -18px;
  top: -18px;
  background: var(--navy-800);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 16px 22px;
  text-align: center;
}
.why__stat strong { font-family: var(--serif); font-size: 34px; color: var(--gold); display: block; }
.why__stat span { font-size: 12px; color: var(--muted-2); }
.why h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 14px; }
.why > div > p { color: var(--muted-2); }
.why__ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-top: 24px; }
.why__tick { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--muted); }
.why__tick svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }

/* ---------- sectors ---------- */
.sectors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sector-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 14.5px;
  color: var(--muted);
  transition: border-color var(--transition), color var(--transition);
}
.sector-chip:hover { border-color: var(--gold); color: var(--ivory); }
.sector-chip svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 64px 48px;
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.cta-band p { color: var(--muted-2); margin-bottom: 26px; }

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  border-bottom: 1px solid var(--border);
  padding: 88px 0 64px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.page-hero p { color: var(--muted-2); max-width: 640px; margin: 0 auto; }

/* ---------- service pages ---------- */
.service-layout { padding: 72px 0; }
.service-layout .container { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: start; }
.service-nav {
  align-self: start;
  position: sticky;
  top: 96px;
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.service-nav h4 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 18px;
}
.service-nav a {
  display: block;
  color: var(--muted);
  font-size: 14.5px;
  padding: 10px 12px;
  border-radius: 4px;
  border-left: 2px solid transparent;
}
.service-nav a:hover { color: var(--ivory); background: var(--navy-700); }
.service-nav a.is-active { color: var(--ivory); border-left-color: var(--gold); background: var(--navy-700); }

.service-content h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin: 40px 0 14px;
}
.service-content h2:first-child { margin-top: 0; }
.service-content h3 { font-size: 20px; margin: 28px 0 10px; }
.service-content p { color: var(--muted-2); }
.service-content blockquote {
  border-left: 3px solid var(--gold);
  margin: 24px 0;
  padding: 4px 0 4px 22px;
  color: var(--ivory-300);
  font-style: italic;
}
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 7px 0;
  color: var(--muted);
}
.check-list svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; margin-top: 5px; }
.check-list strong { color: var(--ivory); font-weight: 600; }

/* ---------- advantages ---------- */
.advantages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.advantage {
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.advantage__icon { color: var(--gold); margin-bottom: 16px; }
.advantage__icon svg { width: 24px; height: 24px; }
.advantage h3 { font-size: 17px; margin-bottom: 8px; }
.advantage p { color: var(--muted-2); font-size: 14px; margin-bottom: 0; }

/* ---------- team ---------- */
.team {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.team__img { width: 100%; height: 460px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); }
.team__list { display: grid; gap: 22px; }
.team__name { color: var(--ivory); font-family: var(--serif); font-size: 18px; display: block; }
.team__role { color: var(--muted-2); font-size: 14px; }

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 24px;
}
.contact-card {
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.contact-card__icon { color: var(--gold); margin-bottom: 14px; }
.contact-card__icon svg { width: 24px; height: 24px; }
.contact-card h3 { font-size: 15px; font-family: var(--sans); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--gold-light); margin-bottom: 8px; }
.contact-card p, .contact-card a { color: var(--muted); font-size: 15px; }
.contact-card a:hover { color: var(--ivory); }

.contact-form {
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; color: var(--muted-2); margin-bottom: 8px; }
.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--navy-900);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 15px;
  padding: 13px 16px;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(185, 153, 79, 0.25); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-success { color: var(--gold-light); font-weight: 500; margin-top: 16px; }
.form-error { color: #e0a3a3; margin-top: 16px; }

.map-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 24px;
}
.map-frame iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(0.2) contrast(1.05); }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
  background: var(--navy-950);
}
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-cols h5 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 18px;
}
.footer-cols p, .footer-cols a { color: var(--muted-2); font-size: 14px; }
.footer-cols a:hover { color: var(--ivory); }
.footer-cols li { margin-bottom: 8px; }
.footer-brand p { margin-top: 16px; }
.occ-badge {
  display: inline-block;
  margin-top: 18px;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted-2);
}

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero { min-height: 50vh; padding: 64px 0; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(12, 20, 32, 0.95) 0%, rgba(12, 20, 32, 0.7) 100%); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: 1fr; gap: 40px; }
  .why { grid-template-columns: 1fr; gap: 40px; }
  .why__media { order: -1; }
  .service-layout .container { grid-template-columns: 1fr; gap: 40px; }
  .service-nav { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .header-phone { display: none; }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .site-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    background: var(--navy-900);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px 28px;
    transform: translateY(-110%);
    visibility: hidden;
    transition: transform var(--transition), visibility var(--transition);
  }
  .site-nav.is-open { transform: translateY(0); visibility: visible; }
  .site-nav__list { flex-direction: column; align-items: flex-start; gap: 6px; }
  .site-nav__link { font-size: 17px; padding: 10px 0; display: block; }
  .has-dropdown { width: 100%; }
  .dropdown { position: static; transform: none; opacity: 1; visibility: visible; background: none; border: none; padding: 0 0 0 16px; }
  .has-dropdown:hover .dropdown { transform: none; }
  .header-actions .btn { padding: 11px 18px; font-size: 13px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .sectors-grid { grid-template-columns: 1fr; }
  .advantages-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; gap: 32px; }
  .cta-band { padding: 44px 26px; }
  .contact-form { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; }
  .hero__img { height: 300px; }
  .section { padding: 64px 0; }

/* ---------- focus & utility ---------- */
a:focus-visible,
.btn:focus-visible,
.site-nav__link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
.mt-28 { margin-top: 28px; }
.mt-48 { margin-top: 48px; }
.pt-16 { padding-top: 16px; }
.icon-lg { font-size: 1.6rem; }
.text-muted { color: var(--muted-2); }
.mb-28 { margin-bottom: 28px; }
.text-center { text-align: center; }
}
