:root {
  color-scheme: light;
  --ink: #24291e;
  --muted: #5c6252;
  --olive: #435039;
  --cream: #f8f6ed;
  --paper: #fffef9;
  --line: #e4e3d7;
  --gold: #f4c541;
  --dark-gold: #e9b82d;
  --radius: 24px;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #657952; outline-offset: 4px; }
section[id], #booking { scroll-margin-top: 24px; }
.shell { width: min(1200px, calc(100% - 88px)); margin-inline: auto; }
.skip { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 10px; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 26px; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 1.4rem; letter-spacing: -.06em; font-weight: 800; white-space: nowrap; }
.brand span span { color: var(--olive); margin-left: .13em; }
nav { display: flex; flex-wrap: wrap; gap: clamp(16px, 3vw, 38px); font-size: .92rem; }
nav a, .footer-inner > a:last-child { text-decoration: none; font-weight: 650; }
nav a:hover, .footer-inner > a:last-child:hover { text-decoration: underline; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; text-decoration: none; font-weight: 750; color: var(--ink); border: 1px solid transparent; border-radius: 10px; padding: 11px 16px; min-height: 46px; line-height: 1.3; white-space: nowrap; }
.button-outline { border-color: #cccebf; background: transparent; }
.button-outline:hover { background: var(--cream); }
.button-primary { background: var(--gold); }
.button-primary:hover { background: var(--dark-gold); }

.hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(38px, 6vw, 92px); align-items: center; padding-block: 65px 72px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 13px; color: var(--olive); font-size: .76rem; letter-spacing: .15em; font-weight: 800; }
.eyebrow > span { width: 17px; height: 3px; border-radius: 8px; background: #bd9022; }
h1, .section-title { font-family: Georgia, "Times New Roman", serif; font-weight: 400; margin: 0; letter-spacing: -.055em; line-height: 1.01; }
h1 { font-size: clamp(3.55rem, 6.25vw, 6.25rem); }
h1 em { color: var(--olive); }
.intro { font-size: 1.12rem; color: var(--muted); max-width: 390px; margin: 20px 0 25px; }
.hero-visual { align-self: start; position: sticky; top: 28px; overflow: hidden; border-radius: var(--radius); background: #ded7c2; aspect-ratio: 1.04; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 55% center; }
.image-caption { position: absolute; inset: auto auto 18px 18px; display: flex; align-items: center; gap: 9px; border-radius: 12px; padding: 9px 13px 9px 9px; background: var(--paper); font-weight: 750; font-size: .83rem; box-shadow: 0 3px 18px #24291e24; }
.caption-icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #e3ead9; color: var(--olive); }

.booking-box { max-width: 492px; border: 1px solid var(--line); border-radius: 18px; padding: 18px; background: var(--paper); box-shadow: 0 8px 24px #3338190a; }
.booking-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 13px; }
.booking-icon { display: grid; place-items: center; flex: 0 0 42px; height: 42px; background: #f6ebc3; border-radius: 11px; }
.booking-icon svg, .service-icon svg { width: 22px; height: 22px; }
.booking-heading h2 { font-size: 1rem; margin: 0; }
.booking-heading p { margin: 0; color: var(--muted); font-size: .85rem; }
.input-row { display: flex; align-items: stretch; gap: 8px; }
.input-row input { flex: 1; }
input, select, textarea { padding: 9px 11px; min-height: 44px; min-width: 0; border: 1px solid #cccdbf; border-radius: 9px; background: var(--paper); color: var(--ink); }
textarea { resize: vertical; }
.status { margin: 10px 0 0; font-size: .88rem; color: var(--muted); }
.status:empty { margin: 0; }
.status[data-tone="success"] { color: #355137; }
.status[data-tone="error"] { color: #923b22; }
.preview-label { margin: 0 0 8px; font-size: .8rem; color: #654f15; font-weight: 750; }
.request-form { display: grid; gap: 12px; border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; }
.request-form .button { justify-self: start; }
.request-form .status { margin-top: 0; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.request-form label { display: block; font-size: .85rem; font-weight: 750; min-width: 0; }
.request-form select, .request-form textarea { display: block; width: 100%; margin-top: 4px; font-weight: 400; }
.optional { font-weight: 400; color: var(--muted); }

.services { background: #efefe5; padding-block: 52px 60px; }
.section-title { font-size: clamp(2.55rem, 4.8vw, 4.4rem); }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 25px; }
.service-card { border: 1px solid var(--line); border-radius: 17px; background: var(--paper); padding: 24px; }
.service-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 11px; }
.electrical { background: #f6ebc3; color: #674e10; }
.plumbing { background: #e5ecdc; color: var(--olive); }
.service-card h3, .steps h3 { font-size: 1.22rem; margin: 12px 0 4px; }
.service-card p, .steps p { margin: 0 0 12px; color: var(--muted); }
.service-card a, #support-link { color: var(--olive); font-weight: 750; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.process { padding-block: 60px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 0; margin: 29px 0 0; counter-reset: steps; }
.steps li { counter-increment: steps; border-top: 1px solid #cdd0c0; padding-top: 16px; }
.steps li::before { content: counter(steps); display: grid; place-items: center; background: var(--gold); width: 32px; height: 32px; border-radius: 50%; font-weight: 800; }
.help { background: #e9eddf; padding-block: 54px; }
.help-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 25px; }
#support-link { display: inline-block; margin-top: 15px; }
details { border-bottom: 1px solid #c8cebd; padding-block: 13px; }
.faq details:first-child { border-top: 1px solid #c8cebd; }
summary { cursor: pointer; font-weight: 740; }
details p { margin: 10px 0 0; color: var(--muted); }
.footer { background: var(--paper); }
.footer-inner p, .footer-inner > a:last-child { color: var(--muted); font-size: .85rem; }

@media (max-width: 940px) {
  .shell { width: calc(100% - 48px); }
  .hero { gap: 28px; }
  h1 { font-size: clamp(3rem, 7vw, 5rem); }
}
@media (max-width: 740px) {
  .hero { grid-template-columns: 1fr; gap: 24px; padding-block: 37px 42px; }
  .hero-visual { position: relative; top: auto; aspect-ratio: 1.45; }
  .booking-box { max-width: none; }
  h1 { font-size: clamp(3.25rem, 12vw, 5.3rem); }
  .header-inner { flex-wrap: wrap; gap: 9px 15px; padding-block: 12px; }
  nav { order: 3; width: 100%; gap: 22px; padding-top: 4px; }
  .header-inner .button { min-height: 40px; padding: 7px 10px; font-size: .82rem; gap: 6px; }
  .help-inner { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 460px) {
  .shell { width: calc(100% - 32px); }
  .service-grid, .field-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-wrap: wrap; justify-content: flex-start; gap: 8px 15px; padding-block: 13px; }
  .footer-inner p { margin: 0; }
  .booking-box { padding: 14px; }
  .input-row .button { gap: 6px; padding-inline: 10px; }
  .input-row input { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
