:root {
  --ink: #10261f;
  --muted: #65736e;
  --green: #0b5a43;
  --green-2: #167052;
  --lotus: #e5f1eb;
  --cream: #faf7ef;
  --paper: #fffdfa;
  --line: #e3e8e2;
  --gold: #c7a46a;
  --shadow: 0 18px 45px rgba(16, 38, 32, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* ─── Header & Navigation ─────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(223, 231, 225, 0.86);
  background: rgba(255, 253, 248, 0.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

/* Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  text-decoration: none;
  min-width: 220px;
}

.brand img.logo-svg {
  height: 68px;
  width: auto;
  display: block;
}

/* Fallback text brand (shown if logo SVG fails) */
.brand-fallback {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--green);
  white-space: nowrap;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  font-size: 18px;
  font-family: Georgia, serif;
  flex-shrink: 0;
}

/* Logo SVG inside brand-mark (new) */
.brand-mark svg {
  width: 20px;
  height: 20px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  color: #294239;
}

.nav-links a {
  padding: 8px 4px;
  transition: color 0.15s;
}

.nav-links a:hover {
  color: var(--green);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

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

.btn,
button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 11px 18px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.btn:hover,
button:hover {
  transform: translateY(-1px);
}

.btn:active,
button:active {
  transform: translateY(0);
}

.btn-primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 10px 24px rgba(15, 91, 70, 0.22);
}

.btn-primary:hover {
  background: #0a4a39;
}

.btn-secondary {
  color: var(--green);
  border-color: rgba(15, 91, 70, 0.22);
  background: #fff;
}

.btn-plain {
  color: var(--green);
  background: transparent;
  padding-inline: 6px;
}

/* ─── Hamburger toggle ────────────────────────────────── */

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  min-height: unset;
  flex-shrink: 0;
}

.mobile-toggle:hover {
  background: var(--lotus);
  transform: none;
}

.mobile-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
  transform-origin: center;
}

.mobile-toggle[aria-expanded="true"] .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle[aria-expanded="true"] .bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-toggle[aria-expanded="true"] .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

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

.hero {
  min-height: 78vh;
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 31, 25, 0.82) 0%, rgba(9, 31, 25, 0.62) 42%, rgba(9, 31, 25, 0.18) 100%),
    url("images/nyc-luxury-residential-cleaning-home.webp") center/cover no-repeat;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(0deg, var(--paper), rgba(255, 253, 248, 0));
  z-index: -1;
}

.hero-inner {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 94px 0 132px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--lotus);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 7vw, 82px);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.24;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ─── Trust strip ─────────────────────────────────────── */

.trust-strip {
  width: min(1180px, calc(100% - 44px));
  margin: -76px auto 0;
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.trust-item {
  min-height: 116px;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-kicker {
  color: var(--gold);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.trust-item strong {
  display: block;
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.35;
}

/* ─── Sections ────────────────────────────────────────── */

.section {
  position: relative;
  padding: 88px 22px;
}

.section-alt {
  background:
    radial-gradient(circle at 8% 18%, rgba(217, 238, 228, 0.52), transparent 28%),
    radial-gradient(circle at 88% 80%, rgba(184, 138, 74, 0.12), transparent 30%),
    var(--cream);
}

.home-lead-section {
  padding: 56px 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.home-lead-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 380px);
  gap: 28px;
  align-items: center;
}

.home-lead-copy {
  max-width: 560px;
}

.home-lead-copy h2 {
  margin-bottom: 12px;
  font-size: clamp(26px, 3vw, 38px);
}

.lead-form-card {
  max-width: 380px;
  justify-self: end;
  padding: 18px;
  border-color: rgba(15, 91, 70, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 253, 248, 0.96)),
    radial-gradient(circle at 12% 0%, rgba(217, 238, 228, 0.86), transparent 34%);
  box-shadow: 0 18px 38px rgba(16, 38, 32, 0.1);
}

.lead-form-card .eyebrow {
  display: none;
}

.lead-form-card h2,
.lead-form-card .lead {
  display: none;
}

.lead-form-card .ff-el-group {
  margin-bottom: 8px;
}

.lead-form-card .ff-el-input--label {
  margin-bottom: 4px;
}

.lead-form-card .ff-el-input--label label,
.lead-form-card label {
  font-size: 13px;
  color: var(--green);
}

.lead-form-card input,
.lead-form-card select,
.lead-form-card textarea {
  min-height: 40px !important;
  padding: 9px 11px !important;
}

.lead-form-card textarea {
  min-height: 72px !important;
}

.home-lead-section .ff-field-email,
.home-lead-section .ff-field-home_size,
.home-lead-section .ff-field-frequency,
.home-lead-section .ff-el-group:has([data-name="email"]),
.home-lead-section .ff-el-group:has([data-name="home_size"]),
.home-lead-section .ff-el-group:has([data-name="frequency"]) {
  display: none !important;
}

.lead-form-card .ff-btn-submit,
.lead-form-card button[type="submit"] {
  width: 100% !important;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
}

.section-head {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-head p,
.lead {
  color: var(--muted);
  font-size: 18px;
}

/* ─── Grids ───────────────────────────────────────────── */

.grid {
  display: grid;
  gap: 18px;
}

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

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

/* ─── Cards ───────────────────────────────────────────── */

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 26px;
  box-shadow: 0 10px 24px rgba(16, 38, 32, 0.05);
}

.card p {
  color: var(--muted);
}

.service-card {
  min-height: 245px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.icon {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
  background: var(--lotus);
}

.icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.9;
}

.text-link {
  color: var(--green);
  font-weight: 850;
}

/* ─── Split layout ────────────────────────────────────── */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 54px;
  align-items: center;
}

/* ─── Checklist ───────────────────────────────────────── */

.checklist {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  display: flex;
  gap: 10px;
  color: #294239;
}

.checklist li::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  margin-top: 10px;
  border-radius: 50%;
  background: var(--green-2);
}

/* ─── Panels ──────────────────────────────────────────── */

.panel {
  border: 1px solid var(--line);
  background: #fff;
  padding: 30px;
}

.quote-panel {
  background: var(--green);
  color: #fff;
}

.quote-panel p {
  color: rgba(255, 255, 255, 0.8);
}

.quote-panel .btn-secondary {
  color: var(--ink);
  border-color: transparent;
}

/* ─── Areas ───────────────────────────────────────────── */

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

.area-list {
  columns: 2;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.area-list li {
  break-inside: avoid;
  margin-bottom: 7px;
}

/* ─── Steps ───────────────────────────────────────────── */

.steps {
  counter-reset: steps;
}

.step {
  position: relative;
  padding-left: 58px;
}

.step + .step {
  margin-top: 24px;
}

.step::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  font-weight: 850;
}

/* ─── Page hero (inner pages) ─────────────────────────── */

.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 62vh;
  display: grid;
  align-items: end;
  padding: 112px 22px 118px;
  color: #fff;
  background: #12352b;
  border-bottom: 1px solid var(--line);
}

.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
}

.page-hero::before {
  background:
    linear-gradient(90deg, rgba(9, 31, 25, 0.86) 0%, rgba(9, 31, 25, 0.66) 42%, rgba(9, 31, 25, 0.2) 100%),
    url("images/nyc-luxury-residential-cleaning-home.webp") center/cover no-repeat;
}

.page-hero::after {
  z-index: -1;
  background:
    radial-gradient(circle at 18% 14%, rgba(217, 238, 228, 0.24), transparent 30%),
    radial-gradient(circle at 86% 30%, rgba(184, 138, 74, 0.22), transparent 28%),
    linear-gradient(0deg, var(--paper), rgba(255, 253, 248, 0) 18%),
    linear-gradient(0deg, rgba(9, 31, 25, 0.12), rgba(9, 31, 25, 0));
}

.page-hero .container {
  width: min(1180px, calc(100% - 0px));
  max-width: 1180px;
}

.page-hero h1 {
  color: #fff;
}

.page-hero .lead {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
}

.page-template-page-services .page-hero::before {
  background:
    linear-gradient(90deg, rgba(9, 31, 25, 0.86) 0%, rgba(9, 31, 25, 0.63) 42%, rgba(9, 31, 25, 0.16) 100%),
    url("images/brooklyn-manhattan-cleaning-services.webp") center/cover no-repeat;
}

.page-template-page-service-areas .page-hero::before {
  background:
    linear-gradient(90deg, rgba(9, 31, 25, 0.88) 0%, rgba(9, 31, 25, 0.64) 42%, rgba(9, 31, 25, 0.18) 100%),
    url("images/brooklyn-manhattan-cleaning-service-areas.webp") center/cover no-repeat;
}

.page-template-page-pricing .page-hero::before {
  background:
    linear-gradient(90deg, rgba(18, 31, 23, 0.9) 0%, rgba(31, 42, 28, 0.68) 42%, rgba(67, 58, 36, 0.18) 100%),
    url("images/premium-nyc-home-cleaning-pricing.webp") center/cover no-repeat;
}

.page-template-page-about .page-hero::before {
  background:
    linear-gradient(90deg, rgba(9, 31, 25, 0.86) 0%, rgba(9, 31, 25, 0.62) 42%, rgba(9, 31, 25, 0.14) 100%),
    url("images/bay-lotus-brooklyn-manhattan-cleaning-team.webp") center/cover no-repeat;
}

.page-template-page-contact .page-hero::before {
  background:
    linear-gradient(90deg, rgba(7, 25, 21, 0.9) 0%, rgba(7, 25, 21, 0.66) 42%, rgba(15, 91, 70, 0.16) 100%),
    url("images/brooklyn-manhattan-cleaning-callback.webp") center/cover no-repeat;
}

.page-template-page-portal .page-hero::before {
  background:
    linear-gradient(90deg, rgba(8, 30, 24, 0.9) 0%, rgba(8, 30, 24, 0.68) 42%, rgba(15, 91, 70, 0.2) 100%),
    url("images/brooklyn-manhattan-cleaning-callback.webp") center/cover no-repeat;
}

.page-template-page-deep-cleaning .page-hero::before,
.page-template-page-recurring-cleaning .page-hero::before,
.page-template-page-residential-cleaning .page-hero::before,
.page-template-page-move-in-move-out-cleaning .page-hero::before,
.page-template-page-eco-friendly-cleaning .page-hero::before {
  background:
    linear-gradient(90deg, rgba(8, 30, 24, 0.88) 0%, rgba(8, 30, 24, 0.64) 42%, rgba(15, 91, 70, 0.16) 100%),
    url("images/nyc-deep-recurring-residential-cleaning.webp") center/cover no-repeat;
}

/* ─── Portal ──────────────────────────────────────────── */

.portal-section {
  padding-top: 74px;
}

.portal-logo-panel {
  display: flex;
  justify-content: center;
  margin: 0 auto 34px;
}

.portal-logo-panel img {
  width: min(360px, 82vw);
  height: auto;
}

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

.portal-card {
  min-height: 100%;
  padding: 34px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(250, 247, 239, 0.96));
  box-shadow: 0 18px 38px rgba(16, 38, 32, 0.07);
}

.portal-card h2 {
  font-size: clamp(28px, 3vw, 42px);
}

.portal-card .eyebrow {
  color: var(--green);
}

.portal-card .lead {
  color: var(--muted);
}

.portal-card-dark {
  color: #fff;
  border-color: rgba(217, 238, 228, 0.18);
  background:
    linear-gradient(135deg, #082319 0%, #0b5a43 100%);
}

.portal-card-dark .eyebrow,
.portal-card-dark .lead,
.portal-card-dark .checklist li {
  color: rgba(255, 255, 255, 0.82);
}

.portal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 18px;
}

.portal-list {
  margin-top: 20px;
}

.portal-help .panel p {
  color: var(--muted);
}

.cleaner-portal-section {
  background:
    linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%);
}

.cleaner-login-panel {
  max-width: 860px;
  margin: 0 auto 22px;
  text-align: center;
  background: #fff;
}

.cleaner-login-panel .portal-actions {
  justify-content: center;
}

.cleaner-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 22px;
}

/* ─── Forms ───────────────────────────────────────────── */

.form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-size: 13px;
  font-weight: 850;
  color: #294239;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 16px; /* prevents iOS zoom on focus */
  -webkit-appearance: none;
  appearance: none;
}

.field textarea {
  min-height: 118px;
  resize: vertical;
}

.fluent-form-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 253, 248, 0.96)),
    radial-gradient(circle at 10% 0%, rgba(217, 238, 228, 0.8), transparent 34%);
}

.fluent-form-card .ff-el-group {
  margin-bottom: 15px;
}

.fluent-form-card .ff-el-input--label label,
.fluent-form-card label {
  color: #294239;
  font-weight: 800;
}

.fluent-form-card input,
.fluent-form-card select,
.fluent-form-card textarea {
  border: 1px solid var(--line) !important;
  border-radius: 6px !important;
  padding: 13px 14px !important;
  color: var(--ink) !important;
  background: #fff !important;
  font: inherit !important;
  box-shadow: none !important;
}

.fluent-form-card textarea {
  min-height: 118px;
}

.fluent-form-card .ff-btn-submit,
.fluent-form-card button[type="submit"] {
  min-height: 46px !important;
  border: 0 !important;
  border-radius: 6px !important;
  padding: 12px 20px !important;
  background: var(--green) !important;
  color: #fff !important;
  font-weight: 800 !important;
  box-shadow: 0 10px 24px rgba(15, 91, 70, 0.22) !important;
}

.fluent-form-card .ff-el-form-control::placeholder {
  color: #7b8d86 !important;
}

/* ─── FAQ ─────────────────────────────────────────────── */

.faq details {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-weight: 850;
}

.faq p {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--muted);
}

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

.site-footer {
  position: relative;
  overflow: hidden;
  color: #dfe7e1;
  background:
    radial-gradient(circle at 12% 10%, rgba(31, 122, 93, 0.34), transparent 30%),
    radial-gradient(circle at 86% 72%, rgba(184, 138, 74, 0.18), transparent 32%),
    linear-gradient(135deg, #071a15 0%, #0b211b 52%, #103429 100%);
  padding: 44px 22px 32px;
}

.bay-lotus-editable-footer {
  max-width: 1180px;
  margin: 0 auto;
}

.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 34px;
}

.site-footer h3 {
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-footer p {
  color: #b9c9c2;
}

.site-footer a {
  color: #edf5f0;
}

.site-footer a:hover {
  color: var(--lotus);
}

.site-footer .brand img.logo-svg {
  height: 58px;
  filter: brightness(0) invert(1);
  opacity: 0.88;
}

.footer-links {
  display: grid;
  gap: 8px;
  font-size: 14px;
}

.footer-links a {
  color: #cbd9d4;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.footer-badges span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border: 1px solid rgba(217, 238, 228, 0.18);
  border-radius: 999px;
  padding: 6px 10px;
  color: #dfe7e1;
  background: rgba(255, 255, 255, 0.06);
  font-size: 12px;
  font-weight: 750;
}

.footer-bottom {
  max-width: 1180px;
  margin: 30px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #a9bab3;
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: space-between;
}

/* ─── Tablet breakpoint (768–920px) ──────────────────── */

@media (max-width: 920px) {
  .nav {
    flex-wrap: nowrap;
    align-items: center;
    padding: 8px 18px;
  }

  .brand {
    min-width: 170px;
  }

  .brand img.logo-svg {
    height: 54px;
  }

  .mobile-toggle {
    display: inline-flex;
    order: 3;
  }

  .header-actions {
    order: 2;
  }

  .header-actions .btn-secondary {
    display: none;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 8px 0 16px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 253, 248, 0.98);
    backdrop-filter: blur(18px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    box-shadow: 0 12px 32px rgba(16, 38, 32, 0.1);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 13px 22px;
    font-size: 15px;
    border-bottom: 1px solid rgba(223, 231, 225, 0.5);
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  /* Trust strip: 2x2 on tablet */
  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
    width: calc(100% - 44px);
  }

  .trust-item:nth-child(1),
  .trust-item:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(3) {
    border-right: 1px solid var(--line);
  }

  .trust-item:nth-child(4) {
    border-right: 0;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portal-grid {
    grid-template-columns: 1fr;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .lead-form-card {
    justify-self: stretch;
    max-width: 430px;
    margin-inline: auto;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

/* ─── Mobile breakpoint (≤ 620px) ────────────────────── */

@media (max-width: 620px) {
  .hero {
    min-height: 58vh;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(9, 31, 25, 0.85) 0%, rgba(9, 31, 25, 0.5) 60%, rgba(9, 31, 25, 0.15) 100%),
      url("images/nyc-luxury-residential-cleaning-home.webp") center/cover no-repeat;
  }

  .hero-inner {
    padding: 36px 0 66px;
    width: calc(100% - 36px);
  }

  .hero-copy,
  .section-head p,
  .lead {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .section {
    padding: 56px 18px;
  }

  .home-lead-section {
    padding: 36px 18px;
  }

  .home-lead-layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .home-lead-copy h2 {
    font-size: 27px;
    line-height: 1.12;
  }

  .home-lead-copy .lead {
    font-size: 15px;
    line-height: 1.55;
  }

  .lead-form-card {
    max-width: 400px;
    justify-self: stretch;
    padding: 14px;
    border-radius: 8px;
    border-color: var(--line);
    box-shadow: 0 16px 32px rgba(16, 38, 32, 0.12);
  }

  .lead-form-card .ff-el-group {
    margin-bottom: 8px;
  }

  .lead-form-card .ff-el-input--label label,
  .lead-form-card label {
    font-size: 13px;
  }

  .lead-form-card input,
  .lead-form-card select,
  .lead-form-card textarea {
    min-height: 40px !important;
    padding: 9px 11px !important;
    font-size: 16px !important;
  }

  .lead-form-card textarea {
    min-height: 64px !important;
  }

  .lead-form-card .ff-btn-submit,
  .lead-form-card button[type="submit"] {
    width: 100% !important;
    min-height: 46px !important;
  }

  .page-hero {
    min-height: 52vh;
    padding: 58px 18px 70px;
  }

  .page-hero::before {
    background:
      linear-gradient(180deg, rgba(9, 31, 25, 0.88) 0%, rgba(9, 31, 25, 0.58) 62%, rgba(9, 31, 25, 0.18) 100%),
      url("images/nyc-luxury-residential-cleaning-home.webp") center/cover no-repeat;
  }

  .page-template-page-services .page-hero::before {
    background:
      linear-gradient(180deg, rgba(9, 31, 25, 0.88) 0%, rgba(9, 31, 25, 0.58) 62%, rgba(9, 31, 25, 0.18) 100%),
      url("images/brooklyn-manhattan-cleaning-services.webp") center/cover no-repeat;
  }

  .page-template-page-service-areas .page-hero::before {
    background:
      linear-gradient(180deg, rgba(9, 31, 25, 0.88) 0%, rgba(9, 31, 25, 0.58) 62%, rgba(9, 31, 25, 0.18) 100%),
      url("images/brooklyn-manhattan-cleaning-service-areas.webp") center/cover no-repeat;
  }

  .page-template-page-pricing .page-hero::before {
    background:
      linear-gradient(180deg, rgba(18, 31, 23, 0.9) 0%, rgba(31, 42, 28, 0.6) 62%, rgba(67, 58, 36, 0.18) 100%),
      url("images/premium-nyc-home-cleaning-pricing.webp") center/cover no-repeat;
  }

  .page-template-page-about .page-hero::before {
    background:
      linear-gradient(180deg, rgba(9, 31, 25, 0.88) 0%, rgba(9, 31, 25, 0.58) 62%, rgba(9, 31, 25, 0.18) 100%),
      url("images/bay-lotus-brooklyn-manhattan-cleaning-team.webp") center/cover no-repeat;
  }

  .page-template-page-contact .page-hero::before {
    background:
      linear-gradient(180deg, rgba(7, 25, 21, 0.9) 0%, rgba(7, 25, 21, 0.58) 62%, rgba(15, 91, 70, 0.18) 100%),
      url("images/brooklyn-manhattan-cleaning-callback.webp") center/cover no-repeat;
  }

  .page-template-page-portal .page-hero::before {
    background:
      linear-gradient(180deg, rgba(8, 30, 24, 0.9) 0%, rgba(8, 30, 24, 0.6) 62%, rgba(15, 91, 70, 0.18) 100%),
      url("images/brooklyn-manhattan-cleaning-callback.webp") center/cover no-repeat;
  }

  .page-template-page-deep-cleaning .page-hero::before,
  .page-template-page-recurring-cleaning .page-hero::before,
  .page-template-page-residential-cleaning .page-hero::before,
  .page-template-page-move-in-move-out-cleaning .page-hero::before,
  .page-template-page-eco-friendly-cleaning .page-hero::before {
    background:
      linear-gradient(180deg, rgba(8, 30, 24, 0.9) 0%, rgba(8, 30, 24, 0.6) 62%, rgba(15, 91, 70, 0.18) 100%),
      url("images/nyc-deep-recurring-residential-cleaning.webp") center/cover no-repeat;
  }

  .nav {
    padding-inline: 16px;
  }

  .trust-strip {
    margin-top: -40px;
    grid-template-columns: 1fr;
    width: calc(100% - 32px);
  }

  .trust-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    min-height: 80px;
    padding: 16px 20px;
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .portal-card {
    padding: 24px 18px;
  }

  .cleaner-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .portal-actions .btn {
    width: 100%;
  }

  .areas {
    grid-template-columns: 1fr;
  }

  .area-list {
    columns: 2;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .site-footer {
    padding: 34px 18px 28px;
  }

  .panel {
    padding: 22px 18px;
  }

  h3 {
    font-size: 17px;
  }
}

/* ─── Very small screens (≤ 390px) ───────────────────── */

@media (max-width: 390px) {
  .hero-inner {
    padding: 32px 0 58px;
  }

  .home-lead-section {
    padding: 34px 12px;
  }

  .lead-form-card {
    padding: 13px;
  }

  .section {
    padding: 44px 16px;
  }

  .trust-strip {
    width: calc(100% - 24px);
  }
}
