/* ── Sub-page styles (about, services, contact) ──────────── */

/* ── Page header (sub-pages) ─────────────────────────────── */
.page-header {
  background: linear-gradient(160deg, var(--forest-900) 0%, var(--forest-700) 100%);
  color: var(--paper); padding: 100px 0 80px;
  position: relative; overflow: hidden;
}
.page-header::before { content: none; }
.page-header .wrap { position: relative; z-index: 2; }
.page-header .crumbs {
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--sage-200); margin-bottom: 18px;
}
.page-header .crumbs a { color: inherit; opacity: .7; }
.page-header .crumbs a:hover { opacity: 1; color: var(--clay-300); }
.page-header .crumbs span { color: var(--clay-300); margin: 0 10px; opacity: .6; }
.page-header h1 {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(48px, 7vw, 88px); line-height: 1;
  letter-spacing: -.01em; margin-bottom: 24px;
  max-width: 18ch;
}
.page-header h1 .em { font-style: italic; color: var(--clay-300); }
.page-header p.lead {
  font-family: var(--f-display); font-size: clamp(18px, 2vw, 24px);
  line-height: 1.5; max-width: 56ch;
  color: rgba(247,243,236,.85); font-weight: 300;
}

/* ── About page ──────────────────────────────────────────── */
.about-grid {
  display: block;
  max-width: 760px; margin: 0 auto;
}
.about-portrait {
  position: sticky; top: 120px;
  aspect-ratio: 4/5; border-radius: var(--r-md);
  overflow: hidden; background: var(--paper-3);
  box-shadow: var(--shadow-lg);
}
.about-portrait img { width: 100%; height: 100%; object-fit: cover; }
.about-prose h2 {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(32px, 4vw, 44px); line-height: 1.1;
  color: var(--forest-900); margin: 56px 0 20px;
}
.about-prose h2:first-child { margin-top: 0; }
.about-prose h2 .em { font-style: italic; color: var(--clay-600); }
.about-prose p {
  font-size: 17px; color: var(--ink-2); line-height: 1.75;
  margin-bottom: 20px;
}
.about-prose p strong { color: var(--forest-900); font-weight: 600; }
.about-prose ul {
  list-style: none; padding: 0; margin: 24px 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px;
}
@media (max-width: 580px) { .about-prose ul { grid-template-columns: 1fr; } }
.about-prose ul li {
  display: flex; gap: 12px; padding: 8px 0;
  font-size: 16px; color: var(--ink-2);
}
.about-prose ul li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--clay-500); margin-top: 11px; flex-shrink: 0;
}

.cred-card {
  background: var(--paper-2); border-left: 3px solid var(--clay-500);
  padding: 28px 32px; border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: 40px 0;
}
.cred-card h4 {
  font-family: var(--f-display); font-size: 22px;
  font-weight: 500; color: var(--forest-900); margin-bottom: 8px;
}
.cred-card p { color: var(--ink-2); font-size: 15px; }

/* ── Services page ───────────────────────────────────────── */
.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
@media (max-width: 820px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
  background: var(--white); padding: 40px 36px;
  border-radius: var(--r-md); border: 1px solid var(--line);
  position: relative; transition: all var(--t-med);
}
.service-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
  border-color: var(--sage-300);
}
.service-card .ico {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--sage-100); color: var(--forest-700);
  display: grid; place-items: center; margin-bottom: 24px;
}
.service-card .ico svg { width: 24px; height: 24px; }
.service-card h3 {
  font-family: var(--f-display); font-size: 30px;
  font-weight: 500; color: var(--forest-900);
  line-height: 1.15; margin-bottom: 14px;
}
.service-card p { color: var(--ink-2); font-size: 16px; line-height: 1.7; margin-bottom: 14px; }
.service-card .tags {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px;
  padding-top: 20px; border-top: 1px solid var(--line-2);
}
.service-card .tag {
  font-size: 11px; letter-spacing: .15em; text-transform: uppercase;
  background: var(--paper-2); color: var(--forest-700);
  padding: 6px 12px; border-radius: var(--r-pill); font-weight: 500;
}

/* Approach / methodology breakdown */
.method-row {
  display: grid; grid-template-columns: 220px 1fr;
  gap: 48px; padding: 40px 0; border-bottom: 1px solid var(--line);
}
.method-row:last-child { border-bottom: none; }
@media (max-width: 760px) { .method-row { grid-template-columns: 1fr; gap: 16px; } }
.method-row .step {
  font-family: var(--f-display); font-size: 80px;
  font-style: italic; font-weight: 400; line-height: 1;
  color: var(--clay-300);
}
.method-row .body h3 {
  font-family: var(--f-display); font-size: 30px; font-weight: 500;
  color: var(--forest-900); margin-bottom: 12px; line-height: 1.15;
}
.method-row .body p { color: var(--ink-2); font-size: 16px; line-height: 1.7; }

/* ── Contact page ────────────────────────────────────────── */
.contact-layout {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 64px; align-items: start;
}
@media (max-width: 920px) { .contact-layout { grid-template-columns: 1fr; gap: 40px; } }

.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-info-card {
  background: var(--white); border: 1px solid var(--line);
  padding: 28px 32px; border-radius: var(--r-md);
  display: grid; grid-template-columns: 48px 1fr;
  gap: 20px; align-items: start;
}
.contact-info-card .ico {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--sage-100); color: var(--forest-700);
  display: grid; place-items: center;
}
.contact-info-card .ico svg { width: 20px; height: 20px; }
.contact-info-card h4 {
  font-size: 11px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 6px;
}
.contact-info-card .val {
  font-family: var(--f-display); font-size: 22px;
  font-weight: 500; color: var(--forest-900);
}
.contact-info-card .val a:hover { color: var(--clay-600); }
.contact-info-card .sub { font-size: 14px; color: var(--ink-2); margin-top: 4px; }

.contact-form {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 40px;
  box-shadow: var(--shadow-md);
}
.contact-form h3 {
  font-family: var(--f-display); font-size: 32px;
  font-weight: 500; color: var(--forest-900);
  margin-bottom: 8px; line-height: 1.15;
}
.contact-form .sub { color: var(--ink-2); margin-bottom: 28px; }
.field { margin-bottom: 22px; }
.field label {
  display: block; font-size: 12px; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--forest-800); margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px;
  border: 1.5px solid var(--line); border-radius: var(--r-sm);
  font-family: var(--f-sans); font-size: 16px; color: var(--ink);
  background: var(--paper); transition: border-color var(--t-fast), background var(--t-fast);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--forest-700);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(106,138,118,.15);
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 540px) { .field-row { grid-template-columns: 1fr; } }
.checkbox-row {
  display: flex; align-items: flex-start; gap: 12px; margin: 24px 0;
  font-size: 13px; color: var(--ink-2); line-height: 1.5;
}
.checkbox-row input { margin-top: 3px; }
.contact-form .submit-row {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px; margin-top: 8px;
}
.contact-form .form-note {
  font-size: 12px; color: var(--muted); max-width: 36ch;
}
.form-success, .form-error {
  display: none; padding: 16px 20px; border-radius: var(--r-sm);
  margin-bottom: 20px; font-size: 15px;
}
.form-success { background: var(--sage-100); color: var(--forest-800); border: 1px solid var(--sage-300); }
.form-error { background: #fbe6e1; color: var(--clay-700); border: 1px solid var(--clay-300); }
.form-success.show, .form-error.show { display: block; }

.map-block {
  margin-top: 56px; border-radius: var(--r-md);
  overflow: hidden; border: 1px solid var(--line);
  aspect-ratio: 21/9; background: var(--paper-2);
}
.map-block iframe { width: 100%; height: 100%; border: 0; }

/* ── FAQ accordion ───────────────────────────────────────── */
.faq { max-width: 880px; margin: 0 auto; }
.faq-item {
  border-top: 1px solid var(--line);
  padding: 24px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; text-align: left; gap: 24px; cursor: pointer;
  font-family: var(--f-display); font-size: 22px; font-weight: 500;
  color: var(--forest-900); line-height: 1.3;
  padding: 0; background: none; border: none;
}
.faq-q .toggle {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--sage-100); color: var(--forest-700);
  display: grid; place-items: center;
  transition: transform var(--t-med), background var(--t-fast);
  flex-shrink: 0;
}
.faq-q .toggle svg { width: 14px; height: 14px; transition: transform var(--t-med); }
.faq-item.open .faq-q .toggle { background: var(--clay-500); color: var(--paper); }
.faq-item.open .faq-q .toggle svg { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height var(--t-med), padding var(--t-med);
}
.faq-item.open .faq-a { max-height: 500px; padding-top: 16px; }
.faq-a p { color: var(--ink-2); font-size: 16px; line-height: 1.7; }

/* ── Legal pages ─────────────────────────────────────────── */
.legal-page { padding: 80px 0; }
.legal-page h1 {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(36px, 5vw, 56px); line-height: 1;
  color: var(--forest-900); margin-bottom: 12px;
}
.legal-page .updated {
  font-size: 13px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 40px;
}
.legal-page h2 {
  font-family: var(--f-display); font-size: 26px; font-weight: 500;
  color: var(--forest-900); margin: 36px 0 14px;
}
.legal-page p, .legal-page li {
  color: var(--ink-2); font-size: 16px; line-height: 1.75; margin-bottom: 14px;
}
.legal-page ul { padding-left: 20px; list-style: disc; margin-bottom: 18px; }
.legal-page a { color: var(--clay-600); text-decoration: underline; }
