/* ==========================================================================
   Massadachi — Marketing design layer
   --------------------------------------------------------------------------
   Scoped under `.mkt` so admin, staff, client and provider panels are never
   affected. Loads after app.css and reuses the shared tokens (--primary,
   --text, --border, …) so the brand colour stays exactly as it is.

   Layout language adapted from grunber.com + thumbtack.com:
   generous vertical rhythm, one clear idea per section, wide hero with a
   photo carousel, calm headings and honest white space.
   ========================================================================== */

/* ---------- Layout primitives ---------- */
.mkt {
  --mkt-max: 1200px;
  --mkt-gutter: clamp(20px, 5vw, 64px);
  --mkt-space: clamp(36px, 4.2vw, 56px);
  --mkt-space-sm: clamp(22px, 2.5vw, 36px);
  --mkt-radius: 20px;
  --mkt-radius-lg: 28px;
  --mkt-ring: 0 1px 2px rgba(16, 24, 40, .04), 0 24px 48px -28px rgba(15, 31, 53, .28);
  display: block;
}

.mkt-container {
  width: 100%;
  max-width: var(--mkt-max);
  margin-inline: auto;
  padding-inline: var(--mkt-gutter);
}

.mkt-container--narrow { max-width: 860px; }
.mkt-container--wide { max-width: 1320px; }

.mkt-section { padding-block: var(--mkt-space); }
.mkt-section--tight { padding-block: var(--mkt-space-sm); }
.mkt-section--divider { border-top: 1px solid var(--border); }
.mkt-section--soft { background: var(--surface-2); }
.mkt-section--band { background: var(--band); }

/* ---------- Type ---------- */
.mkt-eyebrow {
  display: inline-block;
  font-size: .8125rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary-text);
}
.mkt-h1 {
  font-family: var(--font-head);
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 800;
  color: var(--text);
}
.mkt-h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -.03em;
  font-weight: 800;
  color: var(--text);
}
.mkt-h3 {
  font-family: var(--font-head);
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--text);
}
.mkt-lead {
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-2);
  max-width: 62ch;
}
.mkt-muted { color: var(--text-2); }

/* Centered section heading block */
.mkt-head { max-width: 720px; margin-inline: auto; text-align: center; }
.mkt-head .mkt-lead { margin-inline: auto; margin-top: 16px; }
.mkt-head--left { margin-inline: 0; text-align: left; }
.mkt-head--left .mkt-lead { margin-inline: 0; }

/* ---------- Buttons (extend shared .btn) ---------- */
.mkt .btn-lg { min-height: 54px; padding: 0 28px; font-size: 1rem; border-radius: 14px; }
.mkt-btn-light,
.mkt .btn-light {
  --btn-bg: #ffffff; --btn-fg: var(--primary-text); --btn-border: #ffffff;
  background: #ffffff; color: var(--primary-text); border: 1px solid #ffffff;
  font-weight: 800;
}
.mkt-btn-light:hover, .mkt .btn-light:hover { background: #f3f6f7; color: var(--primary-text); }
.mkt-btn-ghost,
.mkt .btn-ghost-light {
  background: rgba(255, 255, 255, .10); color: #fff; border: 1px solid rgba(255, 255, 255, .55);
  font-weight: 700;
}
.mkt-btn-ghost:hover, .mkt .btn-ghost-light:hover { background: rgba(255, 255, 255, .2); color: #fff; }

.mkt-link-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--primary-text); white-space: nowrap;
}
.mkt-link-more:hover { gap: 12px; }

/* ==========================================================================
   HERO — full-bleed photo carousel with a concise, centered message
   ========================================================================== */
.mkt-hero {
  position: relative;
  isolation: isolate;
  overflow: visible;
  z-index: 2;
  background: #0c2b2e;
  color: #fff;
  display: flex;
  align-items: center;
  min-height: clamp(520px, 75vh, 650px);
  padding-block: clamp(40px, 5.5vw, 72px);
}

/* Photo carousel sits behind the copy. Reuses the shared carousel JS hooks. */
.mkt-hero .hero-carousel { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.mkt-hero .hero-carousel-track {
  position: absolute; inset: 0; display: flex; height: 100%;
  transition: transform .8s cubic-bezier(.4, 0, .2, 1);
}
.mkt-hero .hero-carousel-slide {
  position: relative; flex: 0 0 100%; width: 100%; height: 100%; overflow: hidden;
}
.mkt-hero .hero-carousel-slide img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transform: scale(1.04); animation: none; margin: 0;
}
.mkt-hero .hero-carousel-slide.is-active img { animation: mktKenBurns 9s ease-out both; }
@media (prefers-reduced-motion: reduce) { .mkt-hero .hero-carousel-slide img { animation: none; } }
@keyframes mktKenBurns { from { transform: scale(1.04); } to { transform: scale(1.14); } }

.mkt-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 24, 28, 0.90) 0%, rgba(7, 24, 28, 0.74) 40%, rgba(7, 24, 28, 0.22) 70%, rgba(7, 24, 28, 0.04) 100%),
    linear-gradient(180deg, rgba(7, 24, 28, 0.35) 0%, transparent 45%);
}

.mkt-hero-inner {
  position: relative; z-index: 2; width: 100%;
  max-width: 760px; margin-inline: 0; text-align: left;
  display: flex; flex-direction: column; align-items: flex-start;
}
.mkt-hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .15); border: 1px solid rgba(255, 255, 255, .32);
  color: #fff; font-size: .8125rem; font-weight: 700; letter-spacing: .02em;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.mkt-hero-badge .icon { width: 16px; height: 16px; }
.mkt-hero-badge-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #32d0b8;
  box-shadow: 0 0 10px #32d0b8;
}
.mkt-hero h1 {
  margin-top: 20px; color: #fff;
  font-size: clamp(2.35rem, 4.8vw, 3.5rem);
  line-height: 1.08; letter-spacing: -.035em; font-weight: 800;
  text-wrap: balance;
}
.mkt-hero .mkt-hero-sub {
  margin-top: 18px; max-width: 58ch;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.55;
  color: rgba(255, 255, 255, .92); font-weight: 450;
}

/* Search / quote bar */
.mkt-search {
  margin-top: 28px; width: 100%; max-width: 720px;
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) auto;
  gap: 8px; padding: 7px; border-radius: 18px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 25px 60px -20px rgba(0, 0, 0, .45);
}
.mkt-search .seg {
  display: flex; align-items: center; gap: 10px; padding-inline: 16px;
  position: relative; min-width: 0; color: var(--text-3); border-radius: 12px; background: var(--surface-2);
}
.mkt-search .seg .icon { flex-shrink: 0; color: var(--text-3); }
.mkt-search input,
.mkt-search select {
  border: 0; outline: 0; height: 52px; width: 100%; min-width: 0;
  font: inherit; font-size: .975rem; color: var(--text); background: transparent;
}
.mkt-search select {
  appearance: none; cursor: pointer; padding-right: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f7f96' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0 center; background-size: 16px;
}
.mkt-search .seg .input {
  height: 52px; padding: 0; border: 0; border-radius: 0;
  background: transparent; box-shadow: none;
}
.mkt-search .seg .input:hover,
.mkt-search .seg .input:focus {
  border: 0; background: transparent; box-shadow: none;
}
.mkt-search .seg .city-list {
  left: 0; right: auto; top: calc(100% + 8px);
  min-width: 280px; max-height: 300px;
}
.mkt-search .btn { height: 52px; padding-inline: 26px; border-radius: 12px; font-weight: 800; white-space: nowrap; }

.mkt-hero-trust-bar {
  margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 18px;
  font-size: .84rem; font-weight: 600; color: rgba(255, 255, 255, .88);
}
.mkt-hero-trust-item {
  display: inline-flex; align-items: center; gap: 6px;
}
.mkt-hero-trust-item .icon { width: 15px; height: 15px; color: #32d0b8; flex-shrink: 0; }

.mkt-hero-note {
  margin-top: 16px; font-size: .9rem; color: rgba(255, 255, 255, .82); font-weight: 600;
}
.mkt-hero-note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* Trust stats strip under the hero copy */
.mkt-hero-stats {
  margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: flex-start;
  gap: 16px 42px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .16);
  width: 100%; max-width: 640px;
}
.mkt-stat { text-align: left; }
.mkt-stat b {
  display: block; font-family: var(--font-head);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 800; letter-spacing: -.02em; color: #fff;
}
.mkt-stat span { display: block; margin-top: 2px; font-size: .8125rem; font-weight: 600; color: rgba(255, 255, 255, .78); }

/* Carousel dots (on dark hero) */
.mkt-hero .hero-carousel-dots {
  position: absolute; left: auto; right: clamp(24px, 4vw, 48px); bottom: 28px; z-index: 3;
  transform: none; width: max-content;
  display: flex; gap: 9px; padding: 0; border-radius: 0;
  background: none; backdrop-filter: none; -webkit-backdrop-filter: none;
}
.mkt-hero .hero-carousel-dots button {
  width: 9px; height: 9px; border: 0; border-radius: 50%; padding: 0; cursor: pointer;
  background: rgba(255, 255, 255, .45); transition: background .2s, transform .2s;
}
.mkt-hero .hero-carousel-dots button.is-active { background: #fff; transform: scale(1.2); }

/* ==========================================================================
   Cards & grids
   ========================================================================== */
.mkt-grid { display: grid; gap: clamp(18px, 2.2vw, 28px); }
.mkt-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mkt-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mkt-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.mkt-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--mkt-radius);
  padding: clamp(22px, 2.4vw, 30px);
  box-shadow: var(--mkt-ring);
}
.mkt-card h3 { margin-bottom: 10px; }
.mkt-card p { margin: 0; color: var(--text-2); }
.mkt-card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary-text); margin-bottom: 18px;
}
.mkt-card-icon .icon { width: 24px; height: 24px; }

/* Service / category card with photo */
.mkt-svc-card {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--mkt-radius); background: var(--surface);
  border: 1px solid var(--border); box-shadow: var(--mkt-ring);
  color: var(--text);
  transition: transform .25s ease, box-shadow .25s ease;
}
.mkt-svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--text); }
.mkt-svc-card img { width: 100%; height: 230px; object-fit: cover; }
.mkt-svc-card .mkt-svc-copy { display: block; padding: 20px 22px 24px; }
.mkt-svc-card .mkt-svc-title { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.125rem; letter-spacing: -.02em; }
.mkt-svc-card .mkt-svc-meta { display: block; margin-top: 6px; font-size: .9rem; color: var(--text-2); line-height: 1.5; }

/* ==========================================================================
   Full-Service Overview (Grunber + Thumbtack Hybrid)
   ========================================================================== */
.mkt-badge-teal {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--primary-soft); color: var(--primary-text);
  font-size: .8125rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
}
.mkt-highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}
.mkt-overview-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 4.5vw, 68px);
  align-items: center;
  margin-bottom: 56px;
}
.mkt-overview-features {
  list-style: none; margin: 26px 0 0; padding: 0;
  display: grid; gap: 18px;
}
.mkt-overview-feature {
  display: flex; gap: 16px; align-items: flex-start;
}
.mkt-overview-icon {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  background: var(--primary-soft); color: var(--primary-text);
  display: grid; place-items: center; margin-top: 2px;
}
.mkt-overview-icon .icon { width: 20px; height: 20px; }
.mkt-overview-text h4 { margin: 0; font-size: 1.05rem; font-weight: 700; color: var(--text); }
.mkt-overview-text p { margin: 4px 0 0; font-size: .92rem; color: var(--text-2); line-height: 1.55; }

.mkt-overview-actions {
  margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px;
}
.mkt-overview-trust {
  font-size: .875rem; color: var(--text-3); font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}
.mkt-overview-trust .icon { width: 16px; height: 16px; color: var(--primary-text); }

/* Right side card of the overview */
.mkt-overview-card {
  position: relative; border-radius: 24px; overflow: hidden;
  box-shadow: 0 24px 50px -18px rgba(12, 33, 40, .24);
  border: 1px solid var(--border); background: var(--surface);
}
.mkt-overview-card img {
  display: block; width: 100%; height: 390px; object-fit: cover;
}
.mkt-overview-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 25, 29, 0) 30%, rgba(8, 25, 29, 0.85) 100%);
}
.mkt-overview-card-badge {
  position: absolute; bottom: 20px; left: 20px; right: 20px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  padding: 16px 14px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}
[data-theme="dark"] .mkt-overview-card-badge {
  background: rgba(18, 38, 48, 0.94); border-color: rgba(255, 255, 255, 0.1);
}
.mkt-overview-stat { text-align: center; }
.mkt-overview-stat strong {
  display: block; font-family: var(--font-head); font-size: 1.25rem; font-weight: 800;
  color: var(--primary);
}
.mkt-overview-stat span {
  display: block; font-size: .75rem; font-weight: 600; color: var(--text-2); margin-top: 2px;
}

/* Thumbtack-style Category Visual Grid */
.mkt-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 24px);
}
.mkt-cat-card {
  position: relative; display: block; border-radius: 18px; overflow: hidden;
  height: 290px; text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border);
  transition: transform .25s ease, box-shadow .25s ease;
}
.mkt-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(12, 33, 40, 0.2);
}
.mkt-cat-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.mkt-cat-card:hover img {
  transform: scale(1.06);
}
.mkt-cat-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 25, 29, 0.05) 0%, rgba(8, 25, 29, 0.35) 45%, rgba(8, 25, 29, 0.92) 100%);
}
.mkt-cat-card-body {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 20px; color: #fff;
}
.mkt-cat-card-title {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-head); font-weight: 800; font-size: 1.15rem;
  letter-spacing: -.02em; color: #fff; line-height: 1.25;
}
.mkt-cat-card-title .icon {
  width: 18px; height: 18px; opacity: 0; transform: translateX(-4px);
  transition: opacity .25s ease, transform .25s ease; color: #32d0b8;
}
.mkt-cat-card:hover .mkt-cat-card-title .icon {
  opacity: 1; transform: translateX(0);
}
.mkt-cat-card-desc {
  margin: 6px 0 0; font-size: .86rem; line-height: 1.45;
  color: rgba(255, 255, 255, 0.88); font-weight: 450;
}

/* ==========================================================================
   Thumbtack Image 5 - Interactive Process + Phone Mockup
   ========================================================================== */
.mkt-process-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.mkt-process-steps {
  display: grid; gap: 16px; margin-top: 32px;
}
.mkt-step-item {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 20px 22px; border-radius: 16px;
  background: var(--surface); border: 1.5px solid var(--border);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.mkt-step-item.is-active {
  border-color: var(--primary);
  background: var(--surface);
  box-shadow: 0 10px 30px -10px rgba(0, 120, 125, 0.22);
}
.mkt-step-num {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; font-family: var(--font-head);
  font-weight: 800; font-size: 1.15rem;
  background: var(--surface-2); color: var(--text-2);
}
.mkt-step-item.is-active .mkt-step-num {
  background: var(--primary); color: #fff;
}
.mkt-step-text h4 {
  margin: 0; font-family: var(--font-head); font-weight: 700;
  font-size: 1.08rem; color: var(--text); letter-spacing: -.015em;
}
.mkt-step-text p {
  margin: 6px 0 0; font-size: .92rem; color: var(--text-2); line-height: 1.5;
}

/* CSS Smartphone Frame */
.mkt-phone-wrapper {
  display: flex; justify-content: center; position: relative;
}
.mkt-phone-frame {
  width: 100%; max-width: 340px;
  background: #111b21;
  border: 10px solid #1a252b;
  border-radius: 40px;
  box-shadow: 0 30px 70px -15px rgba(12, 33, 40, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
}
.mkt-phone-notch {
  height: 26px; background: #1a252b;
  display: flex; justify-content: space-between; align-items: center;
  padding-inline: 18px; font-size: .68rem; font-weight: 700; color: #fff;
}
.mkt-phone-notch-pill {
  width: 68px; height: 12px; background: #0b1216; border-radius: 999px; margin-inline: auto;
}
.mkt-phone-screen {
  background: #f6fafb; color: #152228; padding: 16px;
  display: flex; flex-direction: column; gap: 12px;
}
[data-theme="dark"] .mkt-phone-screen {
  background: #13222a; color: #eaf1f3;
}
.mkt-phone-header {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .78rem; font-weight: 700; color: var(--text-2);
}
.mkt-phone-header .badge {
  background: #e6f6f5; color: #00787d; padding: 3px 8px; border-radius: 999px;
  font-size: .68rem; font-weight: 700;
}
[data-theme="dark"] .mkt-phone-header .badge {
  background: #1c383d; color: #32d0b8;
}
.mkt-phone-photo {
  position: relative; border-radius: 14px; overflow: hidden; height: 155px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.mkt-phone-photo img {
  width: 100%; height: 100%; object-fit: cover;
}
.mkt-phone-photo-tag {
  position: absolute; bottom: 8px; left: 8px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(0, 0, 0, 0.65); color: #fff;
  font-size: .68rem; font-weight: 700; backdrop-filter: blur(4px);
}
.mkt-phone-bid-card {
  background: #fff; border-radius: 14px; padding: 14px;
  border: 1px solid #dce4e8;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}
[data-theme="dark"] .mkt-phone-bid-card {
  background: #1c2e38; border-color: #29424f;
}
.mkt-phone-pro {
  display: flex; align-items: center; gap: 10px;
}
.mkt-phone-pro-pic {
  width: 38px; height: 38px; border-radius: 50%; object-fit: cover;
}
.mkt-phone-pro-info strong {
  display: block; font-size: .84rem; font-weight: 700; color: var(--text);
}
.mkt-phone-pro-info span {
  font-size: .72rem; color: #617b88; display: inline-flex; align-items: center; gap: 3px;
}
.mkt-phone-pro-info .star { color: #f59e0b; }
.mkt-phone-bid-details {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 10px; padding-top: 8px; border-top: 1px solid #edf2f5;
}
[data-theme="dark"] .mkt-phone-bid-details { border-color: #263c49; }
.mkt-phone-bid-price {
  font-family: var(--font-head); font-size: 1.25rem; font-weight: 800; color: #00787d;
}
.mkt-phone-bid-btn {
  display: block; width: 100%; text-align: center; margin-top: 10px;
  background: #00787d; color: #ffffff !important; font-weight: 700; font-size: .82rem;
  padding: 10px; border-radius: 10px; text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 120, 125, 0.28);
  transition: background-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.mkt-phone-bid-btn:hover {
  background: #005f63 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(0, 95, 99, 0.38);
  transform: translateY(-1px);
}
.mkt-phone-guarantee {
  text-align: center; font-size: .7rem; font-weight: 600; color: #627b87;
  display: flex; align-items: center; justify-content: center; gap: 5px;
}
.mkt-phone-guarantee .icon { width: 13px; height: 13px; color: #00787d; }

/* ==========================================================================
   Steps
   ========================================================================== */
.mkt-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.mkt-step { position: relative; }
.mkt-step-no {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--primary); color: var(--on-primary);
  font-family: var(--font-head); font-weight: 800; font-size: 1.25rem;
}
.mkt-step h3 { margin-top: 20px; }
.mkt-step p { margin: 8px 0 0; color: var(--text-2); }

/* Steps / features / values with a photo on top of each card */
.mkt-pcards { display: grid; gap: clamp(18px, 2.2vw, 28px); }
.mkt-pcards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mkt-pcards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mkt-pcards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mkt-pcard {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--mkt-radius-lg); box-shadow: var(--mkt-ring);
}
.mkt-pcard-media { position: relative; }
.mkt-pcard-media img { display: block; width: 100%; height: 200px; object-fit: cover; }
.mkt-pcards--4 .mkt-pcard-media img { height: 170px; }
.mkt-pcard-body { padding: 24px; flex: 1; }
.mkt-pcard-body .mkt-h3 { margin: 0; }
.mkt-pcard-body p { margin: 10px 0 0; color: var(--text-2); line-height: 1.6; }
.mkt-pcard-badge {
  position: absolute; left: 20px; bottom: -24px;
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--primary); color: var(--on-primary);
  font-family: var(--font-head); font-weight: 800; font-size: 1.25rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
}
.mkt-pcard-body--badge { padding-top: 42px; }

/* FAQ list beside a supporting photo */
.mkt-faq-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  gap: clamp(28px, 4vw, 56px); align-items: start;
}
.mkt-faq-media img {
  display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--mkt-radius-lg); box-shadow: var(--mkt-ring);
}

/* Quote / post-a-job hero (grunber request-quote layout). Self-contained so it
   also renders inside the signed-in shell, which has no .mkt root. */
.mkt-quote-hero {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 4vw, 64px); align-items: center;
  padding-block: clamp(28px, 4vw, 56px);
}
.mkt-quote-hero h1 {
  margin: 14px 0 0; font-family: var(--font-head); font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.1; letter-spacing: -.03em; color: var(--text);
}
.mkt-quote-hero .mkt-quote-lead {
  margin: 18px 0 0; max-width: 60ch;
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); line-height: 1.65; color: var(--text-2);
}
.mkt-quote-note {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 22px;
  padding: 16px 18px; border-radius: 14px;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text-2); font-size: .9375rem; line-height: 1.55;
}
.mkt-quote-note .icon { flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px; color: var(--primary-text); }
.mkt-quote-hero-media img {
  display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 24px; box-shadow: 0 24px 48px -28px rgba(15, 31, 53, .28);
}

/* ==========================================================================
   Split (image + copy)
   ========================================================================== */
.mkt-split {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 72px); align-items: center;
}
.mkt-split-media img {
  width: 100%; height: 100%; min-height: 320px; max-height: 520px;
  object-fit: cover; border-radius: var(--mkt-radius-lg);
}
.mkt-split.is-flip .mkt-split-copy { order: 2; }
.mkt-split.is-flip .mkt-split-media { order: 1; }

.mkt-checklist { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
.mkt-checklist li { display: flex; gap: 12px; align-items: flex-start; }
.mkt-checklist .icon { flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px; color: var(--primary-text); }
.mkt-checklist strong { font-weight: 700; }

/* ==========================================================================
   Band / CTA
   ========================================================================== */
.mkt-cta {
  position: relative; overflow: hidden;
  border-radius: var(--mkt-radius-lg);
  background: var(--dark); color: var(--on-dark);
  padding: clamp(40px, 6vw, 76px);
  text-align: center;
}
.mkt-cta h2 { color: #fff; }
.mkt-cta p { color: var(--dark-sub); max-width: 620px; margin: 16px auto 0; }
.mkt-cta .mkt-cta-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ==========================================================================
   FAQ accordion (native <details>)
   ========================================================================== */
.mkt-faq { display: grid; gap: 12px; margin-top: 36px; }
.mkt-faq details {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--mkt-radius); overflow: hidden;
}
.mkt-faq details[open] { box-shadow: var(--mkt-ring); }
.mkt-faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 20px 24px; font-weight: 700; font-size: 1.0625rem; color: var(--text);
}
.mkt-faq summary::-webkit-details-marker { display: none; }
.mkt-faq summary .mkt-faq-chev { flex-shrink: 0; color: var(--text-3); transition: transform .2s ease; }
.mkt-faq details[open] summary .mkt-faq-chev { transform: rotate(180deg); color: var(--primary-text); }
.mkt-faq .mkt-faq-body { padding: 0 24px 22px; color: var(--text-2); line-height: 1.65; }

/* ==========================================================================
   Pills (cities, tags)
   ========================================================================== */
.mkt-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; justify-content: center; }
.mkt-pill {
  display: inline-block; padding: 9px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: .9rem; font-weight: 600; color: var(--text-2);
}
a.mkt-pill:hover { border-color: var(--primary); color: var(--primary-text); background: var(--primary-soft); }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.mkt-quote {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--mkt-radius); padding: clamp(22px, 2.4vw, 30px);
  box-shadow: var(--mkt-ring); display: flex; flex-direction: column; height: 100%;
}
.mkt-quote .stars { margin-bottom: 14px; }
.mkt-quote p { flex: 1; color: var(--text); font-size: 1rem; line-height: 1.6; margin: 0 0 20px; }
.mkt-quote footer { display: flex; align-items: center; gap: 12px; }

/* ==========================================================================
   Page header (interior marketing pages)
   ========================================================================== */
.mkt-page-head { padding-block: clamp(26px, 3.2vw, 42px) clamp(20px, 2.5vw, 32px); background: var(--surface); border-bottom: 1px solid var(--border); }
.mkt-breadcrumb { font-size: .875rem; color: var(--text-3); }
.mkt-breadcrumb a { color: var(--text-2); }
.mkt-breadcrumb a:hover { color: var(--primary-text); }
.mkt-page-head .mkt-h1 { margin-top: 16px; }
.mkt-page-head .mkt-lead { margin-top: 18px; }

/* Action row used in interior heroes */
.mkt-page-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* Two-column form layout (contact, pro sign-up) */
.mkt-form-layout {
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 44px); align-items: start;
}
.mkt-aside { display: grid; gap: 20px; }
.mkt-aside img { width: 100%; height: 220px; object-fit: cover; border-radius: var(--mkt-radius); }

/* Long-form prose (terms, privacy) */
.mkt-prose p { margin-top: 18px; color: var(--text-2); line-height: 1.7; }
.mkt-prose p:first-child { margin-top: 0; }

/* Two-column interior hero with a photo (grunber service template) */
.mkt-hero-split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  gap: clamp(32px, 4vw, 68px); align-items: center;
  padding-block: clamp(26px, 3.5vw, 46px);
}
.mkt-hero-split .mkt-h1 { max-width: 22ch; }
.mkt-hero-split .mkt-lead { margin-top: 20px; }
.mkt-hero-split-media img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: var(--mkt-radius-lg); box-shadow: var(--mkt-ring);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .mkt-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mkt-pcards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mkt-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mkt-overview-split { gap: 36px; }
  .mkt-process-split { gap: 36px; }
  .mkt-hero-split { grid-template-columns: minmax(0, 1fr); }
  .mkt-hero-split-media { order: -1; }
  .mkt-hero-split-media img { aspect-ratio: 16 / 9; max-height: 400px; }
  .mkt-hero-split .mkt-h1 { max-width: none; }
}

@media (max-width: 860px) {
  .mkt-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mkt-steps { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .mkt-pcards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mkt-faq-layout { grid-template-columns: minmax(0, 1fr); }
  .mkt-faq-media { order: -1; }
  .mkt-faq-media img { aspect-ratio: 16 / 9; max-height: 320px; }
  .mkt-quote-hero { grid-template-columns: minmax(0, 1fr); }
  .mkt-quote-hero-media { order: -1; }
  .mkt-quote-hero-media img { aspect-ratio: 16 / 9; }
  .mkt-split { grid-template-columns: minmax(0, 1fr); }
  .mkt-split.is-flip .mkt-split-copy,
  .mkt-split.is-flip .mkt-split-media { order: 0; }
  .mkt-split-media img { min-height: 260px; }
  .mkt-overview-split { grid-template-columns: minmax(0, 1fr); margin-bottom: 40px; }
  .mkt-process-split { grid-template-columns: minmax(0, 1fr); }
  .mkt-phone-wrapper { margin-top: 24px; }
  .mkt-hero-inner { max-width: none; }
  .mkt-hero-overlay {
    background: linear-gradient(180deg, rgba(7, 24, 28, 0.88) 0%, rgba(7, 24, 28, 0.72) 45%, rgba(7, 24, 28, 0.88) 100%);
  }
  .mkt-search { grid-template-columns: minmax(0, 1fr); }
  .mkt-search .seg + .seg { margin-top: 8px; }
  .mkt-search .btn { width: 100%; }
  .mkt-search .seg .city-list { left: 0; right: 0; min-width: 0; }
  .mkt-hero { min-height: 0; }
  .mkt-form-layout { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  .mkt-grid--2, .mkt-grid--3, .mkt-grid--4 { grid-template-columns: minmax(0, 1fr); }
  .mkt-pcards--2, .mkt-pcards--3, .mkt-pcards--4 { grid-template-columns: minmax(0, 1fr); }
  .mkt-cat-grid { grid-template-columns: minmax(0, 1fr); }
  .mkt-overview-card-badge { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .mkt-hero-stats { gap: 16px 32px; }
  .mkt-svc-card img { height: 200px; }
}

@media (max-width: 640px) {
  .mkt .btn-lg { height: auto; padding-block: 14px; }
}

/* ==========================================================================
   Real Photography Media & Blending
   ========================================================================== */
.mkt-pcard-media img {
  display: block; width: 100%; height: 210px; object-fit: cover;
}
.mkt-pcards--4 .mkt-pcard-media img { height: 180px; }
.mkt-split-media img {
  width: 100%; height: 100%; min-height: 280px; max-height: 480px;
  object-fit: cover; border-radius: var(--mkt-radius-lg);
  box-shadow: 0 16px 36px -12px rgba(12, 33, 40, .18);
}
.mkt-hero-split-media img {
  width: 100%; aspect-ratio: 4 / 3; max-height: 440px; object-fit: cover;
  border-radius: var(--mkt-radius-lg); box-shadow: var(--mkt-ring);
}
.mkt-faq-media img {
  display: block; width: 100%; aspect-ratio: 4 / 4.5; object-fit: cover;
  border-radius: var(--mkt-radius-lg); box-shadow: var(--mkt-ring);
}
.mkt-quote-hero-media img {
  display: block; width: 100%; aspect-ratio: 16 / 10; max-height: 380px; object-fit: cover;
  border-radius: 24px; box-shadow: 0 24px 48px -28px rgba(15, 31, 53, .28);
}

/* ==========================================================================
   Minimalist Solid Background Accent Patches (No Gradients)
   ========================================================================== */
.mkt-patch-wrap {
  position: relative;
  overflow: hidden;
}
.mkt-patch-wrap > .mkt-container {
  position: relative;
  z-index: 1;
}
.mkt-patch {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  display: block;
}

/* Solid Minimalist Color Tints */
.mkt-patch--teal {
  background: #e2f2f1;
}
.mkt-patch--sand {
  background: #f7efe6;
}
.mkt-patch--mint {
  background: #e6f6ee;
}
.mkt-patch--slate {
  background: #edf3f7;
}

[data-theme="dark"] .mkt-patch--teal {
  background: #0d272a;
}
[data-theme="dark"] .mkt-patch--sand {
  background: #242018;
}
[data-theme="dark"] .mkt-patch--mint {
  background: #0f2722;
}
[data-theme="dark"] .mkt-patch--slate {
  background: #15232c;
}

/* Organic Geometric Positions & Pill Shapes */
.mkt-patch--blob-tr {
  top: -80px;
  right: -60px;
  width: 440px;
  height: 420px;
  border-radius: 120px 40px 140px 60px;
}
.mkt-patch--blob-bl {
  bottom: -90px;
  left: -70px;
  width: 460px;
  height: 380px;
  border-radius: 60px 140px 50px 120px;
}
.mkt-patch--blob-tl {
  top: -60px;
  left: -60px;
  width: 380px;
  height: 360px;
  border-radius: 140px 60px 120px 40px;
}
.mkt-patch--blob-br {
  bottom: -80px;
  right: -60px;
  width: 420px;
  height: 400px;
  border-radius: 50px 130px 60px 140px;
}
.mkt-patch--pill-r {
  top: 10%;
  right: -90px;
  width: 360px;
  height: 520px;
  border-radius: 200px;
}
.mkt-patch--pill-l {
  top: 15%;
  left: -90px;
  width: 360px;
  height: 500px;
  border-radius: 200px;
}
