/* ==========================================================================
   Canyon-lagoon — Split-Screen Modern design system
   Shared across every page.
   ========================================================================== */

:root {
  --ink: #0f2033;
  --ink-2: #16314f;
  --ink-soft: #33465c;
  --paper: #f7f2e9;
  --paper-2: #efe7d7;
  --card: #ffffff;
  --sand: #e4d7bd;
  --gold: #bd8536;
  --gold-deep: #9c6b25;
  --teal: #1d6f6a;
  --teal-soft: #2b8a84;
  --line: #ddd2bd;
  --text: #22323f;
  --muted: #5f7082;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px -32px rgba(15, 32, 51, 0.45);
  --shadow-soft: 0 14px 40px -26px rgba(15, 32, 51, 0.4);
  --maxw: 1180px;
  --space: clamp(3.5rem, 7vw, 6.5rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.68;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  color: var(--ink);
  line-height: 1.1;
  font-weight: 600;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p { margin: 0 0 1.1rem; }

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--gold-deep); }

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

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 4vw, 2.4rem);
}

.eyebrow {
  display: inline-block;
  font-family: "Space Grotesk", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-deep);
  margin-bottom: 1rem;
}

.lead { font-size: 1.16rem; color: var(--ink-soft); }

.flow > * + * { margin-top: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
  line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: #fff; box-shadow: var(--shadow-soft); }
.btn--gold:hover { background: var(--gold-deep); color: #fff; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-2); color: #fff; }
.btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--sand); color: var(--ink); }

/* ---------- Global header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 242, 233, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.ad-flag {
  background: var(--ink);
  color: var(--sand);
}
.ad-flag__text {
  margin: 0;
  text-align: center;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  padding: 0.45rem 1rem;
}
.site-head__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.9rem clamp(1.2rem, 4vw, 2.4rem);
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--teal), var(--ink));
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand__name {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
}
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav__link {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  color: var(--ink-soft);
  font-size: 0.98rem;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav__link:hover { color: var(--ink); }
.site-nav__link.is-current { color: var(--gold-deep); border-bottom-color: var(--gold); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 40px;
  padding: 9px 8px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Main shell ---------- */
main { flex: 1 0 auto; }

.section { padding: var(--space) 0; }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section--ink { background: var(--ink); color: #e9eef3; }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }
.section--sand { background: var(--paper-2); }
.section--teal { background: var(--teal); color: #eafbf8; }
.section--teal h2, .section--teal h3 { color: #fff; }

/* ---------- Split-screen primitive ---------- */
.split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.split__col { flex: 1 1 340px; min-width: 0; }
.split--reverse { flex-direction: row-reverse; }
.split--top { align-items: flex-start; }

/* ---------- Media ---------- */
.media {
  position: relative;
  background: var(--paper-2);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media--tall { aspect-ratio: 3 / 4; }
.media--wide { aspect-ratio: 16 / 10; }
.media--square { aspect-ratio: 1 / 1; }
.media--hero { aspect-ratio: 5 / 6; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(29, 111, 106, 0.16), transparent 60%),
    radial-gradient(90% 80% at 10% 90%, rgba(189, 133, 54, 0.14), transparent 55%),
    var(--paper);
  padding: clamp(3rem, 6vw, 5.5rem) 0 var(--space);
  overflow: hidden;
}
.hero__tagstack { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.4rem 0 1.8rem; }
.tag {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2.6rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}
.stat__num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--ink);
}
.stat__label { font-size: 0.85rem; color: var(--muted); }

/* ---------- Pills / markers ---------- */
.marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--paper-2);
  color: var(--gold-deep);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  flex: none;
}
.section--ink .marker, .section--teal .marker { background: rgba(255,255,255,0.1); color: #fff; }

/* ---------- Steps / list blocks ---------- */
.steps { display: flex; flex-direction: column; gap: 1.4rem; margin: 0; padding: 0; list-style: none; }
.step { display: flex; gap: 1.1rem; }
.step__body h3 { margin-bottom: 0.3rem; }
.step__body p { margin: 0; color: var(--muted); }
.section--ink .step__body p { color: #b9c6d2; }

/* ---------- Feature strip ---------- */
.feature-row { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.feature {
  flex: 1 1 240px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-soft);
}
.feature h3 { font-size: 1.15rem; }
.feature p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* ---------- Service cards ---------- */
.svc-list { display: flex; flex-direction: column; gap: 1.8rem; }
.svc {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.4rem, 3vw, 2.6rem);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.svc--reverse { flex-direction: row-reverse; }
.svc__media { flex: 1 1 280px; min-height: 240px; position: relative; background: var(--paper-2); }
.svc__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc__body { flex: 2 1 380px; padding: 2rem clamp(1.6rem, 3vw, 2.4rem); display: flex; flex-direction: column; }
.svc__price {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: var(--ink);
  font-size: 1.35rem;
  white-space: nowrap;
}
.svc__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.6rem; }
.svc__meta { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.9rem; }
.svc ul { margin: 0.4rem 0 1.3rem; padding-left: 1.1rem; color: var(--ink-soft); }
.svc ul li { margin-bottom: 0.35rem; }
.svc__foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }

/* Compact pricing cards for the home teaser */
.price-grid { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.price-card {
  flex: 1 1 260px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}
.price-card__tag { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; }
.price-card__price { font-family: "Space Grotesk", sans-serif; font-size: 2rem; font-weight: 700; color: var(--ink); margin: 0.6rem 0 0.2rem; }
.price-card__price span { font-size: 0.9rem; font-weight: 500; color: var(--muted); }
.price-card p { color: var(--muted); font-size: 0.96rem; }
.price-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Quote / testimonial ---------- */
.quotes { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.quote {
  flex: 1 1 300px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 1.8rem;
}
.section--sand .quote, .quote--light { background: #fff; border-color: var(--line); box-shadow: var(--shadow-soft); }
.quote p { font-size: 1.05rem; }
.quote__who { display: flex; align-items: center; gap: 0.8rem; margin-top: 1rem; }
.quote__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--sand); display: inline-flex; align-items: center; justify-content: center; font-family: "Space Grotesk", sans-serif; font-weight: 700; color: var(--ink); }
.quote__name { font-weight: 600; font-size: 0.95rem; }
.quote__role { font-size: 0.82rem; opacity: 0.75; }

/* ---------- Form ---------- */
.formcard {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  box-shadow: var(--shadow);
}
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.1rem; }
.field label { font-family: "Space Grotesk", sans-serif; font-weight: 500; font-size: 0.9rem; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit;
  padding: 0.8rem 0.95rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(29, 111, 106, 0.15);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.82rem; color: var(--muted); margin: 0.4rem 0 1.2rem; }
.form-error { color: #a4362a; font-size: 0.85rem; margin: 0 0 1rem; display: none; }
.form-error.is-visible { display: block; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--ink), var(--ink-2));
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(2.2rem, 4vw, 3.4rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  box-shadow: var(--shadow);
}
.cta-band h2 { color: #fff; margin: 0 0 0.4rem; }
.cta-band p { margin: 0; color: #c6d2de; max-width: 42ch; }

/* ---------- Legal / prose ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 2.4rem; }
.prose h2:first-of-type { margin-top: 1rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.5rem; }
.page-head {
  background:
    radial-gradient(90% 100% at 90% 0%, rgba(29,111,106,0.12), transparent 60%),
    var(--paper-2);
  padding: clamp(2.6rem, 5vw, 4rem) 0;
  border-bottom: 1px solid var(--line);
}
.crumb { font-size: 0.82rem; color: var(--muted); margin-bottom: 0.6rem; }

/* ---------- Contact info ---------- */
.info-grid { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.info-card {
  flex: 1 1 240px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-soft);
}
.info-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.info-card p { margin: 0; color: var(--ink-soft); }
.info-card .plain-mail { color: var(--ink); font-weight: 500; }

/* ---------- Thanks ---------- */
.thanks-wrap { max-width: 640px; margin: 0 auto; text-align: center; }
.thanks-badge {
  width: 78px; height: 78px; border-radius: 50%;
  background: var(--teal); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 2.2rem; margin-bottom: 1.4rem;
}
.thanks-sel {
  display: inline-block;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 1.1rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  color: var(--ink);
  margin: 0.4rem 0 1.4rem;
}

/* ---------- Global footer (ft prefix — isolated) ---------- */
.ft { background: #0b1826; color: #b9c6d2; margin-top: auto; }
.ft__page-extra { max-width: var(--maxw); margin: 0 auto; padding: 1.4rem clamp(1.2rem,4vw,2.4rem); border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 0.85rem; color: #93a4b4; }
.ft__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2.6rem, 5vw, 3.6rem) clamp(1.2rem, 4vw, 2.4rem) 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2.4rem;
}
.ft__col { flex: 1 1 200px; min-width: 0; }
.ft__col--brand { flex: 1.6 1 280px; }
.ft__brand { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.25rem; color: #fff; display: inline-block; margin-bottom: 0.9rem; }
.ft__about { font-size: 0.9rem; line-height: 1.6; color: #93a4b4; }
.ft__title { font-family: "Space Grotesk", sans-serif; color: #fff; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.9rem; }
.ft__list { list-style: none; margin: 0; padding: 0; }
.ft__list li { margin-bottom: 0.55rem; }
.ft__list a { color: #b9c6d2; font-size: 0.92rem; }
.ft__list a:hover { color: var(--gold); }
.ft__contact { font-size: 0.9rem; line-height: 1.7; color: #b9c6d2; }
.ft__contact strong { color: #fff; font-weight: 600; }
.ft__mail { color: #e7d9b8; }
.ft__base {
  border-top: 1px solid rgba(255,255,255,0.09);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.4rem clamp(1.2rem, 4vw, 2.4rem);
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 2rem;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #8295a6;
}
.ft__base p { margin: 0; max-width: 70ch; }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 1.2rem;
  width: min(760px, calc(100% - 2rem));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 30px 70px -30px rgba(15,32,51,0.55);
  padding: 1.2rem 1.4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.4rem;
  z-index: 80;
}
.cookie[hidden] { display: none; }
.cookie__text { margin: 0; font-size: 0.9rem; color: var(--ink-soft); flex: 1 1 300px; }
.cookie__actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.cookie__actions .btn { padding: 0.65rem 1.3rem; font-size: 0.88rem; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem clamp(1.2rem, 4vw, 2.4rem) 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .site-nav.is-open { max-height: 340px; }
  .site-nav__link { width: 100%; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
  .site-head__bar { position: relative; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .cta-band { text-align: left; }
  .svc__body { padding: 1.5rem; }
}
