:root {
  --navy: #0b1120;
  --navy-soft: #0f172a;
  --gold: #c9a962;
  --gold-light: #e0c78a;
  --white: #ffffff;
  --slate: #94a3b8;
  --card: #111827;
  --border: rgba(201, 169, 98, 0.2);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

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

.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.75rem 0;
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--white);
  text-decoration: none;
}

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

nav a {
  color: var(--slate);
  text-decoration: none;
  margin-left: 1.5rem;
  font-size: 0.95rem;
  transition: color 0.2s;
}

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

.hero { padding: 5rem 0 4rem; text-align: center; }

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
  max-width: 850px;
  margin: 0 auto 1.5rem;
}

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

.hero p {
  font-size: 1.25rem;
  color: var(--slate);
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  padding: 0.9rem 2.5rem;
  border-radius: 40px;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: background 0.2s, transform 0.2s;
}

.btn:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  margin-left: 1rem;
}

.btn-outline:hover { background: rgba(201, 169, 98, 0.1); }

.services { padding: 4rem 0; }

.section-label {
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.section-title { font-size: 2.25rem; font-weight: 600; margin-bottom: 2rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}

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

.service-card h3 { margin-bottom: 0.75rem; font-size: 1.35rem; color: var(--gold-light); }
.service-card p { color: var(--slate); font-size: 0.95rem; }

.products { padding: 4rem 0; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.product-card {
  background: var(--card);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  border: 1px solid rgba(255,255,255,0.05);
  transition: border-color 0.2s, transform 0.2s;
}

.product-card:hover { border-color: var(--gold); transform: translateY(-3px); }

.product-card h4 { color: var(--white); font-size: 1.4rem; margin-bottom: 0.5rem; }
.product-card p { color: var(--slate); font-size: 0.9rem; margin-bottom: 1rem; }

.product-link { color: var(--gold); text-decoration: none; font-weight: 600; font-size: 0.9rem; }

.testimonials { padding: 4rem 0; }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testimonial {
  background: var(--card);
  border-radius: 16px;
  padding: 2rem;
  border-left: 3px solid var(--gold);
}

.testimonial p { color: var(--white); font-size: 1rem; margin-bottom: 1rem; font-style: italic; }
.testimonial .client { color: var(--gold); font-size: 0.9rem; font-weight: 600; }

.careers { padding: 4rem 0; text-align: center; }

.careers-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  max-width: 700px;
  margin: 2rem auto 0;
}

.careers-card h3 { font-size: 1.75rem; color: var(--gold-light); margin-bottom: 0.75rem; }
.careers-card p { color: var(--slate); font-size: 1.1rem; line-height: 1.7; }
.careers-card a { color: var(--gold); text-decoration: none; font-weight: 600; }
.careers-card a:hover { text-decoration: underline; }

.cta { padding: 5rem 0; text-align: center; background: linear-gradient(180deg, var(--navy) 0%, #0d1526 100%); }
.cta h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.cta p { color: var(--slate); max-width: 600px; margin: 0 auto 2rem; }

/* White lower sections */
.light-section {
  background: #ffffff;
  color: #0b1120;
}

.light-section .section-label,
.light-section .section-title,
.light-section h2,
.light-section h3,
.light-section p {
  color: #0b1120;
}

.light-section a { color: #b8860b; }

.light-section .btn {
  background: #0b1120;
  color: #ffffff;
}

.light-section .btn-outline {
  background: transparent;
  border: 1px solid #0b1120;
  color: #0b1120;
}

.light-section .btn-outline:hover { background: rgba(0,0,0,0.05); }

.light-section .careers-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #0b1120;
}

.footer { padding: 2rem 1.5rem; border-top: 1px solid rgba(255,255,255,0.05); text-align: center; color: var(--slate); font-size: 0.85rem; }
.footer a { color: var(--gold); text-decoration: none; }
.footer .trademark { margin-top: 0.5rem; font-size: 0.8rem; color: var(--slate); opacity: 0.8; }

.footer.light-section { background: #ffffff; color: #0b1120; border-top: 1px solid #e2e8f0; }
.footer.light-section a { color: #b8860b; }
.footer.light-section .trademark { color: #4b5563; }

/* Modal styles */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 9, 20, 0.85);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal {
  background: var(--navy-soft);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  max-width: 520px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--slate);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s;
}

.modal-close:hover { color: var(--gold); }

.modal h2 { font-size: 1.75rem; color: var(--gold-light); margin-bottom: 0.5rem; }
.modal-sub { color: var(--slate); font-size: 0.95rem; margin-bottom: 1.5rem; }

.contact-form .form-group { margin-bottom: 1.25rem; }

.contact-form label {
  display: block;
  color: var(--white);
  font-weight: 500;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, background 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,0.08);
}

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

.submit-btn { width: 100%; cursor: pointer; border: none; font-family: inherit; font-size: 1rem; margin-top: 0.5rem; }

.form-status { margin-top: 1rem; font-size: 0.95rem; color: var(--gold-light); text-align: center; min-height: 1.5em; }

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
  z-index: 999;
}

.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--gold-light); transform: translateY(-2px); }

@media (max-width: 640px) {
  .hero h1 { font-size: 2.5rem; }
  nav { display: none; }
  .btn-outline { margin-left: 0; margin-top: 0.5rem; }
}