/* ==========================================================
   Gentlekin — shared styles
   Warm, calm, owner-led. Premium but approachable.
   ========================================================== */

/* ---------- Self-hosted fonts (SIL Open Font License, see fonts/) ---------- */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(fonts/fraunces-latin-ext-500-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(fonts/fraunces-latin-500-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(fonts/fraunces-latin-ext-600-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(fonts/fraunces-latin-600-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/source-sans-3-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/source-sans-3-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(fonts/source-sans-3-latin-ext-600-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(fonts/source-sans-3-latin-600-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(fonts/source-sans-3-latin-ext-700-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(fonts/source-sans-3-latin-700-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}


:root {
  --cream: #FAF6F0;
  --cream-deep: #F3ECE2;
  --ink: #2E2A26;
  --ink-soft: #5C554D;
  --green: #2F5D50;        /* primary contrast colour */
  --green-dark: #24493F;
  --green-tint: #E7EFEB;
  --amber: #C98A4B;        /* warm accent, sparing use */
  --white: #FFFFFF;
  --line: #E4DCD0;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 2px 14px rgba(46, 42, 38, 0.07);
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.06rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}

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

.container { max-width: 1080px; margin: 0 auto; padding: 0 22px; }

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 0.6em; }
h3 { font-size: 1.22rem; margin-bottom: 0.4em; }
p  { margin-bottom: 1em; color: var(--ink-soft); }
p:last-child { margin-bottom: 0; }
strong { color: var(--ink); }

a { color: var(--green); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.8em 1.6em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); }
.btn-secondary {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-secondary:hover { background: var(--green-tint); }

/* ---------- Header / nav ---------- */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  max-width: 1080px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.brand-icon { height: 36px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
}
.nav-links a:hover { color: var(--green); }
.nav-links a.active { color: var(--green); }
.nav-links .btn { padding: 0.55em 1.2em; }
.nav-links a.btn-primary { color: var(--white); }
.nav-links a.btn-primary:hover { color: var(--white); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: var(--green);
  cursor: pointer;
}

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 18px 22px 24px;
    gap: 16px;
  }
  .nav-links.open { display: flex; }
}

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--cream-deep); }
.section-green { background: var(--green); }
.section-green h2, .section-green p { color: var(--white); }
.section-tight { padding: 40px 0; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 0.6em;
}

/* ---------- Hero ---------- */
.hero { padding: 72px 0 64px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero p.lead { font-size: 1.18rem; margin: 1em 0 1.5em; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 1.6em; }
.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.trust-line span::before { content: "✓ "; color: var(--green); font-weight: 700; }

.photo-placeholder {
  background: var(--green-tint);
  border: 2px dashed var(--green);
  border-radius: var(--radius-lg);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: var(--green-dark);
  font-size: 0.95rem;
}
.photo-placeholder.small { min-height: 200px; }

.photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 320px;
}
.photo-frame.small { min-height: 200px; }
.photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 22px;
  margin-top: 28px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.card .icon { font-size: 1.8rem; margin-bottom: 10px; }
.card a { font-weight: 600; }

/* ---------- Steps ---------- */
.steps { list-style: none; counter-reset: step; margin-top: 28px; display: grid; gap: 18px; }
.steps li {
  counter-increment: step;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px 20px 70px;
  position: relative;
  box-shadow: var(--shadow);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Tables ---------- */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 24px;
}
.price-table th, .price-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.price-table th { background: var(--green); color: var(--white); font-weight: 600; }
.price-table tr:last-child td { border-bottom: none; }
.price-table td.num, .price-table th.num { text-align: right; white-space: nowrap; }
.table-scroll { overflow-x: auto; }

/* ---------- Reviews ---------- */
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.review-card blockquote { font-style: italic; color: var(--ink-soft); margin-bottom: 14px; }
.review-card cite { font-style: normal; font-weight: 600; color: var(--ink); }

.placeholder-note {
  background: #FFF6E8;
  border: 1px solid #E8C99A;
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 0.95rem;
  color: #7A5A2E;
  margin: 18px 0;
}

/* ---------- FAQ ---------- */
details {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 14px;
  padding: 0;
}
details summary {
  cursor: pointer;
  font-weight: 600;
  padding: 18px 22px;
  list-style: none;
  position: relative;
}
details summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  color: var(--green);
  font-size: 1.3rem;
}
details[open] summary::after { content: "–"; }
details .answer { padding: 0 22px 20px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
.form-field { display: flex; flex-direction: column; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; margin-bottom: 6px; }
.form-field .hint { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 6px; }
.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 3px solid var(--amber);
  outline-offset: 1px;
  border-color: var(--green);
}
.checkbox-row { flex-direction: row; align-items: flex-start; gap: 10px; }
.checkbox-row input { width: 20px; height: 20px; margin-top: 4px; }
@media (max-width: 680px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Date selection widget ---------- */
.pattern-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 16px; }
.pill {
  font: inherit;
  font-weight: 600;
  padding: 0.55em 1.2em;
  border-radius: 999px;
  border: 1.5px solid var(--green);
  background: var(--white);
  color: var(--green);
  cursor: pointer;
}
.pill.active { background: var(--green); color: var(--white); }
.pattern-panel { margin-bottom: 14px; }

.cal {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  max-width: 380px;
}
.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-weight: 600;
}
.cal-head button {
  font: inherit;
  font-size: 1.2rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--green);
  cursor: pointer;
}
.cal-head button:disabled { opacity: 0.35; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { font-size: 0.8rem; font-weight: 700; color: var(--ink-soft); text-align: center; margin-bottom: 4px; }
.cal-dow span { padding: 4px 0; }
.cal-day {
  font: inherit;
  aspect-ratio: 1;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.cal-day:hover:not(:disabled):not(.selected) { background: var(--green-tint); }
.cal-day.selected { background: var(--green); color: var(--white); font-weight: 700; }
.cal-day:disabled { color: #C6BEB2; cursor: default; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip {
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.35em 0.9em;
  border-radius: 999px;
  border: none;
  background: var(--green-tint);
  color: var(--green-dark);
  cursor: pointer;
}
.chip span { font-weight: 700; }

.weekday-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.day-pill { padding: 0.45em 0.95em; }

.period-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }

.date-summary {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--cream-deep);
  border: 1.5px dashed var(--line);
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.date-summary.has-value {
  background: var(--green-tint);
  border: 1.5px solid var(--green);
  color: var(--green-dark);
  font-weight: 600;
}
.form-error {
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #FBEAE8;
  border: 1.5px solid #C0564A;
  color: #8C3A31;
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .btn-primary { background: var(--white); color: var(--green); }
.cta-band .btn-primary:hover { background: var(--cream-deep); }
.cta-band .btn-secondary { color: var(--white); border-color: var(--white); }
.cta-band .btn-secondary:hover { background: rgba(255,255,255,0.12); }
.cta-band .hero-ctas { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #CFC9C1;
  padding: 54px 0 30px;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 34px;
}
.site-footer h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 12px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; }
.footer-icon { height: 30px; width: auto; filter: brightness(0) invert(1); opacity: 0.92; }
.site-footer a { color: #E8E2D9; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid #4A453F;
  padding-top: 22px;
  font-size: 0.88rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--green-tint);
  padding: 56px 0;
}
.page-hero p { max-width: 640px; font-size: 1.12rem; }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-2 { margin-top: 20px; }
.max-prose { max-width: 720px; }
.skip-link {
  position: absolute;
  left: -9999px;
  background: var(--white);
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 10px; top: 10px; }
