/* Website in a Weekend: starter template
   Plain CSS, mobile-first. Brand colours: pine green and warm sand. */

:root {
  --brand: #1B3A34;        /* main colour: header, headings, buttons */
  --accent: #E9B44C;       /* accent colour: highlights, hover */
  --text: #1f2622;
  --muted: #56605b;
  --bg: #ffffff;
  --soft: #f7f3ea;         /* light background for alternate sections */
  --line: #e8e2d6;
  --radius: 14px;
  --max: 1100px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

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

a { color: var(--brand); }
a:hover { color: var(--brand); text-decoration-color: var(--accent); text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

h1, h2, h3 { color: var(--brand); line-height: 1.2; margin: 0 0 0.5em; overflow-wrap: break-word; }
h1 { font-size: clamp(1.6rem, 6vw, 3.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--brand); color: #fff; padding: 10px 16px; z-index: 10; }
.skip-link:focus { left: 10px; top: 10px; }

/* ---------- header ---------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-header .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 14px; padding-bottom: 14px; }
.logo { font-weight: 800; font-size: 1.2rem; color: var(--brand); text-decoration: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.site-nav a { text-decoration: none; color: var(--text); font-weight: 600; padding: 6px 0; display: inline-block; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--brand); box-shadow: inset 0 -3px 0 var(--accent); }

/* ---------- buttons ---------- */
.button {
  display: inline-block; background: var(--brand); color: #fff; text-decoration: none; font-weight: 700;
  padding: 14px 26px; border-radius: 999px; border: 0; font-size: 1rem; cursor: pointer; min-height: 48px;
}
.button:hover { background: var(--accent); color: var(--text); }
.button.secondary { background: transparent; color: var(--brand); box-shadow: inset 0 0 0 2px var(--brand); }
.button[disabled], fieldset[disabled] .button { background: #a3a398; color: #fff; cursor: not-allowed; }
fieldset[disabled] input, fieldset[disabled] textarea { background: #f4f2ec; }

/* ---------- sections ---------- */
.section { padding: 56px 0; }
.section.soft { background: var(--soft); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; }

.hero { padding: 48px 0 56px; }
.hero .container { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
.hero img { border-radius: var(--radius); }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 8px; }

.cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 24px; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.section.soft .card { border-color: transparent; }
.card .price { font-weight: 700; color: var(--brand); }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
.two-col img { border-radius: var(--radius); }

.cta { text-align: center; }
.cta .lead { margin-left: auto; margin-right: auto; }

/* ---------- contact form ---------- */
.form { display: grid; gap: 16px; max-width: 560px; }
.form label { font-weight: 600; display: block; margin-bottom: 6px; }
.form input, .form textarea {
  width: 100%; font: inherit; padding: 12px 14px; border: 1px solid #cfc9bb; border-radius: 10px; background: #fff;
}
.form textarea { min-height: 150px; resize: vertical; }
.form .hp { position: absolute; left: -5000px; } /* honeypot: hidden from people, bots fill it */
.notice { background: #fff6e5; border: 1px solid #f0d199; border-radius: 10px; padding: 12px 14px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 0.95rem; }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

/* ---------- larger screens ---------- */
@media (min-width: 760px) {
  .hero .container { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .two-col { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
  .section { padding: 72px 0; }
}
