/* ============================================================
   BELTLINE WORKFLOW — Main Stylesheet
   Mobile-first, hand-written CSS. No frameworks.
   ============================================================ */


/* ------------------------------------------------------------
   CSS Custom Properties — Design Tokens
   ------------------------------------------------------------ */
:root {
  /* Colors */
  --color-bg:          #FAFAF8;   /* Clean off-white, less yellow */
  --color-text:        #1A1A1A;   /* Primary text, unchanged */
  --color-navy:        #1B3A5C;   /* Navy, slightly warmer/lighter */
  --color-accent:      #E05C3A;   /* Coral — primary accent color */
  --color-accent-text: #ffffff;   /* Text on coral buttons */
  --color-forest:      #3D6B4F;   /* Keep for logo, use sparingly */

  /* Typography */
  --font-headline:     'Montserrat', sans-serif;
  --font-body:         sans-serif; /* TBD — to be updated once body font is chosen */

  /* Font Weights */
  --weight-regular:    400;
  --weight-semibold:   600;
  --weight-bold:       700;
  --weight-extrabold:  800;
}


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

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
}


/* ------------------------------------------------------------
   NAV — Fixed top bar
   ------------------------------------------------------------ */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: var(--color-navy);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  z-index: 1000;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Brand */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.nav-brand-name {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 1rem;
  color: var(--color-accent);
  letter-spacing: 0.01em;
}

/* Anchor links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-headline);
  font-weight: var(--weight-semibold);
  font-size: 0.875rem;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-accent);
}

/* CTA button */
.btn-cta {
  font-family: var(--font-headline);
  font-weight: var(--weight-bold);
  font-size: 0.875rem;
  color: var(--color-navy);
  background: var(--color-accent);
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.btn-cta:hover {
  opacity: 0.85;
}

/* Hamburger button */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hamburger → X when open */
.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

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

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

/* Mobile nav */
@media (max-width: 767px) {
  .nav-links,
  .btn-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-links.nav-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--color-navy);
    padding: 0.5rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }

  .nav-links.nav-open li {
    width: 100%;
  }

  .nav-links.nav-open a {
    display: block;
    padding: 0.875rem 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}


/* ------------------------------------------------------------
   HERO — Full-viewport opening section
   ------------------------------------------------------------ */
#hero {
  padding: 8rem 2rem 6rem;
  display: flex;
  align-items: center;
  background-color: var(--color-bg);
}

.hero-inner {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  align-items: center;
}

/* Left content column */
.hero-content {
  max-width: 620px;
}

/* Right column: intentionally empty breathing room */
.hero-visual {
  min-height: 1px;
}

.hero-eyebrow {
  font-family: var(--font-headline);
  font-weight: var(--weight-semibold);
  font-size: 0.8125rem;
  color: var(--color-accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-headline {
  font-family: var(--font-headline);
  font-weight: var(--weight-extrabold);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  line-height: 1.15;
  color: var(--color-navy);
  margin-bottom: 1.25rem;
}

/* "Drowning" — italic amber */
.hero-headline em {
  font-style: italic;
  color: var(--color-accent);
}

.hero-subheadline {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: 2rem;
  max-width: 520px;
}

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

/* Primary CTA */
.btn-primary {
  font-family: var(--font-headline);
  font-weight: var(--weight-bold);
  font-size: 0.9375rem;
  color: var(--color-navy);
  background: var(--color-accent);
  padding: 0.8125rem 1.625rem;
  border-radius: 4px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.btn-primary:hover {
  opacity: 0.85;
}

/* Secondary CTA */
.btn-secondary {
  font-family: var(--font-headline);
  font-weight: var(--weight-bold);
  font-size: 0.9375rem;
  color: var(--color-navy);
  background: transparent;
  border: 2px solid var(--color-navy);
  padding: 0.8125rem 1.625rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-secondary:hover {
  background: var(--color-navy);
  color: #ffffff;
}

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
}


/* ------------------------------------------------------------
   PROBLEM — Dark navy section with stats
   ------------------------------------------------------------ */
#problem {
  background: var(--color-navy);
  padding: 6rem 2rem;
}

.problem-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  align-items: center;
}

/* Shared section label — used across multiple sections */
.section-label {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.problem-headline {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.problem-headline em {
  color: var(--color-accent);
  font-style: italic;
}

.problem-body {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  font-size: 1rem;
}

/* Right column: stacked stat cards */
.problem-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.stat-number {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--color-accent);
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.4;
}

@media (max-width: 768px) {
  .problem-inner {
    grid-template-columns: 1fr;
  }
}


/* ------------------------------------------------------------
   HOW IT WORKS — Three-step card section
   ------------------------------------------------------------ */
#how-it-works {
  background: var(--color-bg);
  padding: 6rem 2rem;
}

.hiw-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* Centered section header */
.hiw-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.hiw-headline {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--color-navy);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.hiw-subhead {
  font-size: 1rem;
  color: var(--color-text);
  opacity: 0.65;
  line-height: 1.6;
}

/* Three-column card grid */
.hiw-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.hiw-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Coral accent bar at top of each card */
.hiw-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-accent);
}

.hiw-step {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.hiw-card-title {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-navy);
  line-height: 1.3;
}

.hiw-card-body {
  font-size: 0.925rem;
  color: var(--color-text);
  opacity: 0.75;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .hiw-cards {
    grid-template-columns: 1fr;
  }
}


/* ------------------------------------------------------------
   Verticals Section
   ------------------------------------------------------------ */

#verticals {
  background: var(--color-bg);
  padding: 6rem 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.verticals-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.verticals-header {
  margin-bottom: 3rem;
}

.verticals-headline {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  color: var(--color-navy);
  line-height: 1.2;
  margin-top: 0.5rem;
  max-width: 600px;
}

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

.vertical-card {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.vertical-primary {
  border-top: 4px solid var(--color-accent);
}

.vertical-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--color-accent);
  color: white;
  align-self: flex-start;
}

.vertical-title {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-navy);
}

.vertical-body {
  font-size: 0.9rem;
  color: var(--color-text);
  opacity: 0.75;
  line-height: 1.7;
}

.vertical-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: auto;
}

.vertical-list li {
  font-size: 0.85rem;
  color: var(--color-text);
  opacity: 0.7;
  padding-left: 1.25rem;
  position: relative;
}

.vertical-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

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


/* ------------------------------------------------------------
   Social Proof Section
   ------------------------------------------------------------ */

#social-proof {
  background: var(--color-navy);
  padding: 6rem 2rem;
}

.sp-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.sp-header {
  margin-bottom: 3rem;
}

.sp-headline {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  color: white;
  line-height: 1.2;
  margin-top: 0.5rem;
}

.sp-differentiators {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.sp-diff-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sp-diff-icon {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--color-accent);
  line-height: 1;
}

.sp-diff-title {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1.05rem;
  color: white;
  line-height: 1.3;
}

.sp-diff-body {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

.sp-credentials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 3rem;
}

.sp-cred {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.sp-cred-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.sp-cred-value {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-accent);
}

@media (max-width: 768px) {
  .sp-differentiators {
    grid-template-columns: 1fr;
  }

  .sp-credentials {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */

#footer {
  background: var(--color-navy);
  padding: 4rem 2rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.footer-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.footer-brand-name {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 1rem;
  color: var(--color-accent);
  letter-spacing: 0.01em;
}

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  max-width: 280px;
}

.footer-nav-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1rem;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav-list a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-nav-list a:hover {
  color: var(--color-accent);
}

.footer-contact-location {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.25rem;
}

.footer-cta {
  display: inline-block;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 1px solid var(--color-accent);
  padding-bottom: 2px;
  transition: opacity 0.15s;
}

.footer-cta:hover {
  opacity: 0.75;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}


/* ------------------------------------------------------------
   Contact Section
   ------------------------------------------------------------ */

#contact {
  background: var(--color-bg);
  padding: 6rem 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.contact-headline {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  color: var(--color-navy);
  line-height: 1.2;
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
}

.contact-body {
  font-size: 0.95rem;
  color: var(--color-text);
  opacity: 0.75;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-detail-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.4);
}

.contact-detail-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-navy);
  font-family: var(--font-headline);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 2.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-navy);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  width: 100%;
  outline: none;
  transition: border-color 0.15s;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-submit {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 1rem;
  color: white;
  background: var(--color-accent);
  border: none;
  border-radius: 6px;
  padding: 1rem 2rem;
  cursor: pointer;
  transition: opacity 0.15s;
  align-self: flex-start;
}

.form-submit:hover {
  opacity: 0.88;
}

@media (max-width: 768px) {
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-form {
    padding: 1.5rem;
  }
}
