/* It's In The Details. Palette taken from the Horizons build's tokens: cream
   ground, deep green, a warm terracotta accent and sage. The accent is darkened
   from #cc5c33 to #b5512c so white button text passes WCAG AA contrast. */

:root {
  --cream: #f5f2ef;
  --cream-2: #ece6df;
  --green: #1c4a1c;
  --green-ink: #153715;
  --sage: #8aa88a;
  --gold: #d2a979;
  --warm: #b5512c;
  --warm-hi: #9e4524;
  --muted: #536d53;
  --line: #ded9d3;
  --white: #ffffff;
  --radius: 22px;
  --wrap: 1160px;
  --shadow: 0 14px 40px rgba(21, 55, 21, 0.1);
  --font: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--green-ink); font: 18px/1.65 var(--font); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--warm); text-underline-offset: 3px; }
a:hover { color: var(--warm-hi); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.6em; color: var(--green); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 700; }
h3, .h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--warm); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--warm); color: #fff; padding: 0.6rem 1rem; z-index: 100; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 1rem; }

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.narrow { max-width: 800px; }
.center { text-align: center; }
.small { font-size: 0.92rem; color: var(--muted); }
.eyebrow { color: var(--warm); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; font-weight: 600; margin-bottom: 0.8rem; }
.lede { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: #2e4a2e; max-width: 58ch; }
.section-lead { color: var(--muted); font-size: 1.1rem; max-width: 60ch; }
.text-link { font-weight: 600; }
.text-link::after { content: " \2192"; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0.8rem 1.6rem; border-radius: 14px; font: 600 1.05rem/1.2 var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform 0.15s, background 0.15s, color 0.15s, border-color 0.15s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.98); }
.btn-warm { background: var(--warm); color: #fff; box-shadow: 0 6px 18px rgba(181, 81, 44, 0.25); }
.btn-warm:hover { background: var(--warm-hi); color: #fff; }
.btn-outline { border-color: var(--green); color: var(--green); }
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--green); }
.btn-sm { min-height: 42px; padding: 0.45rem 1.1rem; font-size: 0.95rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: wait; }
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }

/* Header: the deep green bar the business already uses */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--green); color: #fff; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.brand-logo { width: 52px; height: 52px; filter: brightness(0) invert(1); }
.brand-name { font-weight: 600; font-size: 1.15rem; letter-spacing: 0.01em; }
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav a:not(.btn) { color: rgba(255, 255, 255, 0.88); text-decoration: none; font-weight: 500; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { color: var(--gold); }
.nav-toggle { display: none; background: none; border: 0; width: 46px; height: 46px; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 24px; height: 2px; background: #fff; position: relative; margin: auto; transition: transform 0.2s; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -7px; }
.bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--green); padding: 0.4rem 1.25rem 1.25rem; display: none; }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 0.9rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
  .site-nav .btn { margin-top: 1rem; }
}

/* Hero: portrait photograph in its own column, words beside it */
.hero { background: linear-gradient(160deg, var(--cream) 0%, var(--cream-2) 100%); padding: clamp(3rem, 7vw, 5.5rem) 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-photo { margin: 0; position: relative; }
.hero-photo::before { content: ""; position: absolute; inset: 8% -6% -6% 8%; background: var(--sage); opacity: 0.35; border-radius: calc(var(--radius) + 10px); z-index: 0; }
.hero-photo img { position: relative; z-index: 1; border-radius: calc(var(--radius) + 6px); box-shadow: var(--shadow); aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; width: 100%; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { max-width: 360px; }
}

.page-head { background: var(--cream); padding: clamp(3rem, 7vw, 5rem) 0 clamp(2rem, 5vw, 3rem); border-bottom: 1px solid var(--line); }

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-tight { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.section-cream { background: var(--cream); }
.grid { display: grid; gap: 1.5rem; margin-top: 2rem; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.wrap.grid { margin-top: 0; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.2rem); box-shadow: 0 1px 2px rgba(21, 55, 21, 0.04); }
.card-illustrated { padding-top: 0; overflow: hidden; }
.card-illustrated .card-media { display: block; width: calc(100% + 2 * clamp(1.5rem, 3vw, 2.2rem)); max-width: none; margin-inline: calc(-1 * clamp(1.5rem, 3vw, 2.2rem)); margin-block: 0 clamp(1.2rem, 2.5vw, 1.8rem); aspect-ratio: 3 / 2; object-fit: cover; }
.card-yes { border-top: 5px solid var(--sage); }
.card-no { border-top: 5px solid var(--gold); background: #fbf9f6; }
.service { border-left: 5px solid var(--warm); }
.service p { color: #2f4a2f; margin: 0; }
.ticks, .crosses { list-style: none; padding: 0; margin: 0; }
.ticks li, .crosses li { position: relative; padding-left: 2rem; margin-bottom: 0.7rem; }
.ticks li::before { content: "\2713"; position: absolute; left: 0; top: 0.05em; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: rgba(138, 168, 138, 0.3); color: var(--green); font-size: 0.8rem; font-weight: 700; display: grid; place-items: center; }
.crosses li::before { content: "\2715"; position: absolute; left: 0; top: 0.05em; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: rgba(210, 169, 121, 0.3); color: #7a5a31; font-size: 0.72rem; font-weight: 700; display: grid; place-items: center; }

.pull { margin: 0; padding: clamp(1.8rem, 4vw, 3rem); background: var(--green); color: #fff; border-radius: var(--radius); position: relative; }
.pull p { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 600; line-height: 1.3; margin: 0 0 1rem; color: #fff; }
.pull footer { color: rgba(255, 255, 255, 0.85); }

.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 2rem 0 0; }
.steps li { counter-increment: step; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--warm); color: #fff; font-weight: 700; margin-bottom: 1rem; }
.steps p { color: var(--muted); margin: 0; }

.split { display: grid; gap: 3rem; align-items: center; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.split-media { margin: 0; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

.prose p, .prose li { color: #2a452a; }
.prose h2 { margin-top: 2.2rem; font-size: 1.5rem; }
.prose ul { padding-left: 1.2rem; }

.cta-band { background: var(--green); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.88); }
.cta-inner { max-width: 760px; }
.cta-inner .actions { justify-content: center; }

/* Forms */
.form fieldset { border: 0; padding: 0; margin: 0 0 1.6rem; }
.form legend { font-size: 1.2rem; font-weight: 600; color: var(--green); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.6rem; }
.step-no { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--warm); color: #fff; font-size: 0.95rem; }
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; gap: 0 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.field label { display: block; font-weight: 500; margin-bottom: 0.35rem; }
.field label::after { content: " *"; color: var(--warm); }
.field input, .field select, .field textarea { width: 100%; font: 400 1rem/1.4 var(--font); color: var(--green-ink); background: #fff; border: 1.5px solid #cfc8bf; border-radius: 12px; padding: 0.8rem 0.9rem; min-height: 52px; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); outline: 3px solid rgba(28, 74, 28, 0.2); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field-error { color: #b3261e; font-size: 0.9rem; margin: 0.3rem 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1.2rem; padding: 1.1rem 1.3rem; border-radius: 14px; }
.form-status h2 { margin-bottom: 0.3rem; }
.form-status p { margin: 0; }
.form-ok { background: rgba(138, 168, 138, 0.25); border: 1px solid var(--sage); }
.form-bad { background: #fbeae5; border: 1px solid #e0a894; }
.form.is-sent .field, .form.is-sent fieldset, .form.is-sent button, .form.is-sent > .small { display: none; }

.contact-grid { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { margin: 1rem 0 1.5rem; }
.contact-list div { padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.contact-list dt { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--warm); font-weight: 600; }
.contact-list dd { margin: 0.2rem 0 0; }

/* Footer */
.site-footer { background: var(--green-ink); color: rgba(255, 255, 255, 0.85); padding: 3.5rem 0 1.5rem; font-size: 0.97rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1.5fr 1fr 1fr; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { width: 72px; height: 72px; filter: brightness(0) invert(1); margin-bottom: 1rem; }
.footer-h { color: var(--gold); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.4rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem; border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 2.5rem; padding-top: 1.3rem; font-size: 0.88rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a + a { margin-left: 1rem; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

/* FAQ: native <details>, so it works with no JavaScript and answer engines read every answer */
.faq { display: grid; gap: 0.85rem; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 16px; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.faq-item:hover { border-color: var(--warm); }
.faq-item[open] { border-color: var(--warm); box-shadow: inset 4px 0 0 var(--warm), var(--shadow); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.35rem; font-weight: 600; font-size: 1.08rem; color: var(--green-ink); border-radius: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: var(--cream) no-repeat center / 0.9rem url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%23b5512c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); transition: transform 0.25s ease, background-color 0.2s ease; }
.faq-item summary:hover::after { background-color: var(--cream-2); }
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item summary:focus-visible { outline: 3px solid var(--warm); outline-offset: 3px; }
.faq-a { padding: 0 1.35rem 1.3rem; }
.faq-a p { margin: 0; color: var(--warm-hi); line-height: 1.7; }
.faq-item[open] .faq-a { animation: faq-open 0.28s ease; }
@keyframes faq-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .faq-item, .faq-item summary::after, .faq-item[open] .faq-a { transition: none; animation: none; } }
