html {
  scroll-behavior: smooth;
}

:root {
  --marketing-bg: #ffffff;
  --marketing-bg-secondary: #fffaf2;
  --marketing-surface: rgba(255, 255, 255, 0.92);
  --marketing-surface-muted: rgba(247, 242, 232, 0.78);
  --marketing-text: #0b0b0b;
  --marketing-text-muted: rgba(11, 11, 11, 0.65);
  --marketing-text-subtle: rgba(11, 11, 11, 0.52);
  --marketing-text-soft: rgba(11, 11, 11, 0.38);
  --marketing-border: rgba(11, 11, 11, 0.1);
  --marketing-shadow: 0 20px 60px rgba(15, 23, 42, 0.1);
  --marketing-input-bg: rgba(255, 255, 255, 0.94);
}

body {
  font-family: "Manrope", sans-serif;
}

body.marketing-shell {
  background:
    radial-gradient(circle at 0% 0%, rgba(201, 164, 92, 0.12), transparent 18%),
    radial-gradient(circle at 100% 12%, rgba(201, 164, 92, 0.08), transparent 20%),
    linear-gradient(180deg, var(--marketing-bg) 0%, var(--marketing-bg-secondary) 45%, var(--marketing-bg) 100%);
  color: var(--marketing-text);
  overflow-x: hidden;
}

body.marketing-shell :where(main, section, article, div, form, nav, header, footer, aside) {
  min-width: 0;
}

body.marketing-shell :where(h1, h2, h3, h4, h5, p, a, span, button, label, figcaption, strong, small) {
  overflow-wrap: anywhere;
}

body.marketing-shell :where(img, svg, canvas, video) {
  max-width: 100%;
  height: auto;
}

body.marketing-shell iframe {
  display: block;
  max-width: 100%;
}

.marketing-nav,
.marketing-topbar {
  position: relative;
  z-index: 70;
}

.marketing-nav {
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.07);
}

.marketing-nav-shell {
  min-height: 84px;
  width: min(100%, 88rem);
  gap: clamp(0.85rem, 1vw, 1.15rem);
}

.marketing-brand {
  flex: 0 0 auto;
  min-width: 0;
}

.marketing-brand-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.marketing-brand-badge {
  display: block;
  width: 3.3rem;
  height: 4.2rem;
  overflow: hidden;
  border: 1px solid rgba(201, 164, 92, 0.26);
  border-radius: 1.55rem;
  background: linear-gradient(180deg, #181818 0%, #0d0d0d 100%);
  box-shadow:
    0 18px 34px rgba(15, 23, 42, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.marketing-brand-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 11%;
  transform: scale(1.72);
  transform-origin: center 20%;
}

.marketing-brand-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 0.01em;
  color: var(--marketing-text);
  white-space: nowrap;
}

.marketing-brand-subtitle {
  margin-top: 0.14rem;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #c9a45c;
  white-space: nowrap;
}

.marketing-nav-links {
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: clamp(0.08rem, 0.3vw, 0.34rem);
  margin-left: clamp(0.8rem, 1.5vw, 1.6rem);
}

.marketing-nav-link,
.marketing-services-trigger {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.006em;
  color: color-mix(in srgb, var(--marketing-text) 88%, white 12%);
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
  max-width: 100%;
}

.marketing-nav-link::before,
.marketing-services-trigger::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.56rem;
  width: 1.15rem;
  height: 0.18rem;
  border-radius: 999px;
  background: rgba(201, 164, 92, 0.92);
  transform: translateX(-50%) scaleX(0.2);
  transform-origin: center;
  opacity: 0;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.marketing-nav-link::after,
.marketing-services-trigger::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(201, 164, 92, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.marketing-nav-link:hover::after,
.marketing-nav-link.is-active::after,
.marketing-services-trigger:hover::after,
.marketing-services-trigger.is-active::after,
.marketing-services-dropdown.is-open .marketing-services-trigger::after {
  opacity: 1;
}

.marketing-nav-link:hover::before,
.marketing-nav-link.is-active::before,
.marketing-services-trigger:hover::before,
.marketing-services-trigger.is-active::before,
.marketing-services-dropdown.is-open .marketing-services-trigger::before {
  transform: translateX(-50%) scaleX(1);
  opacity: 1;
}

.marketing-nav-link:hover,
.marketing-services-trigger:hover {
  color: var(--marketing-text);
  background: rgba(201, 164, 92, 0.08);
  transform: translateY(-1px);
}

.marketing-nav-link.is-active,
.marketing-services-trigger.is-active,
.marketing-services-dropdown.is-open .marketing-services-trigger {
  color: var(--marketing-text);
  background: rgba(201, 164, 92, 0.12);
  box-shadow: inset 0 0 0 1px rgba(201, 164, 92, 0.18);
}

.marketing-services-dropdown {
  display: flex;
  align-items: center;
}

.marketing-services-trigger {
  gap: 0.5rem;
}

.marketing-services-panel {
  max-width: min(calc(100vw - 2rem), 25rem);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.16) 34%),
    rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  box-shadow: 0 26px 58px rgba(15, 23, 42, 0.16);
}

.marketing-nav-actions,
.marketing-nav-compact {
  min-width: 0;
  flex-wrap: wrap;
}

.marketing-services-dropdown.is-open .marketing-services-panel {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
}

.marketing-services-dropdown.is-open .marketing-services-trigger .fa-chevron-down {
  transform: rotate(180deg);
}

@media (min-width: 1024px) {
  .marketing-services-dropdown:hover .marketing-services-panel {
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
  }

  .marketing-services-dropdown:hover .marketing-services-trigger .fa-chevron-down {
    transform: rotate(180deg);
  }

  .marketing-services-dropdown:hover .marketing-services-trigger::before {
    transform: translateX(-50%) scaleX(1);
    opacity: 1;
  }

  .marketing-services-dropdown:hover .marketing-services-trigger::after {
    opacity: 1;
  }
}

.marketing-services-panel-intro {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(201, 164, 92, 0.14);
  background:
    linear-gradient(135deg, rgba(201, 164, 92, 0.12), rgba(255, 255, 255, 0.72)),
    rgba(255, 250, 242, 0.9);
}

.marketing-services-panel-intro::after {
  content: "";
  position: absolute;
  right: -2rem;
  top: -2.5rem;
  width: 8rem;
  height: 8rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(201, 164, 92, 0.16), transparent 65%);
  pointer-events: none;
}

.marketing-services-link,
.marketing-mobile-submenu-link {
  position: relative;
  display: block;
  border: 1px solid transparent;
  border-radius: 1.3rem;
}

.marketing-services-link {
  padding: 1rem 1.05rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 50%),
    transparent;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.marketing-services-link .marketing-services-icon {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.marketing-services-link-layout {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.marketing-services-link-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.marketing-services-link-title {
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--marketing-text);
}

.marketing-services-link-description {
  display: block;
  margin-top: 0.24rem;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--marketing-text-muted);
}

.marketing-services-link:hover {
  border-color: rgba(201, 164, 92, 0.18);
  background: rgba(255, 255, 255, 0.82);
  transform: translateX(2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.marketing-services-link.is-active {
  border-color: rgba(201, 164, 92, 0.22);
  background: rgba(201, 164, 92, 0.12);
}

.marketing-services-link.is-active .marketing-services-icon,
.marketing-services-link:hover .marketing-services-icon {
  background: rgba(201, 164, 92, 0.16);
}

.marketing-mobile-submenu-link {
  padding: 0.95rem 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 50%),
    transparent;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.marketing-mobile-submenu-link:hover {
  border-color: rgba(201, 164, 92, 0.16);
  background: rgba(255, 250, 242, 0.92);
}

.marketing-mobile-submenu-link.is-active {
  border-color: rgba(201, 164, 92, 0.22);
  background: rgba(201, 164, 92, 0.1);
}

.marketing-nav-actions,
.marketing-nav-compact {
  flex-shrink: 0;
}

.marketing-nav-actions {
  margin-left: auto;
  gap: 0.65rem;
}

.marketing-nav-actions .marketing-theme-toggle,
.marketing-nav-actions > a {
  min-height: 2.85rem;
  white-space: nowrap;
}

.marketing-nav-link:focus-visible,
.marketing-services-trigger:focus-visible,
.marketing-nav-actions a:focus-visible,
.marketing-theme-toggle:focus-visible,
.marketing-mobile-group-toggle:focus-visible,
.marketing-mobile-submenu-link:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(201, 164, 92, 0.18),
    inset 0 0 0 1px rgba(201, 164, 92, 0.22);
}

.marketing-estimate-cta {
  white-space: nowrap;
}

.marketing-mobile-group-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  border-radius: 999px;
  padding: 0.78rem 0.15rem;
  text-align: left;
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  color: color-mix(in srgb, var(--marketing-text) 80%, white 20%);
  transition: color 0.2s ease;
}

.marketing-mobile-group-toggle:hover,
.marketing-mobile-group-toggle.is-active {
  color: var(--marketing-text);
}

.marketing-mobile-panel {
  gap: 0.9rem;
}

.marketing-hero {
  background-position: center;
  background-size: cover;
}

.marketing-nav a,
.marketing-nav button,
.marketing-mobile-menu a,
.marketing-mobile-menu button {
  position: relative;
  z-index: 1;
  touch-action: manipulation;
}

h1,
h2,
h3,
.font-display {
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.02em;
}

.gold-ring {
  position: relative;
  overflow: hidden;
}

.gold-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(201, 164, 92, 0.95), rgba(11, 11, 11, 0.06), rgba(201, 164, 92, 0.72));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.grid-pattern {
  background-image:
    linear-gradient(rgba(11, 11, 11, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 11, 11, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.shine {
  position: relative;
  overflow: hidden;
}

.shine::after {
  content: "";
  position: absolute;
  top: -160%;
  left: -30%;
  width: 45%;
  height: 420%;
  transform: rotate(25deg);
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.28) 50%, transparent 100%);
  transition: transform 0.9s ease;
  pointer-events: none;
}

.shine:hover::after {
  transform: translateX(320%) rotate(25deg);
}

.service-carousel-shell {
  padding: clamp(1rem, 1.5vw, 1.5rem);
}

.service-carousel-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.8rem;
}

.service-carousel-copy {
  max-width: 48rem;
}

.service-carousel-toolbar {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.9rem;
  min-width: 0;
}

.service-carousel-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(11, 11, 11, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(11, 11, 11, 0.62);
}

.service-carousel-status [data-carousel-current] {
  color: var(--marketing-text);
}

.service-carousel-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.service-carousel-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(11, 11, 11, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--marketing-text);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    background-color 0.2s ease;
}

.service-carousel-control:hover,
.service-carousel-control:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(201, 164, 92, 0.52);
  color: #c9a45c;
  outline: none;
}

.service-carousel-viewport {
  width: 100%;
  border: 1px solid rgba(11, 11, 11, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 62%),
    rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.service-carousel-track {
  width: 100%;
}

.service-carousel-slide {
  display: none;
  box-sizing: border-box;
  width: 100%;
  padding: clamp(0.5rem, 1vw, 0.85rem);
}

.service-carousel-slide.is-active {
  display: block;
}

.service-carousel-card {
  border-radius: 1.5rem;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.12);
}

.service-carousel-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.02));
}

.service-carousel-comparison {
  position: relative;
  width: 100%;
  min-height: 0;
  background: #f1eee7;
}

.service-carousel-comparison__image {
  position: relative;
  display: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-carousel-comparison__image.is-active {
  display: block;
}

.service-carousel-comparison__controls {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 12;
  display: inline-flex;
  gap: 0.2rem;
  padding: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(8, 15, 27, 0.75);
  backdrop-filter: blur(12px);
}

.service-carousel-comparison__toggle {
  min-height: 2.25rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  color: rgba(248, 250, 252, 0.78);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-carousel-comparison__toggle.is-active {
  background: #e5c989;
  color: #0b0b0b;
}

.service-carousel-control {
  min-width: 44px;
  min-height: 44px;
}

.service-carousel-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Keep intrinsic photo proportions, including when Tailwind's reset loads later. */
.service-carousel-media .service-carousel-slide-image {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(560px, 65vh);
  max-height: min(560px, 65svh);
  margin-inline: auto;
  object-fit: contain;
}

@media (max-width: 639px) {
  .service-carousel-slide-overlay {
    display: none;
  }

  .service-carousel-slide-caption {
    position: static;
    padding: 1.1rem 1rem 1.2rem;
    background: #171717;
  }
}

@media (max-width: 640px) {
  .service-carousel-slide-caption {
    position: absolute;
    padding: 0.8rem 0.75rem 0.85rem;
    background: linear-gradient(to top, rgba(8, 15, 27, 0.94), rgba(8, 15, 27, 0.62), transparent);
  }

  .service-carousel-caption__title,
  .service-carousel-slide-caption h3 {
    margin-top: 0.3rem;
    font-size: 1.35rem;
    line-height: 1.05;
  }

  .service-carousel-caption__summary,
  .service-carousel-slide-caption p {
    margin-top: 0.35rem;
    max-width: 72%;
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .service-carousel-caption__stat {
    min-width: 0;
    padding: 0.55rem 0.65rem;
  }

  .service-carousel-chip,
  .service-carousel-slide > .service-carousel-media > div.absolute.top-4 {
    top: 0.65rem;
    left: 0.65rem;
    max-width: 55%;
    padding: 0.45rem 0.6rem;
    font-size: 0.62rem;
  }

  .service-carousel-comparison__controls {
    top: 0.65rem;
    right: 0.65rem;
  }

  .service-carousel-comparison__toggle {
    min-height: 2.1rem;
    padding-inline: 0.65rem;
  }
}

.service-carousel-shell--windows .service-carousel-image,
.service-carousel-shell--fences .service-carousel-image {
  object-fit: contain;
  background: #f1eee7;
}

.service-carousel-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 12, 22, 0.04), transparent 24%, transparent 55%, rgba(6, 12, 22, 0.72) 100%),
    linear-gradient(135deg, rgba(6, 12, 22, 0.2), transparent 45%);
}

.service-carousel-chip {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1rem;
  background: rgba(8, 15, 27, 0.6);
  backdrop-filter: blur(14px);
  color: #f8fafc;
}

.service-carousel-chip__label,
.service-carousel-chip__count {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.service-carousel-chip__count {
  color: #e5c989;
}

.service-carousel-caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1.4rem 1.35rem 1.35rem;
  color: #f8fafc;
}

.service-carousel-caption__layout {
  display: grid;
  gap: 1rem;
}

.service-carousel-caption__eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #e5c989;
}

.service-carousel-caption__title {
  margin-top: 0.55rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  font-weight: 600;
  line-height: 0.96;
  color: #f8fafc;
}

.service-carousel-caption__summary {
  margin-top: 0.65rem;
  max-width: 40rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(241, 245, 249, 0.82);
}

.service-carousel-caption__meta {
  display: grid;
  gap: 0.65rem;
  align-content: end;
}

.service-carousel-caption__stat {
  display: grid;
  gap: 0.2rem;
  min-width: min(100%, 12rem);
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1rem;
  background: rgba(8, 15, 27, 0.52);
  backdrop-filter: blur(10px);
}

.service-carousel-caption__stat-label {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(229, 201, 137, 0.96);
}

.service-carousel-caption__stat-value {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.45;
  color: rgba(248, 250, 252, 0.94);
}

.service-carousel-footer {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}

.service-carousel-selection {
  display: grid;
  gap: 0.55rem;
  align-content: start;
  padding: 1.15rem 1.15rem 1.2rem;
  border: 1px solid rgba(11, 11, 11, 0.08);
  border-radius: 1.35rem;
  background:
    linear-gradient(135deg, rgba(201, 164, 92, 0.1), rgba(255, 255, 255, 0.56) 62%),
    rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.service-carousel-selection__label {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c9a45c;
}

.service-carousel-selection__title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  font-weight: 600;
  line-height: 0.98;
  color: var(--marketing-text);
}

.service-carousel-selection__summary {
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(11, 11, 11, 0.62);
}

.service-carousel-navigation {
  display: grid;
  gap: 0.75rem;
}

.service-carousel-thumbs {
  display: flex;
  align-items: stretch;
  gap: 0.9rem;
  overflow-x: auto;
  padding-bottom: 0.3rem;
  scrollbar-width: none;
}

.service-carousel-thumbs::-webkit-scrollbar {
  display: none;
}

.service-carousel-thumbs {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-block: 0.35rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 164, 92, 0.4) transparent;
}

.service-carousel-thumbs::-webkit-scrollbar {
  height: 4px;
}

.service-carousel-thumbs::-webkit-scrollbar-thumb {
  background: rgba(201, 164, 92, 0.35);
  border-radius: 999px;
}

.service-carousel-thumb {
  flex: 0 0 6.5rem;
  width: 6.5rem;
  height: 4.75rem;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 1rem;
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
  opacity: 0.65;
}

.service-carousel-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-carousel-thumb:hover,
.service-carousel-thumb:focus-visible {
  opacity: 1;
  transform: translateY(-2px);
  outline: none;
}

.service-carousel-thumb.is-active {
  opacity: 1;
  border-color: #c9a45c !important;
  box-shadow: 0 0 0 2px rgba(201, 164, 92, 0.35), 0 8px 22px rgba(201, 164, 92, 0.25);
  transform: translateY(-2px) scale(1.03);
}

.service-carousel-shell.is-static .service-carousel-toolbar,
.service-carousel-shell.is-static .service-carousel-thumbs {
  display: none;
}

.field-error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.3);
}

.form-message-success {
  border: 1px solid rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.08);
  color: #166534;
}

.form-message-error {
  border: 1px solid rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.08);
  color: #991b1b;
}

.floating-call {
  animation: floatPulse 2.6s ease-in-out infinite;
}

.marketing-theme-toggle {
  position: relative;
  overflow: hidden;
}

.marketing-theme-toggle::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(201, 164, 92, 0.08), transparent 55%);
  pointer-events: none;
}

.public-review-grid {
  display: grid;
  gap: 1.5rem;
}

.public-review-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 1.2rem;
  border-radius: 2rem;
  border: 1px solid rgba(11, 11, 11, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), transparent 38%),
    rgba(255, 255, 255, 0.92);
  padding: 1.85rem;
  box-shadow: var(--marketing-shadow);
}

.public-review-card::after {
  content: "";
  position: absolute;
  inset: auto -1.8rem -1.8rem auto;
  width: 8rem;
  height: 8rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(201, 164, 92, 0.18), transparent 68%);
  pointer-events: none;
}

.public-review-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
}

.public-review-card__verified {
  display: grid;
  gap: 0.55rem;
}

.public-review-kicker,
.public-review-eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.public-review-kicker {
  color: #c9a45c;
}

.public-review-service-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 164, 92, 0.24);
  background: rgba(246, 239, 229, 0.72);
  padding: 0.55rem 0.95rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8a672d;
}

.platform-review-stars.public-review-stars,
.public-review-stars {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  color: rgba(11, 11, 11, 0.18);
}

.platform-review-stars.public-review-stars .platform-review-star.is-filled,
.public-review-stars .platform-review-star.is-filled {
  color: #c9a45c;
}

.public-review-eyebrow {
  color: var(--marketing-text-subtle);
}

.public-review-title {
  margin-top: 0.65rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  line-height: 0.95;
  color: var(--marketing-text);
  overflow-wrap: anywhere;
}

.public-review-copy {
  margin-top: 1rem;
  color: rgba(11, 11, 11, 0.75);
  font-size: 1rem;
  line-height: 1.95;
}

.platform-review-photo-strip {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.platform-review-photo-strip__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 1rem;
  border: 1px solid rgba(11, 11, 11, 0.08);
  background: rgba(11, 11, 11, 0.04);
}

.public-review-photos {
  margin-top: 1.25rem !important;
}

.public-review-meta {
  display: grid;
  gap: 0.12rem;
  margin-top: 0;
}

.public-review-author {
  font-size: 1rem;
  font-weight: 700;
  color: var(--marketing-text);
}

.public-review-location,
.public-review-service {
  font-size: 0.92rem;
  color: var(--marketing-text-subtle);
}

.public-review-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(11, 11, 11, 0.08);
}

.public-review-person {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.public-review-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  border: 1px solid rgba(201, 164, 92, 0.28);
  background: linear-gradient(135deg, rgba(201, 164, 92, 0.22), rgba(246, 239, 229, 0.92));
  color: #7a5820;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.public-review-stamp {
  display: grid;
  gap: 0.18rem;
  min-width: min(100%, 10.5rem);
  padding: 0.78rem 0.96rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(11, 11, 11, 0.08);
  background: rgba(246, 239, 229, 0.58);
}

.public-review-stamp__label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c9a45c;
}

.public-review-stamp__value {
  color: var(--marketing-text);
  font-size: 0.92rem;
  font-weight: 700;
}

html[data-platform-theme="dark"] {
  color-scheme: dark;
}

html[data-platform-theme="dark"] body.marketing-shell {
  --marketing-bg: #08111f;
  --marketing-bg-secondary: #0f1728;
  --marketing-surface: rgba(10, 18, 31, 0.92);
  --marketing-surface-muted: rgba(15, 23, 40, 0.84);
  --marketing-text: #e5edf8;
  --marketing-text-muted: rgba(226, 232, 240, 0.82);
  --marketing-text-subtle: rgba(226, 232, 240, 0.68);
  --marketing-text-soft: rgba(226, 232, 240, 0.5);
  --marketing-border: rgba(148, 163, 184, 0.14);
  --marketing-shadow: 0 26px 70px rgba(2, 6, 23, 0.4);
  --marketing-input-bg: rgba(8, 15, 27, 0.92);
  background:
    radial-gradient(circle at 0% 0%, rgba(96, 165, 250, 0.14), transparent 18%),
    radial-gradient(circle at 100% 12%, rgba(201, 164, 92, 0.14), transparent 20%),
    linear-gradient(180deg, var(--marketing-bg) 0%, var(--marketing-bg-secondary) 45%, var(--marketing-bg) 100%);
}

html[data-platform-theme="dark"] body.marketing-shell .marketing-hero {
  background:
    radial-gradient(circle at 8% 12%, rgba(96, 165, 250, 0.16), transparent 18%),
    radial-gradient(circle at 88% 14%, rgba(201, 164, 92, 0.18), transparent 22%),
    linear-gradient(135deg, #09111e 0%, #111b2c 45%, #0a1423 100%) !important;
}

html[data-platform-theme="dark"] body.marketing-shell .marketing-hero-wash {
  background:
    linear-gradient(180deg, rgba(7, 12, 21, 0.08) 0%, rgba(8, 15, 27, 0.28) 36%, rgba(8, 15, 27, 0.68) 100%) !important;
}

html[data-platform-theme="dark"] body.marketing-shell .marketing-topbar,
html[data-platform-theme="dark"] body.marketing-shell .marketing-nav,
html[data-platform-theme="dark"] body.marketing-shell .marketing-mobile-menu,
html[data-platform-theme="dark"] body.marketing-shell .marketing-footer {
  background: rgba(8, 15, 27, 0.88) !important;
  border-color: var(--marketing-border) !important;
  backdrop-filter: blur(18px);
}

html[data-platform-theme="dark"] body.marketing-shell .marketing-brand-badge {
  border-color: rgba(201, 164, 92, 0.22);
  background: linear-gradient(180deg, rgba(10, 14, 22, 0.98) 0%, rgba(4, 8, 14, 0.98) 100%);
  box-shadow:
    0 22px 38px rgba(2, 6, 23, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html[data-platform-theme="dark"] body.marketing-shell .marketing-brand-title {
  color: #f6f8fb;
  text-shadow: 0 8px 24px rgba(2, 6, 23, 0.34);
}

html[data-platform-theme="dark"] body.marketing-shell .marketing-brand-subtitle {
  color: #d7b36c;
}

html[data-platform-theme="dark"] body.marketing-shell .marketing-services-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 34%),
    rgba(8, 15, 27, 0.96) !important;
  border-color: var(--marketing-border) !important;
}

html[data-platform-theme="dark"] body.marketing-shell .marketing-footer {
  background: linear-gradient(180deg, rgba(8, 15, 27, 0.94), rgba(11, 18, 30, 0.92)) !important;
}

html[data-platform-theme="dark"] body.marketing-shell .bg-white,
html[data-platform-theme="dark"] body.marketing-shell [class*=" bg-white"],
html[data-platform-theme="dark"] body.marketing-shell [class^="bg-white"] {
  background: var(--marketing-surface) !important;
}

html[data-platform-theme="dark"] body.marketing-shell [class*="bg-prime-ivory"],
html[data-platform-theme="dark"] body.marketing-shell [class*=" bg-prime-ivory"] {
  background: var(--marketing-surface-muted) !important;
}

html[data-platform-theme="dark"] body.marketing-shell .text-prime-black,
html[data-platform-theme="dark"] body.marketing-shell [class*="text-prime-black/85"],
html[data-platform-theme="dark"] body.marketing-shell [class*="text-prime-black/80"] {
  color: var(--marketing-text) !important;
}

html[data-platform-theme="dark"] body.marketing-shell [class*="text-prime-black/75"],
html[data-platform-theme="dark"] body.marketing-shell [class*="text-prime-black/72"],
html[data-platform-theme="dark"] body.marketing-shell [class*="text-prime-black/70"],
html[data-platform-theme="dark"] body.marketing-shell [class*="text-prime-black/68"],
html[data-platform-theme="dark"] body.marketing-shell [class*="text-prime-black/65"] {
  color: var(--marketing-text-muted) !important;
}

html[data-platform-theme="dark"] body.marketing-shell [class*="text-prime-black/62"],
html[data-platform-theme="dark"] body.marketing-shell [class*="text-prime-black/60"],
html[data-platform-theme="dark"] body.marketing-shell [class*="text-prime-black/58"],
html[data-platform-theme="dark"] body.marketing-shell [class*="text-prime-black/55"],
html[data-platform-theme="dark"] body.marketing-shell [class*="text-prime-black/52"],
html[data-platform-theme="dark"] body.marketing-shell [class*="text-prime-black/50"] {
  color: var(--marketing-text-subtle) !important;
}

html[data-platform-theme="dark"] body.marketing-shell [class*="text-prime-black/45"],
html[data-platform-theme="dark"] body.marketing-shell [class*="text-prime-black/42"],
html[data-platform-theme="dark"] body.marketing-shell [class*="text-prime-black/35"] {
  color: var(--marketing-text-soft) !important;
}

html[data-platform-theme="dark"] body.marketing-shell [class*="text-white/85"],
html[data-platform-theme="dark"] body.marketing-shell [class*="text-white/80"] {
  color: var(--marketing-text) !important;
}

html[data-platform-theme="dark"] body.marketing-shell [class*="text-white/75"],
html[data-platform-theme="dark"] body.marketing-shell [class*="text-white/72"] {
  color: var(--marketing-text-muted) !important;
}

html[data-platform-theme="dark"] body.marketing-shell [class*="text-white/60"],
html[data-platform-theme="dark"] body.marketing-shell [class*="text-white/58"],
html[data-platform-theme="dark"] body.marketing-shell [class*="text-white/55"],
html[data-platform-theme="dark"] body.marketing-shell [class*="text-white/50"],
html[data-platform-theme="dark"] body.marketing-shell [class*="text-white/45"] {
  color: var(--marketing-text-subtle) !important;
}

html[data-platform-theme="dark"] body.marketing-shell [class*="border-black/"] {
  border-color: var(--marketing-border) !important;
}

html[data-platform-theme="dark"] body.marketing-shell .marketing-nav-link:hover,
html[data-platform-theme="dark"] body.marketing-shell .marketing-services-trigger:hover,
html[data-platform-theme="dark"] body.marketing-shell .marketing-nav-link.is-active,
html[data-platform-theme="dark"] body.marketing-shell .marketing-services-trigger.is-active,
html[data-platform-theme="dark"] body.marketing-shell .marketing-services-dropdown.is-open .marketing-services-trigger {
  color: var(--marketing-text);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(201, 164, 92, 0.16);
}

html[data-platform-theme="dark"] body.marketing-shell .marketing-nav-link,
html[data-platform-theme="dark"] body.marketing-shell .marketing-services-trigger,
html[data-platform-theme="dark"] body.marketing-shell .marketing-mobile-group-toggle {
  color: rgba(241, 245, 249, 0.92);
  text-shadow: 0 1px 0 rgba(2, 6, 23, 0.25);
}

html[data-platform-theme="dark"] body.marketing-shell .marketing-services-panel-intro {
  background:
    linear-gradient(135deg, rgba(201, 164, 92, 0.12), rgba(255, 255, 255, 0.03)),
    rgba(15, 23, 40, 0.88);
  border-color: rgba(201, 164, 92, 0.14);
}

html[data-platform-theme="dark"] body.marketing-shell .marketing-services-link:hover,
html[data-platform-theme="dark"] body.marketing-shell .marketing-mobile-submenu-link:hover,
html[data-platform-theme="dark"] body.marketing-shell .marketing-services-link.is-active,
html[data-platform-theme="dark"] body.marketing-shell .marketing-mobile-submenu-link.is-active {
  background: rgba(201, 164, 92, 0.08) !important;
  border-color: rgba(201, 164, 92, 0.16);
}

html[data-platform-theme="dark"] body.marketing-shell .marketing-services-icon {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html[data-platform-theme="dark"] body.marketing-shell .marketing-services-link-title {
  color: var(--marketing-text);
}

html[data-platform-theme="dark"] body.marketing-shell .marketing-services-link-description {
  color: var(--marketing-text-muted);
}

html[data-platform-theme="dark"] body.marketing-shell input,
html[data-platform-theme="dark"] body.marketing-shell select,
html[data-platform-theme="dark"] body.marketing-shell textarea {
  background: var(--marketing-input-bg) !important;
  border-color: var(--marketing-border) !important;
  color: var(--marketing-text) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

html[data-platform-theme="dark"] body.marketing-shell input::placeholder,
html[data-platform-theme="dark"] body.marketing-shell textarea::placeholder {
  color: var(--marketing-text-soft) !important;
}

html[data-platform-theme="dark"] body.marketing-shell select option {
  background: #0b1424;
  color: var(--marketing-text);
}

html[data-platform-theme="dark"] body.marketing-shell .shadow-card,
html[data-platform-theme="dark"] body.marketing-shell .shadow-glow {
  box-shadow: var(--marketing-shadow) !important;
}

html[data-platform-theme="dark"] body.marketing-shell .gold-ring::before {
  background: linear-gradient(135deg, rgba(201, 164, 92, 0.82), rgba(96, 165, 250, 0.12), rgba(201, 164, 92, 0.58));
}

html[data-platform-theme="dark"] body.marketing-shell .grid-pattern {
  background-image:
    linear-gradient(rgba(226, 232, 240, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226, 232, 240, 0.04) 1px, transparent 1px);
}

html[data-platform-theme="dark"] body.marketing-shell .service-carousel-shell {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 34%),
    rgba(12, 20, 33, 0.78) !important;
}

html[data-platform-theme="dark"] body.marketing-shell .service-carousel-status,
html[data-platform-theme="dark"] body.marketing-shell .service-carousel-control {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(8, 15, 27, 0.82);
  color: var(--marketing-text);
}

html[data-platform-theme="dark"] body.marketing-shell .service-carousel-status {
  color: var(--marketing-text-subtle);
}

html[data-platform-theme="dark"] body.marketing-shell .service-carousel-status [data-carousel-current] {
  color: var(--marketing-text);
}

html[data-platform-theme="dark"] body.marketing-shell .service-carousel-viewport {
  border-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 52%),
    rgba(6, 12, 22, 0.44);
}

html[data-platform-theme="dark"] body.marketing-shell .service-carousel-card {
  background: rgba(8, 15, 27, 0.9);
  box-shadow: 0 28px 60px rgba(2, 6, 23, 0.3);
}

html[data-platform-theme="dark"] body.marketing-shell .service-carousel-overlay {
  background:
    linear-gradient(180deg, rgba(3, 7, 18, 0.06), transparent 24%, transparent 55%, rgba(3, 7, 18, 0.84) 100%),
    linear-gradient(135deg, rgba(3, 7, 18, 0.24), transparent 42%);
}

html[data-platform-theme="dark"] body.marketing-shell .service-carousel-chip {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(8, 15, 27, 0.66);
}

html[data-platform-theme="dark"] body.marketing-shell .service-carousel-thumb__media {
  border-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 52%),
    rgba(8, 15, 27, 0.82);
  box-shadow: 0 18px 36px rgba(2, 6, 23, 0.22);
}

html[data-platform-theme="dark"] body.marketing-shell .service-carousel-thumb__media::after {
  background: linear-gradient(180deg, rgba(3, 7, 18, 0.06), transparent 35%, rgba(3, 7, 18, 0.46));
}

html[data-platform-theme="dark"] body.marketing-shell .service-carousel-thumb__index {
  background: rgba(8, 15, 27, 0.76);
  color: #f8fafc;
}

html[data-platform-theme="dark"] body.marketing-shell .service-carousel-thumb.is-active .service-carousel-thumb__media {
  border-color: rgba(201, 164, 92, 0.72);
  box-shadow:
    0 22px 42px rgba(2, 6, 23, 0.28),
    0 0 0 2px rgba(201, 164, 92, 0.18);
}

html[data-platform-theme="dark"] body.marketing-shell .service-carousel-selection {
  border-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(135deg, rgba(201, 164, 92, 0.12), rgba(255, 255, 255, 0.03) 60%),
    rgba(8, 15, 27, 0.84);
  box-shadow: 0 20px 40px rgba(2, 6, 23, 0.24);
}

html[data-platform-theme="dark"] body.marketing-shell .service-carousel-selection__summary,
html[data-platform-theme="dark"] body.marketing-shell .service-carousel-thumb__title {
  color: var(--marketing-text-muted);
}

html[data-platform-theme="dark"] body.marketing-shell .service-carousel-thumb.is-active .service-carousel-thumb__title {
  color: var(--marketing-text);
}

html[data-platform-theme="dark"] body.marketing-shell .service-carousel-caption__stat {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(8, 15, 27, 0.62);
}

html[data-platform-theme="dark"] body.marketing-shell .service-carousel-hint {
  color: var(--marketing-text-subtle);
}

html[data-platform-theme="dark"] body.marketing-shell .form-message-success {
  color: #8ff0c5;
}

html[data-platform-theme="dark"] body.marketing-shell .form-message-error {
  color: #ffb4b4;
}

html[data-platform-theme="dark"] body.marketing-shell .public-review-card {
  background: var(--marketing-surface) !important;
}

html[data-platform-theme="dark"] body.marketing-shell .public-review-copy {
  color: var(--marketing-text-muted);
}

html[data-platform-theme="dark"] body.marketing-shell .public-review-service-pill,
html[data-platform-theme="dark"] body.marketing-shell .public-review-stamp {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

html[data-platform-theme="dark"] body.marketing-shell .public-review-service-pill {
  color: #f1d38d;
}

html[data-platform-theme="dark"] body.marketing-shell .platform-review-photo-strip__image {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

html[data-platform-theme="dark"] body.marketing-shell .public-review-location,
html[data-platform-theme="dark"] body.marketing-shell .public-review-service {
  color: var(--marketing-text-subtle);
}

html[data-platform-theme="dark"] body.marketing-shell .platform-review-stars.public-review-stars,
html[data-platform-theme="dark"] body.marketing-shell .public-review-stars {
  color: rgba(226, 232, 240, 0.2);
}

html[data-platform-theme="dark"] body.marketing-shell .public-review-card__footer {
  border-color: rgba(255, 255, 255, 0.08);
}

html[data-platform-theme="dark"] body.marketing-shell .public-review-avatar {
  border-color: rgba(201, 164, 92, 0.26);
  background: linear-gradient(135deg, rgba(201, 164, 92, 0.24), rgba(8, 15, 27, 0.92));
  color: #f1d38d;
}

@media (max-width: 1279px) {
  .marketing-nav-shell {
    min-height: 82px;
  }

  .marketing-brand-badge {
    width: 3.05rem;
    height: 3.95rem;
  }

  .marketing-brand-title {
    font-size: 1.42rem;
  }

  .marketing-brand-subtitle {
    font-size: 0.78rem;
  }
}

@media (max-width: 767px) {
  .marketing-topbar .mx-auto {
    gap: 0.75rem;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    letter-spacing: 0.2em;
  }

  .marketing-nav-shell {
    min-height: 76px;
  }

  .marketing-brand {
    max-width: calc(100% - 8.5rem);
    overflow: hidden;
  }

  .marketing-brand-title {
    font-size: 1.22rem;
    white-space: normal;
  }

  .marketing-brand-subtitle {
    font-size: 0.72rem;
    letter-spacing: 0.24em;
    white-space: normal;
  }
}

@media (max-width: 639px) {
  .marketing-nav-shell {
    gap: 0.5rem;
  }

  .marketing-nav-compact {
    flex-shrink: 0;
    gap: 0.45rem;
  }

  .marketing-nav-compact .marketing-estimate-cta,
  .marketing-nav-compact .shine {
    display: none;
  }

  .marketing-brand {
    max-width: calc(100% - 8.25rem);
  }

  .marketing-brand-copy {
    overflow: hidden;
  }

  .marketing-nav {
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
  }

  .marketing-brand-badge {
    width: 2.75rem;
    height: 3.6rem;
  }

  .marketing-brand-title {
    font-size: 1.08rem;
  }

  .marketing-brand-subtitle {
    font-size: 0.66rem;
    letter-spacing: 0.2em;
  }

  .public-review-grid {
    grid-template-columns: 1fr;
  }

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

  .public-review-card__footer {
    align-items: stretch;
  }

  .public-review-stamp {
    width: 100%;
  }

  .service-carousel-shell {
    padding: 0.85rem;
  }

  .service-carousel-header {
    margin-bottom: 1.1rem;
  }

  .service-carousel-toolbar {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .service-carousel-status {
    padding: 0.62rem 0.9rem;
    font-size: 0.72rem;
  }

  .service-carousel-control {
    width: 2.75rem;
    height: 2.75rem;
  }

  .service-carousel-slide {
    padding: 0.35rem;
  }

  .service-carousel-thumbs {
    gap: 0.65rem;
  }

  .service-carousel-thumb {
    flex-basis: 5rem;
    width: 5rem;
    height: 3.75rem;
  }

  .service-carousel-caption {
    padding: 1.1rem 1rem;
  }

  .service-carousel-caption__layout {
    gap: 0.8rem;
  }

  .service-carousel-caption__title {
    font-size: 1.9rem;
  }

  .service-carousel-caption__summary {
    font-size: 0.86rem;
    line-height: 1.55;
  }

  .service-carousel-selection {
    padding: 1rem;
  }

  .service-carousel-thumb__title {
    font-size: 0.76rem;
    line-height: 1.4;
  }

  .service-carousel-hint {
    width: 100%;
  }
}

@media (min-width: 1024px) {
  .public-review-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-carousel-caption__layout {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .service-carousel-footer {
    grid-template-columns: minmax(16rem, 19rem) minmax(0, 1fr);
    align-items: start;
  }
}

@media (min-width: 1280px) and (max-width: 1535px) {
  .marketing-nav-shell {
    min-height: 88px;
  }

  .marketing-brand-badge {
    width: 3.15rem;
    height: 4rem;
  }

  .marketing-brand-title {
    font-size: 1.44rem;
  }

  .marketing-brand-subtitle {
    font-size: 0.78rem;
  }

  .marketing-nav-link,
  .marketing-services-trigger {
    padding-left: 0.88rem;
    padding-right: 0.88rem;
    font-size: 0.95rem;
  }

  .marketing-nav-actions .marketing-theme-toggle,
  .marketing-nav-actions > a {
    font-size: 0.92rem;
  }
}

@media (min-width: 1280px) and (max-width: 1439px) {
  .marketing-brand-badge {
    width: 3rem;
    height: 3.85rem;
  }

  .marketing-brand-title {
    font-size: 1.34rem;
  }

  .marketing-brand-subtitle {
    font-size: 0.74rem;
  }

  .marketing-nav-actions .marketing-theme-toggle,
  .marketing-nav-actions > a {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .marketing-services-panel {
    width: 24rem;
  }
}

/* Enhanced dark theme visibility for form elements and labels */
html[data-platform-theme="dark"] body.marketing-shell label {
  color: var(--marketing-text) !important;
}

html[data-platform-theme="dark"] body.marketing-shell input[type="text"],
html[data-platform-theme="dark"] body.marketing-shell input[type="email"],
html[data-platform-theme="dark"] body.marketing-shell input[type="tel"],
html[data-platform-theme="dark"] body.marketing-shell input[type="number"],
html[data-platform-theme="dark"] body.marketing-shell textarea {
  color: var(--marketing-text) !important;
  background: var(--marketing-input-bg) !important;
  border-color: var(--marketing-border) !important;
}

html[data-platform-theme="dark"] body.marketing-shell input[type="text"]:focus,
html[data-platform-theme="dark"] body.marketing-shell input[type="email"]:focus,
html[data-platform-theme="dark"] body.marketing-shell input[type="tel"]:focus,
html[data-platform-theme="dark"] body.marketing-shell input[type="number"]:focus,
html[data-platform-theme="dark"] body.marketing-shell textarea:focus {
  border-color: rgba(201, 164, 92, 0.52) !important;
  outline: none;
}

/* Ensure text in dark mode has sufficient contrast */
html[data-platform-theme="dark"] body.marketing-shell .public-review-copy {
  color: var(--marketing-text-muted) !important;
}

html[data-platform-theme="dark"] body.marketing-shell p:not([class]) {
  color: var(--marketing-text) !important;
}

/* Dark theme for service carousel thumbnails */
html[data-platform-theme="dark"] body.marketing-shell .service-carousel-thumb__media {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(8, 15, 27, 0.8);
}

/* Dark theme for additional interactive elements */
html[data-platform-theme="dark"] body.marketing-shell button:not([class]) {
  background: rgba(201, 164, 92, 0.2) !important;
  color: var(--marketing-text) !important;
  border-color: rgba(201, 164, 92, 0.32) !important;
}

html[data-platform-theme="dark"] body.marketing-shell a:not([class]) {
  color: rgba(201, 164, 92, 0.92) !important;
}

/* Improved contrast for text elements in dark theme */
html[data-platform-theme="dark"] body.marketing-shell .public-review-card {
  border-color: rgba(255, 255, 255, 0.08) !important;
}

html[data-platform-theme="dark"] body.marketing-shell .public-review-title {
  color: var(--marketing-text) !important;
}

html[data-platform-theme="dark"] body.marketing-shell .public-review-author {
  color: var(--marketing-text) !important;
}

@keyframes floatPulse {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}
/* Portfolio presentation: full photos over a soft, photo-matched backdrop. */
body.marketing-shell .service-carousel-viewport {
  border: 0;
  background: #101824;
  box-shadow: 0 24px 55px -28px rgba(0,0,0,.55);
  border-radius: 24px;
}
body.marketing-shell .service-carousel-slide { padding: 0; }
body.marketing-shell .service-carousel-media {
  isolation: isolate;
  height: clamp(340px, 48vw, 620px);
  border-radius: 24px;
  background: #101824;
}
body.marketing-shell .service-carousel-backdrop {
  position: absolute;
  inset: -8%;
  width: 116%;
  height: 116%;
  max-width: none;
  object-fit: cover;
  filter: blur(26px) brightness(.48) saturate(.8);
  z-index: -2;
  pointer-events: none;
  border: 0;
}
body.marketing-shell .service-carousel-media::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg,rgba(8,15,27,.15),rgba(8,15,27,.4));
  pointer-events: none;
}
body.marketing-shell .service-carousel-media .service-carousel-slide-image {
  position: relative;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  margin: auto;
  border: 0 !important;
  outline: 0;
  box-shadow: none;
  object-fit: contain;
  clip-path: inset(2px round 12px);
}
body.marketing-shell .service-carousel-comparison {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: transparent;
}
body.marketing-shell .service-carousel-project-details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 4px 0;
}
.service-carousel-project-label { color: #b48b44; font-size: 10px; font-weight: 800; letter-spacing: .2em; }
.service-carousel-project-details h3 { font-family: Georgia,serif; font-size: clamp(21px,2.3vw,30px); margin: 6px 0; color: var(--marketing-text); }
.service-carousel-project-details p { max-width: 640px; font-size: 14px; color: var(--marketing-text-muted); }
body.marketing-shell .service-carousel-project-cta { flex-shrink: 0; padding: 14px 22px; background: #c9a45c; color: #111827; border-radius: 999px; font-size: 13px; font-weight: 700; }
body.marketing-shell .service-carousel-thumbs { gap: 12px; padding: 6px 3px 12px; }
body.marketing-shell .service-carousel-thumb { width: 112px; height: 80px; flex-basis: 112px; border: 0; opacity: .72; border-radius: 12px; }
body.marketing-shell .service-carousel-thumb.is-active { opacity: 1; box-shadow: 0 0 0 2px #c9a45c,0 8px 20px -8px rgba(201,164,92,.65); }
body.marketing-shell .service-carousel-thumb:focus-visible,
body.marketing-shell .service-carousel-project-cta:focus-visible { outline: 3px solid #c9a45c; outline-offset: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .service-carousel-slide.is-active .service-carousel-slide-image { animation: portfolioReveal .4s ease-out; }
  @keyframes portfolioReveal { from { opacity: .5; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
}
@media (max-width: 640px) {
  body.marketing-shell .service-carousel-media { height: clamp(280px,100vw,430px); border-radius: 18px; }
  body.marketing-shell .service-carousel-project-details { align-items: flex-start; flex-direction: column; gap: 16px; padding-top: 18px; }
  body.marketing-shell .service-carousel-thumb { width: 80px; height: 62px; flex-basis: 80px; }
  body.marketing-shell .service-carousel-project-details p { font-size: 13px; }
}
/* Gallery layout: large stage with a separate thumbnail column. */
.portfolio-gallery-heading { text-align: center; margin-bottom: 26px; color: var(--marketing-text); }
.portfolio-gallery-heading h2 { margin: 8px 0; }
.portfolio-gallery-heading p { color: var(--marketing-text-muted); margin: 0 0 14px; }
.portfolio-gallery-layout { --gallery-height: clamp(360px, 46vw, 620px); display: grid; grid-template-columns: minmax(0,1fr) 156px; gap: 20px; }
.portfolio-gallery-stage { position: relative; min-width: 0; }
body.marketing-shell .portfolio-gallery-stage .service-carousel-media { height: var(--gallery-height); }
.portfolio-gallery-sidebar { min-width: 0; height: var(--gallery-height); display: flex; flex-direction: column; padding: 14px 10px; border: 1px solid rgba(201,164,92,.25); border-radius: 20px; background: rgba(201,164,92,.04); }
.portfolio-gallery-sidebar h3 { margin: 0 0 12px; text-align: center; font-size: 14px; font-weight: 700; color: var(--marketing-text); }
body.marketing-shell .portfolio-gallery-sidebar .service-carousel-thumbs { display: flex; flex-direction: column; min-height: 0; overflow-y: auto; overflow-x: hidden; gap: 12px; margin: 0; padding: 4px; scrollbar-width: thin; scrollbar-color: #c9a45c transparent; }
body.marketing-shell .portfolio-gallery-sidebar .service-carousel-thumb { width: 100%; height: 90px; flex: 0 0 90px; }
.portfolio-gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 20; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(8,15,27,.7); color: #fff; font-size: 22px; cursor: pointer; }
.portfolio-gallery-arrow--prev { left: 12px; }
.portfolio-gallery-arrow--next { right: 12px; }
.portfolio-gallery-arrow:hover { background: #c9a45c; color: #101824; }
.portfolio-gallery-arrow:focus-visible { outline: 3px solid #c9a45c; outline-offset: 3px; }
@media (max-width: 640px) {
  .portfolio-gallery-layout { --gallery-height: clamp(280px,100vw,430px); grid-template-columns: minmax(0,1fr); gap: 14px; }
  .portfolio-gallery-sidebar { height: auto; padding: 10px; border-radius: 16px; }
  .portfolio-gallery-sidebar h3 { text-align: left; margin-bottom: 6px; }
  body.marketing-shell .portfolio-gallery-sidebar .service-carousel-thumbs { flex-direction: row; overflow-x: auto; overflow-y: hidden; }
  body.marketing-shell .portfolio-gallery-sidebar .service-carousel-thumb { width: 80px; height: 62px; flex: 0 0 80px; }
  .portfolio-gallery-arrow--prev { left: 6px; }
  .portfolio-gallery-arrow--next { right: 6px; }
}
