@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Source+Sans+3:wght@300;400;500;600&display=swap');

:root {
  --navy: #0A1628;
  --navy-mid: #0F2040;
  --navy-light: #1A3058;
  --gold: #C9A84C;
  --gold-light: #E2C97E;
  --gold-pale: #F5EDD6;
  --white: #FFFFFF;
  --offwhite: #F8F6F1;
  --text-light: #CBD5E0;
  --text-muted: #8A9BB0;
  --border-gold: rgba(201,168,76,0.25);
  --border-navy: rgba(10,22,40,0.12);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--offwhite);
  color: var(--navy);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── NAVBAR ── */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  border-bottom: 1px solid var(--border-gold);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-mark {
  width: 40px;
  height: 40px;
  background: var(--gold);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--white);
  letter-spacing: 0.01em;
}

.logo-tagline {
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 0.5rem 1.1rem;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 1.1rem;
  right: 1.1rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  border-radius: 4px;
  padding: 0.45rem 1.25rem !important;
  font-weight: 600 !important;
  margin-left: 0.5rem;
  transition: background var(--transition) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-light) !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── HERO ── */
.hero {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding: 100px 2rem 90px;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-accent {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

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

.hero-desc {
  font-size: 17px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.85rem 2rem;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.85rem 2rem;
  border: 1px solid rgba(201,168,76,0.5);
  color: var(--gold);
  font-weight: 600;
  font-size: 15px;
  border-radius: 4px;
  text-decoration: none;
  transition: border-color var(--transition), background var(--transition);
}
.btn-secondary:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.08);
}

/* Hero stats */
.hero-stats {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.stat-item { text-align: center; }
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  background: var(--border-gold);
  grid-column: 1;
  grid-row: 1 / 3;
  display: none;
}

/* ── SECTIONS ── */
section { padding: 90px 2rem; }

.section-inner { max-width: 1200px; margin: 0 auto; }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-title.light { color: var(--white); }

.section-subtitle {
  font-size: 17px;
  color: #5A6B7E;
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 3rem;
}

.section-subtitle.light { color: var(--text-light); }

/* ── ABOUT STRIP ── */
.about-strip {
  background: var(--navy-mid);
  padding: 60px 2rem;
}

.about-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 4rem;
}

.about-strip-text { flex: 1; }
.about-strip-text h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 0.8rem;
}
.about-strip-text p { color: var(--text-light); font-size: 15px; }

.about-strip-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.badge-item {
  background: rgba(201,168,76,0.12);
  border: 1px solid var(--border-gold);
  border-radius: 4px;
  padding: 0.5rem 1.1rem;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
}

/* ── SERVICES GRID ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border-navy);
  border-radius: 8px;
  padding: 2rem;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  box-shadow: 0 8px 32px rgba(10,22,40,0.10);
  transform: translateY(-3px);
  border-color: rgba(201,168,76,0.3);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--navy);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-icon svg { width: 26px; height: 26px; stroke: var(--gold); fill: none; stroke-width: 1.5; }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.service-card p { font-size: 14px; color: #5A6B7E; line-height: 1.7; margin-bottom: 1.25rem; }

.service-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}
.service-link:hover { gap: 10px; }

/* ── WHY US ── */
.why-section { background: var(--navy); }

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

.why-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 1.75rem;
}

.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.why-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

.why-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(201,168,76,0.15);
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* ── TECH STACK ── */
.tech-section { background: var(--offwhite); }

.tech-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

.tech-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.6rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border-navy);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.tech-pill:hover {
  border-color: var(--gold);
  box-shadow: 0 2px 12px rgba(201,168,76,0.12);
}

.tech-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ── CONTACT ── */
.contact-section { background: var(--offwhite); }

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

.contact-info h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.contact-info p { color: #5A6B7E; font-size: 15px; margin-bottom: 2rem; line-height: 1.8; }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 1.25rem;
}

.contact-detail-icon {
  width: 42px;
  height: 42px;
  background: var(--navy);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg { width: 20px; height: 20px; stroke: var(--gold); fill: none; stroke-width: 1.5; }

.contact-detail-text strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 2px;
}

.contact-detail-text span { font-size: 14px; color: #4A5568; }

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border-navy);
  border-radius: 10px;
  padding: 2.5rem;
}

.contact-form-wrap h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #EDF2F7;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }

.form-group { margin-bottom: 1rem; display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #CBD5E0;
  border-radius: 5px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--navy);
  background: var(--offwhite);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}

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

.form-submit {
  width: 100%;
  padding: 0.9rem;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background var(--transition);
  margin-top: 0.5rem;
}

.form-submit:hover { background: var(--navy-light); }

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: #276749;
  background: #F0FFF4;
  border-radius: 6px;
  border: 1px solid #9AE6B4;
  margin-top: 1rem;
  font-weight: 600;
}

/* ── MAP ── */
.map-wrap {
  margin-top: 3rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-navy);
}

/* ── FOOTER ── */
footer {
  background: var(--navy);
  border-top: 1px solid var(--border-gold);
  padding: 60px 2rem 30px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-gold);
  margin-bottom: 2rem;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-top: 1rem;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

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

.footer-col li { margin-bottom: 0.6rem; }

.footer-col a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

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

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

.footer-bottom p { font-size: 13px; color: var(--text-muted); }

.footer-bottom a { color: var(--gold); text-decoration: none; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--navy);
  padding: 80px 2rem 70px;
  position: relative;
  overflow: hidden;
}

.page-hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb span { color: var(--text-muted); }

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

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

.page-hero p {
  font-size: 17px;
  color: var(--text-light);
  max-width: 620px;
  line-height: 1.8;
}

/* ── PRODUCTS PAGE ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border-navy);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.product-card:hover {
  box-shadow: 0 12px 40px rgba(10,22,40,0.12);
  transform: translateY(-4px);
}

.product-card-header {
  background: var(--navy);
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.product-card-icon {
  width: 56px;
  height: 56px;
  background: rgba(201,168,76,0.15);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.product-card-icon svg { width: 28px; height: 28px; stroke: var(--gold); fill: none; stroke-width: 1.5; }

.product-card-header h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--white);
}

.product-card-header span {
  display: block;
  font-size: 12px;
  color: var(--gold);
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-card-body { padding: 1.75rem 2rem; }

.product-card-body p { font-size: 14px; color: #5A6B7E; line-height: 1.8; margin-bottom: 1.5rem; }

.feature-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--navy);
  font-weight: 500;
}

.feature-list li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}

.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.25s; }
.fade-up-3 { animation-delay: 0.4s; }
.fade-up-4 { animation-delay: 0.55s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .about-strip-inner { flex-direction: column; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--navy); padding: 1rem 0; border-bottom: 1px solid var(--border-gold); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.75rem 2rem; }
  .hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  section { padding: 60px 1.25rem; }
  .hero { padding: 70px 1.25rem 60px; }
}
