/* GreatMarlon Prevention Consulting — navy + teal from brand logo */

:root {
  --slate-950: #0a2540;
  --slate-900: #0f2d4a;
  --slate-800: #1b3a57;
  --slate-700: #3a4a5c;
  --slate-500: #6b7c8f;
  --slate-300: #b8c4d0;
  --slate-100: #e8eef3;
  --cream: #faf7f2;
  --cream-dark: #f0ebe3;
  --terracotta: #0d9488; /* teal accent (legacy name kept) */
  --terracotta-dark: #0f766e;
  --amber: #2dd4bf;
  --amber-soft: #ccfbf1;
  --white: #ffffff;
  --focus: #0d9488;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(15, 22, 28, 0.04), 0 8px 24px rgba(15, 22, 28, 0.06);
  --shadow-lg: 0 4px 12px rgba(15, 22, 28, 0.06), 0 20px 48px rgba(15, 22, 28, 0.08);
  --font-sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --space: clamp(1.25rem, 4vw, 2rem);
  --max: 68rem;
  --header-h: 4.75rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--slate-800);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--slate-950);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  margin: 0 0 0.75rem;
}

h3 {
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--terracotta-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--terracotta);
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space);
  z-index: 1000;
  padding: 0.6rem 1rem;
  background: var(--slate-950);
  color: var(--cream);
  text-decoration: none;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 0.75rem;
}

.container {
  width: min(100% - (var(--space) * 2), var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(36, 48, 64, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  max-width: min(100%, 16rem);
}

.logo:hover {
  opacity: 0.92;
}

.logo-img {
  height: 3.25rem;
  width: auto;
  max-width: min(100%, 17rem);
  object-fit: contain;
  object-position: left center;
}

@media (min-width: 768px) {
  .logo-img {
    height: 3.5rem;
    max-width: 18rem;
  }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--slate-900);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  text-decoration: none;
  color: var(--slate-700);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.35rem 0;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--terracotta);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.95rem !important;
  background: var(--slate-900);
  color: var(--cream) !important;
  border-radius: 999px;
  text-decoration: none !important;
}

.nav-cta:hover {
  background: var(--terracotta);
  color: var(--cream) !important;
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(36, 48, 64, 0.1);
    padding: 0.75rem var(--space) 1.25rem;
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .nav-list a {
    display: block;
    padding: 0.75rem 0.5rem;
  }

  .nav-cta {
    justify-content: center;
    margin-top: 0.35rem;
  }
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(3rem, 10vw, 6rem) 0 clamp(3.5rem, 9vw, 5.5rem);
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.hero-lead {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: var(--slate-700);
  margin-bottom: 1.75rem;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.hero-accent {
  position: absolute;
  right: -8%;
  top: 10%;
  width: min(42vw, 28rem);
  height: min(42vw, 28rem);
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, var(--amber-soft) 0%, transparent 68%),
              radial-gradient(circle at 70% 60%, rgba(196, 92, 38, 0.12) 0%, transparent 55%);
  pointer-events: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  border-color: var(--terracotta);
}

.btn-primary:hover {
  background: var(--terracotta-dark);
  border-color: var(--terracotta-dark);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--slate-900);
  border-color: rgba(36, 48, 64, 0.25);
}

.btn-secondary:hover {
  border-color: var(--slate-900);
  color: var(--slate-950);
}

.btn-lg {
  padding: 0.9rem 1.6rem;
  font-size: 1.05rem;
}

/* Trust strip */
.trust {
  background: var(--slate-900);
  color: var(--cream);
  padding: 1.75rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.25rem 0;
}

.trust-stat {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--amber);
  line-height: 1;
}

.trust-label {
  font-size: 0.9rem;
  color: var(--slate-300);
  line-height: 1.4;
}

@media (max-width: 640px) {
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section-header {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.section-header-center {
  margin-inline: auto;
  text-align: center;
}

.section-intro {
  color: var(--slate-700);
  font-size: 1.1rem;
}

/* Services */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--white);
  border: 1px solid rgba(36, 48, 64, 0.08);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card-featured {
  border-color: rgba(196, 92, 38, 0.35);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.card-featured::before {
  content: "Popular";
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--terracotta);
  background: rgba(196, 92, 38, 0.1);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

.card-icon {
  color: var(--terracotta);
  margin-bottom: 0.35rem;
}

.card p {
  color: var(--slate-700);
  flex: 1;
  font-size: 0.98rem;
}

.card-meta {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0.85rem 0 0;
  border-top: 1px solid var(--cream-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.85rem;
  color: var(--slate-500);
  font-weight: 500;
}

.card-meta li::before {
  content: "·";
  margin-right: 0.45rem;
  color: var(--amber);
}

.card-meta li:first-child::before {
  content: none;
  margin: 0;
}

@media (max-width: 860px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

/* How it works */
.how {
  background: var(--cream-dark);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  counter-reset: none;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(36, 48, 64, 0.1);
}

.step:last-child {
  border-bottom: 1px solid rgba(36, 48, 64, 0.1);
}

.step-num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--terracotta);
  line-height: 1.2;
  min-width: 2.25rem;
}

.step-body h3 {
  margin-bottom: 0.35rem;
}

.step-body p {
  color: var(--slate-700);
  margin: 0;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 14rem) 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.avatar {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--slate-900);
}

.avatar svg {
  width: 100%;
  height: auto;
}

.avatar-caption {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-700);
  text-align: center;
}

.about-copy .eyebrow {
  margin-bottom: 0.5rem;
}

.about-copy p {
  color: var(--slate-700);
}

.about-why {
  margin-top: 1.25rem;
  padding: 1.1rem 1.25rem;
  background: var(--white);
  border-left: 3px solid var(--terracotta);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  box-shadow: var(--shadow);
}

@media (max-width: 700px) {
  .about-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .about-visual {
    width: min(100%, 14rem);
  }

  .about-copy {
    text-align: left;
  }
}

/* Testimonials */
.results {
  background: var(--white);
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.quote {
  margin: 0;
  padding: 1.5rem;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid rgba(36, 48, 64, 0.06);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.quote p {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 500;
  color: var(--slate-900);
  line-height: 1.45;
  margin: 0;
  flex: 1;
}

.quote footer {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.quote-name {
  font-style: normal;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--slate-950);
}

.quote-role {
  font-size: 0.85rem;
  color: var(--slate-500);
}

@media (max-width: 860px) {
  .quote-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact */
.contact {
  background: linear-gradient(165deg, var(--slate-900) 0%, #243040 100%);
  color: var(--cream);
}

.contact .eyebrow {
  color: var(--amber);
}

.contact h2 {
  color: var(--cream);
}

.contact .section-intro {
  color: var(--slate-300);
}

.contact-inner {
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin-bottom: 1.5rem;
}

.contact .btn-primary {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--slate-950);
}

.contact .btn-primary:hover {
  background: var(--amber-soft);
  border-color: var(--amber-soft);
  color: var(--slate-950);
}

.contact .btn-secondary {
  color: var(--cream);
  border-color: rgba(250, 247, 242, 0.35);
}

.contact .btn-secondary:hover {
  border-color: var(--cream);
  color: var(--white);
}

.contact-note {
  font-size: 0.95rem;
  color: var(--slate-300);
  max-width: 32rem;
  margin-inline: auto;
}

/* Footer */
.site-footer {
  background: var(--slate-950);
  color: var(--slate-300);
  padding: 1.75rem 0;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  align-items: baseline;
}

.footer-brand {
  margin: 0;
  color: var(--cream);
  font-weight: 600;
}

.footer-note {
  margin: 0;
  max-width: 28rem;
}
