/* === VAUBAN SOLUTIONS — Premium Security Design === */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0a0c0e;
  --bg-light: #12151a;
  --bg-card: rgba(255,255,255,0.03);
  --text: #e8e6e3;
  --text-muted: rgba(232,230,227,0.5);
  --accent: #c9a96e;
  --accent-light: rgba(201,169,110,0.12);
  --accent-dark: #a8864a;
  --border: rgba(255,255,255,0.06);
  --radius: 0.6rem;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; font-size: 17px; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; font-weight: 500; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
h4 { font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; }

h1 em { color: var(--accent); font-style: normal; }

a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: #e0c48a; }

.container { width: 90%; max-width: 1200px; margin: 0 auto; }

.skip-link {
  position: absolute; left: -9999px; top: auto;
  padding: 1rem; background: var(--accent); color: #000;
  font-weight: 600; z-index: 9999;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* === NAV === */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.2rem 0;
  background: transparent;
  transition: var(--transition);
}
.site-nav.scrolled {
  background: rgba(10,12,14,0.95);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 0.7rem; color: var(--text); }
.nav-logo img { border-radius: 4px; }
.nav-logo span { font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 500; letter-spacing: 0.02em; }
.nav-menu { display: flex; align-items: center; gap: 2rem; }
.nav-menu a { color: var(--text-muted); font-size: 0.88rem; font-weight: 400; letter-spacing: 0.02em; transition: var(--transition); }
.nav-menu a:hover { color: var(--text); }
.nav-cta {
  color: var(--accent) !important;
  border: 1px solid var(--accent);
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  font-weight: 500;
}
.nav-cta:hover { background: var(--accent); color: #000 !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 4px 0; transition: var(--transition); }

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative;
  background: var(--bg);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(10,12,14,0.75);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,12,14,0.3) 0%, var(--bg) 100%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; max-width: 700px; padding: 6rem 0; }
.hero-label {
  color: var(--accent);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.hero h1 { margin-bottom: 1.5rem; }
.hero-desc { color: var(--text-muted); font-size: 1.1rem; max-width: 560px; margin-bottom: 2.5rem; line-height: 1.8; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: #e0c48a;
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(201,169,110,0.2);
  color: #000;
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: rgba(255,255,255,0.2);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-full { width: 100%; }

/* === STATS BAR === */
.stats-bar {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-light);
}
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-number { display: block; font-family: 'Playfair Display', serif; font-size: 2.2rem; color: var(--accent); margin-bottom: 0.3rem; }
.stat-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }

/* === SECTIONS === */
.section { padding: 6rem 0; }
.section-dark { background: var(--bg-light); }
.section-header { text-align: center; max-width: 650px; margin: 0 auto 4rem; }
.section-label {
  color: var(--accent);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  margin-bottom: 1rem;
  display: block;
}
.section-desc { color: var(--text-muted); font-size: 1rem; margin-top: 1rem; }

/* === SERVICES GRID === */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
}
.service-card:hover {
  border-color: rgba(201,169,110,0.2);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.service-card.featured {
  border-color: var(--accent);
  background: var(--accent-light);
}
.service-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
  margin: -2rem -2rem 1.5rem -2rem;
  width: calc(100% + 4rem);
  opacity: 0.7;
  transition: var(--transition);
}
.service-card:hover .service-img { opacity: 1; }
.service-icon { font-size: 2rem; margin-bottom: 1rem; }
.service-card h3 { margin-bottom: 0.4rem; }
.service-class { color: var(--accent); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; font-weight: 500; }
.service-card p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 1rem; }
.service-card ul { list-style: none; }
.service-card li {
  padding: 0.3rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 1.2rem;
  position: relative;
}
.service-card li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }

/* === EXPERTISE === */
.expertise-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: center; }
.expertise-item { margin-bottom: 2.5rem; }
.expertise-item h3 { color: var(--accent); margin-bottom: 0.6rem; font-size: 1.2rem; }
.expertise-item p { color: var(--text-muted); font-size: 0.95rem; }
.expertise-quote {
  background: var(--bg-card);
  border-left: 3px solid var(--accent);
  padding: 2.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.expertise-quote blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.quote-source { color: var(--accent); font-size: 0.85rem; font-weight: 500; }

/* === PROCESS === */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.process-step {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
}
.step-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: 1rem;
  line-height: 1;
}
.process-step h3 { margin-bottom: 0.8rem; }
.process-step p { color: var(--text-muted); font-size: 0.9rem; }

/* === CERTIFICATIONS === */
.certs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-bottom: 3rem; }
.cert-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.cert-card h4 { color: var(--accent); margin-bottom: 0.5rem; font-size: 1.1rem; }
.cert-card p { color: var(--text-muted); font-size: 0.85rem; }

.rc-explainer { max-width: 700px; margin: 0 auto; }
.rc-explainer h3 { text-align: center; margin-bottom: 1.5rem; }
.rc-row {
  display: flex; align-items: center; gap: 1.5rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.rc-row.featured { background: var(--accent-light); border-radius: var(--radius); border: 1px solid rgba(201,169,110,0.2); }
.rc-class {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--accent);
  min-width: 50px;
  font-weight: 600;
}
.rc-desc { color: var(--text-muted); font-size: 0.9rem; }
.rc-desc strong { color: var(--text); }

/* === CONTACT === */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.82rem; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.8rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--accent); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group select option { background: var(--bg); }
.form-note { text-align: center; font-size: 0.8rem; color: var(--text-muted); margin-top: 0.5rem; }

.contact-info { display: flex; flex-direction: column; gap: 1.2rem; }
.info-card {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.info-card h4 { margin-bottom: 0.5rem; color: var(--text); letter-spacing: 0.05em; }
.info-card p { color: var(--text-muted); font-size: 0.9rem; }

/* === FOOTER === */
.site-footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; }
.footer-brand { display: flex; align-items: center; gap: 0.6rem; }
.footer-brand span { font-family: 'Playfair Display', serif; font-size: 1.1rem; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: var(--text-muted); font-size: 0.82rem; }
.footer-links a:hover { color: var(--text); }
.footer-copy { color: var(--text-muted); font-size: 0.8rem; }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .certs-grid { grid-template-columns: 1fr 1fr; }
  .expertise-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-content { padding: 8rem 0 4rem; }
  .nav-toggle { display: block; }
  .nav-menu {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(10,12,14,0.98);
    backdrop-filter: blur(20px);
    padding: 2rem;
    flex-direction: column;
    gap: 1.2rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-menu.open { display: flex; }
  .footer-inner { flex-direction: column; text-align: center; }
}

/* === LEGAL CONTENT === */
.legal-content { max-width: 800px; }
.legal-content h2 { font-size: 1.4rem; margin: 2.5rem 0 0.8rem; color: var(--accent); }
.legal-content h3 { font-size: 1.1rem; margin: 1.5rem 0 0.6rem; }
.legal-content p { color: var(--text-muted); margin-bottom: 1rem; font-size: 0.95rem; line-height: 1.8; }
.legal-content ul, .legal-content ol { color: var(--text-muted); margin: 0.5rem 0 1rem 1.5rem; font-size: 0.95rem; }
.legal-content li { margin-bottom: 0.4rem; }
.legal-content a { color: var(--accent); text-decoration: underline; }
