/* ============================================
   ARDMORE BUSINESS SOLUTIONS
   Main Stylesheet
   ============================================ */

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

a {
  background-color: transparent;
}

::selection {
  background: var(--sky);
  color: var(--navy);
}

::-moz-selection {
  background: var(--sky);
  color: var(--navy);
}

:root {
  --navy:    #002D62;
  --navy-dk: #001a3d;
  --navy-md: #003d84;
  --steel:   #708090;
  --sky:     #87CEEB;
  --sky-dk:  #5ab5e0;
  --purple:  #6A5ACD;
  --white:   #FFFFFF;
  --off-wh:  #F5F7FA;
  --light-bg:#EEF2F8;
  --text:    #1a1a2e;
  --muted:   #5a6577;
  --border:  #d0d8e4;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--text);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.1;
}

/* ── NAVIGATION ── */
body > nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 60px;
  height: 72px;
  background: #002D62;
  box-shadow: none;
}

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

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--sky);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 18px;
  color: var(--navy);
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
}

.logo-text span {
  color: var(--sky);
}

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--sky);
}

.btn-nav {
  background: var(--sky) !important;
  color: var(--navy) !important;
  padding: 10px 24px !important;
  font-weight: 700 !important;
}

.btn-nav:hover {
  background: var(--white) !important;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 101;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: var(--navy);
  position: relative;
  z-index: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 60px 200px;
  isolation: isolate;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(135,206,235,0.07) 59px, rgba(135,206,235,0.07) 60px),
    repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(135,206,235,0.07) 59px, rgba(135,206,235,0.07) 60px);
}

.hero::after {
  content: '';
  position: absolute;
  right: -80px;
  top: 0;
  bottom: 0;
  width: 48%;
  background: linear-gradient(135deg, rgba(106,90,205,0.15) 0%, rgba(135,206,235,0.08) 100%);
  clip-path: polygon(8% 0%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(135,206,235,0.12);
  border: 1px solid rgba(135,206,235,0.3);
  padding: 6px 16px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.5s 0.2s forwards;
}

.hero-label::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--sky);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

h1.hero-headline {
  font-size: clamp(44px, 5.5vw, 78px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  opacity: 0;
  animation: fadeUp 0.6s 0.4s forwards;
}

h1.hero-headline em {
  font-style: italic;
  color: var(--sky);
}

.hero-tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(18px, 2vw, 26px);
  color: rgba(135,206,235,0.8);
  margin-bottom: 32px;
  font-weight: 400;
  opacity: 0;
  animation: fadeUp 0.6s 0.55s forwards;
}

.hero-desc {
  font-size: 18px;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
  max-width: 600px;
  margin-bottom: 48px;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 0.6s 0.7s forwards;
}

.hero-desc strong {
  color: var(--white);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.6s 0.85s forwards;
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--sky);
  color: var(--navy);
  padding: 16px 40px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
}

.btn-primary:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(135,206,235,0.3);
}

.btn-outline {
  border: 1.5px solid rgba(135,206,235,0.5);
  color: var(--sky);
  padding: 15px 36px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--sky);
  background: rgba(135,206,235,0.08);
}

.btn-outline::after {
  content: '→';
  transition: transform 0.2s;
}

.btn-outline:hover::after {
  transform: translateX(4px);
}

/* ── HERO STATS ── */
.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--navy-dk);
  border-top: 1px solid rgba(135,206,235,0.15);
}

.stat {
  padding: 28px 40px;
  border-right: 1px solid rgba(135,206,235,0.1);
  opacity: 0;
  animation: fadeUp 0.5s forwards;
}

.stat:nth-child(1) { animation-delay: 1.0s; }
.stat:nth-child(2) { animation-delay: 1.1s; }
.stat:nth-child(3) { animation-delay: 1.2s; }
.stat:nth-child(4) { animation-delay: 1.3s; border-right: none; }

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 700;
  color: var(--sky);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--steel);
}

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

/* ── MISSION BAND ── */
.mission-band {
  background: var(--off-wh);
  padding: 56px 60px;
  border-top: 4px solid var(--purple);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 48px;
}

.mission-icon {
  width: 56px;
  height: 56px;
  background: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}

.mission-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(16px, 1.8vw, 21px);
  font-style: italic;
  color: var(--navy);
  line-height: 1.6;
  font-weight: 700;
  max-width: 840px;
}

.mission-sub {
  margin-left: auto;
  flex-shrink: 0;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--purple);
  text-align: right;
  line-height: 1.8;
}

/* ── SECTIONS ── */
section {
  padding: 100px 60px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 20px;
}

.section-tag::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--purple);
}

h2.section-title {
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
  font-weight: 300;
}

/* ── SERVICES ── */
.services {
  background: var(--white);
}

.services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 64px;
  padding-bottom: 40px;
  border-bottom: 2px solid var(--navy);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--off-wh);
  border: 1px solid var(--border);
  border-top: 4px solid var(--steel);
  padding: 48px 40px;
  transition: all 0.3s;
}

.service-card:hover {
  border-top-color: var(--navy);
  box-shadow: 0 12px 40px rgba(0,45,98,0.12);
  transform: translateY(-4px);
}

.service-num {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--steel);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-num::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

h3.service-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.service-desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 32px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  padding: 5px 12px;
  color: var(--steel);
  background: var(--white);
  transition: all 0.2s;
}

.service-card:hover .tag {
  border-color: var(--sky-dk);
  color: var(--navy);
}

/* ── WHO WE HELP ── */
.who {
  background: var(--navy);
}

.who .section-tag {
  color: var(--sky);
}

.who .section-tag::before {
  background: var(--sky);
}

.who-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: rgba(135,206,235,0.08);
  margin-top: 64px;
}

.who-card {
  background: rgba(0,29,64,0.9);
  padding: 52px 48px;
  border-left: 3px solid transparent;
  transition: all 0.3s;
}

.who-card:hover {
  background: rgba(0,45,98,0.95);
  border-left-color: var(--sky);
}

.who-card-icon {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(135,206,235,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 28px;
  transition: border-color 0.3s;
}

.who-card:hover .who-card-icon {
  border-color: var(--sky);
}

h3.who-title {
  font-size: 22px;
  color: var(--white);
  margin-bottom: 14px;
}

.who-card p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.55);
}

/* ── PROCESS ── */
.process {
  background: var(--light-bg);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 64px;
  position: relative;
}

.process-connector {
  position: absolute;
  top: 40px;
  left: 64px;
  right: 64px;
  height: 2px;
  background: linear-gradient(90deg, var(--navy), var(--purple));
  z-index: 0;
}

.process-step {
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

.step-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  transition: all 0.3s;
}

.process-step:hover .step-circle {
  background: var(--navy);
  border-color: var(--sky);
}

.step-circle-num {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  transition: color 0.3s;
}

.process-step:hover .step-circle-num {
  color: var(--sky);
}

.step-verb {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 10px;
}

h3.step-title {
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

/* ── COMPARISON TABLE ── */
.compare {
  background: var(--white);
}

.compare-table-wrap {
  margin-top: 64px;
  border: 1px solid var(--border);
  overflow: hidden;
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead tr {
  background: var(--navy);
}

th {
  padding: 20px 32px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: left;
  color: rgba(255,255,255,0.5);
}

th:last-child {
  color: var(--sky);
}

td {
  padding: 20px 32px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  transition: background 0.2s;
}

tr:hover td {
  background: var(--off-wh);
}

td:first-child {
  font-weight: 600;
  color: var(--navy);
  width: 25%;
}

td:last-child {
  color: var(--navy);
  font-weight: 600;
}

td:nth-child(3)::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--purple);
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
}

/* ── TAGLINE RIBBON ── */
.tagline-ribbon {
  background: var(--purple);
  padding: 18px 60px;
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--white);
}

/* ── CTA SECTION ── */
.cta-section {
  background: var(--navy);
  padding: 120px 60px;
  position: relative;
  overflow: hidden;
  text-align: center;
  isolation: isolate;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(106,90,205,0.2) 0%, transparent 65%);
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(135,206,235,0.04) 39px, rgba(135,206,235,0.04) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(135,206,235,0.04) 39px, rgba(135,206,235,0.04) 40px);
  pointer-events: none;
  z-index: 0;
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.cta-label::before,
.cta-label::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: rgba(135,206,235,0.4);
}

h2.cta-title {
  font-size: clamp(32px, 4vw, 52px);
  color: var(--white);
  margin-bottom: 20px;
}

.cta-desc {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 48px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-note {
  margin-top: 28px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(135,206,235,0.5);
}

/* ── FOOTER ── */
footer {
  position: relative;
  z-index: 1;
  background: var(--navy-dk);
  padding: 72px 60px 0;
  border-top: 3px solid var(--purple);
  isolation: isolate;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(135,206,235,0.1);
  position: relative;
  z-index: 1;
}

.footer-grid > div {
  position: relative;
  min-width: 0;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-mission {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  margin-bottom: 28px;
  max-width: 320px;
}

.footer-tagline-badge {
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--sky);
  border-left: 2px solid var(--sky);
  padding-left: 14px;
  line-height: 1.5;
}

h4.footer-col-title {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 24px;
  font-weight: 500;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
  background: none;
  padding: 0;
  height: auto;
  box-shadow: none;
}

footer .footer-links a,
footer .footer-links a:link,
footer .footer-links a:visited,
footer .footer-links a:hover,
footer .footer-links a:active,
footer .footer-links a:focus {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
  padding: 0;
  display: block;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  -webkit-appearance: none;
}

footer .footer-links a:hover {
  color: var(--sky);
}

.footer-bottom {
  padding: 24px 60px;
  background: rgba(0,0,0,0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
  margin: 0 -60px;
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  nav {
    padding: 0 32px;
  }
  
  section {
    padding: 80px 32px;
  }
  
  .hero {
    padding: 120px 32px 200px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .process-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
  
  .process-connector {
    display: none;
  }
  
  .compare-table-wrap {
    overflow-x: auto;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .mission-band {
    flex-direction: column;
    gap: 24px;
  }
  
  .mission-sub {
    margin-left: 0;
    text-align: left;
  }
  
  .services-header {
    flex-direction: column;
    gap: 20px;
  }
  
  .footer-bottom {
    margin: 0 -32px;
    padding: 24px 32px;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 0 24px;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy-dk);
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-links a {
    font-size: 16px;
  }
  
  .btn-nav {
    width: 100%;
    text-align: center;
    padding: 16px 24px !important;
  }
  
  .who-grid {
    grid-template-columns: 1fr;
  }
  
  .process-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    position: relative;
  }
  
  .hero {
    padding: 120px 24px 200px;
  }
  
  section {
    padding: 60px 24px;
  }
  
  footer {
    padding: 60px 24px 0;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-bottom {
    padding: 20px 24px;
    flex-direction: column;
    gap: 8px;
    text-align: center;
    margin: 0 -24px;
  }
  
  .mission-band {
    padding: 40px 24px;
  }
  
  .tagline-ribbon {
    padding: 18px 24px;
  }
}
