:root {
  --navy-deep: #070f1c;
  --navy: #0b1d33;
  --navy-mid: #102a4a;
  --navy-light: #183760;
  --gold: #c6963c;
  --gold-light: #e8c876;
  --gold-pale: #f5e6c8;
  --white: #ffffff;
  --off-white: #f4f4f6;
  --gray-100: #e8eaed;
  --gray-200: #d1d5db;
  --gray-500: #6b7280;
  --gray-800: #1f2937;
  --text-dark: #111827;
  --text-body: #374151;
  --font-heading: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.15);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.2);
  --radius: 8px;
  --radius-lg: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--navy); }

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-sm {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 90px 0;
}

.section-alt {
  padding: 90px 0;
  background: var(--off-white);
}

.section-dark {
  padding: 90px 0;
  background: var(--navy);
  color: var(--white);
}

.section-dark h1, .section-dark h2, .section-dark h3 {
  color: var(--white);
}

.section-dark p, .section-dark li {
  color: var(--gray-200);
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-heading);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.25s;
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-primary:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  color: var(--white);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: #b38631;
  border-color: #b38631;
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-light:hover {
  background: var(--off-white);
  border-color: var(--off-white);
  color: var(--navy);
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--navy-deep);
  padding: 0;
  box-shadow: var(--shadow-sm);
}

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

.nav-logo {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
}

.nav-logo span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  color: var(--gray-200);
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font-heading);
  transition: color 0.2s;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--white);
  margin: 5px 0;
  border-radius: 3px;
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  background-image:
    radial-gradient(ellipse at 30% 20%, rgba(198,150,60,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(198,150,60,0.08) 0%, transparent 50%);
  padding-top: 70px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-size: 52px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-text h1 span {
  color: var(--gold);
  display: block;
}

.hero-text p {
  font-size: 18px;
  color: var(--gray-200);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  background: var(--navy-mid);
  border: 1px solid rgba(198,150,60,0.25);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  max-width: 420px;
  width: 100%;
}

.hero-card .stat {
  display: flex;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.hero-card .stat:last-child {
  border-bottom: none;
}

.hero-card .stat-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--gold);
  font-family: var(--font-heading);
  min-width: 80px;
}

.hero-card .stat-text {
  color: var(--gray-200);
  font-size: 14px;
  line-height: 1.6;
}

.hero-card .stat-text strong {
  display: block;
  color: var(--white);
  font-size: 16px;
  margin-bottom: 4px;
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--gold-pale);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 24px;
  color: var(--gold);
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--gray-500);
  line-height: 1.7;
  font-size: 15px;
}

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header .tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  font-family: var(--font-heading);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.section-header p {
  color: var(--gray-500);
  max-width: 600px;
  margin: 16px auto 0;
  font-size: 17px;
}

.section-dark .section-header p {
  color: var(--gray-200);
}

.section-dark .section-header .tag {
  color: var(--gold-light);
}

/* ===== CAPABILITIES (TABS) ===== */
.capabilities {
  padding: 90px 0;
  background: var(--navy);
}

.capabilities .section-header h2,
.capabilities .section-header p {
  color: var(--white);
}

.capabilities .section-header p {
  color: var(--gray-200);
}

.cap-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.cap-tab {
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-heading);
  background: transparent;
  border: none;
  color: var(--gray-200);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.25s;
}

.cap-tab.active,
.cap-tab:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.cap-panel {
  display: none;
}

.cap-panel.active {
  display: block;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.cap-item {
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all 0.3s;
}

.cap-item:hover {
  border-color: var(--gold);
  background: var(--navy-light);
}

.cap-item .cap-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 6px;
  flex-shrink: 0;
}

.cap-item h4 {
  color: var(--white);
  font-size: 17px;
  margin-bottom: 6px;
}

.cap-item p {
  color: var(--gray-200);
  font-size: 14px;
  line-height: 1.6;
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-image {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-image::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border: 2px solid rgba(198,150,60,0.2);
  border-radius: 50%;
  top: -40px;
  right: -40px;
}

.about-image::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border: 2px solid rgba(198,150,60,0.1);
  border-radius: 50%;
  bottom: -80px;
  left: -60px;
}

.about-logo-text {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  text-align: center;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.about-logo-text span {
  color: var(--gold);
}

.about-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.about-stat {
  text-align: center;
  padding: 20px 12px;
  background: var(--off-white);
  border-radius: var(--radius);
}

.about-stat .num {
  font-size: 32px;
  font-weight: 800;
  color: var(--navy);
  font-family: var(--font-heading);
}

.about-stat .label {
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 4px;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
}

.contact-info h3 {
  font-size: 28px;
  margin-bottom: 12px;
}

.contact-info > p {
  color: var(--gray-500);
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.contact-detail .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 18px;
  flex-shrink: 0;
}

.contact-detail h4 {
  font-size: 15px;
  margin-bottom: 2px;
}

.contact-detail p {
  color: var(--gray-500);
  font-size: 14px;
}

.contact-form {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
  font-family: var(--font-heading);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-100);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.25s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--navy);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy-deep);
  color: var(--gray-200);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand h3 span {
  color: var(--gold);
}

.footer-brand p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
}

.footer-links h4 {
  color: var(--white);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--gray-500);
  font-size: 14px;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--gray-500);
}

/* ===== PRIVACY PAGE ===== */
.page-banner {
  background: var(--navy);
  padding: 120px 0 60px;
  text-align: center;
  background-image:
    radial-gradient(ellipse at 50% 0%, rgba(198,150,60,0.1) 0%, transparent 60%);
}

.page-banner h1 {
  font-size: 44px;
  color: var(--white);
  font-weight: 800;
}

.page-banner p {
  color: var(--gray-200);
  margin-top: 12px;
  font-size: 16px;
}

.privacy-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  padding: 60px 0;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  align-items: start;
}

.privacy-sidebar {
  position: sticky;
  top: 90px;
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.privacy-sidebar h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gray-500);
  margin-bottom: 16px;
}

.privacy-sidebar nav a {
  display: block;
  padding: 8px 0;
  color: var(--text-body);
  font-size: 14px;
  border-bottom: 1px solid var(--gray-100);
  transition: color 0.2s;
}

.privacy-sidebar nav a:hover {
  color: var(--navy);
}

.privacy-content h2 {
  font-size: 28px;
  margin-bottom: 16px;
  margin-top: 48px;
  padding-top: 16px;
  border-top: 2px solid var(--gray-100);
}

.privacy-content h2:first-child {
  margin-top: 0;
  border-top: none;
}

.privacy-content p,
.privacy-content li {
  margin-bottom: 14px;
  line-height: 1.8;
}

.privacy-content ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.privacy-content ul li {
  list-style: disc;
  color: var(--gray-500);
}

.privacy-content ul li strong {
  color: var(--text-dark);
}

.privacy-info-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 24px 0;
  border-left: 4px solid var(--navy);
}

.privacy-info-card p {
  margin-bottom: 6px;
  font-size: 14px;
}

.privacy-info-card strong {
  color: var(--text-dark);
}

/* ===== TERMS PAGE ===== */
.terms-hero {
  background: var(--navy);
  padding: 120px 0 60px;
  text-align: center;
  background-image:
    radial-gradient(ellipse at 30% 80%, rgba(198,150,60,0.08) 0%, transparent 50%);
}

.terms-hero h1 {
  font-size: 44px;
  color: var(--white);
  font-weight: 800;
}

.terms-hero p {
  color: var(--gray-200);
  margin-top: 12px;
  font-size: 16px;
}

.terms-content {
  max-width: 820px;
  margin: 60px auto;
  padding: 0 24px;
}

.terms-section {
  margin-bottom: 40px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.terms-section summary {
  padding: 22px 28px;
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--text-dark);
  background: var(--off-white);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

.terms-section summary:hover {
  background: var(--gray-100);
}

.terms-section summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 400;
  color: var(--navy);
  transition: transform 0.3s;
}

.terms-section[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}

.terms-section .section-body {
  padding: 28px;
  border-top: 1px solid var(--gray-100);
}

.terms-section .section-body p {
  margin-bottom: 14px;
  line-height: 1.8;
}

.terms-section .section-body ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

.terms-section .section-body ul li {
  margin-bottom: 8px;
  color: var(--gray-500);
}

.terms-effective {
  text-align: center;
  padding: 40px 0;
  color: var(--gray-500);
  font-size: 14px;
}

/* ===== 404 PAGE ===== */
.page-404 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  text-align: center;
  padding: 40px 24px;
  background-image:
    radial-gradient(ellipse at 50% 30%, rgba(198,150,60,0.1) 0%, transparent 60%);
}

.code-404 {
  font-family: var(--font-heading);
  font-size: 180px;
  font-weight: 900;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.page-404-content {
  position: relative;
  z-index: 1;
}

.page-404-content h1 {
  font-size: 52px;
  color: var(--white);
  font-weight: 800;
  margin-bottom: 16px;
}

.page-404-content p {
  font-size: 18px;
  color: var(--gray-200);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.8;
}

.page-404-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--navy-deep);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    box-shadow: var(--shadow-md);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-text h1 {
    font-size: 36px;
  }

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

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .privacy-layout {
    grid-template-columns: 1fr;
  }

  .privacy-sidebar {
    position: static;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
  }

  .section {
    padding: 60px 0;
  }

  .section-alt {
    padding: 60px 0;
  }

  .section-dark {
    padding: 60px 0;
  }

  .page-banner {
    padding: 100px 0 40px;
  }

  .page-banner h1 {
    font-size: 32px;
  }

  .section-header h2 {
    font-size: 30px;
  }

  .code-404 {
    font-size: 100px;
  }
}
