/* ═══════════════════════════════════════════════════════════════
   Aletheia Security Consulting — Steve Weltman, CISSP
   Style Sheet v1.0
   ═══════════════════════════════════════════════════════════════ */

:root {
  --navy:       #1a2e4a;
  --navy-dark:  #111f33;
  --navy-light: #2a4a72;
  --teal:       #0d9488;
  --teal-light: #14b8a6;
  --amber:      #f59e0b;
  --amber-dark: #d97706;
  --white:      #ffffff;
  --off-white:  #f8fafc;
  --light-gray: #f1f5f9;
  --mid-gray:   #94a3b8;
  --text:       #1e293b;
  --text-light: #475569;
  --border:     #e2e8f0;

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --max-width: 1160px;
  --narrow: 720px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

/* ── CONTAINERS ───────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.narrow { max-width: var(--narrow); margin: 0 auto; }
.center { text-align: center; }

/* ── BUTTONS ──────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--amber);
  color: var(--navy-dark);
  border-color: var(--amber);
}
.btn-primary:hover {
  background: var(--amber-dark);
  border-color: var(--amber-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245,158,11,0.3);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}
.btn-light {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-light:hover {
  background: var(--off-white);
  transform: translateY(-1px);
}
.btn-nav {
  background: var(--amber);
  color: var(--navy-dark);
  padding: 9px 18px;
  font-size: 14px;
}
.btn-nav:hover { background: var(--amber-dark); }
.btn-large { padding: 16px 36px; font-size: 17px; }
.full-width { width: 100%; text-align: center; }

/* ── NAV ──────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-dark);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-brand { display: flex; flex-direction: column; }
.nav-name { color: var(--white); font-weight: 700; font-size: 16px; line-height: 1.2; }
.nav-cred { color: var(--mid-gray); font-size: 11px; font-weight: 400; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--white); }
.nav-toggle { display: none; background: none; border: none; color: var(--white); font-size: 22px; cursor: pointer; }

/* ── HERO ─────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(13,148,136,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  color: var(--teal-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-headline {
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero-sub {
  color: rgba(255,255,255,0.75);
  font-size: 18px;
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 540px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-aside { display: flex; flex-direction: column; gap: 16px; }
.hero-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.hero-card-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.hero-card-text { color: rgba(255,255,255,0.82); font-size: 14px; line-height: 1.5; }
.hero-card-text strong { color: var(--white); }

/* ── TRUST BAR ────────────────────────────────────────────────── */
.trust-bar { background: var(--navy); padding: 14px 0; }
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.trust-item { color: rgba(255,255,255,0.65); font-size: 13px; }
.trust-item strong { color: var(--teal-light); }
.trust-divider { color: rgba(255,255,255,0.2); font-size: 18px; }

/* ── SECTIONS ─────────────────────────────────────────────────── */
.section { padding: 88px 0; }
.section-light { background: var(--off-white); }
.section-white { background: var(--white); }
.section-dark { background: var(--navy-dark); }
.section-accent { background: linear-gradient(135deg, var(--teal) 0%, #0f766e 100%); }

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.section-label.light { color: rgba(255,255,255,0.55); }

.section-headline {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 20px;
}
.section-headline.light { color: var(--white); }

.section-intro {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 48px;
  max-width: 600px;
}

.section-body {
  font-size: 17px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}
.section-body.light { color: rgba(255,255,255,0.8); }
.section-body.center { text-align: center; }
.section-body em { color: var(--text); font-style: normal; font-weight: 600; }

/* ── APPROACH GRID ────────────────────────────────────────────── */
.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 48px;
}
.approach-item { padding: 28px; background: rgba(255,255,255,0.04); border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,0.08); }
.approach-num { font-size: 36px; font-weight: 800; color: var(--teal); opacity: 0.6; margin-bottom: 12px; line-height: 1; }
.approach-item h3 { color: var(--white); font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.approach-item p { color: rgba(255,255,255,0.65); font-size: 15px; line-height: 1.6; }

/* ── SERVICES ─────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 16px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.service-icon { font-size: 32px; margin-bottom: 16px; }
.service-title { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.service-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(13,148,136,0.08);
  border-radius: 4px;
  padding: 3px 8px;
  margin-bottom: 14px;
}
.service-desc { font-size: 14px; color: var(--text-light); line-height: 1.6; margin-bottom: 12px; }
.service-note { font-size: 13px; color: var(--teal); font-style: italic; margin-bottom: 12px; }
.service-list { font-size: 14px; color: var(--text-light); padding-left: 18px; margin-bottom: 12px; line-height: 1.8; }
.service-fit { font-size: 13px; color: var(--mid-gray); border-top: 1px solid var(--border); padding-top: 12px; margin-top: 8px; }
.service-fit strong { color: var(--text-light); }

/* ── AI COMPLIANCE ────────────────────────────────────────────── */
.section-accent .section-body { margin-bottom: 32px; }

/* ── WHITEPAPER ───────────────────────────────────────────────── */
.whitepaper-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: start;
  margin-top: 16px;
}
.whitepaper-subtitle { font-size: 20px; font-weight: 600; color: var(--navy); margin-bottom: 16px; }
.whitepaper-desc { font-size: 16px; color: var(--text-light); line-height: 1.65; margin-bottom: 14px; }
.whitepaper-covers {
  list-style: none;
  margin: 20px 0 24px;
}
.whitepaper-covers li {
  font-size: 14px;
  color: var(--text-light);
  padding: 8px 0;
  padding-left: 22px;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.whitepaper-covers li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}
.whitepaper-meta { font-size: 13px; color: var(--mid-gray); }

.whitepaper-cover {
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 100%);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  margin-bottom: 20px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.06);
}
.wp-cover-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--teal-light);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.wp-cover-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 10px;
}
.wp-cover-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  margin-bottom: 24px;
}
.wp-cover-author { font-size: 12px; color: rgba(255,255,255,0.45); }

.gate-prompt { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 14px; }
.gate-form { display: flex; flex-direction: column; gap: 10px; }
.gate-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.15s;
  background: var(--white);
}
.gate-input:focus { outline: none; border-color: var(--teal); }
.gate-input::placeholder { color: var(--mid-gray); }
.gate-note { font-size: 12px; color: var(--mid-gray); margin-top: 10px; }
.gate-note.center { text-align: center; }
.gate-success { text-align: center; padding: 16px; }
.gate-success p { color: var(--teal); font-weight: 600; margin-bottom: 14px; }

/* ── ABOUT ────────────────────────────────────────────────────── */
.about-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 60px;
  align-items: start;
}
.about-photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--teal);
  display: block;
}
.about-body { font-size: 16px; color: var(--text-light); line-height: 1.7; margin-bottom: 18px; }
.fires-block { margin: 28px 0; padding: 24px; background: var(--off-white); border-radius: var(--radius-lg); border-left: 4px solid var(--teal); }
.fires-headline { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.06em; }
.fire-item { display: flex; gap: 12px; margin-bottom: 14px; }
.fire-item:last-child { margin-bottom: 0; }
.fire-bullet { color: var(--teal); font-weight: 700; font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.fire-item p { font-size: 15px; color: var(--text-light); line-height: 1.6; }
.fire-item em { color: var(--mid-gray); font-size: 14px; }
.about-credentials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.cred-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  background: rgba(26,46,74,0.08);
  border-radius: 20px;
  padding: 4px 12px;
  letter-spacing: 0.04em;
}

/* ── NEWSLETTER ───────────────────────────────────────────────── */
.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 24px auto 12px;
}
.newsletter-input { flex: 1; }
.newsletter-success { color: var(--teal); font-weight: 600; font-size: 16px; margin: 16px 0; }

/* ── CTA SECTION ──────────────────────────────────────────────── */
.cta-section { padding: 96px 0; }
.cta-actions { margin: 32px 0 20px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.contact-direct { font-size: 14px; color: rgba(255,255,255,0.5); }
.contact-direct a { color: rgba(255,255,255,0.7); text-decoration: underline; }
.contact-direct a:hover { color: var(--white); }

/* ── FOOTER ───────────────────────────────────────────────────── */
.footer { background: var(--navy-dark); padding: 40px 0; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-name { color: var(--white); font-weight: 700; font-size: 15px; }
.footer-sub { color: var(--mid-gray); font-size: 12px; }
.footer-tagline { color: var(--teal-light); font-size: 13px; font-style: italic; margin-top: 4px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: rgba(255,255,255,0.5); font-size: 13px; text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: var(--white); }
.footer-copy { color: rgba(255,255,255,0.3); font-size: 12px; }

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-aside { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr; }
  .whitepaper-layout { grid-template-columns: 1fr; }
  .about-layout { grid-template-columns: 1fr; }
  .about-photo-wrap { display: flex; justify-content: center; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .hero { padding: 56px 0 48px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }
  .section { padding: 56px 0; }
  .newsletter-form { flex-direction: column; }
  .trust-inner { flex-direction: column; gap: 6px; }
  .trust-divider { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

/* ── BOOKING MODAL ───────────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: modalFadeIn 0.2s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal-container {
  background: var(--white);
  border-radius: 12px;
  padding: 40px;
  max-width: 560px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalSlideUp 0.25s ease;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

@keyframes modalSlideUp {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.modal-steps {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
}

.step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e0;
  transition: background 0.2s, transform 0.2s;
}

.step-dot.active {
  background: #f5a623;
  transform: scale(1.2);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--mid-gray);
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  transition: color 0.15s;
}
.modal-close:hover { color: var(--text); }

.modal-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 6px;
  text-align: center;
}

.modal-subtitle {
  font-size: 14px;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 28px;
}

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

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

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

.req { color: var(--amber-dark); }
.optional { color: var(--mid-gray); font-weight: 400; }

.gate-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  cursor: pointer;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  padding: 10px 0 4px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-light);
  cursor: pointer;
  font-weight: 400;
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--teal);
  cursor: pointer;
  flex-shrink: 0;
}

.modal-btn-next { margin-top: 8px; }

.modal-step2-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}

.btn-back {
  background: none;
  border: 1.5px solid var(--border);
  color: var(--text-light);
  padding: 12px 20px;
  font-size: 14px;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font);
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-back:hover { border-color: var(--navy); color: var(--navy); }

.modal-btn-submit { flex: 1; }

.booking-success {
  text-align: center;
  padding: 24px 0 8px;
}
.booking-success-icon {
  font-size: 44px;
  color: var(--teal);
  margin-bottom: 12px;
}
.booking-success h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 8px;
}
.booking-success p {
  font-size: 15px;
  color: var(--text-light);
}

.gate-input.error,
.gate-select.error {
  border-color: #e53e3e;
  background-color: #fff5f5;
}

@media (max-width: 640px) {
  .modal-backdrop { padding: 0; align-items: flex-end; }
  .modal-container {
    border-radius: 16px 16px 0 0;
    max-height: 92vh;
    padding: 28px 20px 36px;
    animation: modalSlideUpMobile 0.3s ease;
  }
  @keyframes modalSlideUpMobile {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
  }
  .form-row { grid-template-columns: 1fr; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .modal-step2-actions { flex-direction: column-reverse; }
  .modal-btn-submit { width: 100%; }
  .btn-back { width: 100%; text-align: center; }
}
