/* ============================================================
   PurPaw — main stylesheet
   Light theme: warm cream body, deep brown text, caramel accents
   ============================================================ */

:root {
  --cream: #FAF6EF;
  --ivory: #F3EBDD;
  --brown: #2E2419;
  --brown-2: #1F1710;
  --brown-soft: #4A3A28;
  --caramel: #A16207;
  --caramel-deep: #7C4B04;
  --tan: #C89B5A;
  --tan-soft: #E8DCC8;
  --line: #E4D7C0;
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

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

h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 800;
  color: var(--brown);
}

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

/* ------------------------------------------------------------
   SEGMENTED PROGRESS NAV
   ------------------------------------------------------------ */
.progress-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--cream);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(46, 36, 25, 0.04);
}

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

.nav-brand {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--caramel);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.nav-brand:hover {
  color: var(--caramel-deep);
}

.progress-track {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--tan);
  border-radius: 999px;
  overflow: hidden;
  background-color: var(--ivory);
}

.progress-track .seg {
  display: flex;
  align-items: center;
  padding: 7px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--caramel);
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.progress-track .seg + .seg {
  border-left: 1px solid var(--tan);
}

.progress-track .seg:hover {
  background-color: var(--tan-soft);
}

.progress-track .seg.active {
  background-color: var(--caramel);
  color: var(--ivory);
}

.nav-cta {
  background-color: var(--caramel);
  color: var(--ivory);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 9px 20px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.nav-cta:hover {
  background-color: var(--caramel-deep);
  color: var(--ivory);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--tan);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle .bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--caramel);
  border-radius: 2px;
}

/* ------------------------------------------------------------
   HEX CLUSTER HERO
   ------------------------------------------------------------ */
.hex-hero {
  padding: 96px 0 88px;
  background-color: var(--cream);
}

.hex-hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-copy .eyebrow {
  display: inline-block;
  background-color: var(--tan-soft);
  color: var(--caramel);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  margin-bottom: 22px;
  color: var(--brown);
}

.hero-copy h1 .accent {
  color: var(--caramel);
}

.hero-copy p.lead {
  font-size: 1.12rem;
  color: var(--brown-soft);
  max-width: 560px;
  margin-bottom: 34px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-points span {
  background-color: var(--ivory);
  border: 1px solid var(--line);
  color: var(--brown-soft);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 999px;
}

.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 10px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background-color: var(--caramel);
  color: var(--ivory);
}

.btn-primary:hover {
  background-color: var(--caramel-deep);
  color: var(--ivory);
}

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

.btn-outline:hover {
  background-color: var(--caramel);
  color: var(--ivory);
}

/* Hexagon cluster (CSS only) */
.hex-cluster {
  position: relative;
  width: 100%;
  max-width: 460px;
  height: 420px;
  margin: 0 auto;
}

.hex {
  position: absolute;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.hex-1 { width: 150px; height: 172px; left: 150px; top: 8px; background-color: var(--caramel); }
.hex-2 { width: 130px; height: 150px; left: 30px; top: 96px; background-color: var(--brown); }
.hex-3 { width: 130px; height: 150px; left: 288px; top: 96px; background-color: var(--tan); }
.hex-4 { width: 150px; height: 172px; left: 150px; top: 92px; background-color: var(--brown); }
.hex-5 { width: 130px; height: 150px; left: 30px; top: 184px; background-color: var(--tan); }
.hex-6 { width: 130px; height: 150px; left: 288px; top: 184px; background-color: var(--caramel); }
.hex-7 { width: 120px; height: 138px; left: 200px; top: 224px; background-color: var(--ivory); }

.hex-4::after {
  content: "P";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--ivory);
}

/* ------------------------------------------------------------
   STATEMENT ROW
   ------------------------------------------------------------ */
.statement-row {
  padding: 76px 0;
  background-color: var(--ivory);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.statement-row .statement-text {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 700;
  line-height: 1.45;
  color: var(--brown);
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.statement-row .statement-text em {
  color: var(--caramel);
  font-style: normal;
}

.statement-row .statement-sub {
  max-width: 720px;
  margin: 22px auto 0;
  text-align: center;
  color: var(--brown-soft);
  font-size: 1.02rem;
}

/* ------------------------------------------------------------
   SERVICE TILES
   ------------------------------------------------------------ */
.service-tiles {
  padding: 96px 0;
  background-color: var(--cream);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-head .eyebrow {
  display: inline-block;
  color: var(--caramel);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--brown-soft);
}

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

.tile {
  border-radius: 16px;
  padding: 34px 30px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tile .tile-icon {
  font-size: 1.6rem;
  font-weight: 800;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.tile h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.tile p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.tile-caramel {
  background-color: var(--caramel);
}

.tile-caramel h3,
.tile-caramel p {
  color: var(--ivory);
}

.tile-caramel .tile-icon {
  background-color: var(--ivory);
  color: var(--caramel);
}

.tile-tan {
  background-color: var(--tan);
}

.tile-tan h3,
.tile-tan p {
  color: var(--brown-2);
}

.tile-tan .tile-icon {
  background-color: var(--brown);
  color: var(--ivory);
}

.tile-brown {
  background-color: var(--brown);
}

.tile-brown h3,
.tile-brown p {
  color: var(--ivory);
}

.tile-brown .tile-icon {
  background-color: var(--ivory);
  color: var(--brown);
}

.tiles-note {
  margin-top: 34px;
  text-align: center;
  color: var(--brown-soft);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ------------------------------------------------------------
   JOURNEY TRACK
   ------------------------------------------------------------ */
.journey-track {
  padding: 96px 0;
  background-color: var(--ivory);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.journey-track .container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.journey-intro h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  margin-bottom: 16px;
}

.journey-intro p {
  color: var(--brown-soft);
}

.journey-list {
  position: relative;
  padding-left: 0;
}

.journey-step {
  position: relative;
  padding-left: 72px;
  padding-bottom: 44px;
}

.journey-step:last-child {
  padding-bottom: 0;
}

.journey-step::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 46px;
  bottom: 0;
  width: 2px;
  background-color: var(--tan);
}

.journey-step:last-child::before {
  display: none;
}

.journey-step .step-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--caramel);
  color: var(--ivory);
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.journey-step h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.journey-step p {
  color: var(--brown-soft);
  max-width: 520px;
}

/* ------------------------------------------------------------
   STATS BAND
   ------------------------------------------------------------ */
.stats-band {
  padding: 72px 0;
  background-color: var(--brown);
}

.stats-band .stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stats-band .stats-intro {
  color: var(--tan);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
  font-size: 1.02rem;
}

.stat-num {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--ivory);
  line-height: 1;
}

.stat-label {
  margin-top: 10px;
  color: var(--tan);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ------------------------------------------------------------
   FAQ ACCORDION
   ------------------------------------------------------------ */
.faq-section {
  padding: 96px 0;
  background-color: var(--cream);
}

.faq-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background-color: var(--ivory);
  margin-bottom: 14px;
  overflow: hidden;
}

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

.faq-question .faq-plus {
  font-size: 1.6rem;
  color: var(--caramel);
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s ease;
}

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

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

.faq-answer-inner {
  padding: 0 24px 22px;
  color: var(--brown-soft);
}

/* ------------------------------------------------------------
   CTA BAND
   ------------------------------------------------------------ */
.cta-band {
  padding: 88px 0;
  background-color: var(--caramel);
  text-align: center;
}

.cta-band h2 {
  color: var(--ivory);
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  margin-bottom: 16px;
}

.cta-band p {
  color: var(--ivory);
  max-width: 560px;
  margin: 0 auto 30px;
  font-size: 1.05rem;
}

.cta-band .btn-light {
  background-color: var(--ivory);
  color: var(--caramel);
}

.cta-band .btn-light:hover {
  background-color: var(--brown);
  color: var(--ivory);
}

/* ------------------------------------------------------------
   STACKED LINE FOOTER
   ------------------------------------------------------------ */
.stacked-line-footer {
  background-color: var(--cream);
  border-top: 3px solid var(--caramel);
  padding: 44px 24px 48px;
  text-align: center;
}

.footer-brand {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--caramel);
  margin-bottom: 16px;
}

.footer-links {
  margin-bottom: 14px;
}

.footer-links a {
  color: var(--brown-soft);
  font-weight: 600;
  font-size: 0.92rem;
}

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

.footer-links .dot {
  color: var(--tan);
  margin: 0 10px;
}

.footer-legal {
  color: var(--brown-soft);
  font-size: 0.86rem;
}

/* ------------------------------------------------------------
   SECONDARY PAGES (services / contact)
   ------------------------------------------------------------ */
.page-hero {
  padding: 72px 0 48px;
  background-color: var(--cream);
  border-bottom: 1px solid var(--line);
}

.page-hero .eyebrow {
  display: inline-block;
  background-color: var(--tan-soft);
  color: var(--caramel);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.page-hero p.lead {
  color: var(--brown-soft);
  font-size: 1.1rem;
  max-width: 700px;
}

/* Services page */
.services-list {
  padding: 80px 0;
  background-color: var(--cream);
}

.service-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}

.service-block:last-child {
  border-bottom: none;
}

.service-block .svc-tag {
  display: inline-block;
  background-color: var(--caramel);
  color: var(--ivory);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.service-block h2 {
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.service-block p {
  color: var(--brown-soft);
  margin-bottom: 12px;
}

.service-block .svc-points {
  list-style: none;
  margin-top: 8px;
}

.service-block .svc-points li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 8px;
  color: var(--brown-soft);
}

.service-block .svc-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 12px;
  background-color: var(--caramel);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.process-overview {
  padding: 80px 0;
  background-color: var(--ivory);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 44px;
}

.process-step {
  background-color: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
}

.process-step .pnum {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--caramel);
  color: var(--ivory);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.process-step h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.process-step p {
  color: var(--brown-soft);
  font-size: 0.92rem;
}

.process-note {
  margin-top: 34px;
  color: var(--brown-soft);
  max-width: 720px;
}

/* Contact page */
.contact-layout {
  padding: 80px 0;
  background-color: var(--cream);
}

.contact-layout .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-info h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.contact-info .contact-intro {
  color: var(--brown-soft);
  margin-bottom: 26px;
}

.contact-form .form-intro {
  color: var(--brown-soft);
  margin-bottom: 22px;
}

.contact-detail {
  margin-bottom: 26px;
}

.contact-detail h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--caramel);
  margin-bottom: 6px;
}

.contact-detail p {
  color: var(--brown-soft);
}

.contact-form {
  background-color: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px;
}

.contact-form .form-field {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--brown);
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--brown);
  background-color: var(--cream);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--caramel);
  border-color: var(--caramel);
}

.contact-form .form-status {
  margin-top: 14px;
  font-weight: 700;
  font-size: 0.9rem;
  min-height: 20px;
}

.contact-form .form-status.ok {
  color: #3a6b1e;
}

.contact-form .form-status.err {
  color: #8a2b1d;
}

.contact-faq {
  padding: 80px 0;
  background-color: var(--ivory);
  border-top: 1px solid var(--line);
}

.contact-faq .mini-faq {
  max-width: 760px;
  margin: 0 auto;
}

.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 20px;
  max-width: 340px;
}

.hours-grid .day {
  color: var(--brown-soft);
}

.hours-grid .time {
  color: var(--brown);
  font-weight: 700;
  text-align: right;
}

/* ------------------------------------------------------------
   SCROLL REVEAL
   ------------------------------------------------------------ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------ */
@media (max-width: 960px) {
  .hex-hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hex-cluster {
    height: 360px;
  }

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

  .journey-track .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .service-block {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

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

  .progress-track {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    border-radius: 0;
    border-left: none;
    border-right: none;
    background-color: var(--cream);
  }

  .progress-track.open {
    display: flex;
  }

  .progress-track .seg {
    padding: 14px 24px;
    border-left: none;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    display: none;
  }

  .nav-inner {
    flex-wrap: wrap;
    position: relative;
  }
}

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

  .stats-band .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

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

  .hex-cluster {
    height: 300px;
  }

  .hex-1 { left: 90px; top: 8px; }
  .hex-2 { left: 6px; top: 92px; }
  .hex-3 { left: 240px; top: 92px; }
  .hex-4 { left: 90px; top: 88px; }
  .hex-5 { left: 6px; top: 172px; }
  .hex-6 { left: 240px; top: 172px; }
  .hex-7 { left: 108px; top: 164px; }

  .cta-band,
  .statement-row,
  .service-tiles,
  .journey-track,
  .faq-section {
    padding-left: 0;
    padding-right: 0;
  }
}
