/* =============================================
   ATLANTIX CONTRACTING — LIGHT DESIGN SYSTEM
   ============================================= */

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

:root {
  --navy:        #0d2146;
  --navy-mid:    #163268;
  --navy-light:  #1e4080;
  --navy-pale:   #eef2f9;
  --accent:      #2a5fd6;
  --accent-light:#4a7aec;
  --white:       #ffffff;
  --off-white:   #f7f8fc;
  --text:        #1a2540;
  --text-mid:    #475672;
  --text-muted:  #8a96b0;
  --border:      #dde2ed;
  --gold:        #c9a84c;
  --radius:      0px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 72px; height: 84px;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  transition: box-shadow 0.3s;
  overflow: visible;
}
nav.scrolled { box-shadow: 0 4px 32px rgba(13,33,70,0.08); }

.logo { display: flex; align-items: center; gap: 0; text-decoration: none; }
.logo img { height: 80px; width: auto; object-fit: contain; }

.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--text-mid);
  text-decoration: none; transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px; background: var(--navy);
  transition: width 0.25s;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--navy); font-weight: 600; }

.nav-cta {
  background: var(--navy); color: #fff !important;
  padding: 0 28px !important;
  height: 42px;
  font-size: 13px !important; font-weight: 600 !important;
  transition: background 0.25s !important; text-decoration: none;
  white-space: nowrap;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  border: none !important;
  box-sizing: border-box;
}
.nav-cta::after, .nav-cta::before { display: none !important; }
.nav-cta:hover { background: var(--navy-mid) !important; color: #fff !important; }

/* ── PAGE HEADER (inner pages) ── */
.page-header {
  margin-top: 84px;
  background: var(--navy);
  padding: 80px 80px 80px;
  position: relative; overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-header-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.45);
  margin-bottom: 14px; display: flex; align-items: center; gap: 10px;
  position: relative; z-index: 1;
}
.page-header-eyebrow::before { content: ''; width: 24px; height: 1px; background: rgba(255,255,255,0.3); }
.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 5vw, 64px); font-weight: 700;
  line-height: 1.05; color: #fff;
  position: relative; z-index: 1;
}
.page-header h1 em { font-style: italic; font-weight: 400; color: rgba(255,255,255,0.65); }
.page-header p {
  font-size: 16px; font-weight: 300; line-height: 1.7;
  color: rgba(255,255,255,0.6); max-width: 600px;
  margin-top: 20px; position: relative; z-index: 1;
}

/* ── SECTION LABELS ── */
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 14px;
}
.section-eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--accent); }

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 4vw, 52px); font-weight: 700;
  line-height: 1.1; color: var(--navy); margin-bottom: 20px;
}
.section-title em { font-style: italic; font-weight: 400; color: var(--accent); }

/* ── BUTTONS ── */
.btn-navy {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--navy); color: #fff;
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  text-decoration: none; padding: 15px 32px;
  transition: background 0.25s, transform 0.2s;
}
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-1px); }

.btn-outline-navy {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--navy); color: var(--navy);
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  text-decoration: none; padding: 13px 28px;
  transition: all 0.25s;
}
.btn-outline-navy:hover { background: var(--navy); color: #fff; }

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--navy-pale);
  border-bottom: 1px solid var(--border);
  padding: 20px 80px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--navy);
}
.trust-dot {
  width: 8px; height: 8px; background: var(--accent);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  flex-shrink: 0;
}

/* ── FOOTER ── */
footer {
  background: var(--navy);
  padding: 60px 80px 32px;
}
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}
.footer-brand .logo img { height: 56px; width: auto; object-fit: contain; filter: brightness(0) invert(1); }
.footer-brand p {
  font-size: 14px; color: rgba(255,255,255,0.45);
  max-width: 280px; line-height: 1.7; margin-top: 16px;
}
.footer-col h5 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a {
  font-size: 14px; color: rgba(255,255,255,0.6);
  text-decoration: none; transition: color 0.2s;
}
.footer-col ul a:hover { color: #fff; }
.footer-contact a {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: rgba(255,255,255,0.6);
  text-decoration: none; transition: color 0.2s; margin-bottom: 12px;
}
.footer-contact a:hover { color: #fff; }
.footer-contact a svg { flex-shrink: 0; color: rgba(255,255,255,0.35); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; font-size: 12px; transition: color .2s; }
.footer-bottom a:hover { color: rgba(255,255,255,.7); }

/* ── CTA BAND ── */
.cta-band {
  background: var(--navy);
  padding: 88px 80px;
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 60px;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.cta-band-left { position: relative; z-index: 1; }
.cta-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.4);
  margin-bottom: 16px; display: flex; align-items: center; gap: 10px;
}
.cta-eyebrow::before { content: ''; width: 20px; height: 1px; background: rgba(255,255,255,.3); }
.cta-band h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 3.5vw, 48px); font-weight: 700;
  line-height: 1.15; color: #fff;
}
.cta-band h2 em { font-style: italic; font-weight: 400; }
.cta-band-actions {
  display: flex; gap: 14px; flex-shrink: 0; flex-wrap: wrap;
  position: relative; z-index: 1;
}
.btn-white {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: var(--navy);
  font-size: 13px; font-weight: 700;
  text-decoration: none; padding: 16px 32px;
  transition: all 0.25s;
}
.btn-white:hover { background: var(--off-white); transform: translateY(-1px); }
.btn-outline-white {
  display: inline-flex; align-items: center;
  border: 1.5px solid rgba(255,255,255,0.35); color: #fff;
  font-size: 13px; font-weight: 600;
  text-decoration: none; padding: 14px 28px;
  transition: all 0.25s;
}
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }
.d5 { transition-delay: 0.5s; }

/* ── SHARED RESPONSIVE ── */
@media (max-width: 1024px) {
  nav { padding: 0 28px; }
  .nav-links { display: none; }
  .page-header { padding: 60px 28px; }
  .trust-bar { padding: 16px 28px; gap: 16px; }
  footer { padding: 48px 28px 28px; }
  .footer-top { flex-direction: column; gap: 32px; }
  .cta-band { grid-template-columns: 1fr; padding: 60px 28px; }
}
