/* ═══════════════════════════════════════════════════════════
   Andemora Cleaning — Landing Page
   Palette + type per Andemora Style Guide v1.0
   60% Linho · 25% Plum · 10% Terracotta · 5% Peach
   ═══════════════════════════════════════════════════════════ */

:root {
  --plum: #48084A;
  --plum-ink: #2A0A2C;
  --terracotta: #D65C2F;
  --terracotta-text: #C4502A;
  --peach: #FDAE6F;
  --linen: #FBF8F5;
  --sand: #EDE2DA;
  --graphite: #33232A;
  --mauve: #6B5762;
  --gradient: linear-gradient(90deg, #48084a 0%, #d65c2f 50%, #fdae6f 100%);
  --gradient-soft: linear-gradient(135deg, #48084a 0%, #7a2140 55%, #d65c2f 115%);

  --font-display: 'Prata', Georgia, serif;
  --font-body: 'Jost', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px -18px rgba(42, 10, 44, 0.22);
  --shadow-soft: 0 10px 30px -14px rgba(42, 10, 44, 0.16);
  --maxw: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--linen);
  color: var(--graphite);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--peach); color: var(--plum-ink); }

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--plum-ink);
  margin: 0;
}

h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.2; }
h3 { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.3; }

p { margin: 0; }

a { color: var(--terracotta-text); text-decoration: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--plum); color: #fff; padding: 10px 18px;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ── Label — "hotel tag" per style guide: Jost 500, 0.24em ── */
.label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--terracotta-text);
  margin: 0 0 14px;
}
.label--peach { color: var(--peach); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}
.btn--lg { padding: 16px 32px; font-size: 16px; }
.btn--primary {
  background: var(--terracotta);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(214, 92, 47, 0.55);
}
.btn--primary:hover {
  background: var(--terracotta-text);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -10px rgba(214, 92, 47, 0.6);
}
.btn--ghost {
  border-color: var(--sand);
  color: var(--plum-ink);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--plum); color: var(--plum); transform: translateY(-2px); }
.btn--ghost-light {
  border-color: rgba(251, 248, 245, 0.35);
  color: var(--linen);
  background: transparent;
  padding: 13px 22px;
}
.btn--ghost-light:hover { border-color: var(--linen); color: #fff; }

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--peach);
  outline-offset: 2px;
}

/* ═══════════ NAV ═══════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}
.nav.is-scrolled {
  background: rgba(251, 248, 245, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--sand);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav__brand img { width: 150px; height: auto; }
.nav__links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav__links a {
  font-weight: 400;
  font-size: 15px;
  color: var(--graphite);
  transition: color 0.2s ease;
}
.nav__links a:hover { color: var(--terracotta-text); }
.nav__cta { white-space: nowrap; }

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  margin-left: auto;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px;
}
.nav__burger span {
  display: block; height: 2px; width: 100%;
  background: var(--plum-ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 10px 28px 24px;
  background: rgba(251, 248, 245, 0.97);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px -20px rgba(42, 10, 44, 0.25);
}
.nav__mobile a {
  padding: 12px 0;
  font-size: 17px;
  color: var(--graphite);
  border-bottom: 1px solid var(--sand);
}
.nav__mobile .btn { margin-top: 16px; border-bottom: 0; }

/* ═══════════ HERO ═══════════ */
.hero {
  padding: 150px 28px 70px;
  position: relative;
}
.hero__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 60px;
  align-items: center;
}
.hero__title {
  /* sized so the longest line stays on one line: 3 lines total on every viewport */
  font-size: clamp(23px, 7vw, 58px);
  line-height: 1.1;
  margin: 0 0 26px;
  white-space: nowrap;
}
.hero__title em { font-style: normal; color: var(--terracotta-text); }
.hero__body {
  font-size: 19px;
  max-width: 54ch;
  margin-bottom: 34px;
  color: var(--graphite);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }
.hero__trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 0; padding: 0;
  font-size: 15px;
  font-weight: 400;
  color: var(--mauve);
}
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust strong { color: var(--plum-ink); font-weight: 600; }
.stars { color: var(--terracotta); letter-spacing: 0.1em; font-size: 14px; }
.trust-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--peach); display: inline-block;
}

.hero__visual { position: relative; min-height: 480px; }
.hero__panel {
  position: absolute;
  inset: 0 0 60px 40px;
  background: var(--gradient-soft);
  border-radius: 28px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero__symbol {
  width: 46%;
  opacity: 0.9;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.25));
}
.hero__media {
  position: absolute;
  left: 0; bottom: 0;
  width: min(240px, 52%);
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--plum-ink);
}
.hero__media video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.hero__media figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  margin: 0;
  padding: 30px 14px 12px;
  color: var(--linen);
  background: linear-gradient(to top, rgba(42, 10, 44, 0.85), transparent);
  font-size: 10px;
}

/* ═══════════ MARQUEE ═══════════ */
.marquee {
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
  padding: 16px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee__track { display: inline-flex; will-change: transform; }
.marquee__group {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mauve);
}
.marquee__group i { color: var(--peach); font-style: normal; font-size: 11px; }

/* ═══════════ SECTIONS (shared) ═══════════ */
.section { padding: 110px 28px; }
.section__cta {
  text-align: center;
  margin-top: 52px;
}
.section__cta--tight { margin-top: 34px; }
.section__cta-note {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--mauve);
}
.standard .section__cta-note { color: rgba(251, 248, 245, 0.6); }
.about__cta { margin-top: 32px; }
.section__head {
  max-width: 720px;
  margin: 0 auto 60px;
  text-align: center;
}
.section__sub {
  margin-top: 18px;
  font-size: 18px;
  color: var(--mauve);
}

/* ═══════════ SERVICES ═══════════ */
.services { max-width: calc(var(--maxw) + 56px); margin: 0 auto; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.card {
  background: #FFFDFC;
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: var(--peach);
}
.card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card__num {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--sand);
  transition: color 0.3s ease;
}
.card:hover .card__num { color: var(--peach); }
.card__tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--terracotta-text);
  background: rgba(253, 174, 111, 0.14);
  padding: 6px 12px;
  border-radius: 999px;
}
.card p { font-size: 15.5px; line-height: 1.7; }
.card__meta {
  font-size: 13px !important;
  font-weight: 400;
  color: var(--mauve);
  border-top: 1px solid var(--sand);
  padding-top: 14px;
  margin-top: auto !important;
}
.card__cta {
  align-self: flex-start;
  background: none;
  border: 0;
  padding: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--terracotta-text);
  cursor: pointer;
  transition: color 0.2s ease;
}
.card__cta:hover { color: var(--plum); }
.card--featured { border-color: var(--terracotta); border-width: 1.5px; }
.card--note {
  background: rgba(253, 174, 111, 0.1);
  border-style: dashed;
  align-items: flex-start;
  justify-content: center;
}
.card--note p { color: var(--graphite); }

/* ═══════════ THE TRIPLE-A STANDARD (plum) ═══════════ */
.standard {
  background: var(--plum-ink);
  background-image: radial-gradient(1200px 600px at 85% -10%, rgba(72, 8, 74, 0.9), transparent),
                    radial-gradient(900px 500px at 0% 110%, rgba(214, 92, 47, 0.16), transparent);
  color: var(--linen);
}
.standard__inner { max-width: var(--maxw); margin: 0 auto; }
.standard h2 { color: var(--linen); }
.standard .section__sub { color: rgba(251, 248, 245, 0.72); }

.steps {
  list-style: none;
  margin: 0 0 70px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.step {
  border: 1px solid rgba(251, 248, 245, 0.14);
  border-radius: var(--radius);
  padding: 28px 24px;
  background: rgba(251, 248, 245, 0.03);
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.step:hover { border-color: var(--peach); background: rgba(253, 174, 111, 0.06); }
.step__num {
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--peach);
  display: block;
  margin-bottom: 16px;
}
.step h3 { color: var(--linen); margin-bottom: 10px; }
.step p { font-size: 15px; color: rgba(251, 248, 245, 0.75); }

.standard__detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.standard__list {
  border: 1px solid rgba(251, 248, 245, 0.14);
  border-radius: var(--radius);
  padding: 32px;
}
.standard__list ul {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 12px;
}
.standard__list li {
  padding-left: 26px;
  position: relative;
  font-size: 15.5px;
  color: rgba(251, 248, 245, 0.85);
}
.standard__list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--peach);
  font-size: 12px;
}
.standard__list--never li::before { content: '✕'; color: rgba(251, 248, 245, 0.4); font-size: 11px; }

/* ═══════════ REVIEWS ═══════════ */
.reviews { max-width: calc(var(--maxw) + 56px); margin: 0 auto; }
.reviews__grid {
  columns: 3;
  column-gap: 22px;
}
.review {
  break-inside: avoid;
  margin: 0 0 22px;
  background: #FFFDFC;
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 30px 28px 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.review p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--graphite);
}
.review footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--sand);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.review cite {
  font-style: normal;
  font-weight: 500;
  color: var(--plum-ink);
  font-size: 15px;
}
.review footer span { font-size: 12px; color: var(--mauve); }

/* ═══════════ AREAS ═══════════ */
.areas { max-width: var(--maxw); margin: 0 auto; }
.areas__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 900px;
  margin: 0 auto;
}
.areas__state {
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  background: #FFFDFC;
  padding: 32px;
}
.areas__statename {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--plum-ink);
  margin-bottom: 20px;
}
.chips {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chips li {
  font-size: 14px;
  font-weight: 400;
  color: var(--graphite);
  border: 1px solid var(--sand);
  border-radius: 999px;
  padding: 8px 16px;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.chips li:hover { border-color: var(--peach); background: rgba(253, 174, 111, 0.1); }
.areas__note {
  text-align: center;
  margin-top: 34px;
  color: var(--mauve);
  font-size: 15.5px;
}

/* ═══════════ ABOUT ═══════════ */
.about { background: #F7EFE9; }
.about__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 70px;
  align-items: center;
}
.about__photo {
  margin: 0;
  position: relative;
}
.about__photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
}
.about__photo figcaption { margin-top: 16px; text-align: center; }
.about__copy h2 { margin-bottom: 24px; }
.about__copy p + p { margin-top: 16px; }
.about__badges {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.about__badges li {
  position: relative;
  padding-left: 28px;
  font-weight: 400;
  font-size: 15.5px;
  color: var(--plum-ink);
}
.about__badges li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--terracotta);
  font-weight: 600;
}

/* ═══════════ ESTIMATE ═══════════ */
.estimate {
  background: var(--gradient-soft);
  color: var(--linen);
}
.estimate__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 70px;
  align-items: start;
}
.estimate__intro h2 { color: var(--linen); margin-bottom: 18px; }
.estimate__intro > p { color: rgba(251, 248, 245, 0.8); font-size: 18px; }
.estimate__points {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.estimate__points li {
  position: relative;
  padding-left: 26px;
  font-size: 15.5px;
  color: rgba(251, 248, 245, 0.85);
}
.estimate__points li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--peach);
  font-size: 12px;
}

.form {
  background: rgba(251, 248, 245, 0.06);
  border: 1px solid rgba(251, 248, 245, 0.16);
  border-radius: 24px;
  padding: 40px;
  backdrop-filter: blur(6px);
}
.form__progress { margin-bottom: 34px; }
.form__bar {
  height: 3px;
  background: rgba(251, 248, 245, 0.15);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 14px;
}
.form__bar span {
  display: block;
  height: 100%;
  width: 33.33%;
  background: var(--peach);
  border-radius: 99px;
}
.form__dots {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(251, 248, 245, 0.45);
}
.form__dots .is-active { color: var(--peach); }
.form__dots .is-done { color: rgba(251, 248, 245, 0.8); }

.form__step { border: 0; margin: 0; padding: 0; min-inline-size: auto; }
.form__question {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  color: var(--linen);
  padding: 0;
  margin-bottom: 24px;
}
.form__label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(251, 248, 245, 0.65);
  margin: 20px 0 8px;
}
.form__input {
  width: 100%;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  color: var(--linen);
  background: rgba(42, 10, 44, 0.35);
  border: 1px solid rgba(251, 248, 245, 0.22);
  border-radius: var(--radius-sm);
  padding: 15px 18px;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.form__input::placeholder { color: rgba(251, 248, 245, 0.35); }
.form__input:focus {
  border-color: var(--peach);
  background: rgba(42, 10, 44, 0.5);
  outline: none;
}
.form__input--zip {
  font-size: 26px;
  letter-spacing: 0.14em;
  text-align: center;
  max-width: 240px;
}
.form__selectwrap { position: relative; }
.form__selectwrap::after {
  content: '';
  position: absolute;
  right: 20px; top: 50%;
  width: 8px; height: 8px;
  border-right: 1.5px solid var(--peach);
  border-bottom: 1.5px solid var(--peach);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
select.form__input {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
select.form__input option { color: var(--graphite); background: var(--linen); }

.form__hint {
  font-size: 13.5px;
  color: rgba(251, 248, 245, 0.55);
  margin-top: 14px;
}
.form__error {
  color: #FFC9B0;
  font-size: 14px;
  font-weight: 400;
  margin-top: 8px;
}
.form__error--global { margin-top: 18px; }
.form__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}
.form__nav .btn--primary { margin-left: auto; }
.form__fine {
  font-size: 12.5px;
  color: rgba(251, 248, 245, 0.5);
  margin-top: 18px;
}
.form__hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form__success {
  text-align: center;
  padding: 30px 10px;
}
.form__success img { margin: 0 auto 22px; }
.form__success h3 {
  color: var(--linen);
  font-size: 28px;
  margin-bottom: 14px;
}
.form__success p { color: rgba(251, 248, 245, 0.8); max-width: 40ch; margin-left: auto; margin-right: auto; }

.btn.is-loading {
  pointer-events: none;
  opacity: 0.7;
}
.btn.is-loading::after {
  content: '';
  width: 14px; height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ═══════════ FOOTER ═══════════ */
.footer {
  background: var(--plum-ink);
  color: rgba(251, 248, 245, 0.75);
  padding: 80px 28px 30px;
}
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto 60px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 50px;
}
.footer__brand img { width: 180px; height: auto; margin-bottom: 22px; }
.footer__tagline {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.5;
  color: var(--linen);
}
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col a {
  color: rgba(251, 248, 245, 0.75);
  font-size: 15px;
  transition: color 0.2s ease;
}
.footer__col a:hover { color: var(--peach); }
.footer__areas { font-size: 14px; line-height: 1.8; }
.footer__base {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-top: 26px;
  border-top: 1px solid rgba(251, 248, 245, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(251, 248, 245, 0.5);
}

/* ═══════════ SERVICES — HORIZONTAL SCROLL (SB-001, JS-activated) ═══════════ */
/* Sem JS / reduced motion / mobile: o grid padrão acima permanece. */
.services.has-hscroll {
  padding-top: 0;
  padding-bottom: 0;
  max-width: none;
}
.has-hscroll .services__pin {
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: 84px;
}
/* "Safe center": auto margins split the leftover space, collapse to 0 when
   the viewport is short — content top-anchors and nothing gets clipped. */
.has-hscroll .section__head { margin-top: auto; margin-bottom: 40px; flex-shrink: 0; }
.has-hscroll .services__viewport { overflow: hidden; margin-bottom: auto; padding-bottom: 6px; flex-shrink: 0; }
.has-hscroll .services__grid {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 24px;
  width: max-content;
  padding: 0 max(28px, calc((100vw - var(--maxw)) / 2 + 28px));
  will-change: transform;
}
.has-hscroll .card {
  width: min(400px, 84vw);
  flex-shrink: 0;
}

/* Short viewports: compact the head and cards so pin start fits fully */
@media (max-height: 850px) {
  .has-hscroll .services__pin { padding-top: 72px; }
  .has-hscroll .section__head { margin-bottom: 24px; }
  .has-hscroll .section__head h2 { font-size: clamp(24px, 3.2vw, 34px); }
  .has-hscroll .section__head .section__sub { font-size: 15px; margin-top: 8px; }
  .has-hscroll .card { padding: 22px; gap: 10px; }
  .has-hscroll .card h3 { font-size: clamp(19px, 2vw, 22px); }
  .has-hscroll .card p { font-size: 14.5px; }
  .has-hscroll .card__meta { padding-top: 10px; }
}

/* ═══════════ CUSTOM CURSOR ═══════════ */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 400;
  pointer-events: none;
  opacity: 0;
}
.cursor-dot {
  color: var(--terracotta);
  filter: drop-shadow(0 0 7px rgba(253, 174, 111, 0.95)) drop-shadow(0 0 2px rgba(214, 92, 47, 0.8));
}
.cursor-dot svg { display: block; animation: cursor-twinkle 2.6s ease-in-out infinite; }
@keyframes cursor-twinkle {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(0.82) rotate(18deg); }
}
.cursor-ring {
  width: 42px;
  height: 42px;
  border: 1.5px solid rgba(214, 92, 47, 0.55);
  border-radius: 50%;
  background: transparent;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.cursor-ring.is-hover {
  border-color: var(--peach);
  background: rgba(253, 174, 111, 0.12);
}
body.has-cursor,
body.has-cursor a,
body.has-cursor button,
body.has-cursor select,
body.has-cursor label,
body.has-cursor input {
  cursor: none;
}
@media (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1080px) {
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews__grid { columns: 2; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__mobile.is-open { display: flex; }
  .nav { background: rgba(251, 248, 245, 0.92); backdrop-filter: blur(14px); }

  .hero { padding-top: 120px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 50px; }
  .hero__trust { gap: 8px 18px; font-size: 13.5px; }
  .hero__trust .stars { font-size: 12px; }
  .hero__visual { min-height: 420px; max-width: 480px; }

  .estimate__inner { grid-template-columns: 1fr; gap: 50px; }
  .about__inner { grid-template-columns: 1fr; gap: 44px; }
  .about__photo { max-width: 380px; margin: 0 auto; }
}

@media (max-width: 620px) {
  .section { padding: 80px 20px; }
  .hero { padding-left: 20px; padding-right: 20px; }
  .hero__actions {
    flex-wrap: nowrap;
    gap: 10px;
  }
  .hero__actions .btn--lg {
    flex: 1 1 0;
    min-width: 0;
    padding: 14px 10px;
    font-size: 14px;
    white-space: nowrap;
  }
  .hero__trust { gap: 6px 14px; font-size: 12.5px; }
  .hero__trust li { gap: 6px; }
  .services__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .standard__detail { grid-template-columns: 1fr; }
  .reviews__grid { columns: 1; }
  .areas__cols { grid-template-columns: 1fr; }
  .form { padding: 28px 22px; }
  .form__nav { flex-wrap: wrap; }
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
  .hero__media { width: 46%; }
}

@media (max-width: 350px) {
  .hero__actions { flex-wrap: wrap; }
  .hero__actions .btn--lg { flex: 1 1 100%; }
}

/* ═══════════ REDUCED MOTION ═══════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee__track { transform: none !important; }
}
