/* ==========================================================================
   Kefa Home Care — main stylesheet
   1. Design tokens   2. Base   3. Layout helpers   4. Buttons
   5. Header & nav    6. Sections (hero → contact)   7. Footer   8. Sub-pages
   ========================================================================== */

/* 0. Fonts (self-hosted, SIL Open Font License; no requests to Google) --- */
@font-face {
  font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500 600; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500 600; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin.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: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-italic-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-italic-latin.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: "Mulish"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/mulish-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Mulish"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/mulish-latin.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;
}

/* 1. Design tokens ------------------------------------------------------ */
:root {
  /* Mediterranean palette */
  --cream: #F7F3EC;        /* main background, warm off-white */
  --paper: #FCFAF6;        /* cards, alternate sections */
  --sand: #EDE5D7;
  --sand-2: #E3D8C6;
  --stone: #C9BCA7;
  --stone-dark: #8A7F6E;
  --olive: #7A7D52;        /* muted olive, decorative */
  --olive-dark: #585B38;   /* olive for small text (accessible contrast) */
  --forest: #1F3A2E;       /* deep forest green, primary */
  --forest-2: #2B4A3B;
  --forest-3: #172C23;
  --ink: #22302A;          /* body text */
  --ink-soft: #4A554E;
  --terracotta: #B0714F;   /* tiny accents only */
  --on-dark: #E9E6DC;
  --on-dark-soft: #C5CEC4;
  --error: #9B3D2A;

  --font-serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-sans: "Mulish", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 14px;
  --container: 1180px;
  --header-h: 76px;
  --shadow: 0 1px 2px rgba(31, 58, 46, .06), 0 14px 34px -14px rgba(31, 58, 46, .22);
}

/* 2. Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--forest); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--olive-dark); }

:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.1;
  color: var(--forest);
  margin: 0 0 .5em;
  letter-spacing: -.005em;
}
h1 { font-size: clamp(2.9rem, 6.4vw, 5rem); font-weight: 500; letter-spacing: -.015em; }
h2 { font-size: clamp(2.2rem, 4.2vw, 3.2rem); font-weight: 500; }
h3 { font-size: 1.5rem; }
p  { margin: 0 0 1em; }

[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* 3. Layout helpers ---------------------------------------------------- */
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
@media (min-width: 640px) { .container { width: min(100% - 3.5rem, var(--container)); } }

.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--forest); color: var(--paper);
  padding: .65rem 1.1rem; border-radius: 8px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: var(--paper); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  margin-bottom: 1.1rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--olive-dark);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

.section-head { max-width: 660px; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .eyebrow { justify-content: center; }
.section-head .lead { margin-bottom: 0; }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--ink-soft); }

.placeholder {
  display: inline-block;
  padding: .05rem .5rem;
  border: 1px dashed var(--terracotta);
  border-radius: 6px;
  background: #F8EEE5;
  color: #7E4528;
  font-size: .9em; font-weight: 600;
}

/* 4. Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.6rem;
  border: 1px solid transparent; border-radius: 999px;
  font: inherit; font-size: .95rem; font-weight: 700; letter-spacing: .02em; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }

.btn-primary { background: var(--forest); color: var(--paper); }
.btn-primary:hover { background: var(--forest-2); color: #fff; }

.btn-ghost { background: transparent; border-color: var(--stone); color: var(--forest); }
.btn-ghost:hover { border-color: var(--forest); color: var(--forest); background: rgba(255, 255, 255, .4); }

.btn-light { background: var(--cream); color: var(--forest); }
.btn-light:hover { background: #fff; color: var(--forest); }

.btn-sm { padding: .7rem 1.25rem; font-size: .875rem; }

/* 5. Header & navigation ----------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 243, 236, .94);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-bottom-color: rgba(138, 127, 110, .25); box-shadow: 0 6px 24px -18px rgba(31, 58, 46, .5); }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--forest); text-decoration: none; }
.brand:hover { color: var(--forest); }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-serif); font-size: 1.75rem; font-weight: 600; letter-spacing: .01em; }
.brand-sub { margin-top: .22rem; font-size: .6rem; font-weight: 700; letter-spacing: .34em; text-transform: uppercase; color: var(--olive-dark); }

.nav-menu { display: flex; align-items: center; gap: 2.25rem; }
.nav-list { display: flex; gap: 1.9rem; margin: 0; padding: 0; list-style: none; }
.nav-list a {
  position: relative; padding: .4rem 0;
  color: var(--ink); font-size: .94rem; font-weight: 600; text-decoration: none;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--olive); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav-list a:hover::after, .nav-list a.is-active::after { transform: scaleX(1); }

.nav-toggle { display: none; }

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; padding: 0;
    border: 1px solid var(--stone); border-radius: 50%;
    background: transparent; color: var(--forest); cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 18px; height: 1.5px; background: currentColor; border-radius: 2px;
    transition: transform .25s, opacity .2s;
  }
  .nav-toggle-bars { position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

  .nav-menu {
    display: none;
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 1.5rem;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    padding: .75rem 1rem 2rem;
    background: var(--cream);
    border-bottom: 1px solid var(--sand-2);
    box-shadow: 0 24px 40px -24px rgba(31, 58, 46, .35);
  }
  .nav-menu.is-open { display: flex; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { display: block; padding: 1rem .25rem; border-bottom: 1px solid var(--sand); font-size: 1.05rem; }
  .nav-list a::after { display: none; }
  .nav-menu .btn { align-self: flex-start; }
}

/* 6a. Hero ------------------------------------------------------------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(4.5rem, 8vw, 7rem); }
.hero::after { /* soft sand wash behind the image */
  content: ""; position: absolute; z-index: -1;
  top: 0; right: 0; bottom: 0; width: 38%;
  background: linear-gradient(180deg, var(--sand) 0%, rgba(237, 229, 215, 0) 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.hero h1 em { font-style: italic; color: var(--olive-dark); }
.hero .lead { max-width: 33rem; margin: 1.5rem 0 2.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero-points {
  display: flex; flex-wrap: wrap; gap: .6rem 1.75rem;
  margin: 2.75rem 0 0; padding: 1.5rem 0 0; list-style: none;
  border-top: 1px solid var(--sand-2);
  font-size: .92rem; color: var(--ink-soft);
}
.hero-points li { display: flex; align-items: center; gap: .5rem; }
.hero-points svg { width: 18px; height: 18px; color: var(--olive); }

.hero-media { position: relative; isolation: isolate; margin: 0; max-width: 500px; justify-self: end; width: 100%; }
.arch, .hero-media::before { border-radius: 999px 999px 18px 18px; }
.arch { overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand); box-shadow: var(--shadow); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::before { /* thin offset outline: an architectural echo of the arch */
  content: ""; position: absolute; inset: -16px 16px 16px -16px; z-index: -1;
  border: 1px solid var(--stone);
}

.hero-badge {
  position: absolute; left: -1.75rem; bottom: 2.25rem;
  display: flex; align-items: center; gap: .6rem;
  padding: .85rem 1.15rem;
  background: var(--paper); border-radius: 12px; box-shadow: var(--shadow);
  font-size: .85rem; font-weight: 600; color: var(--forest);
}
.hero-badge svg { width: 20px; height: 20px; flex: none; color: var(--olive); }

@media (max-width: 900px) {
  .hero::after { width: 100%; top: auto; height: 45%; background: linear-gradient(0deg, var(--sand), rgba(237, 229, 215, 0)); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { justify-self: center; max-width: 420px; margin-top: 1rem; }
  .hero-badge { left: 50%; transform: translateX(-50%); bottom: 1.25rem; white-space: nowrap; }
}
@media (max-width: 420px) {
  .hero-actions .btn { width: 100%; }
  .hero-badge { font-size: .78rem; padding: .7rem .9rem; }
  .hero-media::before { inset: -10px 10px 10px -10px; }
}

/* 6b. Introduction ----------------------------------------------------- */
.intro { background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.intro-media { margin: 0; }
.intro-media img { width: 100%; border-radius: 22px; box-shadow: var(--shadow); }
.note {
  margin: 1.75rem 0 0; padding: .25rem 0 .25rem 1.15rem;
  border-left: 2px solid var(--olive);
  font-size: .95rem; color: var(--ink-soft);
}
@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; }
  .intro-media { order: 2; }
}

/* 6c. Services --------------------------------------------------------- */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
  margin: 0; padding: 0; list-style: none;
}
.card {
  padding: 2rem 1.8rem 1.9rem;
  background: var(--paper);
  border: 1px solid var(--sand-2); border-radius: var(--radius);
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.card:hover { border-color: var(--stone); box-shadow: var(--shadow); transform: translateY(-2px); }
.card-icon {
  display: grid; place-items: center;
  width: 54px; height: 54px; margin-bottom: 1.4rem;
  border-radius: 50%; background: var(--sand); color: var(--forest);
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: .45rem; font-size: 1.55rem; }
.card p { margin: 0; font-size: .98rem; color: var(--ink-soft); }

.scope-note {
  display: flex; gap: 1.1rem; align-items: flex-start;
  margin-top: 2.5rem; padding: 1.6rem 1.9rem;
  background: var(--sand); border-radius: var(--radius);
}
.scope-note > svg { width: 24px; height: 24px; flex: none; margin-top: .2rem; color: var(--olive-dark); }
.scope-note h3 { margin-bottom: .3rem; font-size: 1.3rem; }
.scope-note p { margin: 0; font-size: .97rem; color: var(--ink-soft); }

@media (max-width: 960px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) {
  .services-grid { grid-template-columns: 1fr; }
  .scope-note { flex-direction: column; padding: 1.4rem; gap: .6rem; }
}

/* 6d. How it works (dark section) -------------------------------------- */
.section-dark { background: var(--forest); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: var(--paper); }
.section-dark .eyebrow { color: #C3C69A; }
.section-dark .lead { color: var(--on-dark-soft); }
.section-dark :focus-visible { outline-color: #E2C7A4; }

.how { position: relative; overflow: hidden; }
.how::before { /* faint arch motif */
  content: ""; position: absolute; right: -120px; top: -160px;
  width: 520px; height: 680px;
  border: 1px solid rgba(233, 230, 220, .09); border-radius: 999px 999px 0 0;
}

.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.75rem, 4vw, 3.5rem);
  margin: 0; padding: 0; list-style: none;
}
.step { padding-top: 1.75rem; border-top: 1px solid rgba(233, 230, 220, .22); }
.step-num { display: block; margin-bottom: 1rem; font-family: var(--font-serif); font-size: 3.6rem; font-style: italic; line-height: 1; color: #B9BC8E; }
.step h3 { font-size: 1.65rem; }
.step p { margin: 0; color: var(--on-dark-soft); }
.how-cta { margin-top: clamp(2.5rem, 5vw, 3.5rem); }

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

/* 6e. Why -------------------------------------------------------------- */
.why-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.statement {
  margin: 2.25rem 0 0; padding-top: 1.75rem;
  border-top: 1px solid var(--stone);
  font-family: var(--font-serif); font-size: 1.65rem; font-style: italic; line-height: 1.35; color: var(--forest);
}
.why-list {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.4rem 2.25rem;
  margin: 0; padding: 0; list-style: none;
}
.why-item > svg { width: 26px; height: 26px; color: var(--olive); }
.why-item h3 { margin: .85rem 0 .35rem; font-size: 1.4rem; }
.why-item p { margin: 0; font-size: .98rem; color: var(--ink-soft); }

@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .why-list { grid-template-columns: 1fr; gap: 1.9rem; } }

/* 6f. Service area ----------------------------------------------------- */
.area { background: var(--sand); }
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.area-copy .lead strong { color: var(--forest); font-weight: 700; }
.town-list-title {
  margin: 1.75rem 0 .8rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--olive-dark);
}
.town-list { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 2rem; padding: 0; list-style: none; }
.town-list li {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .55rem 1.15rem .55rem .9rem;
  background: var(--forest); border-radius: 999px;
  font-size: .98rem; font-weight: 700; color: var(--paper);
  box-shadow: 0 6px 16px -10px rgba(31, 58, 46, .6);
}
.town-list svg { width: 16px; height: 16px; color: #C3C69A; }

.map-card { margin: 0; padding: 1rem; background: var(--paper); border-radius: 24px; box-shadow: var(--shadow); }
.map { width: 100%; height: auto; border-radius: 16px; }
.map-card figcaption { padding: .9rem .5rem .2rem; font-size: .85rem; color: var(--ink-soft); }

.map-sea { fill: #DCE5DF; }
.map-land { fill: #F3EDE2; stroke: #CDBFA7; stroke-width: 1.5; }
.map-island { fill: #ECE5D7; stroke: #CDBFA7; stroke-width: 1; }
.map-route { fill: none; stroke: var(--olive); stroke-width: 1.5; stroke-dasharray: 3 7; stroke-linecap: round; opacity: .7; }
.map-dot { fill: var(--forest); stroke: var(--paper); stroke-width: 3; }
.map-dot-main { fill: var(--olive-dark); }
.map-label { font-family: var(--font-sans); font-size: 17px; font-weight: 700; fill: var(--forest); }
.map-label-main { font-size: 21px; }
.map-county { font-family: var(--font-sans); font-size: 15px; font-weight: 700; letter-spacing: .18em; fill: var(--olive-dark); }
.map-sea-label { font-family: var(--font-serif); font-size: 26px; font-style: italic; fill: #6F8A80; letter-spacing: .04em; }
.map-compass path { fill: var(--stone-dark); }
.map-compass text { font-family: var(--font-sans); font-size: 14px; font-weight: 700; fill: var(--stone-dark); }

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

/* 6g. FAQ -------------------------------------------------------------- */
.faq-inner { max-width: 860px; }
.faq-list { border-top: 1px solid var(--stone); }
.faq-list details { border-bottom: 1px solid var(--stone); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.45rem 0;
  list-style: none; cursor: pointer;
  font-family: var(--font-serif); font-size: clamp(1.3rem, 2.2vw, 1.55rem); font-weight: 600; line-height: 1.25;
  color: var(--forest);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 34px; height: 34px;
  border: 1px solid var(--stone); border-radius: 50%;
  background:
    linear-gradient(var(--forest), var(--forest)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--forest), var(--forest)) center / 1.5px 12px no-repeat;
  transition: background-color .2s, border-color .2s;
}
.faq-list summary:hover::after { border-color: var(--forest); }
.faq-list details[open] summary::after {
  background: linear-gradient(var(--forest), var(--forest)) center / 12px 1.5px no-repeat;
  background-color: var(--sand);
}
.faq-answer { padding: 0 3.5rem 1.5rem 0; color: var(--ink-soft); }
.faq-answer p:last-child { margin-bottom: 0; }
@media (max-width: 560px) { .faq-answer { padding-right: 0; } }

/* 6h. Contact ---------------------------------------------------------- */
.contact { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }

.contact-details { display: grid; gap: 1.35rem; margin: 2.25rem 0 0; padding: 0; list-style: none; }
.contact-details li { display: flex; gap: 1rem; align-items: center; }
.contact-icon {
  display: grid; place-items: center; flex: none;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--sand); color: var(--forest);
}
.contact-icon svg { width: 21px; height: 21px; }
.contact-label { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--olive-dark); }

.form-card {
  padding: clamp(1.5rem, 3.5vw, 2.6rem);
  background: var(--cream); border: 1px solid var(--sand-2); border-radius: 22px;
}
.form-setup-notice[hidden] { display: none; }
.form-setup-notice {
  margin: 0 0 1.6rem; padding: .95rem 1.1rem;
  background: #F8EEE5; border: 1px dashed var(--terracotta); border-radius: 12px;
  font-size: .9rem; line-height: 1.55; color: #6E3F28;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 700; color: var(--forest); }
.req { color: var(--terracotta); }

.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; padding: .8rem .95rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--stone); border-radius: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%231F3A2E' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .85rem center; background-size: 18px;
}
.field input::placeholder, .field textarea::placeholder { color: #8E9690; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(122, 125, 82, .28);
}
.field [aria-invalid="true"] { border-color: var(--error); }

.field .checkbox { display: flex; align-items: flex-start; gap: .7rem; font-size: .92rem; font-weight: 400; color: var(--ink-soft); cursor: pointer; }
.checkbox input { flex: none; width: 18px; height: 18px; margin: .25rem 0 0; accent-color: var(--forest); }

.field-error { margin: 0; font-size: .85rem; font-weight: 600; color: var(--error); }
.field-error:empty { display: none; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-hint { margin: 1.1rem 0 1.25rem; font-size: .82rem; color: var(--ink-soft); }
.btn-submit[disabled] { opacity: .65; cursor: progress; }
.form-status { margin: 1rem 0 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-success { color: var(--forest); }
.form-status.is-error { color: var(--error); }

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .btn-submit { width: 100%; }
}

/* 7. Footer ------------------------------------------------------------ */
.site-footer { background: var(--forest-3); color: var(--on-dark-soft); font-size: .95rem; }
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: #fff; }
.site-footer :focus-visible { outline-color: #E2C7A4; }
.site-footer .placeholder { background: rgba(176, 113, 79, .14); border-color: #C98A66; color: #F0CDB5; }

.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 2.5rem; padding: clamp(3.5rem, 7vw, 5rem) 0 3rem; }
.footer-brand p { max-width: 22rem; margin-top: 1.25rem; }
.brand-light, .brand-light:hover { color: var(--paper); }
.brand-light .brand-sub { color: #C3C69A; }
.footer-title {
  margin-bottom: 1rem;
  font-family: var(--font-sans); font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: #C3C69A;
}
.footer-list { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.footer-bottom { padding: 1.5rem 0 2rem; border-top: 1px solid rgba(233, 230, 220, .14); font-size: .85rem; }
.footer-bottom p { margin: 0; }

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* 8. Sub-pages (404, privacy) ------------------------------------------ */
.page-simple { min-height: 100vh; display: flex; flex-direction: column; }
.page-simple main { flex: 1; }
.page-header { border-bottom: 1px solid var(--sand-2); }
.page-header .header-inner { height: var(--header-h); }
.page-body { max-width: 760px; padding: clamp(3.5rem, 8vw, 6rem) 0; }
.page-body h2 { font-size: 1.9rem; margin-top: 2rem; }
.page-body ul { padding-left: 1.2rem; }
.page-body li { margin-bottom: .35rem; }

.not-found { text-align: center; max-width: 620px; padding: clamp(4rem, 10vw, 8rem) 0; }
.not-found .arch-small {
  width: 120px; height: 150px; margin: 0 auto 2rem;
  border: 1px solid var(--stone); border-radius: 999px 999px 8px 8px;
  display: grid; place-items: center; color: var(--forest);
}
.not-found .arch-small svg { width: 54px; height: 54px; }
.not-found .code { display: block; margin-bottom: .5rem; font-size: .8rem; font-weight: 700; letter-spacing: .2em; color: var(--olive-dark); }
