/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0F1923;
  --bg-card:   #162130;
  --bg-light:  #1C2A3A;
  --steel:     #8FAFC0;
  --steel-dim: #5E7E95;
  --gold:      #C9A96E;
  --gold-dark: #A8823F;
  --white:     #F0F4F7;
  --muted:     #7A90A0;
  --border:    rgba(143,175,192,0.15);

  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;

  --radius: 8px;
  --radius-lg: 14px;
  --max-w: 1100px;
}

html { scroll-behavior: smooth; }

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

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

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15,25,35,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
}

.logo-bird {
  color: var(--gold);
  font-size: 22px;
}

.logo em {
  font-style: normal;
  color: var(--steel);
  font-weight: 400;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.main-nav a:hover { color: var(--white); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--bg) !important;
  padding: 8px 18px;
  border-radius: var(--radius);
  font-weight: 600 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--gold-dark) !important; color: var(--white) !important; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,169,110,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.standards-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.standards-bar .sep {
  color: var(--steel-dim);
  font-weight: 400;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 700px;
  margin-bottom: 24px;
}

.accent-word {
  color: var(--steel);
}

.hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.65;
}

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s, transform 0.1s;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--gold);
  color: var(--bg);
}

.btn-primary:hover { background: var(--gold-dark); }

.btn-ghost {
  background: transparent;
  color: var(--steel);
  border: 1px solid var(--border);
}

.btn-ghost:hover { border-color: var(--steel); color: var(--white); }

.btn-full { width: 100%; justify-content: center; }

/* ===== SECTIONS ===== */
.section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.section-dark {
  background: var(--bg-light);
}

.section-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
  line-height: 1.15;
}

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.2s, transform 0.2s;
}

.service-card:hover {
  border-color: var(--steel-dim);
  transform: translateY(-2px);
}

.service-icon {
  color: var(--steel);
  margin-bottom: 20px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--white);
}

.service-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

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

.service-list li {
  font-size: 13px;
  color: var(--steel);
  padding-left: 18px;
  position: relative;
}

.service-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--steel-dim);
}

/* ===== PROCESS ===== */
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 180px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}

.step-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 14px;
}

.step h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--white);
}

.step p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.step-arrow {
  color: var(--steel-dim);
  font-size: 24px;
  margin-top: 40px;
  align-self: flex-start;
  flex-shrink: 0;
}

/* ===== WHY GRID ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 32px;
}

.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.why-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: rgba(201,169,110,0.12);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  margin-top: 2px;
}

.why-item h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.why-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ===== CONTACT ===== */
.section-contact {
  background: var(--bg-light);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: flex-start;
}

.contact-info h2 { margin-bottom: 16px; }

.contact-info > p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.detail-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel-dim);
}

.contact-detail a,
.contact-detail span {
  color: var(--white);
  text-decoration: none;
  font-size: 15px;
  line-height: 1.8;
}

.contact-detail a:hover { color: var(--gold); }

/* ===== FORM ===== */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--steel);
}

.form-group input,
.form-group textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 16px;
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--steel);
}

.form-success {
  background: rgba(100, 200, 120, 0.1);
  border: 1px solid rgba(100, 200, 120, 0.3);
  color: #7edb8e;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  margin-bottom: 8px;
}

.form-error {
  background: rgba(220, 80, 80, 0.1);
  border: 1px solid rgba(220, 80, 80, 0.3);
  color: #f08080;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  margin-bottom: 8px;
}

/* ===== FOOTER ===== */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 4px;
}

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

/* ===== STANDARDS BUTTONS ===== */
.std-btn {
  background: none;
  border: none;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
  line-height: 1;
}

.std-btn:hover {
  border-color: rgba(201,169,110,0.4);
  background: rgba(201,169,110,0.08);
}

/* ===== MODAL ===== */
.std-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5,12,20,0.85);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.std-modal-overlay.active {
  display: flex;
}

.std-modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 620px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
}

.std-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 18px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}

.std-modal-close:hover {
  background: rgba(255,255,255,0.06);
  color: var(--white);
}

.std-modal-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--gold);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.std-modal-code {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--steel-dim);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.std-modal-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.2;
}

.std-modal-intro {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.std-modal-section {
  margin-bottom: 20px;
}

.std-modal-section h3 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--steel);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.std-modal-section p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.std-modal-cta {
  display: inline-flex;
  margin-top: 12px;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }

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

  .menu-toggle { display: flex; }

  .hero { padding: 56px 0 72px; }

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

  .form-row { grid-template-columns: 1fr; }

  .process-steps { flex-direction: column; }

  .step-arrow { display: none; }

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
