:root {
  --c-forest: #1a3a3a;
  --c-forest-deep: #0f2727;
  --c-cream: #faf6f0;
  --c-cream-soft: #f7f1e8;
  --c-burnt: #c45e2b;
  --c-burnt-dark: #a04a20;
  --c-burnt-soft: #f4a574;
  --c-text: #141312;
  --c-muted: #5a5a52;
  --c-line: #d4c4b2;
  --c-surface: #ffffff;
  --c-surface-soft: #faf5ef;
  --f-display: 'Fraunces', Georgia, serif;
  --f-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--f-body);
  color: var(--c-text);
  background: radial-gradient(circle at top left, rgba(196,94,43,0.08), transparent 28%),
    linear-gradient(180deg, var(--c-cream) 0%, var(--c-cream-soft) 100%);
  line-height: 1.65;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--c-burnt-dark);
}

button,
input,
select,
textarea {
  font: inherit;
}

.wrap {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
}

header {
  padding: 32px 0 10px;
}

.header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-glyph {
  width: 48px;
  height: 48px;
  background: var(--c-forest);
  color: var(--c-cream);
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 600;
}

.brand-text {
  display: grid;
  gap: 4px;
}

.brand-text span {
  display: block;
  font-size: 14px;
  color: var(--c-muted);
}

.nav {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: flex-end;
  font-size: 15px;
  font-weight: 600;
}

.hero,
.hero-page {
  padding: 100px 0 60px;
}

.hero-inner,
.hero-page-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 42px;
  align-items: center;
}

.hero-copy {
  max-width: 680px;
}

.hero-label,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--c-burnt);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title,
.section-title {
  font-family: var(--f-display);
  letter-spacing: -0.03em;
  color: var(--c-forest);
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  line-height: 0.98;
}

.section-title {
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  line-height: 1.05;
}

.section-head {
  margin-bottom: 56px;
}

.section-head .section-copy {
  margin-bottom: 0;
}

.section-head.center {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head.center .section-copy {
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle,
.section-copy {
  max-width: 56ch;
  font-size: 1.05rem;
  color: var(--c-muted);
  margin-bottom: 34px;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.btn-primary {
  background: var(--c-burnt);
  color: white;
  box-shadow: 0 14px 36px rgba(196,94,43,0.18);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--c-burnt-dark);
}

.btn-secondary {
  background: rgba(26,58,58,0.08);
  color: var(--c-forest);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background: rgba(26,58,58,0.12);
}

.hero-panel,
.card,
.plan-card,
.contact-panel,
.testimonial-card {
  background: white;
  border-radius: 28px;
  border: 1px solid rgba(26,58,58,0.08);
  box-shadow: 0 24px 68px rgba(26,58,58,0.08);
}

.hero-panel {
  padding: 42px;
}

.hero-panel.panel-compact {
  padding: 36px;
}

.feature-grid.stack {
  margin-top: 32px;
  grid-template-columns: 1fr;
}

.service-grid.wide {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.hero-panel p {
  color: var(--c-muted);
  line-height: 1.8;
}

.stats-grid,
.card-grid,
.plan-grid,
.features-grid,
.steps-grid,
.contact-grid,
.testimonial-grid {
  display: grid;
  gap: 24px;
}

.contact-grid {
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: start;
}

.contact-section .card {
  margin-top: 32px;
}

.card-grid,
.features-grid,
.plan-grid,
.steps-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.stat-card,
.card,
.plan-card,
.testimonial-card {
  padding: 32px;
}

.stat-card {
  display: grid;
  gap: 16px;
  background: rgba(255,255,255,0.92);
}

/* Stat cards sitting inside the hero panel are tighter and wrap on their own. */
.hero-panel .stats-grid {
  margin-top: 28px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.hero-panel .stat-card {
  padding: 0;
  gap: 10px;
  background: none;
}

.hero-panel .stat-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0;
}

.hero-panel .stat-card p {
  font-size: 14px;
  line-height: 1.6;
}

.stat-card h3,
.plan-card h3,
.card h3,
.testimonial-card h3 {
  font-family: var(--f-display);
  font-size: 1.5rem;
  margin-bottom: 14px;
  color: var(--c-forest);
}

.stat-card p,
.card p,
.plan-card p,
.testimonial-card p {
  color: var(--c-muted);
  line-height: 1.8;
}

.plan-card {
  display: grid;
  gap: 20px;
}

.plan-card.highlight {
  background: var(--c-forest);
  color: white;
  border-color: rgba(255,255,255,0.12);
}

.plan-card.highlight .plan-price,
.plan-card.highlight .plan-name,
.plan-card.highlight ul li {
  color: white;
}

/*
  The muted body/price colours are unreadable on the forest card, so the
  highlighted plan re-tints everything that would otherwise inherit them.
*/
.plan-card.highlight p,
.plan-card.highlight .plan-price small {
  color: rgba(255,255,255,0.78);
}

.plan-card.highlight .plan-list li::before {
  color: var(--c-burnt-soft);
}

.plan-name {
  font-size: 1.35rem;
  font-weight: 700;
}

.plan-price {
  font-family: var(--f-display);
  font-size: 3rem;
  line-height: 1;
  color: var(--c-burnt);
}

.plan-price small {
  font-size: 1.1rem;
  color: var(--c-muted);
}

.plan-list {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 12px;
}

.plan-list li {
  position: relative;
  padding-left: 28px;
  color: inherit;
}

.plan-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 1.4rem;
  color: var(--c-burnt);
}

.section-splits {
  display: grid;
  gap: 42px;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

.contact-section {
  padding: 80px 0;
  background: linear-gradient(180deg, rgba(26,58,58,0.96) 0%, rgba(26,58,58,0.92) 100%);
  color: white;
}

/*
  The default burnt label is too dark to read on the forest bands, so both
  dark sections step up to the soft tint.
*/
.contact-section .section-label,
.cta-band .section-label {
  color: var(--c-burnt-soft);
}

.contact-section .section-title {
  color: white;
}

.contact-section .section-copy {
  color: rgba(255,255,255,0.85);
}

.contact-section .card {
  border-color: rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08);
  color: white;
}

.contact-section .card h3 {
  color: white;
}

.contact-section .card p {
  color: rgba(255,255,255,0.85);
}

.contact-section .card a {
  color: var(--c-burnt-soft);
}

.contact-panel {
  padding: 36px;
  background: var(--c-surface);
  border-radius: 28px;
  border: 1px solid rgba(26,58,58,0.08);
  box-shadow: 0 24px 68px rgba(26,58,58,0.08);
  color: var(--c-text);
}

.contact-panel label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-forest);
}

/*
  These use background-color, never the `background` shorthand. The shorthand
  resets background-position/size/repeat, which would wipe out the custom
  select chevron defined below and repaint the control.
*/
.contact-panel input,
.contact-panel textarea,
.contact-panel select {
  width: 100%;
  border: 1px solid rgba(26,58,58,0.12);
  border-radius: 14px;
  padding: 14px 16px;
  background-color: var(--c-surface-soft);
  color: var(--c-text);
  font-size: 15px;
  margin-top: 8px;
}

.contact-panel input:focus,
.contact-panel textarea:focus,
.contact-panel select:focus {
  outline: none;
  border-color: rgba(26,58,58,0.25);
  box-shadow: 0 0 0 4px rgba(26,58,58,0.06);
}

.contact-section .contact-panel {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.14);
  color: white;
}

.contact-section .contact-panel label {
  color: #f4f1ea;
}

.contact-section .contact-panel input,
.contact-section .contact-panel textarea,
.contact-section .contact-panel select {
  border-color: rgba(255,255,255,0.18);
  background-color: rgba(255,255,255,0.08);
  color: white;
}

.contact-section .contact-panel input:focus,
.contact-section .contact-panel textarea:focus,
.contact-section .contact-panel select:focus {
  border-color: rgba(255,255,255,0.45);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.1);
}

.request-section .contact-panel {
  background: white;
  color: var(--c-text);
  border-color: rgba(26,58,58,0.08);
}

/*
  Custom chevron on every select, not just the request page. Must sit after
  the background shorthands above, which would otherwise reset background-image.
*/
.contact-panel select {
  appearance: none;
  padding-right: 44px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--c-text) 50%),
    linear-gradient(-45deg, transparent 50%, var(--c-text) 50%);
  background-position: right 18px center, right 12px center;
  background-size: 7px 7px;
  background-repeat: no-repeat;
}

.contact-section .contact-panel select {
  background-image:
    linear-gradient(45deg, transparent 50%, #ffffff 50%),
    linear-gradient(-45deg, transparent 50%, #ffffff 50%);
}

/* The native option list does not inherit the translucent panel background. */
.contact-section .contact-panel select option {
  background: var(--c-forest);
  color: white;
}

.contact-panel textarea { min-height: 150px; resize: vertical; }

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

.contact-panel .btn {
  width: 100%;
}

/*
  Default is the light-panel treatment, because the request page renders this
  banner on a white card. The dark contact band overrides it below.
*/
.success-message {
  display: none;
  margin-top: 20px;
  padding: 20px 22px;
  border-radius: 14px;
  background: rgba(26,58,58,0.06);
  color: var(--c-forest);
  border: 1px solid rgba(26,58,58,0.16);
  font-size: 15px;
}

.contact-section .success-message {
  background: rgba(255,255,255,0.12);
  color: #f8f4e9;
  border-color: rgba(255,255,255,0.2);
}

.testimonial-card {
  display: grid;
  gap: 18px;
}

.testimonial-card blockquote {
  margin: 0;
  color: var(--c-muted);
  line-height: 1.8;
}

.testimonial-card footer {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--c-muted);
}

.section {
  padding: 100px 0;
}

.section.alt {
  background: var(--c-surface-soft);
}

.service-grid,
.project-grid,
.faq-list,
.feature-grid {
  display: grid;
  gap: 24px;
}

.service-grid,
.feature-grid,
.project-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.service-card,
.feature-card,
.project-card,
.faq-card {
  background: white;
  border-radius: 24px;
  border: 1px solid rgba(26,58,58,0.08);
  padding: 30px;
  box-shadow: 0 20px 50px rgba(26,58,58,0.06);
}

.service-card h3,
.feature-card h3,
.project-card h3 {
  margin-bottom: 16px;
  font-family: var(--f-display);
  font-size: 1.3rem;
  color: var(--c-forest);
}

.service-card p,
.feature-card p,
.project-card p {
  color: var(--c-muted);
  line-height: 1.8;
}

.hero-visual {
  position: relative;
  min-height: 420px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.9));
  border: 1px solid rgba(26,58,58,0.08);
  display: grid;
  place-items: center;
}

.hero-visual img {
  width: 100%;
  height: auto;
  border-radius: 28px;
  object-fit: cover;
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(196,94,43,0.12), transparent 35%);
  pointer-events: none;
}

.project-card {
  min-height: 220px;
  display: grid;
  gap: 18px;
}

.project-card .project-thumb {
  height: 170px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(26,58,58,0.08), rgba(196,94,43,0.12));
  display: grid;
  place-items: center;
  color: var(--c-muted);
}

.project-card .project-thumb span {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.faq-list details {
  background: white;
  border: 1px solid rgba(26,58,58,0.08);
  border-radius: 18px;
  padding: 20px 24px;
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-forest);
  outline: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.faq-list summary:focus-visible {
  outline: 2px solid var(--c-burnt);
  outline-offset: 4px;
  border-radius: 4px;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: '';
  flex: none;
  width: 9px;
  height: 9px;
  margin-right: 4px;
  border-right: 2px solid var(--c-muted);
  border-bottom: 2px solid var(--c-muted);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after {
  transform: translateY(2px) rotate(-135deg);
}

.faq-list p {
  margin-top: 16px;
  color: var(--c-muted);
  line-height: 1.8;
}

/* ---------- Nav CTA ---------- */

.nav .nav-cta {
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--c-forest);
  color: var(--c-cream);
  font-size: 14px;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.nav .nav-cta:hover {
  background: var(--c-forest-deep);
  color: var(--c-cream);
  transform: translateY(-1px);
}

/* ---------- Hero care panel (replaces the OG image as hero art) ---------- */

.care-panel {
  display: grid;
  gap: 14px;
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(160deg, var(--c-forest) 0%, var(--c-forest-deep) 100%);
  color: var(--c-cream);
}

.care-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}

.care-panel-head strong {
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 600;
}

.care-panel-head span {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.care-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
}

.care-row span:first-child {
  color: rgba(255,255,255,0.82);
}

.care-status {
  flex: none;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(244,165,116,0.16);
  color: var(--c-burnt-soft);
}

/* ---------- Factual stats band ---------- */

.stats-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-top: 56px;
  padding-top: 44px;
  border-top: 1px solid var(--c-line);
}

.stats-band .stat-figure {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--c-forest);
  margin-bottom: 10px;
}

.stats-band .stat-label {
  display: block;
  font-size: 14px;
  color: var(--c-muted);
}

/* ---------- Process steps ---------- */

.step-card {
  position: relative;
  background: white;
  border-radius: 24px;
  border: 1px solid rgba(26,58,58,0.08);
  padding: 30px;
  box-shadow: 0 20px 50px rgba(26,58,58,0.06);
}

.step-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: rgba(196,94,43,0.12);
  color: var(--c-burnt);
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-weight: 600;
}

.step-card h3 {
  margin-bottom: 14px;
  font-family: var(--f-display);
  font-size: 1.3rem;
  color: var(--c-forest);
}

.step-card p {
  color: var(--c-muted);
  line-height: 1.8;
}

/* ---------- Dark CTA band ---------- */

.cta-band {
  padding: 96px 0;
  background: linear-gradient(180deg, var(--c-forest) 0%, var(--c-forest-deep) 100%);
  color: white;
  text-align: center;
}

.cta-band .section-title {
  color: white;
  max-width: 16ch;
  margin-left: auto;
  margin-right: auto;
}

.cta-band .section-copy {
  color: rgba(255,255,255,0.82);
  margin-left: auto;
  margin-right: auto;
}

.cta-band .cta-group {
  justify-content: center;
}

.cta-band .btn-secondary {
  background: rgba(255,255,255,0.12);
  color: white;
}

.cta-band .btn-secondary:hover {
  background: rgba(255,255,255,0.2);
  color: white;
}

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

.footer {
  padding: 72px 0 44px;
  color: var(--c-muted);
  font-size: 14px;
  background: var(--c-surface-soft);
  border-top: 1px solid var(--c-line);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-col h3 {
  margin-bottom: 18px;
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-forest);
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 12px;
}

.footer-col a:hover {
  color: var(--c-burnt-dark);
}

.footer-blurb {
  margin-top: 16px;
  max-width: 34ch;
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--c-line);
  font-size: 13px;
}

.section-divider {
  width: 100%;
  height: 1px;
  background: rgba(26,58,58,0.08);
  margin: 24px 0;
}

@media (max-width: 980px) {
  .hero-inner,
  .hero-page-inner,
  .section-splits,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  header { padding-top: 24px; }
  .hero {
    padding-top: 64px;
  }
  .hero-title { font-size: clamp(2.5rem, 8vw, 3.6rem); }
  .section-title { font-size: clamp(1.9rem, 6.4vw, 2.5rem); }
  .section { padding: 72px 0; }
  .cta-band { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }

  /* Keep the CTA reachable once the in-page links collapse away. */
  .nav a:not(.nav-cta) { display: none; }
  .nav { gap: 0; }

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