/* ============================================
   Ascentivize Consulting
   ============================================ */

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

:root {
  --navy: #1a2744;
  --navy-mid: #1e3a5f;
  --blue: #2c5282;
  --blue-light: #3b82c4;
  --blue-pale: #eaf1f8;
  --accent: #4a90d9;
  --gray-50: #f7f8fa;
  --gray-100: #edf0f4;
  --gray-200: #d1d8e0;
  --gray-500: #6b7280;
  --gray-600: #4a5568;
  --gray-700: #374151;
  --white: #ffffff;
  --shadow: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.06);
  --radius: 6px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--gray-700);
  line-height: 1.6;
  background: var(--white);
}

.container {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Nav --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-100);
  z-index: 100;
  transition: box-shadow 0.3s;
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-logo {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: var(--gray-600);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

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

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
}

/* --- Hero --- */
.hero {
  padding: 130px 0 80px;
  background: var(--navy);
  color: var(--white);
}

.hero-layout {
  display: flex;
  align-items: center;
  gap: 48px;
}

.hero-text {
  flex: 1;
}

.hero-photo {
  flex-shrink: 0;
  text-align: center;
}

.photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,0.15);
}

.photo-name {
  display: block;
  margin: 10px auto 0;
}

.hero-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 28px;
}

.btn {
  display: inline-block;
  padding: 11px 24px;
  background: var(--white);
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius);
  transition: opacity 0.15s;
}

.btn:hover {
  opacity: 0.9;
}

/* --- Sections --- */
.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--gray-50);
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.section-dark h2 {
  color: var(--white);
}

.section-intro {
  color: var(--gray-600);
  font-size: 1rem;
  margin-bottom: 36px;
  max-width: 560px;
}

/* --- Services --- */
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--gray-100);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  overflow: hidden;
}

.card {
  background: var(--white);
  padding: 28px;
}

.card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

.card-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.card-list li {
  font-size: 0.88rem;
  color: var(--gray-600);
  padding: 3px 0 3px 14px;
  position: relative;
  line-height: 1.5;
}

.card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue-light);
}

/* --- Platform --- */
.platform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 32px;
}

.module {
  padding: 10px 0 10px 16px;
  border-left: 2px solid rgba(255,255,255,0.15);
  margin-bottom: 8px;
}

.module-name {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
}

.module-detail {
  display: block;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
}

.platform-creds h3 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 10px;
  margin-top: 24px;
}

.platform-creds h3:first-child {
  margin-top: 0;
}

.cred-list {
  list-style: none;
}

.cred-list li {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  padding: 4px 0;
}


/* --- Approach --- */
.approach-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 32px;
}

.approach-block {
  padding: 24px;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
}

.approach-block h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}

.approach-block p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.approach-context {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-100);
}

.approach-context p {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 4px;
}

/* --- Contact --- */
.contact-content {
  max-width: 440px;
  margin: 0 auto;
  text-align: center;
  padding: 36px 32px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
}

.contact-heading {
  font-size: 1.1rem;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 20px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--blue);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: background 0.15s;
}

.contact-link:hover {
  background: var(--blue-pale);
}

.contact-link svg {
  flex-shrink: 0;
  opacity: 0.7;
}

/* --- Footer --- */
.footer {
  padding: 24px 0;
  text-align: center;
  background: var(--navy);
}

.footer p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* --- Mobile --- */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--gray-100);
    padding: 16px 24px;
    gap: 14px;
    box-shadow: var(--shadow-md);
  }

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

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

  .hero-layout {
    flex-direction: column-reverse;
    text-align: center;
    gap: 24px;
  }

  .hero h1 {
    font-size: 1.65rem;
  }

  .hero-sub {
    font-size: 0.95rem;
  }

  .photo {
    width: 120px;
    height: 120px;
  }

  .section {
    padding: 52px 0;
  }

  .section h2 {
    font-size: 1.35rem;
  }


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

  .platform-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .approach-layout {
    grid-template-columns: 1fr;
  }

  .contact-content {
    padding: 28px 20px;
  }
}
