/* services.css: the Services page's own placing and sizing (plan.md, Services), with design\system.css's tokens,
   design\components.css's components and parts.css's shared patterns. */
@import url("parts.css");

/* ---------- hero: the words on the cream shade, the searches on the right, a schedule filling up behind ---------- */
main > .svc-hero { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center; min-height: clamp(580px, 46vw, 720px); padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); background: var(--c-paper); border-bottom: var(--edge) solid var(--c-ink); }
.svc-hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.svc-hero__footage { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; object-position: var(--svc-hero-pos, 62% 45%); }
.svc-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, var(--c-paper) 0%, color-mix(in srgb, var(--c-paper) 94%, transparent) 30%, color-mix(in srgb, var(--c-paper) 55%, transparent) 50%, color-mix(in srgb, var(--c-paper) 0%, transparent) 68%); }
.svc-hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }
.svc-hero__copy { display: grid; gap: var(--space-5); max-width: 36rem; }
.svc-hero__title { font-size: calc(var(--fs-h1) * 0.84); }
.svc-hero__line { max-width: 31rem; font-size: calc(var(--fs-body) * 1.12); color: var(--c-ink-soft); }
.svc-hero__cta { margin-top: var(--space-2); }
.svc-hero__stage { justify-self: end; width: min(100%, 500px); }
.svc-hero__stop { top: 16px; right: var(--gutter); }
@media (max-width: 899px) {
  main > .svc-hero { min-height: 0; padding-bottom: 2rem; }
  .svc-hero__in { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
  .svc-hero__shade { background: linear-gradient(180deg, var(--c-paper) 0%, color-mix(in srgb, var(--c-paper) 92%, transparent) 42%, color-mix(in srgb, var(--c-paper) 15%, transparent) 72%); }
  .svc-hero__stage { justify-self: center; }
}

/* ---------- found: the woman's search beside the map, the three services under them ---------- */
.found__grid { display: grid; grid-template-columns: minmax(0, 0.68fr) minmax(0, 1.32fr); gap: clamp(1.25rem, 0.5rem + 2vw, 2.5rem); align-items: stretch; }
.found__photo { min-height: 540px; }
.found__photo .frame__media { object-position: 45% 30%; }
.found__map { position: relative; border-radius: var(--radius-l); background: var(--c-paper-alt); box-shadow: var(--shadow-l); }
.found__scene { height: 100%; min-height: 540px; }
.found__stop { top: 14px; right: 14px; }
.found__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); margin: var(--space-6) 0 0; padding: 0; list-style: none; }
.found__list .note-card { gap: 0.3rem; padding: 1rem 1.15rem 1.1rem; font-size: 1rem; }
.found__list .note-card b { font-size: 1.14rem; }
@media (max-width: 860px) {
  .found__grid { grid-template-columns: minmax(0, 1fr); }
  .found__photo { min-height: 0; aspect-ratio: 4 / 3.4; }
  .found__photo .frame__media { object-position: 50% 22%; }
  .found__list { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }
}

/* ---------- click: the ads panel hangs over the footage's left side and past its foot ---------- */
main > .click { position: relative; z-index: 2; padding-bottom: 0; }
.click__band { position: relative; height: clamp(520px, 44vw, 640px); }
.click__media { position: absolute; inset: 0; overflow: hidden; border-block: var(--edge) solid var(--c-ink); background: var(--c-ink); }
.click__footage { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; object-position: 62% 50%; }
.click__in { position: relative; height: 100%; }
.click__panel { position: absolute; left: var(--gutter); bottom: -72px; width: min(470px, 46%); }
.click__scene { height: 480px; }
.click__stop { top: 16px; right: var(--gutter); }
@media (max-width: 760px) {
  /* on a phone the footage stays behind the panel, its top shown above it (the panel stands on it at every width) */
  .click__band { height: auto; padding: 220px 0 24px; }
  .click__media { position: absolute; inset: 0; height: auto; }
  .click__in { height: auto; }
  .click__panel { position: relative; left: auto; bottom: auto; width: auto; margin-top: 0; }
  .click__scene { height: 470px; }
}
main > .click + .picked { padding-top: calc(var(--section-y) + 72px); }
@media (max-width: 760px) { main > .click + .picked { padding-top: var(--section-y); } }

/* ---------- picked: the words beside the med spa, the island in the photo's clear left ---------- */
.picked__in { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: clamp(1.5rem, 0.8rem + 3vw, 4rem); align-items: center; }
.picked__head { margin-bottom: 0; }
.picked__stage { aspect-ratio: 4 / 3.15; }
.picked__stage .frame__media { object-position: 72% 40%; }
.picked__scene { position: absolute; z-index: 2; left: 0; top: 0; bottom: 0; width: 56%; }
.picked__island { height: 100%; }
.picked__stop { top: 14px; right: 14px; }
@media (max-width: 860px) {
  .picked__in { grid-template-columns: minmax(0, 1fr); }
  .picked__stage { aspect-ratio: 3 / 4.3; }
  .picked__stage .frame__media { object-position: 82% 0%; }
  .picked__scene { left: 0; right: 0; top: auto; width: auto; height: 340px; }
}

/* ---------- leads: the walnut band's words, then the remodeler at work with the call booking itself ---------- */
main > .leads { padding: 0; }
.leads__top { padding-block: var(--section-y) calc(var(--section-y) * 0.55); }
.leads__head { margin-bottom: 0; }
.leads__band { position: relative; height: clamp(580px, 46vw, 680px); border-bottom: var(--edge) solid var(--c-ink); background: var(--c-ink); }
.leads__media { position: absolute; inset: 0; overflow: hidden; }
.leads__footage { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; object-position: 62% 45%; }
.leads__in { position: relative; box-sizing: border-box; height: 100%; padding-block: 28px; }
.leads__scene { height: 100%; }
.leads__stop { top: 16px; right: var(--gutter); }
@media (max-width: 760px) {
  .leads__band { height: auto; background: var(--c-band); }
  .leads__media { position: absolute; inset: 0; height: auto; }
  .leads__footage { object-position: 70% 40%; }
  /* the remodeler shown above the call card, the card on the footage's foot (on it at every width) */
  .leads__in { height: auto; padding-block: 240px 28px; }
  .leads__scene { height: 340px; }
}

/* ---------- week: one landscaping company, before and after (both photos mirrored: each owner on his own side) ---------- */
.week__box .before .compare__photo { transform: scaleX(-1); object-position: 50% 30%; filter: saturate(0.55); }
.week__box .after .compare__photo { transform: scaleX(-1); object-position: 50% 55%; }
.week__box .compare__cards { width: min(280px, 30%); }
@media (max-width: 760px) {
  .week__box .compare__cards { width: calc(50% - 8% - 8px); }
  .week__box .before .compare__photo { object-position: 62% 30%; }
  .week__box .after .compare__photo { object-position: 30% 55%; }
}

/* ---------- mix: the route on the designed ground, the goal chips above it ---------- */
main > .mix { padding-block: clamp(4.5rem, 3rem + 4vw, 7.5rem); }
.mix__head { margin-bottom: var(--space-6); }
.mix__card { position: relative; max-width: 1120px; margin-inline: auto; box-sizing: border-box; padding: clamp(1.25rem, 0.7rem + 2vw, 2.5rem); border-radius: var(--radius-l); background: var(--c-paper); box-shadow: var(--shadow-l); }
.mix__goals { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin-bottom: var(--space-5); }
.mix__ask { margin-right: 0.35rem; font: 800 1.15rem/1.2 var(--font-display); }
.mix__goal {
  min-width: 64px; min-height: 48px; padding: 0 1rem; border: 0; border-radius: var(--radius-s); cursor: pointer;
  background: var(--c-paper); color: var(--c-ink); box-shadow: 0 0 0 2px var(--c-ink); font: 800 1.2rem/1 var(--font-display);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background-color var(--dur-fast);
}
.mix__goal:hover { transform: translate(-1px, -1px); box-shadow: 0 0 0 2px var(--c-ink), 3px 3px 0 2px var(--c-ink); }
.mix__goal[data-on] { background: var(--c-brand); color: var(--c-on-brand); box-shadow: 0 0 0 2px var(--c-ink), 3px 3px 0 2px var(--c-ink); transform: translate(-1px, -1px); }
/* the stop icon on the scene's own corner (on a phone the card's top and the scene's foot do not fit in one view) */
.mix__stage { position: relative; }
.mix__stop { top: 8px; right: 8px; }
@media (max-width: 560px) {
  .mix__goals { padding-right: 0; }
  .mix__ask { flex-basis: 100%; }
  .mix__goal { flex: 1; min-width: 0; }
}

/* ---------- faq ---------- */
.svc-faq__list { max-width: 880px; margin-inline: auto; }
