/* ============================================================
   Durban DPT — Main stylesheet
   Light theme: sage-white body, deep moss text, sage-green accent
   ============================================================ */

:root {
  --bg: #F6F8F2;
  --ink: #262B20;
  --muted: #5A614E;
  --sage: #8A9B7E;
  --sage-deep: #6E7E62;
  --pale-moss: #D3DCC8;
  --deep-moss: #4A5238;
  --line: #E3E8DC;
  --white: #FFFFFF;
  --shadow: 0 18px 50px rgba(38, 43, 32, 0.08);
  --radius: 16px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--ink);
  font-size: 16px;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--deep-moss);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--sage-deep);
}

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

h1, h2, h3 {
  line-height: 1.15;
  color: var(--deep-moss);
  font-weight: 700;
  letter-spacing: -0.01em;
}

p {
  color: var(--muted);
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   NAVIGATION — centered wordmark nav
   ============================================================ */

.center-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg);
  border-bottom: 1px solid var(--sage);
  transition: box-shadow 0.3s ease;
}

.center-nav.scrolled {
  box-shadow: 0 8px 30px rgba(38, 43, 32, 0.06);
}

.center-nav .nav-inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.center-nav .wordmark {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--deep-moss);
  text-align: center;
  padding: 0 24px;
  white-space: nowrap;
}

.center-nav .nav-group {
  display: flex;
  align-items: center;
  gap: 26px;
}

.center-nav .nav-group-left {
  margin-right: 10px;
}

.center-nav .nav-group-right {
  margin-left: 10px;
}

.center-nav .nav-link {
  position: relative;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  padding: 4px 0;
}

.center-nav .nav-link:hover {
  color: var(--deep-moss);
}

.center-nav .nav-link.active {
  color: var(--deep-moss);
}

.center-nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background-color: var(--sage);
}

.center-nav .nav-toggle {
  display: none;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.center-nav .nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--deep-moss);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.center-nav.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.center-nav.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.center-nav.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO — three-column trio hero
   ============================================================ */

.trio-hero {
  padding: 72px 0 64px;
  background-color: var(--bg);
}

.trio-hero .trio-row {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr;
  gap: 40px;
  align-items: center;
}

.trio-hero .trio-center {
  text-align: left;
}

.eyebrow-chip {
  display: inline-block;
  background-color: var(--pale-moss);
  color: var(--deep-moss);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.trio-hero .headline {
  font-size: 46px;
  font-weight: 800;
  color: var(--deep-moss);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.trio-hero .subcopy {
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 28px;
}

.trio-hero .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 14px 30px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

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

.btn-primary:hover {
  background-color: var(--sage-deep);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(138, 155, 126, 0.35);
}

.btn-outline {
  background-color: transparent;
  color: var(--deep-moss);
  border: 2px solid var(--deep-moss);
}

.btn-outline:hover {
  background-color: var(--deep-moss);
  color: var(--white);
  transform: translateY(-2px);
}

/* Hero graphics */

.trio-hero .trio-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.body-figure {
  position: relative;
  width: 150px;
  height: 210px;
}

.body-figure .body-head {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--sage);
}

.body-figure .body-torso {
  position: absolute;
  top: 78px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 122px;
  border-radius: 42px 42px 22px 22px;
  background-color: var(--deep-moss);
}

.body-figure .body-arm {
  position: absolute;
  top: 96px;
  width: 20px;
  height: 66px;
  border-radius: 10px;
  background-color: var(--pale-moss);
}

.body-figure .body-arm-left {
  left: -8px;
  transform: rotate(12deg);
}

.body-figure .body-arm-right {
  right: -8px;
  transform: rotate(-12deg);
}

.rising-bars {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  height: 220px;
}

.rising-bars .bar {
  width: 44px;
  border-radius: 10px 10px 4px 4px;
}

.rising-bars .bar-1 {
  height: 70px;
  background-color: var(--sage);
}

.rising-bars .bar-2 {
  height: 110px;
  background-color: var(--pale-moss);
}

.rising-bars .bar-3 {
  height: 150px;
  background-color: var(--deep-moss);
}

.rising-bars .bar-4 {
  height: 190px;
  background-color: var(--sage-deep);
}

/* ============================================================
   ZIGZAG SECTIONS
   ============================================================ */

.zigzag {
  padding: 40px 0;
}

.zigzag-block {
  max-width: 1180px;
  margin: 0 auto 40px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.zigzag-block .solid-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  min-height: 320px;
}

.zigzag-block .text-panel {
  background-color: var(--white);
  padding: 60px 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.zigzag-block .text-panel h2 {
  font-size: 30px;
  margin-bottom: 18px;
}

.zigzag-block .text-panel p {
  font-size: 16.5px;
  margin-bottom: 18px;
}

.zigzag-block .text-panel p:last-of-type {
  margin-bottom: 24px;
}

.square-marker {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 3px;
}

.square-marker.deep {
  background-color: var(--deep-moss);
}

.square-marker.sage {
  background-color: var(--sage);
}

/* Block one — sage background left, footprint shape */
.block-one .solid-panel {
  background-color: var(--sage);
}

.footprint {
  position: relative;
  width: 190px;
  height: 210px;
}

.footprint .foot-heel {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 130px;
  border-radius: 50% 50% 46% 46%;
  background-color: var(--pale-moss);
}

.footprint .foot-toe {
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: var(--pale-moss);
}

.footprint .toe-1 { top: 6px; left: 28px; }
.footprint .toe-2 { top: 0; left: 62px; }
.footprint .toe-3 { top: 0; right: 62px; }
.footprint .toe-4 { top: 6px; right: 28px; }

/* Block two — deep moss background right, walking figure */
.block-two .solid-panel {
  background-color: var(--deep-moss);
  order: 2;
}

.block-two .text-panel {
  order: 1;
}

.walking-figure {
  position: relative;
  width: 120px;
  height: 190px;
}

.walking-figure .leg {
  position: absolute;
  top: 20px;
  width: 26px;
  height: 150px;
  border-radius: 13px;
  background-color: var(--sage);
}

.walking-figure .leg-1 {
  left: 24px;
  transform: rotate(16deg);
}

.walking-figure .leg-2 {
  right: 24px;
  transform: rotate(-16deg);
}

/* Block three — pale moss background left, pulse line */
.block-three .solid-panel {
  background-color: var(--pale-moss);
}

.pulse-line {
  position: relative;
  width: 220px;
  height: 60px;
}

.pulse-line .pulse-track {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background-color: var(--deep-moss);
}

.pulse-line .pulse-square {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background-color: var(--deep-moss);
}

/* ============================================================
   CTA BAND
   ============================================================ */

.cta-band {
  max-width: 1180px;
  margin: 40px auto 0;
  padding: 0 24px;
}

.cta-band-inner {
  background-color: var(--sage);
  border-radius: var(--radius);
  padding: 64px 60px;
  text-align: center;
}

.cta-band-inner h2 {
  color: var(--white);
  font-size: 34px;
  margin-bottom: 14px;
}

.cta-band-inner p {
  color: #F1F4EC;
  font-size: 17px;
  max-width: 640px;
  margin: 0 auto 28px;
}

.btn-deep {
  background-color: var(--deep-moss);
  color: var(--white);
}

.btn-deep:hover {
  background-color: #3A422C;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(74, 82, 56, 0.35);
}

/* ============================================================
   FOOTER — link-row footer
   ============================================================ */

.linkrow-footer {
  margin-top: 64px;
  padding: 0 24px 40px;
  text-align: center;
}

.linkrow-footer .footer-links {
  border-top: 1px solid var(--sage);
  padding-top: 28px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
}

.linkrow-footer .footer-links a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--deep-moss);
}

.linkrow-footer .footer-links a:hover {
  color: var(--sage-deep);
}

.linkrow-footer .footer-legal {
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--muted);
}

.linkrow-footer .footer-legal a {
  color: var(--deep-moss);
  font-weight: 600;
}

/* ============================================================
   SECONDARY PAGE HERO
   ============================================================ */

.page-hero {
  background-color: var(--bg);
  padding: 72px 0 56px;
  text-align: center;
}

.page-hero .eyebrow-chip {
  margin-bottom: 18px;
}

.page-hero h1 {
  font-size: 42px;
  color: var(--deep-moss);
  margin-bottom: 16px;
}

.page-hero .page-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto;
}

/* ============================================================
   SERVICE SECTIONS
   ============================================================ */

.service-list {
  padding: 16px 0 8px;
}

.service-item {
  max-width: 1180px;
  margin: 0 auto 36px;
  padding: 0 24px;
}

.service-item .service-inner {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 36px;
  background-color: var(--white);
  border-radius: var(--radius);
  padding: 40px 44px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--sage);
  align-items: start;
}

.service-item:nth-child(even) .service-inner {
  border-top-color: var(--deep-moss);
}

.service-item .service-num {
  font-size: 56px;
  font-weight: 800;
  color: var(--pale-moss);
  line-height: 1;
  letter-spacing: -0.03em;
}

.service-item .service-body h2 {
  font-size: 24px;
  margin-bottom: 12px;
}

.service-item .service-body p {
  margin-bottom: 14px;
}

.service-item .service-body p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   PROCESS OVERVIEW
   ============================================================ */

.process-overview {
  padding: 48px 0;
}

.process-overview .process-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.process-overview h2 {
  font-size: 32px;
  margin-bottom: 12px;
}

.process-overview .process-lead {
  max-width: 680px;
  margin: 0 auto 40px;
  color: var(--muted);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: left;
}

.process-step {
  background-color: var(--white);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
}

.process-step .step-num {
  display: inline-block;
  background-color: var(--pale-moss);
  color: var(--deep-moss);
  font-weight: 800;
  font-size: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.process-step h3 {
  font-size: 19px;
  color: var(--deep-moss);
  margin-bottom: 10px;
}

.process-step p {
  font-size: 15px;
}

/* ============================================================
   STATS BAND
   ============================================================ */

.stats-band {
  padding: 24px 0;
}

.stats-band .stats-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat {
  background-color: var(--deep-moss);
  color: var(--white);
  border-radius: var(--radius);
  padding: 34px 26px;
  text-align: center;
}

.stat .stat-num {
  font-size: 44px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.stat .stat-label {
  font-size: 14px;
  color: var(--pale-moss);
  letter-spacing: 0.03em;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 24px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.contact-info h2 {
  font-size: 26px;
  margin-bottom: 16px;
}

.contact-info .info-block {
  background-color: var(--white);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

.contact-info .info-block h3 {
  font-size: 16px;
  color: var(--sage-deep);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.contact-info .info-block p {
  margin-bottom: 6px;
}

.contact-info .info-block p:last-child {
  margin-bottom: 0;
}

.contact-info .info-block a {
  font-weight: 600;
}

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

.hours-list li {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.hours-list li:last-child {
  border-bottom: none;
}

.hours-list li span {
  color: var(--deep-moss);
  font-weight: 600;
}

.contact-form-card {
  background-color: var(--white);
  border-radius: var(--radius);
  padding: 36px 38px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--sage);
}

.contact-form-card h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--deep-moss);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  font-size: 16px;
  font-family: inherit;
  color: var(--ink);
  background-color: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(138, 155, 126, 0.18);
}

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

.form-status {
  margin-top: 14px;
  font-size: 14.5px;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 10px;
  display: none;
}

.form-status.success {
  display: block;
  background-color: var(--pale-moss);
  color: var(--deep-moss);
}

.form-status.error {
  display: block;
  background-color: #F3E0E0;
  color: #7A3030;
}

.form-status.info {
  display: block;
  background-color: var(--pale-moss);
  color: var(--deep-moss);
}

/* ============================================================
   FAQ
   ============================================================ */

.faq {
  max-width: 1180px;
  margin: 16px auto 0;
  padding: 0 24px;
}

.faq h2 {
  font-size: 30px;
  text-align: center;
  margin-bottom: 32px;
}

.faq-item {
  background-color: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  color: var(--deep-moss);
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
}

.faq-question .faq-icon {
  font-size: 22px;
  color: var(--sage);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  padding: 0 24px 20px;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */

.fade-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 980px) {
  .trio-hero .trio-row {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .trio-hero .trio-center {
    text-align: center;
  }

  .trio-hero .subcopy {
    margin-left: auto;
    margin-right: auto;
  }

  .trio-hero .cta-row {
    justify-content: center;
  }

  .trio-hero .trio-graphic {
    min-height: 200px;
  }

  .zigzag-block {
    grid-template-columns: 1fr;
  }

  .block-two .solid-panel {
    order: 1;
  }

  .block-two .text-panel {
    order: 2;
  }

  .zigzag-block .text-panel {
    padding: 44px 34px;
  }

  .service-item .service-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .process-steps {
    grid-template-columns: 1fr 1fr;
  }

  .stats-band .stats-inner {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 760px) {
  .center-nav .nav-inner {
    justify-content: center;
    padding: 14px 60px;
  }

  .center-nav .nav-group {
    display: none;
  }

  .center-nav .nav-toggle {
    display: flex;
  }

  .center-nav.nav-open .nav-group {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg);
    border-bottom: 1px solid var(--sage);
    padding: 16px 24px 20px;
    gap: 14px;
    margin: 0;
  }

  .center-nav.nav-open .nav-group-left {
    margin-right: 0;
  }

  .center-nav.nav-open .nav-group-right {
    margin-left: 0;
  }

  .center-nav .nav-link {
    font-size: 15px;
  }

  .trio-hero .headline {
    font-size: 34px;
  }

  .trio-hero {
    padding: 48px 0 48px;
  }

  .zigzag-block .solid-panel {
    min-height: 240px;
    padding: 44px 30px;
  }

  .cta-band-inner {
    padding: 48px 28px;
  }

  .cta-band-inner h2 {
    font-size: 27px;
  }

  .page-hero h1 {
    font-size: 32px;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .stats-band .stats-inner {
    grid-template-columns: 1fr 1fr;
  }

  .contact-form-card {
    padding: 28px 22px;
  }
}
