/* Landscapes Canada — design-build layout.
   Forest header (the logo is white), warm paper pages, terracotta for the quote action. */

:root {
  --ink: #17241c;
  --muted: #445249;
  --forest: #143026;
  --forest-2: #1c4030;
  --leaf: #1c5c38;
  --maple: #9d3b24;
  --maple-dark: #822f1c;
  --sand: #f3efe6;
  --paper: #fbf8f3;
  --white: #fff;
  --line: #e0d8cb;
  --icon: #e5f0e7;
  --shadow: 0 18px 50px rgba(20, 36, 28, 0.16);
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --wrap: 1120px;
  --header: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--leaf); }
h1, h2, h3, p { text-wrap: balance; }
h2, h3, section { scroll-margin-top: 120px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 520; letter-spacing: -0.03em; line-height: 1.08; margin: 0; }
h2 { font-size: clamp(1.85rem, 3vw, 2.6rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.02em; }
p { margin: 0 0 0.9rem; }
p:last-child { margin-bottom: 0; }

.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }
.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--white);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 80;
  border-radius: 8px;
}
.skip:focus { top: 12px; }

.eyebrow {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--maple);
}
.lede { font-size: 1.125rem; color: var(--muted); max-width: 62ch; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: inset 0 0 0 1.5px #c9bfb0;
}
.btn-solid { background: var(--maple); color: var(--white); box-shadow: none; }
.btn-solid:hover { background: var(--maple-dark); }
.btn-light { background: var(--white); color: var(--forest); box-shadow: none; }
.btn-light:hover { background: var(--sand); }
.btn-line:hover { background: var(--white); }
.hero-actions, .stack-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

:focus-visible { outline: 3px solid #e0a090; outline-offset: 2px; }

/* Header */
.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--forest);
  color: var(--white);
}
.topbar { background: #10261e; font-size: 0.92rem; }
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  min-height: 38px;
}
.topbar p { margin: 0; color: #d5e2da; }
.topbar a { color: #fff; font-weight: 600; text-decoration: none; }
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header);
}
.logo { margin-right: auto; display: block; }
.logo img { height: 46px; width: auto; }
.header-quote { display: none; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a, .dd-btn {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 500;
  padding: 8px 0;
  cursor: pointer;
}
.nav a[aria-current="page"], .dd-btn[aria-current="page"] { box-shadow: inset 0 -2px 0 #e7c7b8; }
.head-phone { white-space: nowrap; }
.nav-toggle {
  display: none;
  min-width: 48px;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.25);
  background: transparent;
  color: white;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.dd { position: relative; }
.dd-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  padding: 8px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.dd-menu a {
  display: block;
  color: var(--ink);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 500;
}
.dd-menu a:hover, .dd-menu a[aria-current="page"] { background: var(--sand); }
.dd:hover .dd-menu, .dd:focus-within .dd-menu, .dd.is-open .dd-menu { display: block; }

/* Hero */
.hero {
  position: relative;
  color: var(--white);
  background:
    linear-gradient(100deg, rgba(10, 22, 16, 0.92) 0%, rgba(10, 22, 16, 0.78) 46%, rgba(10, 22, 16, 0.45) 100%),
    url("../images/POOLS.jpg") center 30% / cover no-repeat;
}
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 420px);
  gap: 40px;
  align-items: center;
  padding: 64px 0 72px;
}
.hero h1 {
  font-size: clamp(2.5rem, 4.8vw, 4.3rem);
  max-width: 11.5ch;
  margin: 0 0 16px;
}
.hero .lede { color: rgba(255,255,255,.88); font-size: 1.15rem; }
.hero .eyebrow { color: #f0d2a8; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 18px 0 0; padding: 0; list-style: none; color: #e4eee7; font-size: 0.95rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #e7c7b8; }

.page-hero { position: relative; color: white; background: linear-gradient(160deg, #12281e, #1e4634); padding: 56px 0 48px; overflow: hidden; }
.page-hero.has-photo {
  background:
    linear-gradient(100deg, rgba(10, 22, 16, 0.9) 0%, rgba(10, 22, 16, 0.72) 42%, rgba(10, 22, 16, 0.28) 100%),
    var(--hero) center 40% / cover no-repeat;
}
.page-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.7rem); max-width: 16ch; margin-bottom: 12px; }
.page-hero .lede { color: rgba(255,255,255,.88); }
.page-hero .eyebrow, .crumbs { color: #f0d2a8; }
.crumbs { margin: 0 0 12px; font-size: 0.92rem; }
.crumbs a { color: white; }

.quote-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
  scroll-margin-top: 110px;
}
.quote-card h2 { font-size: 1.7rem; margin-bottom: 6px; }
.quote-card .form-lead, .form-lead { color: var(--muted); font-size: 0.95rem; }
.quote-form { display: grid; gap: 12px; }
.quote-form label { display: grid; gap: 6px; font-size: 0.92rem; font-weight: 600; }
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%;
  font: inherit;
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #d5ccbe;
  border-radius: 10px;
  padding: 12px 12px;
  min-height: 48px;
}
.quote-form textarea { min-height: 120px; resize: vertical; }
.quote-card .btn { width: 100%; }
.form-note { background: var(--icon); border-radius: 10px; padding: 12px; font-size: 0.95rem; }
.form-note[hidden] { display: none; }
.fine { color: var(--muted); font-size: 0.88rem; margin-top: 8px; }
.quote-card .fine { text-align: center; }
.quote-card .fine a { font-weight: 600; }

/* Trust */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 22px 0; }
.trust article { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.trust img { width: 56px; height: 56px; object-fit: contain; }
.trust h2 { font-family: var(--sans); font-size: 1.05rem; letter-spacing: 0; font-weight: 600; text-wrap: wrap; margin-bottom: 2px; }
.trust p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* Sections */
.sec { padding: 76px 0; }
.sand { background: var(--sand); }
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 28px;
}
.sec-head a { font-weight: 600; white-space: nowrap; }

.service-grid, .card-grid, .values, .steps, .quotes, .programs { display: grid; gap: 16px; }
.service-grid { grid-template-columns: repeat(3, 1fr); }
.card-grid, .programs { grid-template-columns: repeat(3, 1fr); }
.values { grid-template-columns: repeat(4, 1fr); }
.steps { grid-template-columns: repeat(4, 1fr); }
.quotes { grid-template-columns: 1fr 1fr; }

.service-card, .info-card, .value, .step, .quote-block, .program {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
}
.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  min-height: 100%;
}
.service-card p { color: var(--muted); flex: 1; }
.service-card .more { font-weight: 600; color: var(--leaf); }
.service-card:hover { border-color: #b7c4b4; transform: translateY(-2px); }
.ico {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--icon);
  color: var(--forest-2);
}
.ico svg { width: 26px; height: 26px; }

.split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.split-top { align-items: start; }
.frame { margin: 0; }
.split > div > .frame,
.split > div > .tools-shot { margin-top: 22px; }
.frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
.tools-shot { background: white; border-radius: 18px; border: 1px solid var(--line); padding: 12px; }
.tools-shot img { width: 100%; aspect-ratio: 1; object-fit: contain; }

.audience { text-align: left; }
.audience img { width: 72px; height: 72px; object-fit: contain; margin-bottom: 8px; }
.step span {
  display: block;
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--maple);
  margin-bottom: 8px;
}
.step p, .program p, .info-card p, .value p { color: var(--muted); }
.quote-block p:first-of-type {
  font-family: var(--serif);
  font-size: 1.28rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
}
.quote-block img { height: 16px; width: auto; margin: 14px 0; }
.who { font-weight: 600; }

.ticks { list-style: none; padding: 0; margin: 14px 0 0; }
.ticks li { position: relative; padding-left: 1.3rem; margin: 8px 0; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--leaf);
}
.why { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.why li { background: white; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.why strong { display: block; margin-bottom: 2px; }
.why span { color: var(--muted); }

.value img { width: 48px; height: 48px; object-fit: contain; margin-bottom: 8px; }
.value h3 { font-family: var(--sans); font-size: 1.02rem; letter-spacing: 0; font-weight: 600; margin-bottom: 4px; }

.side-card {
  position: sticky;
  top: 108px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}
.side-card h2 { font-size: 1.7rem; margin-bottom: 8px; }
.side-card .stack-actions { flex-direction: column; }
.side-card .btn { width: 100%; }

.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--serif); font-size: 1.5rem; line-height: 1; color: var(--maple); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin-top: 8px; color: var(--muted); max-width: 70ch; }

.prose { max-width: 68ch; }
.prose h2 { margin: 1.4rem 0 0.6rem; }

.close { background: var(--forest); color: white; padding: 64px 0; }
.close .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.close h2 { max-width: 16ch; }
.close p { color: #d5e2da; margin-top: 8px; max-width: 42ch; }

.related { display: flex; flex-wrap: wrap; gap: 10px; }
.related a {
  text-decoration: none;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
}
.related a:hover { border-color: var(--leaf); }

.quote-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 36px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 16px 0; }
.contact-list a { font-weight: 600; font-size: 1.2rem; text-decoration: none; }
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}

.site-footer { background: #10261e; color: #d5e2da; padding: 48px 0 0; }
.foot { display: grid; grid-template-columns: 1.3fr 1fr 0.7fr 1fr; gap: 28px; }
.foot h2 { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: #f0d2a8; font-weight: 600; margin-bottom: 10px; }
.foot a { display: block; color: #e7eeea; text-decoration: none; margin: 6px 0; }
.foot a:hover { text-decoration: underline; }
.foot-logo { height: 42px; width: auto; margin-bottom: 12px; }
.copy { border-top: 1px solid rgba(255,255,255,.12); margin: 28px 0 0; padding: 16px; text-align: center; font-size: 0.9rem; }

.mobile-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  background: var(--forest);
  padding: 8px;
  gap: 8px;
  box-shadow: 0 -8px 24px rgba(0,0,0,.18);
}
.mobile-bar .btn { flex: 1; }

@media (prefers-reduced-motion: no-preference) {
  .service-card { transition: transform .18s ease, border-color .18s ease; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .header-quote { display: inline-flex; }
  .nav > .btn { display: none; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--forest-2);
    padding: 8px 20px 18px;
  }
  .masthead.is-open .nav { display: flex; }
  .nav a, .dd-btn { padding: 12px 0; text-align: left; }
  .dd-menu { position: static; min-width: 0; box-shadow: none; padding: 0 0 8px 12px; background: transparent; }
  .dd-menu a { color: white; }
  .dd-menu a:hover, .dd-menu a[aria-current="page"] { background: rgba(255,255,255,.08); }
  .head-phone { display: none; }
  .nav .btn { margin-top: 8px; }
  .hero .wrap, .split, .quote-layout, .trust .wrap, .service-grid, .card-grid, .programs, .values, .steps, .quotes, .foot, .close .wrap {
    grid-template-columns: 1fr 1fr;
  }
  .hero .wrap, .split, .quote-layout, .close .wrap, .trust .wrap { grid-template-columns: 1fr; }
  .service-grid, .values, .steps, .foot { grid-template-columns: 1fr 1fr; }
  .side-card { position: static; }
  .hero h1 { max-width: 14ch; }
  .topbar p { display: none; }
}

@media (max-width: 680px) {
  .sec { padding: 52px 0; }
  .hero .wrap { padding: 32px 0 40px; }
  .hero h1 { font-size: 2.35rem; max-width: 12ch; }
  .service-grid, .card-grid, .programs, .values, .steps, .quotes, .foot { grid-template-columns: 1fr; }
  .logo img { height: 38px; }
  .header-quote { display: none; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 72px; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .close .wrap { flex-direction: column; align-items: flex-start; }
}
