/* ==========================================================================
   P&P Community Services — main stylesheet
   ========================================================================== */

:root {
  --ink: #1c2b2a;
  --muted: #4a5b59;
  --teal: #1f5c57;
  --teal-dark: #133f3b;
  --teal-soft: #e4f0ed;
  --sun: #f0a43a;
  --sun-dark: #a8620a;
  --sun-soft: #fdf1dc;
  --rose: #e07b6a;
  --rose-soft: #fbe7e2;
  --cream: #fbf8f2;
  --white: #ffffff;
  --line: #dde6e2;

  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(19, 63, 59, .06), 0 8px 24px rgba(19, 63, 59, .08);
  --shadow-lg: 0 2px 4px rgba(19, 63, 59, .06), 0 20px 48px rgba(19, 63, 59, .14);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --base-size: 18px;
}

html.text-large { --base-size: 21px; }

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: var(--base-size); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  color: var(--teal-dark);
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--teal-dark); color: #fff; padding: .6em 1em; border-radius: 10px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font: 700 .95rem/1 var(--font-body);
  padding: .95em 1.5em; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, color .15s, box-shadow .15s;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 6px 16px rgba(31, 92, 87, .25); }
.btn-primary:hover { background: var(--teal-dark); color: #fff; }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: #e8941f; color: var(--ink); }
.btn-ghost { border-color: currentColor; color: var(--teal); background: transparent; }
.btn-ghost:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-light:hover { background: #fff; color: var(--teal-dark); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }

/* ---------- Top bar ---------- */
.topbar { background: var(--teal-dark); color: #dfece9; font-size: .8rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.topbar-contact { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-contact span, .topbar-contact a { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 15px; height: 15px; }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.badge-good {
  display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.1);
  padding: 3px 10px; border-radius: 999px; font-weight: 700;
}
.badge-good b { color: var(--sun); }
.text-toggle {
  font: 700 .8rem var(--font-body); color: #fff; background: transparent;
  border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: 4px 12px; cursor: pointer;
}
.text-toggle:hover { background: rgba(255,255,255,.12); }
.text-toggle[aria-pressed="true"] { background: var(--sun); color: var(--ink); border-color: var(--sun); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 242, .94); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px rgba(19,63,59,.06); }
.site-header .wrap { max-width: 1400px; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--teal-dark); flex-shrink: 0; }
.logo svg { width: 48px; height: 48px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong { font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; }
.logo-text span { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-top: 3px; }

.nav-toggle {
  display: none; align-items: center; gap: 8px;
  background: var(--teal); color: #fff; border: 0; border-radius: 999px;
  padding: .6em 1.1em; font: 700 .9rem var(--font-body); cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.main-nav a {
  display: block; padding: .55em .7em; border-radius: 10px;
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: .8rem; white-space: nowrap;
}
.main-nav a:hover { background: var(--teal-soft); color: var(--teal-dark); }
.main-nav a[aria-current="page"] { color: var(--teal); background: var(--teal-soft); }
.main-nav .nav-cta a { background: var(--sun); color: var(--ink); padding: .7em 1.1em; border-radius: 999px; margin-left: 6px; }
.main-nav .nav-cta a:hover, .main-nav .nav-cta a[aria-current="page"] { background: #e8941f; color: var(--ink); }

@media (max-width: 1460px) and (min-width: 1361px) {
  .logo-text span { display: none; }
}
@media (max-width: 1360px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    max-height: calc(100vh - 84px); overflow-y: auto; display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 12px var(--gutter) 24px; gap: 4px; }
  .main-nav a { font-size: 1rem; padding: .8em 1em; }
  .main-nav .nav-cta a { margin: 8px 0 0; text-align: center; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tight { padding: clamp(44px, 6vw, 72px) 0; }
.section-white { background: var(--white); }
.section-soft { background: var(--teal-soft); }
.section-sun { background: var(--sun-soft); }
.section-dark { background: var(--teal-dark); color: #dbe9e6; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sun-dark); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.section-dark .eyebrow { color: var(--sun); }
.lead { font-size: 1.15rem; color: var(--muted); }
.section-dark .lead { color: #c4dad6; }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); }
.hero::before {
  content: ""; position: absolute; width: 900px; height: 900px; right: -320px; top: -360px;
  border-radius: 50%; background: radial-gradient(circle, var(--sun-soft) 0%, rgba(253,241,220,0) 68%);
  z-index: -1;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero h1 em { font-style: italic; color: var(--teal); }
.hero-tagline { font-family: var(--font-head); font-size: clamp(1.15rem, 2vw, 1.4rem); color: var(--sun-dark); font-weight: 500; margin-bottom: 1em; }
.hero-visual { position: relative; min-height: 520px; }
.hero-visual .photo-a { position: absolute; inset: 0 18% 14% 0; align-items: flex-start; }
.hero-visual .photo-b { position: absolute; width: 46%; height: 46%; right: 0; bottom: 0; border: 8px solid var(--cream); }
.hero-badge {
  position: absolute; left: -12px; bottom: 6%; z-index: 2;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px; max-width: 250px;
}
.hero-badge .icon-circle { flex-shrink: 0; }
.hero-badge strong { display: block; font-family: var(--font-head); font-size: 1.1rem; color: var(--teal-dark); line-height: 1.2; }
.hero-badge span { font-size: .78rem; color: var(--muted); }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--teal-dark); color: #d6e7e3;
  padding: clamp(56px, 8vw, 100px) 0 clamp(56px, 8vw, 96px);
}
.page-hero::after {
  content: ""; position: absolute; right: -140px; top: 50%; transform: translateY(-50%);
  width: 520px; height: 520px; border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 22%, rgba(240,164,58,.22) 22% 23%, transparent 23% 38%, rgba(255,255,255,.08) 38% 39%, transparent 39% 56%, rgba(255,255,255,.06) 56% 57%, transparent 57%);
  pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 820px; }
.page-hero .lead { color: #c4dad6; max-width: 680px; margin: 0; }
.page-hero .eyebrow { color: var(--sun); }
.crumbs { font-size: .82rem; margin-bottom: 18px; }
.crumbs a { color: #c4dad6; }
.crumbs a:hover { color: #fff; }

/* ---------- Trust strip ---------- */
.trust { margin-top: -48px; position: relative; z-index: 3; }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.trust-item { display: flex; gap: 14px; align-items: center; padding: 26px 24px; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item strong { display: block; font-family: var(--font-head); font-size: 1.1rem; color: var(--teal-dark); line-height: 1.2; }
.trust-item span { font-size: .82rem; color: var(--muted); }

/* ---------- Icons ---------- */
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-circle {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--teal-soft); color: var(--teal);
}
.icon-circle.sun { background: var(--sun-soft); color: var(--sun-dark); }
.icon-circle.rose { background: var(--rose-soft); color: #b04a39; }
.icon-circle.solid { background: var(--teal); color: #fff; }

/* ---------- Layout helpers ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border-radius: var(--radius); padding: 30px 28px;
  box-shadow: var(--shadow); border: 1px solid rgba(221,230,226,.6);
  display: flex; flex-direction: column;
}
.card .icon-circle { margin-bottom: 18px; }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--muted); margin-bottom: 0; }
.card p + p { margin-top: .8em; }
.card ul { color: var(--muted); margin: .6em 0 0; }
a.card { text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: inherit; }
.card-link { margin-top: auto; padding-top: 18px; font-weight: 800; color: var(--teal); display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; }
.card-link svg { width: 18px; height: 18px; transition: transform .2s; }
a.card:hover .card-link svg { transform: translateX(4px); }
.section-dark .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); box-shadow: none; }
.section-dark .card p { color: #c4dad6; }
.section-dark .card h3 { color: #fff; }

.card-feature { padding: 40px 36px; position: relative; overflow: hidden; }
.card-feature::after {
  content: ""; position: absolute; right: -50px; bottom: -50px; width: 160px; height: 160px; border-radius: 50%;
  border: 24px solid var(--teal-soft); opacity: .7;
}
.card-feature.sun::after { border-color: var(--sun-soft); }
.card-feature .eyebrow { margin-bottom: 10px; }
.card-feature p { font-size: 1.08rem; color: var(--ink); position: relative; z-index: 1; }

/* Value cards */
.value-card { padding: 28px; }
.value-card h3 { display: flex; align-items: center; gap: 12px; }
.value-card .num { font-family: var(--font-head); font-size: .9rem; color: var(--sun-dark); font-weight: 700; }

/* ---------- Check lists ---------- */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist li::before {
  content: ""; flex-shrink: 0; width: 26px; height: 26px; margin-top: 2px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.section-dark .checklist li::before { background-color: var(--sun); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23133f3b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }
.checklist.two-col { grid-template-columns: 1fr 1fr; gap: 14px 32px; }

/* Mantra tiles */
.mantra-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mantra-tile {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius);
  padding: 26px; display: flex; gap: 16px; align-items: flex-start; color: #e6f1ee; font-size: 1.02rem;
}
.mantra-tile .n {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--sun); color: var(--teal-dark);
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700;
}

/* ---------- Photo placeholders ---------- */
.photo {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 280px;
  background: linear-gradient(135deg, #2b6e68, #174a46);
  box-shadow: var(--shadow);
  display: flex; align-items: flex-end;
}
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 78% 22%, rgba(255,255,255,.18) 0 60px, transparent 61px),
    radial-gradient(circle at 18% 82%, rgba(240,164,58,.35) 0 90px, transparent 91px),
    radial-gradient(circle at 60% 60%, rgba(255,255,255,.07) 0 140px, transparent 141px);
}
.photo.has-img::before, .photo.has-img .photo-label { display: none; }
.photo .photo-mark {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -60%);
  width: 64px; height: 64px; color: rgba(255,255,255,.55);
}
.photo-label {
  position: relative; margin: 16px; padding: 6px 12px; border-radius: 999px;
  background: rgba(0,0,0,.28); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .02em;
}
.photo.sun { background: linear-gradient(135deg, #f4b65a, #d9822a); }
.photo.rose { background: linear-gradient(135deg, #e99282, #c45f4e); }
.photo.leaf { background: linear-gradient(135deg, #7fb08a, #3f7a55); }
.photo.sky { background: linear-gradient(135deg, #7fb2c9, #3d7590); }
.photo.tall { min-height: 460px; }
.photo.short { min-height: 220px; }

.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 16px;
  grid-template-areas: "a a b c" "d e b f";
}
.gallery .photo { min-height: 0; }
.gallery > :nth-child(1) { grid-area: a; }
.gallery > :nth-child(2) { grid-area: b; }
.gallery > :nth-child(3) { grid-area: c; }
.gallery > :nth-child(4) { grid-area: d; }
.gallery > :nth-child(5) { grid-area: e; }
.gallery > :nth-child(6) { grid-area: f; }

/* ---------- Stats ---------- */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.stat { border-top: 3px solid var(--sun); padding-top: 14px; }
.stat strong { display: block; font-family: var(--font-head); font-size: 2rem; color: var(--teal-dark); line-height: 1.1; }
.stat span { font-size: .85rem; color: var(--muted); }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; counter-reset: step; }
.steps.grid-3 { grid-template-columns: repeat(3, 1fr); }
.steps.grid-4 { grid-template-columns: repeat(4, 1fr); }
.step { counter-increment: step; background: #fff; border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow); position: relative; }
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--font-head); font-size: 2.2rem; font-weight: 700; color: var(--sun); line-height: 1; margin-bottom: 14px;
}
.step h3 { font-size: 1.15rem; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- Quote / commitment ---------- */
.big-quote {
  font-family: var(--font-head); font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.3;
  color: var(--teal-dark); font-weight: 500; margin: 0; max-width: 900px;
}
.big-quote strong { color: var(--teal); font-weight: 700; }
.section-dark .big-quote { color: #fff; }
.section-dark .big-quote strong { color: var(--sun); }
.motto {
  display: inline-block; margin-top: 28px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  font-size: .85rem; color: var(--sun-dark);
}

/* ---------- CQC rating card ---------- */
.rating-card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 36px;
  border-top: 8px solid var(--teal);
}
.rating-card .label { font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.rating-card .rating { display: flex; align-items: center; gap: 14px; margin: 10px 0 18px; }
.rating-card .rating strong { font-family: var(--font-head); font-size: 3rem; color: var(--teal-dark); line-height: 1; }
.rating-dot { width: 22px; height: 22px; border-radius: 50%; background: #3d8b5a; box-shadow: 0 0 0 6px rgba(61,139,90,.18); }
.rating-card p { color: var(--muted); font-size: .95rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--teal) 0%, var(--teal-dark) 100%);
  border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 72px); color: #dbe9e6;
  display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center;
}
.cta-band::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%;
  border: 40px solid rgba(240,164,58,.2);
}
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; color: #c4dad6; }
.cta-band .btn-row { margin: 0; position: relative; z-index: 1; }

/* ---------- Details / FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 0 24px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 0; font-weight: 800; color: var(--teal-dark);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--sun-dark); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-list { display: grid; gap: 16px; margin: 28px 0; }
.contact-item { display: flex; gap: 16px; align-items: center; background: #fff; padding: 20px; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-item small { display: block; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-item a, .contact-item span { font-weight: 700; color: var(--teal-dark); text-decoration: none; word-break: break-word; }
.contact-item a:hover { text-decoration: underline; }

.form-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(28px, 4vw, 44px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 800; font-size: .88rem; color: var(--teal-dark); }
.field label .opt { font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  padding: .8em 1em; border-radius: 12px; border: 2px solid var(--line); background: var(--cream);
  transition: border-color .15s, background .15s; width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c0392b; }
.field .error { color: #b03a2e; font-size: .82rem; font-weight: 700; display: none; }
.field.invalid .error { display: block; }
.check-field { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.check-field input { width: 20px; height: 20px; margin-top: 4px; accent-color: var(--teal); flex-shrink: 0; }
.form-status { margin-top: 18px; padding: 14px 18px; border-radius: 12px; font-weight: 700; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: var(--teal-soft); color: var(--teal-dark); }
.form-status.err { background: var(--rose-soft); color: #8e3527; }

/* ---------- Footer ---------- */
.site-footer { background: #0f3330; color: #b9d0cc; padding: 72px 0 0; font-size: .9rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h3 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sun); font-weight: 800; margin-bottom: 1.1em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #dfece9; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .logo { color: #fff; margin-bottom: 18px; }
.site-footer .logo-text span { color: #9fbcb7; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: 4px; color: var(--sun); flex-shrink: 0; }
.footer-bottom {
  margin-top: 56px; border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8rem; color: #8fb0aa;
}
.footer-motto { font-family: var(--font-head); font-style: italic; color: #fff; font-size: 1.05rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4, .steps.grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .hero .wrap, .split, .contact-grid { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .hero-visual { min-height: 400px; }
  .grid-3, .grid-2, .mantra-grid, .steps.grid-3 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; grid-template-areas: "a a" "b c" "b d" "e f"; }
  .cta-band { grid-template-columns: 1fr; }
  .checklist.two-col { grid-template-columns: 1fr; }
  .topbar-contact .hide-sm { display: none; }
}
@media (max-width: 600px) {
  :root { --base-size: 17px; }
  html.text-large { --base-size: 20px; }
  .grid-4, .steps.grid-4, .trust-grid, .footer-grid, .form-grid, .stat-row { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .hero-visual { min-height: 340px; }
  .hero-badge { left: 8px; }
  .logo-text span { display: none; }
  .logo svg { width: 40px; height: 40px; flex-shrink: 0; }
  .logo { flex-shrink: 1; min-width: 0; gap: 10px; }
  .logo-text strong { font-size: 1.02rem; }
  .site-header .wrap { gap: 12px; min-height: 72px; }
  .nav-toggle { flex-shrink: 0; padding: .55em .95em; }
  .main-nav { max-height: calc(100vh - 72px); }
  .topbar .badge-good { display: none; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; grid-template-areas: none; }
  .gallery > * { grid-area: auto !important; }
}
