/* ============================================================
   BreakLine — public site
   Tokens come from tokens.css (ClickLend design system).
   Values below that are not in the token set are declared once
   here and never inlined further down.
   ============================================================ */

:root {
  --accent-warm:      #FFD48A;   /* the page's single warm accent */
  --canvas-green:     #F7FAF8;   /* hero band, album call bar */
  --scrim-album:      rgba(15,26,36,0.55);
  --scrim-call:       rgba(15,26,36,0.45);
  --badge-ink:        rgba(15,26,36,0.82);
  --glass:            rgba(255,255,255,0.94);
  --play-disc:        rgba(255,255,255,0.92);

  --shadow-card:      0 1px 3px rgba(15,26,36,0.06);
  --shadow-photo:     0 4px 12px rgba(15,26,36,0.08);
  --shadow-modal:     0 12px 32px rgba(15,26,36,0.2);
  --shadow-float:     0 12px 32px rgba(15,26,36,0.28);
  --shadow-on-dark:   0 12px 32px rgba(0,0,0,0.3);
  --shadow-cta:       0 4px 12px rgba(11,122,75,0.24);

  --pad-x:            24px;
}

/* ── Base ──────────────────────────────────────────────────── */

html, body {
  margin: 0;
  background: var(--white);
  color: var(--slate-700);
  font: var(--fw-regular) 19px/var(--lh-relaxed) var(--font-sans);
}

a { color: var(--brand-blue); text-decoration: none; }
a:hover { color: var(--brand-blue-700); text-decoration: underline; }

button { font-family: inherit; }

:focus-visible { outline: 3px solid var(--brand-blue); outline-offset: 2px; }

[hidden] { display: none !important; }

.icon { width: 24px; height: 24px; flex: none; }

@keyframes dlgIn   { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scrimIn { from { opacity: 0; } to { opacity: 1; } }

.page { max-width: var(--layout-max); margin: 0 auto; background: var(--white); }

/* ── Buttons ───────────────────────────────────────────────── */

.btn {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  border: 0;
  border-radius: var(--radius-md);
  font-weight: var(--fw-bold);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
}
.btn svg { flex: none; }
.btn--block { width: 100%; justify-content: center; }

.btn--h58 { min-height: 58px; font-size: 19px; gap: var(--sp-10); }
.btn--h58 svg { width: 24px; height: 24px; }
.btn--h60 { min-height: 60px; padding: 0 var(--sp-24); font-size: 21px; gap: var(--sp-10); }
.btn--h60 svg { width: 24px; height: 24px; }
.btn--h64 { min-height: 64px; padding: 0 26px; font-size: 22px; }
.btn--h64 svg { width: 26px; height: 26px; }
.btn--h72 { min-height: 72px; padding: 0 var(--sp-32); font-size: 25px; }
.btn--h72 svg { width: 28px; height: 28px; }

.btn--primary { background: var(--brand-green); color: var(--white); }
.btn--primary:hover { background: var(--brand-green-600); }
.btn--primary:active { background: var(--brand-green-700); transform: translateY(1px); }

.btn--dark { background: var(--slate-900); color: var(--white); }
.btn--dark:hover { background: var(--slate-800); }
.btn--dark:active { transform: translateY(1px); }

.btn--outline-ink {
  background: var(--white);
  border: 2px solid var(--slate-900);
  color: var(--slate-900);
}
.btn--outline-ink:hover { background: var(--brand-green-050); }
.btn--outline-ink:active { transform: translateY(1px); }
.btn--outline-ink.btn--h72 { padding: 0 28px; }

.btn--outline-green {
  background: var(--white);
  border: 2px solid var(--brand-green);
  color: var(--brand-green-700);
}
.btn--outline-green:hover { background: var(--brand-green-050); }
.btn--outline-green:active { transform: translateY(1px); }
.btn--outline-green.btn--h58 svg { width: 22px; height: 22px; }

.btn--lift { box-shadow: var(--shadow-cta); }

.btn--quiet {
  min-height: 52px;
  padding: 0 18px;
  gap: var(--sp-10);
  background: var(--white);
  border: 1px solid var(--slate-200);
  color: var(--slate-900);
  font-size: 19px;
  font-weight: var(--fw-semibold);
}
.btn--quiet:hover { background: var(--slate-100); }

.btn--circle {
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-pill);
  background: var(--glass);
  color: var(--slate-900);
  box-shadow: var(--shadow-photo);
}
.btn--circle:hover { background: var(--white); }
.btn--circle svg { width: 30px; height: 30px; }

.btn--icon {
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  color: var(--slate-700);
  font-size: var(--fs-24);
  font-weight: var(--fw-semibold);
}
.btn--icon:hover { background: var(--slate-100); }

/* ── Remote media from admin backend ───────────────────────── */
.remote-media {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--slate-100);
}

.remote-media img,
.remote-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.remote-media__placeholder {
  max-width: 80%;
  padding: 16px;
  text-align: center;
  color: var(--slate-500);
  font-weight: var(--fw-semibold);
}

/* ── Media frames ──────────────────────────────────────────── */

.frame {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--slate-200);
}
.frame--4x3  { aspect-ratio: 4 / 3; }
.frame--16x10 { aspect-ratio: 16 / 10; border-radius: var(--radius-md); background: var(--slate-100); }
.frame--16x9 { aspect-ratio: 16 / 9; max-height: 56vh; background: var(--slate-100); }
.frame--lift { box-shadow: var(--shadow-photo); }

/* ── Top strip ─────────────────────────────────────────────── */

.strip {
  background: var(--slate-900);
  color: var(--white);
  padding: var(--sp-10) var(--pad-x);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-8) 28px;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: var(--fw-medium);
}
.strip__item { display: flex; align-items: center; gap: var(--sp-8); }
.strip__item--accent { color: var(--accent-warm); }
.strip svg { width: 19px; height: 19px; flex: none; }

/* ── Header ────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--slate-200);
  padding: 14px var(--pad-x);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-16);
  align-items: center;
  justify-content: space-between;
}
.site-header .btn--primary { box-shadow: var(--shadow-card); }

.brand { display: flex; align-items: center; gap: var(--sp-12); }
.brand:hover { text-decoration: none; }
.brand__mark {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: var(--brand-green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.brand__mark svg { width: 26px; height: 26px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-size: 23px; font-weight: var(--fw-bold); color: var(--slate-900); letter-spacing: -0.01em; }
.brand__sub {
  font-size: var(--fs-14);
  font-weight: var(--fw-semibold);
  color: var(--slate-500);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav { display: flex; flex-wrap: wrap; gap: var(--sp-6); align-items: center; }
.nav a {
  padding: var(--sp-12) var(--sp-16);
  border-radius: var(--radius-md);
  font-size: 19px;
  font-weight: var(--fw-semibold);
  color: var(--slate-900);
}
.nav a:hover { background: var(--brand-green-050); color: var(--slate-900); text-decoration: none; }

/* ── Shared section furniture ──────────────────────────────── */

.section { padding: var(--sp-64) var(--pad-x); }
.section__title {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: var(--fw-bold);
  color: var(--slate-900);
  letter-spacing: -0.015em;
}
.section__lead { margin: var(--sp-12) 0 0; font-size: 21px; color: var(--slate-600); max-width: 52ch; }

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: var(--sp-40);
  align-items: center;
}
.split--320 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }

/* ── Hero ──────────────────────────────────────────────────── */

.hero {
  padding: 56px var(--pad-x) var(--sp-48);
  background: var(--canvas-green);
  border-bottom: 1px solid var(--slate-200);
}
.pill-trust {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-8);
  padding: var(--sp-8) var(--sp-16);
  border-radius: var(--radius-pill);
  background: var(--brand-green-100);
  color: var(--brand-green-700);
  font-size: 17px;
  font-weight: var(--fw-semibold);
}
.pill-trust svg { width: 20px; height: 20px; flex: none; }
.hero__title {
  margin: var(--sp-20) 0 0;
  font-size: clamp(38px, 5.2vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: var(--fw-bold);
  color: var(--slate-900);
  text-wrap: balance;
}
.hero__lead {
  margin: var(--sp-20) 0 0;
  font-size: 23px;
  line-height: 1.55;
  color: var(--slate-700);
  max-width: 34ch;
  text-wrap: pretty;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: var(--sp-32); }
.hero__reassure {
  margin: 18px 0 0;
  font-size: 19px;
  color: var(--slate-600);
  display: flex;
  align-items: center;
  gap: var(--sp-10);
}
.hero__reassure svg { width: 22px; height: 22px; color: var(--brand-green); flex: none; }

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: var(--sp-16);
  margin-top: 44px;
}
.stat {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-20) 22px;
  box-shadow: var(--shadow-card);
}
.stat__num { font-size: 34px; font-weight: var(--fw-bold); color: var(--brand-green); font-variant-numeric: tabular-nums; }
.stat__label { font-size: var(--fs-18); color: var(--slate-600); margin-top: var(--sp-4); }

/* ── Services ──────────────────────────────────────────────── */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: var(--sp-20);
  margin-top: var(--sp-32);
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-16) var(--sp-16) var(--sp-20);
  box-shadow: var(--shadow-card);
  transition: border-color var(--dur-fast) var(--ease-out);
}
.card:hover { border-color: var(--brand-green); }
.card__badge {
  position: absolute;
  left: var(--sp-10);
  bottom: var(--sp-10);
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  padding: 7px var(--sp-12);
  border-radius: var(--radius-pill);
  background: var(--badge-ink);
  color: var(--white);
  font-size: var(--fs-16);
  font-weight: var(--fw-semibold);
  pointer-events: none;
}
.card__badge svg { width: 18px; height: 18px; flex: none; }
.card__head { display: flex; align-items: center; gap: var(--sp-12); margin-top: 18px; }
.card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--brand-green-050);
  color: var(--brand-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.card__icon svg { width: 26px; height: 26px; }
.card__title { margin: 0; font-size: var(--fs-24); font-weight: var(--fw-bold); color: var(--slate-900); }
.card__text {
  margin: var(--sp-10) 0 0;
  font-size: 19px;
  line-height: 1.55;
  color: var(--slate-600);
  text-wrap: pretty;
}
.card__foot { margin-top: auto; padding-top: var(--sp-16); }
.card__price {
  font-size: var(--fs-18);
  font-weight: var(--fw-semibold);
  color: var(--slate-900);
  padding-top: var(--sp-16);
  border-top: 1px solid var(--slate-200);
}
.card__actions { display: grid; gap: var(--sp-10); margin-top: 14px; }

/* ── How it works ──────────────────────────────────────────── */

.steps-band {
  padding: 56px var(--pad-x);
  background: var(--slate-050);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: var(--sp-20);
  margin-top: 28px;
}
.step {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-24);
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  background: var(--brand-green);
  color: var(--white);
  font-size: 22px;
  font-weight: var(--fw-bold);
}
.step__title { margin: var(--sp-16) 0 0; font-size: var(--fs-24); font-weight: var(--fw-bold); color: var(--slate-900); }
.step__text { margin: var(--sp-8) 0 0; font-size: 19px; color: var(--slate-600); }

/* ── About ─────────────────────────────────────────────────── */

.about__text {
  margin: var(--sp-16) 0 0;
  font-size: 22px;
  line-height: var(--lh-relaxed);
  color: var(--slate-700);
  text-wrap: pretty;
}
.about__list { list-style: none; margin: var(--sp-24) 0 0; padding: 0; display: grid; gap: var(--sp-12); }
.about__list li {
  display: flex;
  gap: var(--sp-12);
  align-items: flex-start;
  font-size: var(--fs-20);
  color: var(--slate-900);
  font-weight: var(--fw-medium);
}
.about__list svg { width: 24px; height: 24px; color: var(--brand-green); flex: none; margin-top: 3px; }

/* ── Contact ───────────────────────────────────────────────── */

.contact { padding: var(--sp-64) var(--pad-x); background: var(--slate-900); color: var(--white); }
.contact__title {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: var(--fw-bold);
  color: var(--white);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.contact__lead { margin: var(--sp-16) 0 0; font-size: 22px; color: var(--slate-200); max-width: 40ch; }
.contact__facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-24);
  margin-top: 28px;
  font-size: 19px;
  color: var(--slate-300);
}
.contact__facts span { display: flex; align-items: center; gap: var(--sp-10); }
.contact__facts svg { width: 22px; height: 22px; color: var(--accent-warm); flex: none; }

.contact-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--sp-32);
  box-shadow: var(--shadow-on-dark);
}
.contact-card__eyebrow {
  font-size: var(--fs-18);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-500);
}
.contact-card__phone {
  display: block;
  margin-top: var(--sp-10);
  font-family: var(--font-mono);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: var(--fw-semibold);
  color: var(--slate-900);
  font-variant-numeric: tabular-nums;
}
.contact-card__phone:hover { color: var(--slate-900); }
.contact-card .btn--primary { margin-top: 22px; }
.contact-card__second { margin-top: var(--sp-12); font-size: 21px; }
.contact-card__note { margin: var(--sp-16) 0 0; font-size: 17px; color: var(--slate-500); }

/* ── Footer ────────────────────────────────────────────────── */

.site-footer {
  padding: 28px var(--pad-x);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-12) var(--sp-32);
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--slate-200);
  font-size: 17px;
  color: var(--slate-500);
}
.site-footer__links { display: flex; flex-wrap: wrap; gap: var(--sp-20); }
.site-footer__links a { display: inline-flex; align-items: center; min-height: 44px; }

/* ── Floating call pill ────────────────────────────────────── */

.float-call {
  position: fixed;
  right: var(--sp-20);
  bottom: var(--sp-20);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  min-height: 68px;
  padding: 0 26px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--brand-green);
  color: var(--white);
  font-size: 22px;
  font-weight: var(--fw-bold);
  cursor: pointer;
  box-shadow: var(--shadow-float);
  transition: background var(--dur-fast) var(--ease-out);
}
.float-call:hover { background: var(--brand-green-600); }
.float-call:active { transform: translateY(1px); }
.float-call svg { width: 26px; height: 26px; flex: none; }

/* ── Modals ────────────────────────────────────────────────── */

.scrim { position: fixed; inset: 0; animation: scrimIn var(--dur-base) var(--ease-out); }
.scrim--album {
  z-index: 70;
  background: var(--scrim-album);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: var(--sp-20);
  overflow: auto;
}
/* Above the album (not below it, as the raw z-indexes in the mockup would
   have it) so the call popup opens over the photos, as the spec intends. */
.scrim--call {
  z-index: 80;
  background: var(--scrim-call);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-24);
}

.dialog {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-modal);
  animation: dlgIn var(--dur-base) var(--ease-out);
}

.album {
  width: 100%;
  max-width: 1040px;
  margin: auto;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 40px);
  overflow: hidden;
}
.album__head {
  flex: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-12);
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-20) var(--pad-x);
  border-bottom: 1px solid var(--slate-200);
}
.album__title { margin: 0; font-size: 27px; font-weight: var(--fw-bold); color: var(--slate-900); }
.album__count { margin: var(--sp-4) 0 0; font-size: var(--fs-18); color: var(--slate-600); }
.album__body { flex: 1 1 auto; overflow: auto; min-height: 0; padding: var(--sp-20) var(--pad-x) var(--sp-4); }

.viewer__media { position: absolute; inset: 0; }
.viewer__media > img,
.viewer__media > video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: var(--slate-900);
}
.thumb > img,
.thumb > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.viewer__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.viewer__nav--prev { left: var(--sp-12); }
.viewer__nav--next { right: var(--sp-12); }

.caption-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-8) var(--sp-16);
  align-items: baseline;
  justify-content: space-between;
  margin-top: var(--sp-12);
}
.caption-row__text { font-size: 19px; font-weight: var(--fw-semibold); color: var(--slate-900); }
.caption-row__pos { font-size: var(--fs-18); color: var(--slate-500); font-variant-numeric: tabular-nums; }

.thumbs { flex: none; display: flex; gap: var(--sp-12); overflow-x: auto; padding: var(--sp-16) var(--pad-x) var(--sp-20); }
.thumb {
  position: relative;
  flex: none;
  width: 132px;
  height: 88px;
  padding: 0;
  border: 3px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: var(--slate-100);
  cursor: pointer;
  overflow: hidden;
}
.thumb[aria-current="true"] { border-color: var(--brand-green); }

.album__cta {
  flex: none;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-20) var(--pad-x);
  background: var(--canvas-green);
  border-top: 1px solid var(--slate-200);
}
.album__cta-text { font-size: var(--fs-20); font-weight: var(--fw-semibold); color: var(--slate-900); }

.play-badge { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.play-badge span {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  background: var(--play-disc);
  color: var(--slate-900);
}
.play-badge--lg span { width: 92px; height: 92px; box-shadow: var(--shadow-float); }
.play-badge--lg svg { width: 42px; height: 42px; }
.play-badge--sm span { width: 38px; height: 38px; }
.play-badge--sm svg { width: 20px; height: 20px; }

.call-dialog { position: relative; width: 100%; max-width: 520px; padding: var(--sp-32); text-align: center; }
.call-dialog__close { position: absolute; top: 14px; right: 14px; }
.call-dialog__disc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: var(--radius-pill);
  background: var(--brand-green-100);
  color: var(--brand-green);
}
.call-dialog__disc svg { width: 36px; height: 36px; }
.call-dialog__title { margin: 18px 0 0; font-size: 30px; font-weight: var(--fw-bold); color: var(--slate-900); }
.call-dialog__hours { margin: var(--sp-8) 0 0; font-size: 19px; color: var(--slate-600); }
.call-dialog__number {
  display: block;
  margin: 22px 0 0;
  font-family: var(--font-mono);
  font-size: clamp(28px, 6vw, 42px);
  font-weight: var(--fw-semibold);
  color: var(--slate-900);
  letter-spacing: 0.01em;
}
.call-dialog__number:hover { color: var(--slate-900); }
.call-dialog__action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-12);
  min-height: 72px;
  margin-top: var(--sp-20);
  border-radius: var(--radius-md);
  background: var(--brand-green);
  color: var(--white);
  font-size: 25px;
  font-weight: var(--fw-bold);
  transition: background var(--dur-fast) var(--ease-out);
}
.call-dialog__action:hover { background: var(--brand-green-600); color: var(--white); text-decoration: none; }
.call-dialog__action svg { width: 28px; height: 28px; flex: none; }
.call-dialog__note { margin: var(--sp-16) 0 0; font-size: 17px; color: var(--slate-500); }

/* ── Reduced motion ────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .scrim, .dialog { animation: none; }
  * { transition: none !important; }
}


/* ── Responsive layout refinements ─────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  max-width: 100%;
  overflow-x: clip;
}

img,
video,
svg {
  max-width: 100%;
}

.page,
main,
section,
.split,
.cards,
.card,
.stats,
.steps,
.contact-card {
  min-width: 0;
}

.btn {
  justify-content: center;
  text-align: center;
  overflow-wrap: anywhere;
}

.nav a {
  min-width: 0;
  text-align: center;
}

.remote-media__placeholder {
  overflow-wrap: anywhere;
}

/* Laptop / tablet: keep the logo and CTA on the first row, navigation below. */
@media (max-width: 1080px) {
  .site-header {
    gap: 10px 16px;
  }

  .site-header > .btn {
    order: 2;
  }

  .site-header .nav {
    order: 3;
    flex: 1 0 100%;
    justify-content: center;
  }

  .nav a {
    font-size: 16px;
    padding: 10px 12px;
  }
}

@media (max-width: 760px) {
  :root {
    --pad-x: 18px;
  }

  html,
  body {
    font-size: 16px;
  }

  .section,
  .contact {
    padding: 42px var(--pad-x);
  }

  .steps-band {
    padding: 42px var(--pad-x);
  }

  .hero {
    padding: 32px var(--pad-x) 28px;
  }

  .split,
  .split--320 {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .hero__title {
    font-size: clamp(32px, 6.5vw, 48px);
    line-height: 1.08;
  }

  .hero__lead,
  .section__lead,
  .contact__lead {
    font-size: 18px;
    max-width:  none;
  }

  .hero__actions {
    gap: 10px;
  }

  .hero__actions .btn {
    min-height: 56px;
    padding-inline: 18px;
    font-size: 17px;
  }

  .hero__reassure {
    align-items: flex-start;
    font-size: 16px;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
  }

  .stat {
    padding: 16px;
  }

  .stat__num {
    font-size: clamp(22px, 4vw, 30px);
    overflow-wrap: anywhere;
  }

  .stat__label {
    font-size: 15px;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
  }

  .card {
    padding: 12px;
  }

  .card__head {
    align-items: flex-start;
    gap: 10px;
    margin-top: 14px;
  }

  .card__icon {
    width: 40px;
    height: 40px;
  }

  .card__icon svg {
    width: 22px;
    height: 22px;
  }

  .card__title {
    font-size: clamp(18px, 2.7vw, 22px);
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .card__text {
    font-size: 16px;
    line-height: 1.5;
  }

  .card__badge {
    font-size: 13px;
    padding: 6px 9px;
  }

  .card__actions .btn {
    min-height: 48px;
    padding: 8px;
    font-size: 14px;
    gap: 6px;
  }

  .card__actions .btn svg {
    width: 18px;
    height: 18px;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .step {
    padding: 18px;
  }

  .step__title {
    font-size: 20px;
  }

  .step__text {
    font-size: 16px;
  }

  .about__text {
    font-size: 18px;
  }

  .about__list li {
    font-size: 16px;
  }

  .contact__title {
    font-size: clamp(30px, 5vw, 42px);
  }

  .contact__facts {
    flex-direction: column;
    gap: 12px;
    font-size: 16px;
  }

  .contact-card {
    padding: 24px;
  }

  .contact-card__phone {
    font-size: clamp(24px, 5vw, 34px);
    letter-spacing: 0;
    overflow-wrap: anywhere;
  }

  .contact-card__second {
    font-size: 17px;
  }

  .site-footer {
    padding: 22px var(--pad-x);
    align-items: flex-start;
  }

  .float-call {
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    min-height: 56px;
    padding-inline: 18px;
    font-size: 16px;
  }

  .scrim--album {
    padding: 10px;
  }

  .album {
    max-height: calc(100dvh - 20px);
  }

  .album__head {
    padding: 14px 16px;
  }

  .album__title {
    font-size: 22px;
  }

  .album__count {
    font-size: 14px;
  }

  .album__body {
    padding: 14px 16px 4px;
  }

  .viewer__nav {
    width: 46px;
    height: 46px;
  }

  .thumbs {
    gap: 8px;
    padding: 12px 16px 14px;
  }

  .thumb {
    width: 104px;
    height: 70px;
  }

  .album__cta {
    padding: 14px 16px;
    gap: 12px;
  }

  .album__cta-text {
    font-size: 16px;
  }

  .album__cta .btn {
    min-height: 52px;
    font-size: 17px;
  }

  .scrim--call {
    padding: 14px;
  }

  .call-dialog {
    padding: 60px 22px 24px;
  }

  .call-dialog__title {
    font-size: 25px;
  }

  .call-dialog__hours,
  .call-dialog__note {
    font-size: 16px;
  }

  .call-dialog__number {
    font-size: clamp(24px, 6vw, 34px);
    overflow-wrap: anywhere;
  }

  .call-dialog__action {
    min-height: 58px;
    padding: 10px;
    font-size: 17px;
  }
}

@media (max-width: 480px) {
  :root {
    --pad-x: 16px;
  }

  .strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 10px var(--pad-x);
    font-size: 14px;
  }

  .strip__item {
    align-items: flex-start;
  }

  .site-header {
    padding: 10px var(--pad-x);
    gap: 10px;
  }

  .brand {
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
  }

  .brand__mark {
    width: 38px;
    height: 38px;
  }

  .brand__mark svg {
    width: 22px;
    height: 22px;
  }

  .brand__name {
    font-size: 19px;
  }

  .brand__sub {
    font-size: 10px;
    letter-spacing: 0.025em;
  }

  .site-header > .btn {
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    height: 44px;
    padding: 0;
    gap: 0;
    font-size: 0;
  }

  .site-header > .btn svg {
    width: 21px;
    height: 21px;
  }

  .site-header .nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }

  .nav a {
    padding: 9px 8px;
    font-size: 14px;
    white-space: normal;
  }

  .hero {
    padding-top: 26px;
  }

  .pill-trust {
    align-items: flex-start;
    max-width: 100%;
    font-size: 13px;
    white-space: normal;
  }

  .hero__title {
    font-size: clamp(30px, 8.6vw, 38px);
  }

  .hero__lead,
  .section__lead,
  .contact__lead {
    font-size: 16px;
    line-height: 1.55;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    margin-top: 22px;
  }

  .hero__actions .btn {
    width: 100%;
    min-height: 52px;
    font-size: 16px;
  }

  .hero__reassure {
    font-size: 14px;
  }

  .stats {
    gap: 10px;
  }

  .stat {
    padding: 12px;
  }

  .stat__num {
    font-size: clamp(19px, 5.8vw, 25px);
  }

  .stat__label {
    font-size: 13px;
    line-height: 1.4;
  }

  .cards,
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .card {
    padding: 14px;
  }

  .card__title {
    font-size: 20px;
  }

  .card__text {
    font-size: 16px;
  }

  .card__actions .btn {
    font-size: 15px;
  }

  .section__title {
    font-size: clamp(28px, 7.5vw, 36px);
  }

  .step__title {
    font-size: 20px;
  }

  .contact__title {
    font-size: 30px;
  }

  .contact-card {
    padding: 20px;
  }

  .contact-card__eyebrow {
    font-size: 14px;
  }

  .contact-card__phone {
    font-size: clamp(22px, 7vw, 30px);
  }

  .contact-card .btn {
    min-height: 54px;
    font-size: 16px;
  }

  .site-footer {
    flex-direction: column;
    gap: 12px;
  }

  .site-footer__links {
    gap: 8px 16px;
  }

  .float-call {
    width: 56px;
    height: 56px;
    min-height: 56px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    font-size: 0;
  }

  .float-call svg {
    width: 24px;
    height: 24px;
  }

  .scrim--album {
    padding: 8px;
  }

  .album {
    max-height: calc(100dvh - 16px);
  }

  .album__head {
    gap: 8px;
    padding: 12px;
  }

  .album__title {
    font-size: 19px;
  }

  .album__head .btn {
    min-height: 40px;
    padding: 8px 10px;
    font-size: 14px;
  }

  .album__body {
    padding: 10px 12px 4px;
  }

  .frame--16x9 {
    max-height: 42vh;
  }

  .viewer__nav--prev {
    left: 6px;
  }

  .viewer__nav--next {
    right: 6px;
  }

  .viewer__nav {
    width: 40px;
    height: 40px;
  }

  .caption-row__text {
    font-size: 15px;
  }

  .caption-row__pos {
    font-size: 14px;
  }

  .thumbs {
    padding: 10px 12px 12px;
  }

  .thumb {
    width: 88px;
    height: 60px;
  }

  .album__cta {
    align-items: stretch;
    flex-direction: column;
    padding: 12px;
  }

  .album__cta .btn {
    width: 100%;
  }

  .call-dialog {
    padding: 56px 18px 20px;
  }

  .call-dialog__disc {
    width: 60px;
    height: 60px;
  }

  .call-dialog__title {
    font-size: 23px;
  }

  .call-dialog__number {
    font-size: clamp(22px, 6.6vw, 29px);
  }

  .call-dialog__action {
    min-height: 54px;
    font-size: 16px;
  }
}

@media (max-height: 520px) and (orientation: landscape) {
  .scrim--call,
  .scrim--album {
    align-items: flex-start;
    overflow-y: auto;
  }

  .album {
    max-height: none;
  }

  .call-dialog {
    margin-block: 10px;
  }
}
