/* ==========================================================================
   Content pages — home, editorial sections, FAQ, contact
   ========================================================================== */

/* ------------------------------------------------------- Page chrome -- */

.page-hero {
  background: var(--teal-100);
  border-bottom: 1px solid var(--line);
  padding: clamp(2rem, 5vw, 3.5rem) var(--gutter) clamp(2.5rem, 6vw, 4.5rem);
}
.page-hero > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.page-hero .breadcrumbs { max-width: var(--maxw); }
.page-hero h1 { margin-bottom: .8rem; }
.page-hero > p { max-width: 68ch; font-size: 1.05rem; color: var(--body); margin: 0 auto; }
.page-hero .breadcrumbs { margin-bottom: 1.6rem; }

.page-body {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter) clamp(3rem, 7vw, 5.5rem);
}

/* -------------------------------------------------------------- Home -- */

.hero-home {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  background: var(--teal-100);
  padding: clamp(3rem, 8vw, 6.5rem) var(--gutter);
}
.hero-home > * { max-width: calc(var(--maxw) / 2); }
.hero-copy { margin-left: auto; }
.hero-home h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); margin-bottom: 1.3rem; }
.hero-home h1 em { color: var(--teal-500); font-style: normal; }
.hero-lead { font-size: 1.08rem; line-height: 1.8; color: var(--body); max-width: 52ch; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

.hero-media {
  margin-right: auto;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-md);
}
.hero-img { width: 100%; height: auto; max-height: 620px; object-fit: contain; }

/* Trust strip */
.trust-strip {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.trust-strip ul {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-strip li {
  padding: 1.9rem 1.5rem;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.trust-strip li:first-child { padding-left: 0; }
.trust-strip li:last-child { border-right: 0; }
.trust-strip strong {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--teal-600);
}
.trust-strip span { font-size: .84rem; color: var(--muted); line-height: 1.6; }

/* Sections */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6.5rem) var(--gutter);
}
.section-alt {
  max-width: none;
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-alt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }

.section-head { max-width: 62ch; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.section-title { margin-bottom: .8rem; }
.section-lead { color: var(--muted); font-size: 1.02rem; line-height: 1.8; }
.section-more { margin-top: 2.2rem; }

/* Category cards */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.2rem;
}
.cat-card {
  display: block;
  padding: 1.9rem 1.7rem;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 2px solid var(--teal-400);
  border-radius: var(--radius);
  color: var(--body);
  transition: border-top-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.cat-card:hover { border-top-color: var(--teal-600); box-shadow: var(--shadow-md); transform: translateY(-3px); color: var(--body); }
.cat-card h3 { font-size: 1.2rem; margin-bottom: .6rem; color: var(--ink); }
.cat-card p { font-size: .88rem; line-height: 1.7; color: var(--muted); margin-bottom: 1.1rem; }
.cat-count { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-500); }

/* Split editorial section */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: var(--teal-100);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
/* The crop is fixed by the section's own height, so the portrait photograph
   fills exactly half the band instead of being letterboxed against white. */
.split-media { position: relative; min-height: clamp(340px, 42vw, 560px); overflow: hidden; background: var(--teal-100); }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 5.5rem);
  max-width: 640px;
}
.split-copy h2 { margin-bottom: 1.2rem; }
.split-copy p { color: var(--body); font-size: .98rem; line-height: 1.85; }
.split-copy .text-link { margin-top: .8rem; }

/* Steps */
.steps { display: grid; gap: 1.5rem; counter-reset: step; }
.steps li {
  padding-top: 1.2rem;
  border-top: 2px solid var(--teal-400);
}
.steps h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.steps p { font-size: .92rem; line-height: 1.75; color: var(--muted); margin: 0; }
.steps-row { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.step-num {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: .9rem;
  color: var(--gold);
  margin-bottom: .5rem;
}

/* CTA band */
.cta-band {
  background: var(--teal-700);
  color: #d9ecea;
  text-align: center;
  padding: clamp(3.5rem, 8vw, 6rem) var(--gutter);
}
.cta-band h2 { color: #fff; margin-bottom: 1rem; }
.cta-band p { max-width: 62ch; margin: 0 auto 2rem; font-size: 1rem; line-height: 1.8; }

/* --------------------------------------------------------- Content -- */

.prose { margin-bottom: clamp(2.2rem, 5vw, 3.4rem); }
.prose:last-child { margin-bottom: 0; }
.prose h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin-bottom: 1rem; }
.prose h3 { margin: 1.6rem 0 .6rem; font-size: 1.12rem; }
.prose p { font-size: 1rem; line-height: 1.9; color: var(--body); }

/* FAQ — <details> keeps answers in the DOM for crawlers while staying closed
   in the UI, and works without JavaScript. */
.faq-list { display: grid; gap: .7rem; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
}
.faq-item[open] { border-color: var(--teal-300); }
.faq-item summary {
  cursor: pointer;
  padding: 1.1rem 3rem 1.1rem 1.3rem;
  position: relative;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { display: inline; font-size: 1.05rem; margin: 0; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.3rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--teal-500);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover h3 { color: var(--teal-600); }
.faq-answer { padding: 0 1.3rem 1.3rem; }
.faq-answer p { margin: 0; font-size: .95rem; line-height: 1.85; color: var(--body); }

.contact-list { display: grid; gap: .1rem; margin-top: 1.2rem; }
.contact-list li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  padding: .95rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: .95rem;
}
.contact-list li span {
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: .25rem;
}

/* ------------------------------------------------------ Enquiry form -- */

.enquiry {
  margin-top: clamp(2.2rem, 5vw, 3.4rem);
  padding: clamp(1.6rem, 4vw, 2.8rem);
  background: var(--teal-50);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.enquiry h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin-bottom: .7rem; }
.enquiry-lead {
  max-width: 62ch;
  margin-bottom: 1.8rem;
  font-size: .95rem;
  line-height: 1.85;
  color: var(--body);
}

.enquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.4rem; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field-wide { grid-column: 1 / -1; }
.field label {
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
}
.enquiry-opt {
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: none;
  color: var(--muted);
}
.field input,
.field textarea {
  width: 100%;
  padding: .8rem .95rem;
  font: inherit;
  font-size: .95rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal-400);
  box-shadow: 0 0 0 3px rgba(36, 119, 115, .13);
}
.field textarea { min-height: 9rem; line-height: 1.75; resize: vertical; }

/* Hidden from people, findable by scrapers. `display: none` is the first thing
   a bot checks, so the field is pushed off-screen and sized down instead — it
   still takes part in submission, which is the whole point. */
.enquiry-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.enquiry-consent {
  grid-column: 1 / -1;
  margin: 0;
  font-size: .82rem;
  line-height: 1.7;
  color: var(--muted);
}
.enquiry-actions { grid-column: 1 / -1; }
.enquiry-status { grid-column: 1 / -1; margin: 0; font-size: .95rem; line-height: 1.7; }
.enquiry-status.is-ok { color: var(--teal-700); font-weight: 600; }
.enquiry-status.is-bad { color: #a4392f; }

/* ----------------------------------------------------------- 404 -- */

.notfound {
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(4rem, 12vw, 9rem) var(--gutter);
  text-align: center;
}
.notfound h1 { margin-bottom: 1rem; }
.notfound p { color: var(--muted); }
.notfound .btn { margin: .4rem .3rem 0; }

/* ------------------------------------------------------ Responsive -- */

@media (max-width: 900px) {
  .hero-home { grid-template-columns: 1fr; padding-top: 2.5rem; }
  .hero-home > * { max-width: 100%; }
  .hero-copy { order: 2; }
  .hero-media { order: 1; max-width: 460px; margin: 0 auto; }
  .hero-img { max-height: 420px; }
  .trust-strip ul { grid-template-columns: 1fr 1fr; }
  .trust-strip li:nth-child(2n) { border-right: 0; }
  .trust-strip li:first-child { padding-left: 1.5rem; }
  .split-section { grid-template-columns: 1fr; }
  .split-media { min-height: 260px; order: -1; }
  .steps-row { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 600px) {
  .trust-strip ul { grid-template-columns: 1fr; }
  .trust-strip li { border-right: 0; border-bottom: 1px solid var(--line); padding-left: 0; }
  .trust-strip li:first-child { padding-left: 0; }
  .trust-strip li:last-child { border-bottom: 0; }
  .contact-list li { grid-template-columns: 1fr; gap: .15rem; }
  .contact-list li span { padding-top: 0; }
  .enquiry-form { grid-template-columns: 1fr; }
}
