:root {
  /* Theme controls */
  --button-color: #1f8a99;
  --button-color-cart: #1a7e8c;
  --button-hover-color: #1a7e8c;
  --button-text-color: #ffffff;
  --link-text-color: #1f8a99;
  --link-text-hover: #1a7e8c;

  /* Palette */
  --page-bg: #e8f5f8;
  --surface: #ffffff;
  --benefits-bg: #ffffff;
  --surface-alt: #f4fbfc;
  --surface-soft: rgba(232, 245, 248, 0.82);
  --surface-soft-strong: rgba(232, 245, 248, 0.94);
  --surface-hero: #e8f5f8;
  --text: #131313;
  --muted: #36565c;
  --line: rgba(31, 138, 153, 0.18);
  --line-strong: rgba(26, 126, 140, 0.28);
  --benefits-divider: rgba(26, 126, 140, 0.14);
  --button-secondary-bg: rgba(232, 245, 248, 0.82);
  --button-secondary-border: #1f8a99;
  --button-secondary-border-hover: #1a7e8c;
  --page-gutter: 32px;
  --header-height: 92px;
  --header-offset-top: 18px;
  --header-radius: 28px;
  --floating-bar-max-width: 1120px;
  --floating-bar-side-gap: 48px;
  --radius-lg: 28px;
  --radius-md: 18px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--page-bg);
  overflow-x: clip;
}

.site-footer {
  padding: 58px 0 24px;
  color: var(--text);
  background: #ffffff;
  border-top: 1px solid rgba(19, 19, 19, 0.1);
}

.site-footer .container {
  max-width: 1280px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(250px, 1.7fr) repeat(3, minmax(160px, 1fr));
  gap: 36px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.footer-brand img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.footer-brand span {
  display: grid;
  gap: 3px;
  line-height: 1;
}

.footer-brand strong {
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.footer-brand small {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.footer-intro p {
  max-width: 38ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.footer-nav,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-nav h2,
.footer-contact h2 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.footer-nav a,
.footer-contact > a:not(.footer-phone) {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
}

.footer-nav a:hover,
.footer-nav a:focus-visible,
.footer-contact > a:not(.footer-phone):hover,
.footer-contact > a:not(.footer-phone):focus-visible,
.footer-sitemap:hover,
.footer-sitemap:focus-visible {
  color: var(--link-text-hover);
}

.footer-contact p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.footer-phone {
  width: fit-content;
  min-height: 50px;
  padding-inline: 18px;
  font-size: 0.9rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-top: 28px;
  margin-top: 42px;
  border-top: 1px solid rgba(19, 19, 19, 0.1);
}

.footer-bottom > p {
  display: grid;
  gap: 3px;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-bottom > p strong {
  color: var(--text);
  font-size: 0.88rem;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-social li,
.footer-social span {
  display: inline-flex;
}

.footer-social span {
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(19, 19, 19, 0.12);
  border-radius: 50%;
}

.footer-social img {
  width: 17px;
  height: 17px;
  object-fit: contain;
}

.footer-sitemap {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.footer-legal {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--muted);
  background: #ffffff;
  font-size: 0.78rem;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 28px;
  }

  .footer-intro {
    grid-column: 1 / -1;
  }

  .footer-intro p {
    max-width: 60ch;
  }

  .footer-bottom {
    flex-wrap: wrap;
  }
}

/* Keep the pricing portfolio balanced on tablet: two comparison cards only. */
@media (min-width: 641px) and (max-width: 1200px) {
  .pricing-hero-section + .portfolio-section .portfolio-item:nth-child(n + 3) {
    display: none;
  }
}

@media (max-width: 640px) {
  .offline-quote-action-whatsapp {
    display: none;
  }

  .offline-quote-action-sms {
    display: inline-flex;
  }

  .site-footer {
    padding: 40px 0 22px;
  }

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

  .footer-intro {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-top: 34px;
  }

  .footer-social {
    justify-content: flex-start;
  }
}

/* Stack the mattress cart below products on tablets so its booking form has full width. */
@media (min-width: 641px) and (max-width: 980px) {
  .mattress-page .mattress-pricing-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .mattress-page .mattress-cart {
    position: static;
  }

  .mattress-page .pricing-cart-head p,
  .mattress-page .pricing-cart-privacy {
    font-size: 0.82rem;
  }
}

/* On phones, match the compact product-card layout: photo left, price and action right. */
@media (max-width: 640px) {
  .mattress-page .pricing-service {
    position: relative;
    grid-template-columns: 64px minmax(0, 1fr) 102px;
    gap: 10px;
    padding: 8px 10px;
    min-height: 78px;
  }

  .mattress-page .pricing-service-copy {
    grid-column: 2;
    grid-row: 1;
    gap: 6px;
  }

  .mattress-page .pricing-service-visual {
    grid-column: 1;
    grid-row: 1;
    min-height: 54px;
    padding: 4px;
    border-radius: 12px;
  }

  .mattress-page .pricing-service-copy h3 {
    font-size: 0.88rem !important;
  }

  .mattress-page .pricing-service-title {
    display: block;
  }

  .mattress-page .pricing-service-copy h3 {
    font-size: 0.88rem;
  }

  .mattress-page .pricing-service-title strong {
    position: absolute;
    top: 12px;
    right: 10px;
    font-size: 0.88rem !important;
  }

  .mattress-page .pricing-service-button {
    width: 102px;
    min-width: 102px;
    height: 32px;
    min-height: 32px;
    padding: 0 8px;
    font-size: 0.72rem;
  }

  .mattress-page .pricing-service-meta {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 102px;
  }

  .mattress-page .mattress-service-controls {
    justify-content: flex-end;
  }

  .mattress-page .mattress-service-stepper {
    width: 102px;
    gap: 4px;
    justify-content: center;
  }

  .mattress-page .mattress-service-stepper button {
    width: 28px;
    height: 28px;
  }
}

/* Mobile mattress cart: compact trigger plus a bottom-sheet cart. */
@media (max-width: 640px) {
  .mattress-cart-backdrop[hidden],
  .mattress-cart-fab[hidden] {
    display: none !important;
  }

  .mattress-cart-backdrop {
    position: fixed;
    inset: 0;
    z-index: 89;
    display: block !important;
    background: rgba(19, 19, 19, 0.42);
  }

  .mattress-page .mattress-cart {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 90;
    max-height: min(86dvh, 720px);
    overflow-y: auto;
    padding: 20px 20px 24px;
    border-radius: 24px 24px 0 0;
    visibility: hidden;
    transform: translateY(105%);
    transition: transform 0.24s ease, visibility 0.24s ease;
  }

  .mattress-page .mattress-cart.is-open {
    visibility: visible;
    transform: translateY(0);
  }

  .mattress-page .mattress-cart .pricing-cart-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
  }

  .mattress-page .mattress-cart .pricing-cart-head h2 {
    font-size: 1.08rem !important;
  }

  .mattress-page .mattress-cart .pricing-cart-head p {
    display: none;
  }

  .mattress-cart-close {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #718096;
    font-size: 1.55rem;
    line-height: 1;
    cursor: pointer;
  }

  .mattress-cart-fab {
    position: fixed;
    bottom: 18px;
    left: 50%;
    z-index: 88;
    display: inline-flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: min(calc(100% - 40px), 270px);
    min-height: 46px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    background: #29a5b6;
    color: #ffffff;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 800;
    box-shadow: 0 10px 26px rgba(20, 128, 146, 0.28);
    cursor: pointer;
    transform: translateX(-50%);
  }

  .mattress-cart-fab-icon {
    font-size: 1.06rem;
  }

  .mattress-page .mattress-cart .pricing-cart-list {
    margin-top: 16px;
  }

  .mattress-page .mattress-cart .pricing-cart-form {
    margin-top: 18px;
  }

  .mattress-page .mattress-cart .pricing-cart-booking {
    min-height: 48px;
    margin-top: 16px;
  }
}

body.menu-open {
  overflow: hidden;
}

body.cart-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding-inline: var(--page-gutter);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  transform: translateY(-100%);
  transition: transform 0.24s ease;
  will-change: transform;
}

.site-header.is-visible {
  transform: translateY(0);
}

.site-header .container {
  width: 100%;
}

.header-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: var(--header-height);
  padding-inline: max(var(--page-gutter), calc((100vw - var(--floating-bar-max-width)) / 2));
  padding-right: max(calc(var(--page-gutter) + 20px), calc((100vw - var(--floating-bar-max-width)) / 2));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
  padding-left: 4px;
}

.brand img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.brand-copy {
  display: none;
}

.brand-city {
  font-size: 1.14rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-name {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
  flex: 1 1 auto;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text);
  transition: color 0.2s ease;
}

.site-nav a svg {
  width: 12px;
  height: 12px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--link-text-hover);
}

.site-nav a.is-current {
  color: var(--link-text-color);
}

.site-nav-head,
.site-nav-close {
  display: none;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
}

.menu-toggle-icon {
  display: grid;
  gap: 4px;
}

.menu-toggle-icon span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 0.22s ease,
    opacity 0.22s ease;
}

.menu-backdrop {
  display: none;
}

.header-phone,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 62px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  border: 2px solid transparent;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.header-phone {
  flex: 0 0 auto;
  margin-left: 10px;
  margin-right: 6px;
  color: var(--button-text-color);
  background: var(--button-color);
}

.header-phone svg {
  width: 19px;
  height: 19px;
}

.header-phone:hover,
.header-phone:focus-visible,
.button-primary:hover,
.button-primary:focus-visible {
  background: var(--button-hover-color);
}

.hero-section {
  height: 100svh;
  min-height: 100svh;
  padding: 0;
}

.patio-page .site-header {
  display: none;
}

.patio-page .inner-main {
  padding-top: 0;
}

.patio-product-types-section {
  padding: 76px 0;
  background: var(--surface);
}

.patio-product-types-section .container {
  max-width: 1280px;
}

.patio-product-types-head {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.patio-product-types-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.patio-product-types-head p {
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.patio-product-types-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.patio-product-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 350px;
  padding: 22px;
  overflow: hidden;
  border-radius: 22px;
  background: #e7f8f5;
  color: #07516b;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.patio-product-card:hover,
.patio-product-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(7, 50, 77, 0.14);
}

.patio-product-card:focus-visible {
  outline: 3px solid var(--button-color);
  outline-offset: 4px;
}

.patio-product-card-title {
  max-width: calc(100% - 48px);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}

.patio-product-card-arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 42px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: #afe3ee;
  color: #08708b;
  font-size: 1.55rem;
  font-weight: 500;
}

.patio-product-card img {
  align-self: center;
  width: 100%;
  max-height: 205px;
  object-fit: contain;
}

.patio-product-card-action {
  justify-self: start;
  padding: 10px 14px;
  border-radius: 999px;
  background: #ffffff;
  color: #08708b;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

@media (max-width: 640px) {
  .patio-product-types-section {
    padding: 52px 0;
  }

  .patio-product-types-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 26px;
  }

  .patio-product-card {
    min-height: 260px;
    padding: 14px;
    border-radius: 18px;
  }

  .patio-product-card-title {
    max-width: calc(100% - 34px);
    font-size: 0.9rem;
  }

  .patio-product-card-arrow {
    top: 12px;
    right: 12px;
    width: 30px;
    font-size: 1.15rem;
  }

  .patio-product-card img {
    max-height: 145px;
  }

  .patio-product-card-action {
    padding: 8px 10px;
    font-size: 0.68rem;
  }
}

@media (min-width: 981px) {
  #home.hero-section,
  .pricing-hero-section,
  .mattress-hero-section {
    height: min(82svh, 820px);
    min-height: 650px;
  }

  .mattress-hero-section {
    height: min(62svh, 650px);
    min-height: 520px;
  }
}

.hero-section .container {
  position: relative;
  height: 100%;
  min-height: 100%;
  padding-inline: 0;
}

.hero-media {
  --hero-height: 100%;
  position: relative;
  height: 100%;
  min-height: var(--hero-height);
  overflow: hidden;
  background: var(--surface-hero);
}

.hero-image {
  width: 100%;
  height: var(--hero-height);
  min-height: var(--hero-height);
  object-fit: cover;
  object-position: center center;
}

.hero-media picture {
  display: block;
  height: 100%;
}

.hero-fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(
      ellipse 42% 46% at 0% 20%,
      rgba(232, 245, 248, 0.92) 0%,
      rgba(232, 245, 248, 0.68) 46%,
      rgba(232, 245, 248, 0) 100%
    ),
    linear-gradient(
      180deg,
      rgba(232, 245, 248, 0) 0%,
      rgba(232, 245, 248, 0) 72%,
      rgba(232, 245, 248, 0.82) 90%,
      #e8f5f8 100%
    );
}

.hero-content {
  position: absolute;
  top: 60px;
  left: 50%;
  z-index: 2;
  width: min(calc(100% - 64px), 960px);
  transform: translateX(-50%);
  text-align: center;
}

#home .hero-content,
.pricing-hero-section .hero-content,
.mattress-hero-section .hero-content {
  isolation: isolate;
}

#home .hero-content::before,
.pricing-hero-section .hero-content::before,
.mattress-hero-section .hero-content::before {
  content: "";
  position: absolute;
  inset: -38px -68px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.94) 0%,
    rgba(255, 255, 255, 0.68) 48%,
    rgba(255, 255, 255, 0) 76%
  );
  filter: blur(12px);
  pointer-events: none;
}

.hero-content h1 {
  margin: 0;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.45), 0 16px 40px rgba(0, 0, 0, 0.55);
  text-wrap: balance;
}

#home .hero-content::before,
.pricing-hero-section .hero-content::before,
.mattress-hero-section .hero-content::before {
  display: none;
}

.home-hero-utility {
  position: absolute;
  top: 22px;
  right: 32px;
  left: 32px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.home-hero-logo,
.home-hero-call {
  pointer-events: auto;
}

.home-hero-logo img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.home-hero-call {
  display: inline-flex;
  align-items: center;
  min-height: 58px;
  padding: 0 26px;
  border: 1px solid rgba(7, 50, 77, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #07324d;
  font-size: 1.06rem;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(7, 50, 77, 0.1);
}

#home .hero-content h1,
.pricing-hero-section .hero-content h1,
.mattress-hero-section .hero-content h1 {
  color: #07324d;
  font-size: clamp(2.75rem, 4.1vw, 4.1rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
  text-transform: none;
  text-shadow: none;
}

.hero-title-accent {
  position: relative;
  display: inline-block;
  padding-bottom: 46px;
}

.hero-title-accent::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 92%;
  height: 38px;
  border-top: 9px solid #1596b2;
  border-radius: 50% 50% 0 0;
  transform: translateX(-50%) rotate(-1deg);
}

.pricing-service-areas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.pricing-service-areas a {
  padding: 8px 13px;
  border: 1px solid rgba(7, 50, 77, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #07324d;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(7, 50, 77, 0.08);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.pricing-service-areas a:hover,
.pricing-service-areas a:focus-visible {
  background: #1f8a99;
  color: #fff;
  transform: translateY(-2px);
}

.hero-breadcrumbs {
  margin-top: 16px;
}

.hero-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  margin: 0;
  list-style: none;
}

.hero-breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(7, 50, 77, 0.72);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.2;
}

.hero-breadcrumbs li + li::before {
  content: "/";
  color: rgba(7, 50, 77, 0.42);
}

.hero-breadcrumbs a {
  color: #087d8d;
  text-decoration: none;
}

.hero-breadcrumbs a:hover,
.hero-breadcrumbs a:focus-visible {
  color: #07324d;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-breadcrumbs [aria-current="page"] {
  color: #07324d;
}

.home-hero-eyebrow {
  margin: 0 0 10px;
  color: #078d80;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-hero-description {
  margin: 22px 0 0;
  color: #315269;
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.45;
}

.home-hero-benefits {
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 0;
  margin: 26px auto 0;
  list-style: none;
}

.home-hero-benefits li {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 158px;
  padding: 0 18px;
  color: #315269;
  font-size: 0.68rem;
  line-height: 1.3;
  text-align: left;
}

.home-hero-benefits li + li {
  border-left: 1px solid rgba(7, 50, 77, 0.13);
}

.home-hero-benefits strong,
.home-hero-phone strong {
  display: block;
  color: #07324d;
  font-size: 0.75rem;
  font-weight: 800;
}

.home-hero-benefit-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 2px solid #21a175;
  border-radius: 50%;
  color: #07996d;
  font-weight: 800;
}

.home-hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
}

.home-hero-actions .button {
  min-width: 236px;
  min-height: 50px;
  padding-inline: 25px;
  font-size: 0.9rem;
}

.home-hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid rgba(7, 50, 77, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #315269;
  font-size: 0.68rem;
  line-height: 1.25;
  text-align: left;
  box-shadow: 0 8px 20px rgba(7, 50, 77, 0.1);
}

.home-hero-phone > span:first-child {
  color: #07996d;
  font-size: 1.32rem;
}

.home-hero-proof {
  display: flex;
  justify-content: center;
  gap: 34px;
  margin-top: 22px;
  color: #315269;
  font-size: 0.72rem;
  font-weight: 700;
}

.home-hero-proof b {
  color: #07996d;
  letter-spacing: 0.08em;
}

.home-hero-offer {
  position: absolute;
  right: 5%;
  bottom: 6%;
  z-index: 2;
  display: grid;
  gap: 5px;
  width: 190px;
  padding: 18px 20px 18px 52px;
  border: 1px solid rgba(7, 50, 77, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: #315269;
  font-size: 0.76rem;
  line-height: 1.4;
  box-shadow: 0 10px 24px rgba(7, 50, 77, 0.12);
}

.home-hero-offer::before {
  content: "%";
  position: absolute;
  top: 50%;
  left: 17px;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 5px;
  background: #07996d;
  color: #ffffff;
  font-weight: 800;
  transform: translateY(-50%);
}

.home-hero-offer strong {
  color: #07324d;
  font-size: 0.8rem;
}

.hero-subtitle {
  margin: 26px 0 18px;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.4;
}

.hero-text {
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.button-primary {
  color: var(--button-text-color);
  background: var(--button-color);
  min-width: 252px;
  padding-inline: 38px;
}


.button-secondary {
  color: var(--button-text-color);
  background: var(--button-secondary-bg);
  border-color: var(--button-secondary-border);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--button-secondary-border-hover);
}

.review-platforms-section {
  position: relative;
  z-index: 4;
  margin-top: -212px;
  padding: 0;
}

.review-platforms-section .container {
  max-width: 1280px;
}

.review-platforms-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.review-platforms-summary-image {
  display: block;
  width: min(100%, 160px);
  height: auto;
}

.review-platforms-summary-meta {
  display: grid;
  justify-items: center;
  gap: 4px;
}

.review-platforms-summary-rating {
  color: var(--button-color);
  font-size: 1.12rem;
  line-height: 1;
  letter-spacing: 0.16em;
}

.review-platforms-summary-count {
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

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

.review-platform-card {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 28px 28px 26px;
  border: 1px solid rgba(31, 138, 153, 0.16);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(232, 245, 248, 0.92) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.review-platform-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.review-platform-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(19, 19, 19, 0.06);
}

.review-platform-icon svg {
  width: 34px;
  height: 34px;
}

.review-platform-brand h3 {
  margin: 0;
  font-size: 1.14rem;
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.03em;
}

.review-platform-rating {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.review-platform-score {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
}

.review-platform-stars {
  color: var(--button-color);
  font-size: 1.2rem;
  line-height: 1;
  letter-spacing: 0.18em;
}

.review-platform-count {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.4;
  color: rgba(19, 19, 19, 0.72);
}

.review-platform-button {
  width: fit-content;
  min-height: 52px;
  margin-top: 6px;
  padding-inline: 22px;
  border-color: var(--line-strong);
  background: #ffffff;
  color: var(--text);
}

.review-platform-button:hover,
.review-platform-button:focus-visible {
  border-color: var(--button-color);
  background: var(--button-secondary-bg);
}

.portfolio-section,
.pricing-section,
.soil-section {
  scroll-margin-top: 128px;
}

.services-overview-section {
  padding: 72px 0 76px;
  scroll-margin-top: 128px;
  background:
    linear-gradient(180deg, #ffffff 0%, transparent 74px),
    linear-gradient(0deg, var(--page-bg) 0%, transparent 74px),
    var(--surface);
}

.pricing-section {
  padding: 64px 0 0;
}

.soil-section {
  padding: 64px 0 72px;
}

.portfolio-section .container {
  max-width: 1440px;
}

.header-cta {
  flex: 0 0 auto;
  margin-left: 10px;
  margin-right: 6px;
}

.site-nav .site-nav-cta {
  display: none;
}

.portfolio-section:not(.pricing-page-portfolio) .container {
  max-width: 1520px;
}

.services-overview-section .container,
.pricing-section .container,
.soil-section .container {
  max-width: 1280px;
}

.portfolio-head,
.services-overview-head,
.pricing-head,
.soil-head {
  width: 100%;
  max-width: none;
}

.services-overview-head h2,
.portfolio-head h2,
.pricing-head h2,
.soil-head h2 {
  margin: 0;
  text-align: center;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

#services-overview-title {
  font-size: 2rem;
  line-height: 1.08;
}

.section-title-accent {
  position: relative;
  display: inline-block;
  padding-bottom: 18px;
}

.section-title-accent::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 96%;
  height: 15px;
  border-top: 5px solid #1596b2;
  border-radius: 50% 50% 0 0;
  transform: translateX(-50%) rotate(-1deg);
}

.booking-offer-section { padding: 28px 0 78px; }
.booking-offer-shell { position: relative; display: grid; grid-template-columns: minmax(0,1.35fr) minmax(280px,.65fr); gap: clamp(28px,5vw,70px); align-items: center; max-width: 1040px; margin: auto; padding: clamp(30px,5vw,56px); overflow: hidden; border: 1px solid rgba(129,231,239,.24); border-radius: 32px; background: radial-gradient(circle at 85% 14%, rgba(55,207,218,.24), transparent 33%), linear-gradient(135deg,#06314d,#082d45 68%); color: #fff; box-shadow: 0 24px 60px rgba(7,50,77,.23); }
.booking-offer-shell::after { content:""; position:absolute; right:-90px; bottom:-125px; width:300px; aspect-ratio:1; border:1px solid rgba(110,225,233,.18); border-radius:50%; box-shadow:0 0 0 36px rgba(110,225,233,.05),0 0 0 74px rgba(110,225,233,.035); pointer-events:none; }
.booking-offer-copy,.booking-offer-action { position:relative; z-index:1; }.booking-offer-kicker { display:flex; align-items:center; flex-wrap:wrap; gap:9px; margin:0; font-size:1.08rem; font-weight:800; }.booking-offer-kicker span { padding:5px 9px; border-radius:999px; background:rgba(110,225,233,.15); color:#8cecf2; font-size:.68rem; letter-spacing:.08em; text-transform:uppercase; }.booking-offer-kicker strong { color:#6ee1e9; font-size:clamp(2rem,4vw,3.2rem); line-height:.9; }.booking-offer-shell h2 { max-width:580px; margin:14px 0 14px; color:#fff; font-size:clamp(1.8rem,3.4vw,2.75rem)!important; line-height:1.04; }.booking-offer-copy > p:not(.booking-offer-kicker) { max-width:570px; margin:0; color:rgba(255,255,255,.82); font-size:1rem; line-height:1.65; }.booking-offer-limits { margin-top:13px!important; color:#a3edf1!important; font-weight:700; font-size:.88rem!important; }.booking-offer-limits::before { content:"●"; margin-right:8px; color:#6ee1e9; }.booking-offer-action { padding:26px; border:1px solid rgba(255,255,255,.14); border-radius:22px; text-align:center; background:rgba(255,255,255,.08); backdrop-filter:blur(10px); }.booking-offer-timer-label { margin:0; color:rgba(255,255,255,.72); font-size:.78rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }.booking-offer-timer { margin:8px 0 20px; }.booking-offer-timer strong { display:block; color:#7cecf1; font-size:clamp(2rem,4vw,2.8rem); letter-spacing:.09em; line-height:1; font-variant-numeric:tabular-nums; }.booking-offer-button { width:100%; min-height:56px; gap:13px; font-size:1rem; }.booking-offer-button span { font-size:1.35rem; }.booking-offer-action small { display:block; margin-top:12px; color:rgba(255,255,255,.62); font-size:.72rem; }
.booking-offer-decoration { position:absolute; z-index:0; top:-52px; right:-38px; width:min(28vw,260px); height:auto; opacity:.78; pointer-events:none; }
.booking-offer-shell { border-color:var(--line); background:radial-gradient(circle at 85% 14%, rgba(31,138,153,.14), transparent 33%), var(--surface-alt); color:var(--text); box-shadow:0 20px 48px rgba(7,50,77,.12); }
.booking-offer-shell::after { border-color:rgba(31,138,153,.16); box-shadow:0 0 0 36px rgba(31,138,153,.05),0 0 0 74px rgba(31,138,153,.035); }
.booking-offer-kicker span { background:rgba(31,138,153,.12); color:var(--button-hover-color); }.booking-offer-kicker strong,.booking-offer-timer strong { color:var(--button-color); }.booking-offer-shell h2 { color:var(--text); }.booking-offer-copy > p:not(.booking-offer-kicker),.booking-offer-timer-label,.booking-offer-action small { color:var(--muted); }.booking-offer-limits { color:var(--button-hover-color)!important; }.booking-offer-limits::before { color:var(--button-color); }.booking-offer-action { border-color:var(--line); background:rgba(255,255,255,.82); box-shadow:0 10px 26px rgba(7,50,77,.08); }
.booking-offer-button { position:relative; justify-content:center; }.booking-offer-button span { position:absolute; right:28px; }
@media (max-width: 720px) { .booking-offer-section { padding:18px 0 56px; }.booking-offer-shell { grid-template-columns:1fr; gap:24px; padding:30px 24px; border-radius:24px; text-align:center; }.booking-offer-kicker { justify-content:center; }.booking-offer-shell h2 { margin-inline:auto; }.booking-offer-copy > p:not(.booking-offer-kicker) { margin-inline:auto; }.booking-offer-action { padding:22px 18px; }.booking-offer-decoration { top:-42px; right:-48px; width:180px; opacity:.62; } }

#portfolio-title {
  display: block;
  width: 100%;
  max-width: none;
}

.portfolio-head p,
.pricing-head p,
.soil-head p {
  margin: 18px 0 0;
  max-width: none;
  font-size: 1rem;
  line-height: 1.68;
  color: var(--muted);
}

.services-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.service-overview-card {
  display: grid;
  gap: 14px;
  align-content: start;
  cursor: pointer;
}

.service-overview-card:focus-visible {
  outline: 2px solid var(--button-color);
  outline-offset: 6px;
}

.service-overview-media {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 18px;
  overflow: hidden;
  border-radius: 26px;
  background: transparent;
  aspect-ratio: 0.94 / 1.08;
}

.service-overview-media img {
  width: 84%;
  height: 84%;
  object-fit: contain;
}

.service-overview-copy {
  display: grid;
  justify-items: center;
  text-align: center;
}

.service-overview-copy h3 {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.portfolio-slider {
  margin-top: 0;
}

.portfolio-topline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 30px;
  width: 100%;
}

.portfolio-section:not(.pricing-page-portfolio) .portfolio-topline {
  grid-template-columns: 1fr;
  align-items: start;
}

.portfolio-track {
  --portfolio-gap: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--portfolio-gap);
}

.portfolio-track::-webkit-scrollbar {
  display: none;
}

.portfolio-item {
  margin: 0;
  overflow: hidden;
  border-radius: 26px;
  background: #dceff3;
  aspect-ratio: 1 / 1.06;
}

.portfolio-item > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--image-position, center center);
}

.before-after-card {
  position: relative;
  background: #d9edf2;
  aspect-ratio: 1.08 / 1;
  min-height: 420px;
}

.before-after-stage {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  overflow: hidden;
  border-radius: inherit;
  isolation: isolate;
  user-select: none;
  -webkit-user-select: none;
}

.before-after-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--compare-position, center center);
  -webkit-user-drag: none;
  pointer-events: none;
}

.before-after-before {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--split, 50%)) 0 0);
}

.before-after-before::after {
  display: none;
}

.before-after-image-before {
  filter: none;
}

/* Mattress comparisons use actual before photos, not a simulated stain overlay. */
.mattress-portfolio .before-after-before::after {
  display: none;
}

.mattress-portfolio .before-after-image-before {
  filter: none;
}

/* Put proof of results immediately after the mattress hero, before the catalog. */
.mattress-page-main {
  display: flex;
  flex-direction: column;
}

.mattress-page-main > * { order: 10; }
.mattress-page-main > .mattress-hero-section { order: 1; }
.mattress-page-main > .mattress-portfolio { order: 2; }
.mattress-page-main > .mattress-pricing-section { order: 3; }
.mattress-page-main > .mattress-cart-popup,
.mattress-page-main > .mattress-cart-backdrop,
.mattress-page-main > .mattress-cart-fab { order: 4; }
.mattress-page-main > .mattress-more-services { order: 5; }

.before-after-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split, 50%);
  width: 2px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.94);
}

.before-after-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  width: 58px;
  height: 58px;
  font: inherit;
  border: 2px solid var(--button-color);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.98);
  color: var(--button-color);
  cursor: ew-resize;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
  transform: translate(-50%, -50%);
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.before-after-handle svg {
  width: 24px;
  height: 24px;
  pointer-events: none;
}

.before-after-handle:hover,
.before-after-handle:focus-visible {
  background: #ffffff;
  border-color: var(--button-hover-color);
  outline: 0;
}

.before-after-card.is-dragging .before-after-handle {
  transform: translate(-50%, -50%) scale(1.05);
}

.before-after-badge {
  position: absolute;
  top: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(19, 19, 19, 0.72);
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  pointer-events: none;
}

.before-after-badge-before {
  left: 14px;
}

.before-after-badge-after {
  right: 14px;
}

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: 28px;
  align-items: start;
  margin-top: 34px;
}

.pricing-services-panel {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.pricing-services {
  display: grid;
  gap: 16px;
  max-height: min(74vh, 980px);
  overflow-y: auto;
  padding-right: 10px;
  overscroll-behavior: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.pricing-service {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 26px 28px;
  border: 0;
  border-radius: 0;
  background: rgba(232, 245, 248, 0.74);
}

.pricing-services::-webkit-scrollbar {
  width: 8px;
}

.pricing-services::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(19, 19, 19, 0.18);
}

/* Keep every mattress option visible without requiring an inner scroll. */
.mattress-page .mattress-services-list {
  max-height: none;
  overflow: visible;
  padding-right: 0;
  gap: 10px;
}

.mattress-page .pricing-service {
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 14px;
  padding: 10px 14px;
  border: 1px solid rgba(19, 19, 19, 0.08);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(19, 19, 19, 0.05);
}

.mattress-page .pricing-service-visual {
  min-height: 72px;
  padding: 6px;
  border-radius: 14px;
}

.mattress-page .pricing-service-copy {
  gap: 8px;
}

.mattress-page .pricing-service-copy h3 {
  font-size: 1rem;
  line-height: 1.08;
}

.mattress-page .pricing-service-title {
  gap: 10px;
}

.mattress-page .pricing-service-title strong {
  font-size: 1rem;
  color: oklch(0.6 0.15 163.21);
}

.mattress-page .pricing-service-button {
  width: 102px;
  min-width: 102px;
  height: 32px;
  min-height: 32px;
  padding: 0 8px;
  font-size: 0.72rem;
}

.mattress-page .pricing-service-meta {
  justify-content: center;
  width: 100%;
}

.mattress-page .mattress-service-controls {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.mattress-service-stepper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
}

.mattress-service-stepper[hidden],
.mattress-service-controls > [hidden] {
  display: none;
}

.mattress-service-stepper button {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.mattress-service-stepper button:hover,
.mattress-service-stepper button:focus-visible {
  background: rgba(31, 138, 153, 0.12);
  outline: 0;
}

.mattress-service-stepper span {
  min-width: 18px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 800;
}

.mattress-cart-popup[hidden] {
  display: none;
}

.mattress-cart-popup {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(19, 19, 19, 0.44);
}

.mattress-cart-popup-dialog {
  position: relative;
  width: min(100%, 420px);
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  text-align: center;
}

.mattress-cart-popup-dialog .eyebrow {
  margin-bottom: 10px;
}

.mattress-cart-popup-dialog h3 {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.15;
}

.mattress-cart-popup-dialog p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.mattress-cart-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
}

.mattress-cart-popup-close:hover,
.mattress-cart-popup-close:focus-visible {
  background: rgba(31, 138, 153, 0.12);
  outline: 0;
}

.mattress-cart-popup-more {
  min-height: 48px;
  margin: 24px auto 0;
}

.mattress-cart-close,
.mattress-cart-fab,
.mattress-cart-backdrop {
  display: none;
}

.mattress-cart-minimum {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  margin-top: 18px;
  border: 1px solid #d5deeb;
  border-radius: 18px;
  background: #f1f5fa;
  color: #52647a;
  font-size: 0.82rem;
  line-height: 1.35;
}

.mattress-cart-minimum strong {
  color: #455a73;
  font-weight: 800;
}

.mattress-cart-minimum[hidden] {
  display: none;
}

.mattress-appointment,
.mattress-time-options {
  display: grid;
  gap: 10px;
}

.mattress-date-picker {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.mattress-date-options {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  gap: 8px;
  overflow-x: auto;
  padding: 2px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.mattress-date-options::-webkit-scrollbar {
  display: none;
}

.mattress-date-arrow {
  display: inline-grid;
  flex: 0 0 38px;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid #dce3ec;
  border-radius: 50%;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.mattress-date-arrow:hover,
.mattress-date-arrow:focus-visible {
  border-color: #29a5b6;
  color: #087d8d;
}

.mattress-date-options button {
  display: grid;
  flex: 0 0 56px;
  justify-items: center;
  gap: 1px;
  min-height: 66px;
  padding: 6px 2px;
  border: 1px solid #dce3ec;
  border-radius: 16px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  cursor: pointer;
  scroll-snap-align: start;
}

.mattress-date-options button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.mattress-date-options button small {
  color: #718096;
  font-size: 0.58rem;
  font-weight: 800;
}

.mattress-date-options button strong {
  font-size: 1.12rem;
  line-height: 1;
}

.mattress-date-options button.is-selected,
.mattress-time-grid button.is-selected {
  border-color: #29a5b6;
  background: rgba(41, 165, 182, 0.12);
  color: #087d8d;
}

.mattress-date-note {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid rgba(162, 61, 23, 0.25);
  border-radius: 999px;
  background: #fff4ec;
  color: #a23d17;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.35;
}

.mattress-time-options[hidden] {
  display: none;
}

.mattress-time-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}

.mattress-time-grid button {
  min-height: 40px;
  padding: 0 6px;
  border: 1px solid #dce3ec;
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  font-size: 0.78rem;
  cursor: pointer;
}

.mattress-time-grid button.is-unavailable,
.mattress-time-grid button:disabled {
  display: grid;
  gap: 1px;
  place-content: center;
  border-color: #e0b4b4;
  background: #fff5f5;
  color: #a33b3b;
  cursor: not-allowed;
  opacity: 1;
}

.mattress-time-grid button.is-unavailable small {
  color: currentColor;
  font-size: 0.62rem;
  font-weight: 700;
}

/* Keep section headings visually consistent across the site. */
h2 {
  font-size: 2rem !important;
}

.pricing-service-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 132px;
  padding: 12px;
  border: 0;
  border-radius: 22px;
  background: var(--surface);
}

.pricing-service-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pricing-service-copy h3 {
  margin: 0;
  font-size: 1.34rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.pricing-service-copy {
  display: grid;
  align-content: center;
  gap: 14px;
}

.pricing-service-copy p {
  margin: 12px 0 0;
  max-width: 430px;
  font-size: 0.98rem;
  line-height: 1.62;
  color: var(--muted);
}

.pricing-service-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px 20px;
  flex-wrap: wrap;
}

.mattress-portfolio .portfolio-head {
  position: relative;
  isolation: isolate;
}

.mattress-portfolio .portfolio-head::before {
  content: "";
  position: absolute;
  inset: -10px -14px;
  z-index: -1;
  opacity: 0.2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='90' viewBox='0 0 180 90'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='.45'/%3E%3C/svg%3E");
  pointer-events: none;
}

.pricing-service-meta strong {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.pricing-service-count {
  font-size: 0.86rem;
  line-height: 1.3;
  color: var(--muted);
}

.pricing-service-button {
  color: var(--button-text-color);
  background: var(--button-color-cart);
  cursor: pointer;
  min-width: 176px;
  margin-left: auto;
  padding-inline: 30px;
  width: auto;
  white-space: nowrap;
}

.pricing-service-button:hover,
.pricing-service-button:focus-visible {
  background: var(--button-hover-color);
}

.pricing-services-more {
  width: 100%;
  color: var(--button-text-color);
  background: var(--button-color);
}

.pricing-services-more:hover,
.pricing-services-more:focus-visible {
  background: var(--button-hover-color);
}

.pricing-cart {
  position: sticky;
  top: 128px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
}

.pricing-cart-booking {
  width: 100%;
  margin-top: 22px;
}

.pricing-cart-booking.is-minimum-blocked {
  box-shadow: 0 0 0 2px rgba(162, 61, 23, 0.2);
}

.pricing-minimum-popup[hidden] {
  display: none;
}

.pricing-minimum-popup {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(7, 30, 39, 0.58);
}

.pricing-minimum-popup-dialog {
  position: relative;
  width: min(100%, 440px);
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: 0 24px 60px rgba(7, 50, 77, 0.24);
  text-align: center;
}

.pricing-minimum-popup-eyebrow {
  margin: 0 0 10px;
  color: #a23d17;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pricing-minimum-popup-dialog h3 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.15;
}

.pricing-minimum-popup-dialog p:not(.pricing-minimum-popup-eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.pricing-minimum-popup-dialog p strong {
  color: #a23d17;
}

.pricing-minimum-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.pricing-minimum-popup-close:hover,
.pricing-minimum-popup-close:focus-visible {
  background: rgba(31, 138, 153, 0.12);
  outline: 0;
}

.pricing-minimum-popup-action {
  min-width: 190px;
  margin-top: 24px;
}

.pricing-cart-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  min-width: 0;
  max-width: 100%;
}

.mattress-page .mattress-cart,
.mattress-page .mattress-appointment,
.mattress-page .mattress-time-options,
.pricing-cart .mattress-appointment,
.pricing-cart .mattress-time-options {
  min-width: 0;
  max-width: 100%;
}

.pricing-cart-form-text {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--text);
}

.pricing-cart-field {
  display: grid;
  gap: 8px;
}

.pricing-cart-label {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
}

.pricing-cart-input {
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(232, 245, 248, 0.72);
  color: var(--text);
  font: inherit;
  outline: 0;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.pricing-cart-input::placeholder {
  color: rgba(19, 19, 19, 0.46);
}

.pricing-cart-input:focus {
  border-color: var(--button-color);
  background: rgba(232, 245, 248, 0.96);
}

.pricing-cart-privacy {
  margin: 14px 0 0;
  font-size: 0.82rem;
  line-height: 1.56;
  color: var(--muted);
}

.pricing-cart-head h2,
.pricing-cart-head h3 {
  margin: 0;
  font-size: 1.58rem;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.pricing-cart-head p {
  margin: 14px 0 0;
  font-size: 0.96rem;
  line-height: 1.62;
  color: var(--muted);
}

.pricing-cart-head .pricing-cart-minimum {
  margin-top: 8px;
  color: #a23d17;
  font-weight: 700;
}

.pricing-cart-head .pricing-cart-minimum.is-met {
  color: #167347;
}

.pricing-cart-minimum-remaining {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 6px;
  background: #fff0e9;
  color: #a23d17;
  white-space: nowrap;
}

.pricing-cart-list {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.pricing-cart-empty {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--benefits-divider);
  font-size: 0.96rem;
  line-height: 1.5;
  color: var(--muted);
}

.pricing-cart-item {
  padding: 18px 0;
  border-top: 1px solid var(--benefits-divider);
}

.pricing-service-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.pricing-service-title strong {
  flex: 0 0 auto;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.pricing-cart-item:first-child {
  border-top: 0;
}

.pricing-cart-item-main,
.pricing-cart-item-actions,
.pricing-cart-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.pricing-cart-item-main strong,
.pricing-cart-row strong {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.pricing-cart-item-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.pricing-cart-item-price {
  margin: 7px 0 0;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--muted);
}

.pricing-cart-item-actions {
  margin-top: 14px;
}

.pricing-cart-row[hidden] {
  display: none;
}

.pricing-cart-extras {
  margin-top: 18px;
  padding-left: 18px;
  border-left: 1px solid var(--benefits-divider);
}

.pricing-cart-extras-title {
  margin: 0 0 14px;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(54, 86, 92, 0.82);
}

.pricing-cart-extras-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pricing-cart-extra.is-popular {
  padding: 12px;
  border: 1px solid rgba(31, 138, 153, 0.45);
  border-radius: 10px;
  background: rgba(31, 138, 153, 0.06);
}

.pricing-cart-extra-option {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.pricing-cart-extra-input {
  width: 18px;
  height: 18px;
  margin: 4px 0 0;
  accent-color: var(--button-color);
}

.pricing-cart-extra-copy {
  min-width: 0;
}

.pricing-cart-extra-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.pricing-cart-extra-name {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.pricing-cart-extra-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--button-color);
  color: #fff;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1;
  text-transform: uppercase;
  vertical-align: middle;
}

.pricing-cart-extra-total {
  flex: 0 0 auto;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--button-color);
}

.pricing-cart-extra-description,
.pricing-cart-extra-meta {
  display: block;
  margin-top: 5px;
}

.pricing-cart-extra-description {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
}

.pricing-cart-extra-meta {
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(54, 86, 92, 0.88);
}

.pricing-cart-stepper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pricing-cart-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  min-width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.pricing-cart-step:hover,
.pricing-cart-step:focus-visible,
.pricing-drawer-close:hover,
.pricing-drawer-close:focus-visible {
  border-color: var(--button-color);
}

.pricing-cart-item-qty {
  font-size: 0.85rem;
  line-height: 1.3;
  color: var(--muted);
}

.pricing-cart-remove,
.pricing-offer-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 800;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background-color 0.2s ease;
}

.pricing-cart-remove:hover,
.pricing-cart-remove:focus-visible,
.pricing-offer-remove:hover,
.pricing-offer-remove:focus-visible {
  border-color: var(--button-color);
  background: rgba(31, 138, 153, 0.12);
  color: var(--text);
}

.pricing-cart-summary {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--benefits-divider);
}

.pricing-cart-row + .pricing-cart-row {
  margin-top: 12px;
}

.pricing-cart-row span {
  color: var(--muted);
}

.pricing-cart-row-discount strong {
  color: #18803c;
}

[data-cart-discount-row] strong,
[data-cart-volume-discount-row] strong,
[data-mattress-volume-discount-row] strong {
  color: #18803c;
}

.pricing-cart-row-total {
  padding-top: 8px;
}

.pricing-cart-row-total span,
.pricing-cart-row-total strong {
  color: var(--text);
  font-size: 1.08rem;
}

.pricing-cart-note {
  margin: 20px 0 0;
  font-size: 0.88rem;
  line-height: 1.58;
  color: var(--muted);
}

.pricing-offer[hidden] {
  display: none;
}

.pricing-offer {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(19, 19, 19, 0.44);
}

.pricing-offer-dialog {
  width: min(100%, 460px);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
}

.pricing-offer-dialog h3 {
  margin: 0;
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
}

.pricing-offer-dialog p {
  margin: 16px 0 0;
  font-size: 0.98rem;
  line-height: 1.64;
  color: var(--muted);
}

.pricing-offer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.pricing-offer-accept {
  min-width: 224px;
}

.soil-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 36px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
  border-top: 1px solid var(--benefits-divider);
}

.soil-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--benefits-divider);
}

.soil-item::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 11px;
  border-radius: 50%;
  background: var(--button-color);
  flex: 0 0 auto;
}

.soil-item h3 {
  margin: 0;
  font-size: clamp(1.14rem, 1.8vw, 1.36rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.inner-main {
  padding-top: 20px;
}

.page-hero,
.catalog-section {
  scroll-margin-top: 128px;
}

.page-hero {
  padding: 10px 0 0;
}

.page-hero .container,
.catalog-section .container {
  max-width: 1280px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  padding: 10px 16px;
  margin: 0 auto;
  border: 1px solid rgba(31, 138, 153, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 6px 18px rgba(7, 57, 87, 0.06);
  list-style: none;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(19, 19, 19, 0.68);
}

.breadcrumbs li + li::before {
  content: "/";
  color: rgba(19, 19, 19, 0.34);
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
  color: var(--link-text-hover);
}

.page-hero-copy {
  max-width: 980px;
  margin: 0 auto 18px;
  text-align: center;
}

.page-hero-copy h1 {
  margin: 0;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.page-hero-subtitle {
  margin: 16px 0 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
}

.catalog-section {
  padding-top: 64px;
}

.pricing-page-main .catalog-section {
  padding-bottom: 64px;
  background:
    linear-gradient(180deg, var(--page-bg) 0%, transparent 74px),
    linear-gradient(0deg, var(--page-bg) 0%, transparent 74px),
    var(--surface);
}

.photo-quote-section {
  padding: 40px;
  background: var(--surface);
}

.photo-quote-section .container {
  max-width: 1280px;
}

.photo-quote-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 420px);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
  overflow: hidden;
  padding: clamp(32px, 5vw, 58px);
  border: 1px solid rgba(31, 138, 153, 0.2);
  border-radius: 32px;
  background: radial-gradient(circle at 83% 16%, rgba(207, 244, 237, 0.8), transparent 20%), linear-gradient(135deg, #effcfb 0%, #f9fffe 100%);
  box-shadow: 0 12px 30px rgba(7, 50, 77, 0.1);
}

.photo-quote-copy {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.photo-quote-copy h2 {
  max-width: 680px;
  margin: 12px 0 18px;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.03;
  letter-spacing: -0.05em;
}

.photo-quote-title-accent {
  position: relative;
  display: inline-block;
  padding-bottom: 24px;
}

.photo-quote-title-accent::after {
  content: "";
  position: absolute;
  right: 4%;
  bottom: 0;
  left: 4%;
  height: 20px;
  border-top: 5px solid #1596b2;
  border-radius: 50% 50% 0 0;
  transform: rotate(-1deg);
}

.photo-quote-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.photo-quote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.photo-quote-actions .button {
  min-height: 50px;
  gap: 10px;
  padding-inline: 30px;
}

.photo-quote-actions .button img {
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
}

.photo-quote-actions .button-secondary {
  color: var(--button-color);
}

.photo-quote-preview {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.photo-quote-preview img {
  display: block;
  width: min(100%, 390px);
  height: auto;
  filter: drop-shadow(0 16px 18px rgba(7, 50, 77, 0.16));
}

.photo-quote-branch {
  position: absolute;
  top: -26px;
  right: -2px;
  width: min(19vw, 210px);
  height: auto;
  opacity: 0.9;
  pointer-events: none;
}

@media (max-width: 980px) {
  .photo-quote-shell {
    grid-template-columns: minmax(0, 1fr) minmax(230px, 330px);
    gap: 30px;
  }

  .photo-quote-actions .button {
    padding-inline: 20px;
  }
}

.catalog-head h2 {
  margin: 0;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.catalog-head p {
  margin: 16px 0 0;
  font-size: 1rem;
  line-height: 1.68;
  color: var(--muted);
}

.faq-section {
  padding: 64px 0;
}

.faq-container {
  max-width: 980px;
}

.faq-intro {
  max-width: 620px;
  margin: 0 auto 28px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--link-text-color);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.faq-intro h2,
.faq-contact-card h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 23px 26px;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--link-text-color);
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1;
}

.faq-item[open] summary {
  padding-bottom: 15px;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 26px 25px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.faq-answer p {
  margin: 0;
}

.faq-answer p + p,
.faq-answer ul + p,
.faq-answer ol + p {
  margin-top: 14px;
}

.faq-answer ul,
.faq-answer ol {
  display: grid;
  gap: 6px;
  padding-left: 22px;
  margin: 14px 0 0;
}

.faq-answer a {
  color: var(--link-text-color);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.faq-contact-section {
  padding: 0 0 72px;
}

.faq-contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 42px 48px;
  border-radius: var(--radius-lg);
  color: var(--button-text-color);
  background: var(--button-color);
}

.faq-contact-card .eyebrow {
  color: rgba(255, 255, 255, 0.76);
}

.faq-contact-card h2 {
  max-width: 700px;
}

.faq-contact-card .button {
  flex: 0 0 auto;
  color: var(--button-color);
  background: var(--surface);
}

.faq-contact-card .button:hover,
.faq-contact-card .button:focus-visible {
  color: var(--button-text-color);
  background: var(--button-hover-color);
}

@media (max-width: 640px) {
  .faq-section {
    padding: 46px 0;
  }

  .faq-item summary {
    padding: 19px 20px;
    font-size: 0.98rem;
  }

  .faq-answer {
    padding: 0 20px 21px;
    font-size: 0.92rem;
  }

  .faq-contact-section {
    padding-bottom: 52px;
  }

  .faq-contact-card {
    display: grid;
    gap: 24px;
    padding: 32px 24px;
  }

  .faq-contact-card .button {
    width: 100%;
  }
}

.before-after-section {
  padding: 96px 0 0;
}

.before-after-section .container {
  max-width: 1280px;
}

.before-after-panel {
  position: relative;
  overflow: visible;
  padding: 48px;
  border-radius: 34px;
  background: #f3f7f7;
}

.before-after-copy {
  position: relative;
  z-index: 1;
  width: 100%;
}

.before-after-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 590px);
  align-items: center;
  gap: 48px;
  margin-top: 30px;
}

.before-after-title {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.before-after-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 590px;
  margin: 0;
}

.before-after-benefits {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.before-after-benefits li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
}

.before-after-benefit-copy {
  display: grid;
  gap: 4px;
}

.before-after-benefit-copy small {
  color: var(--button-color);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.1;
  text-transform: uppercase;
}

.before-after-benefits img {
  width: 92px;
  height: 92px;
  flex: 0 0 auto;
  object-fit: contain;
}

.before-after-video {
  position: relative;
  aspect-ratio: 9 / 14;
  min-height: 320px;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #dfe7e7;
}

.before-after-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.before-after-video figcaption {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  color: #fff;
  background: rgba(19, 19, 19, 0.62);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

.before-after-decoration {
  position: absolute;
  z-index: 2;
  right: -26px;
  top: -78px;
  width: min(30vw, 300px);
  height: auto;
  pointer-events: none;
}

@media (max-width: 980px) {
  .before-after-panel {
    padding: 40px;
  }

  .before-after-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 510px);
    gap: 28px;
  }

  .before-after-grid {
    max-width: 510px;
  }

  .before-after-benefits img {
    width: 112px;
    height: 112px;
  }

  .before-after-benefit-copy {
    display: none;
  }

  .before-after-decoration {
    width: 250px;
  }
}

@media (max-width: 760px) {
  .before-after-section {
    padding-top: 80px;
  }

  .before-after-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .before-after-grid {
    max-width: 590px;
  }
}

.catalog-group {
  margin-top: 30px;
}

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

.catalog-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 26px 28px;
}

.catalog-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 148px;
  padding: 14px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(19, 19, 19, 0.06);
}

.catalog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.catalog-card-copy {
  display: grid;
  gap: 10px;
}

.catalog-card-copy h3 {
  margin: 0;
  font-size: 1.34rem;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.catalog-card-price {
  margin: 2px 0 0;
  font-size: 1.24rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.catalog-card-actions {
  display: flex;
  align-items: center;
  gap: 12px 18px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.catalog-card-controls {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
}

.catalog-card-count {
  font-size: 0.84rem;
  line-height: 1.3;
  color: var(--muted);
}

.catalog-card-button {
  min-height: 48px;
  padding-inline: 22px;
  margin-left: auto;
  color: var(--button-text-color);
  background: var(--button-color);
  cursor: pointer;
}

.local-service-section,.local-process-section,.local-faq-section{padding:76px 0}.local-service-section{padding-bottom:34px}.local-service-intro,.local-faq-heading{max-width:760px;margin:0 auto 34px;text-align:center}.local-service-intro h2,.local-process-section h2,.local-faq-heading h2{margin:8px 0 16px;color:#073957;font-size:clamp(1.8rem,3.4vw,2.65rem);line-height:1.12;letter-spacing:-.04em;text-wrap:balance}.local-service-intro p:not(.eyebrow),.local-process-section p:not(.eyebrow),.local-faq-list p{color:var(--muted);line-height:1.7}.local-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.local-service-grid article{padding:28px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 12px 30px rgba(7,57,87,.05)}.local-service-grid h3,.local-booking-card h3{margin:0 0 10px;color:#073957;font-size:1.2rem}.local-service-grid p{margin:0;color:var(--muted);line-height:1.65}.local-service-grid a,.local-call-link{color:var(--link-text-color);font-weight:800}.local-process-section{background:#fff}.local-process-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);align-items:center;gap:clamp(32px,6vw,84px)}.local-process-list{display:grid;gap:17px;padding:0;margin:28px 0 0;list-style:none;counter-reset:local-process}.local-process-list li{position:relative;min-height:44px;padding-left:60px;color:var(--muted);line-height:1.65;counter-increment:local-process}.local-process-list li::before{content:counter(local-process);position:absolute;top:0;left:0;display:grid;width:38px;height:38px;place-items:center;border-radius:50%;background:#e8f5f8;color:#087d8d;font-weight:800}.local-process-list strong{color:#073957}.local-booking-card{padding:30px;border-radius:24px;background:#073957;box-shadow:0 18px 42px rgba(7,57,87,.18)}.local-booking-card .eyebrow{color:#8ee3e4}.local-booking-card h3{color:#fff;font-size:1.5rem}.local-booking-card p:not(.eyebrow){color:#d8edf0}.local-booking-card .button{margin-top:12px}.local-call-link{display:block;margin-top:18px;color:#fff;text-decoration:none}.local-faq-section{padding-top:70px}.local-faq-list{max-width:860px;margin:0 auto;display:grid;gap:12px}.local-faq-list details{padding:0 22px;border:1px solid var(--line);border-radius:16px;background:#fff}.local-faq-list summary{padding:19px 28px 19px 0;color:#073957;font-weight:800;cursor:pointer}.local-faq-list p{margin:0 0 19px}@media(max-width:760px){.local-service-section,.local-process-section,.local-faq-section{padding:52px 0}.local-service-section{padding-bottom:18px}.local-service-grid,.local-process-layout{grid-template-columns:1fr}.local-service-grid{gap:14px}.local-service-grid article,.local-booking-card{padding:24px}.local-process-layout{gap:30px}}

.city-results-section{padding:38px 0 76px}.city-results-heading{max-width:720px;margin:0 auto 30px;text-align:center}.city-results-heading h2{margin:8px 0 12px;color:#073957;font-size:clamp(1.8rem,3.4vw,2.55rem);line-height:1.12;letter-spacing:-.04em;text-wrap:balance}.city-results-heading p:not(.eyebrow){margin:0;color:var(--muted);line-height:1.6}.city-results-card{width:min(100%,920px);min-height:0;margin:0 auto;overflow:hidden;border:1px solid var(--line);border-radius:24px;aspect-ratio:16/9;box-shadow:0 18px 42px rgba(7,57,87,.12)}.city-results-card .before-after-stage{min-height:0}.city-results-card .before-after-divider{z-index:3}@media(max-width:760px){.city-results-section{padding:26px 0 52px}.city-results-card{border-radius:18px;aspect-ratio:1.12/1}}

.service-areas-directory{padding:58px 0 76px}.service-areas-directory-intro{max-width:700px;margin:0 auto 36px;text-align:center}.service-areas-directory-intro h2,.service-areas-directory-cta h2{margin:8px 0 12px;color:#073957;font-size:clamp(1.8rem,3.4vw,2.5rem);line-height:1.15;letter-spacing:-.04em}.service-areas-directory-intro p:not(.eyebrow),.service-areas-directory-cta p{color:var(--muted);line-height:1.7}.service-areas-directory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.service-areas-directory-grid a{display:flex;min-height:210px;flex-direction:column;padding:26px;border:1px solid var(--line);border-radius:20px;background:#fff;color:inherit;text-decoration:none;box-shadow:0 12px 28px rgba(7,57,87,.05);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.service-areas-directory-grid a:hover,.service-areas-directory-grid a:focus-visible{transform:translateY(-4px);border-color:rgba(31,138,153,.45);box-shadow:0 18px 34px rgba(7,57,87,.12)}.service-areas-directory-grid h3{margin:0;color:#073957;font-size:1.25rem}.service-areas-directory-grid p{margin:12px 0;color:var(--muted);line-height:1.55}.service-areas-directory-grid span{margin-top:auto;color:#087d8d;font-size:.86rem;font-weight:800}.service-areas-directory-grid b{margin-left:4px}.service-areas-directory-cta{max-width:760px;margin:44px auto 0;padding:34px;border-radius:24px;background:#fff;text-align:center;box-shadow:0 12px 28px rgba(7,57,87,.06)}@media(max-width:760px){.service-areas-directory{padding:42px 0 54px}.service-areas-directory-grid{grid-template-columns:1fr}.service-areas-directory-grid a{min-height:175px}.service-areas-directory-cta{padding:26px}}

.catalog-card-button[hidden] {
  display: none;
}

.catalog-card-button:hover,
.catalog-card-button:focus-visible {
  background: var(--button-hover-color);
}

.catalog-card-stepper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
}

.catalog-card-stepper[hidden] {
  display: none;
}

.catalog-card-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  min-width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.catalog-card-step:hover,
.catalog-card-step:focus-visible {
  border-color: var(--button-color);
  outline: 0;
}

.catalog-card-qty {
  min-width: 24px;
  text-align: center;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1;
}

.mattress-visual {
  position: relative;
  width: 100%;
  min-height: 148px;
}

.mattress-shape,
.mattress-top,
.mattress-size-chip {
  position: absolute;
}

.mattress-shape {
  top: 50%;
  left: 50%;
  height: 72px;
  border: 2px solid #131313;
  border-radius: 22px;
  background: linear-gradient(180deg, #f6fcfd 0%, #d7edf1 100%);
  transform: translate(-50%, -50%);
}

.mattress-top {
  top: calc(50% - 26px);
  left: 50%;
  height: 12px;
  border-radius: 999px;
  background: rgba(19, 19, 19, 0.12);
  transform: translateX(-50%);
}

.mattress-size-chip {
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #131313;
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.size-twin .mattress-shape {
  width: 56%;
}

.size-twin .mattress-top {
  width: 36%;
}

.size-full .mattress-shape {
  width: 64%;
}

.size-full .mattress-top {
  width: 42%;
}

.size-queen .mattress-shape {
  width: 74%;
}

.size-queen .mattress-top {
  width: 48%;
}

.size-king .mattress-shape {
  width: 84%;
}

.size-king .mattress-top {
  width: 54%;
}

.price-cta-section {
  padding: 24px 0 64px;
}

.price-cta-section .container {
  max-width: 1280px;
}

.price-cta-actions {
  display: flex;
  justify-content: center;
}

.price-cta-button {
  min-width: 260px;
}

.contact-phone-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 24px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: #ffffff;
}

.contact-phone-pill:hover,
.contact-phone-pill:focus-visible {
  border-color: var(--button-color);
}

.offline-quote-section {
  padding: 0 0 72px;
}

.offline-quote-section .container {
  max-width: 1280px;
}

.offline-quote-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, auto);
  gap: 28px;
  align-items: center;
  padding: 30px 34px;
  border: 1px solid rgba(31, 138, 153, 0.16);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(232, 245, 248, 0.88) 100%);
}

.offline-quote-copy {
  width: 100%;
}

.offline-quote-copy h2 {
  margin: 0;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.offline-quote-copy h3 {
  margin: 14px 0 0;
  font-size: 1.26rem;
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.offline-quote-copy p {
  margin: 16px 0 0;
  max-width: 720px;
  font-size: 1rem;
  line-height: 1.62;
  color: var(--muted);
}

.offline-quote-actions {
  display: grid;
  gap: 12px;
  width: min(100%, 340px);
}

.offline-quote-actions .button,
.offline-quote-actions .contact-phone-pill {
  width: 100%;
}

.offline-quote-action-sms {
  display: none;
}

.clean-home-section {
  position: relative;
  z-index: 3;
  margin-top: -150px;
  padding: 0 0 72px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    #ffffff calc(100% - 132px),
    #ffffff 100%
  );
}

@media (min-width: 981px) {
  .clean-home-section {
    padding: 0;
  }
}

.clean-home-section .container {
  max-width: 1280px;
}

.clean-home-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100vw;
  padding: 190px max(32px, calc((100vw - 1280px) / 2)) 46px;
  margin-left: calc(50% - 50vw);
  background: linear-gradient(
    180deg,
    rgba(232, 245, 248, 0) 0%,
    rgba(246, 251, 252, 0.9) 54%,
    #ffffff 80%
  );
}

.clean-home-benefit {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 14px;
  min-height: 340px;
  padding: 0 26px;
  text-align: center;
  transform: translateY(-30px);
}

.clean-home-benefit + .clean-home-benefit {
  border-left: 1px solid rgba(31, 138, 153, 0.2);
}

.clean-home-benefit img {
  width: 140px;
  height: 140px;
  object-fit: contain;
}

/* Keep both adjacent sections on one continuous white surface. */
.clean-home-section + .portfolio-section {
  position: relative;
  margin-top: -1px;
  background: #ffffff;
}

.clean-home-benefit h3 {
  margin: 0;
  color: #078190;
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.clean-home-benefit p {
  margin: 0;
  color: #33404d;
  font-size: 0.95rem;
  line-height: 1.43;
}

.clean-home-action {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(190px, 1fr) minmax(340px, 1.35fr) minmax(190px, 1fr);
  align-items: center;
  gap: 22px;
  width: min(920px, 100%);
  margin-right: auto;
  margin-left: auto;
  padding-bottom: 64px;
  margin-bottom: -100px;
  position: relative;
  z-index: 1;
  transform: translateY(-132px);
}

.clean-home-action .clean-home-action-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 66px;
  padding: 0 28px;
  font-size: 1.08rem;
  box-shadow: 0 14px 30px rgba(31, 138, 153, 0.28);
}

.clean-home-action-icon {
  position: absolute;
  left: 28px;
  font-size: 1.4rem;
  line-height: 1;
}

.clean-home-action-arrow {
  position: absolute;
  right: 28px;
  font-size: 1.5rem;
  line-height: 1;
  transition: transform .2s ease;
}

.clean-home-action-button:hover .clean-home-action-arrow,
.clean-home-action-button:focus-visible .clean-home-action-arrow {
  transform: translateX(4px);
}

.clean-home-action-note {
  position: relative;
  margin: 0;
  color: #07324d;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.35;
}

.clean-home-action-note-free {
  padding-right: 28px;
  text-align: right;
}

.clean-home-action-note-pain {
  padding-left: 28px;
  text-align: left;
}

.clean-home-action-note::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 20px;
  border-top: 1px solid rgba(7, 50, 77, 0.46);
}

.clean-home-action-note-free::after {
  right: 0;
}

.clean-home-action-note-pain::after {
  left: 0;
}

.clean-home-promise {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px minmax(260px, 0.72fr);
  align-items: center;
  min-height: 310px;
  overflow: hidden;
  padding: 42px 54px;
  margin-top: 0;
  border-radius: 0 0 72px 72px;
  color: #ffffff;
  background: linear-gradient(100deg, #078190 0%, #0c9aaa 64%, #dceae7 64%, #eaf0ed 100%);
}

.clean-home-promise-copy {
  position: relative;
  z-index: 2;
}

.clean-home-promise h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.clean-home-promise p {
  max-width: 37ch;
  margin: 20px 0 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.48;
}

.clean-home-promise-icon {
  position: relative;
  z-index: 2;
  width: 170px;
  height: 170px;
  padding: 10px;
  border-radius: 50%;
  background: #ffffff;
  object-fit: contain;
}

.clean-home-promise-sofa {
  position: absolute;
  right: 3%;
  bottom: 4%;
  width: 33%;
  max-width: 330px;
  height: auto;
  mix-blend-mode: multiply;
}

@media (max-width: 980px) {
  .clean-home-section {
    margin-top: -100px;
    padding-bottom: 62px;
  }

  .clean-home-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 128px 26px 36px;
  }

  .clean-home-action {
    transform: translateY(-88px);
    margin-bottom: -70px;
  }

  .clean-home-benefit {
    min-height: 290px;
    padding: 18px 34px;
    transform: translateY(-20px);
  }

  .clean-home-benefit + .clean-home-benefit {
    border-left: 0;
  }

  .clean-home-benefit:nth-child(3) {
    border-left: 0;
    border-top: 0;
  }

  .clean-home-benefit:nth-child(4) {
    border: 0;
  }

  .clean-home-promise {
    grid-template-columns: minmax(0, 1fr) 150px minmax(180px, 0.65fr);
    min-height: 280px;
    padding: 36px;
    border-radius: 0 0 52px 52px;
  }

  .clean-home-promise-icon {
    width: 138px;
    height: 138px;
  }
}

@media (max-width: 640px) {
  .clean-home-section {
    margin-top: -64px;
    padding-bottom: 56px;
  }

  .clean-home-benefits {
    grid-template-columns: 1fr;
    padding: 84px 12px 20px;
  }

  .clean-home-action {
    padding-top: 4px;
    padding-bottom: 36px;
    transform: translateY(-56px);
    margin-bottom: -40px;
  }

  .clean-home-action .button {
    min-width: min(260px, 100%);
  }

  .clean-home-benefit,
  .clean-home-benefit + .clean-home-benefit,
  .clean-home-benefit:nth-child(3),
  .clean-home-benefit:nth-child(4) {
    grid-template-columns: 94px minmax(0, 1fr);
    justify-items: start;
    align-items: center;
    gap: 8px 18px;
    min-height: 0;
    padding: 22px 24px;
    text-align: left;
    border: 0;
    border-bottom: 1px solid rgba(31, 138, 153, 0.2);
  }

  .clean-home-benefit:last-child {
    border-bottom: 0;
  }

  .clean-home-benefit {
    transform: translateY(-12px);
  }

  .clean-home-benefit:nth-child(4) {
    border: 0;
  }

  .clean-home-benefit img {
    grid-row: span 2;
    width: 92px;
    height: 92px;
  }

  .clean-home-benefit h3 {
    align-self: end;
    font-size: 1rem;
  }

  .clean-home-benefit p {
    align-self: start;
    font-size: 0.84rem;
  }

  .clean-home-promise {
    display: none;
  }

}

.pricing-page-main {
  position: relative;
}

.pricing-page-portfolio .portfolio-topline {
  margin-bottom: 24px;
}

.pricing-page-cart {
  position: relative;
  z-index: 88;
}

.pricing-fab {
  position: fixed;
  bottom: 24px;
  right: 28px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 18px 0 22px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 800;
  letter-spacing: -0.02em;
  cursor: pointer;
}

.pricing-fab strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 32px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--button-color);
  color: var(--button-text-color);
  font-size: 0.88rem;
}

.pricing-fab:hover,
.pricing-fab:focus-visible {
  border-color: var(--button-color);
}

.pricing-cart-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 100;
  padding: 16px 24px;
  border-radius: 14px;
  background: #087d8d;
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(8, 125, 141, 0.28);
  font-weight: 800;
  opacity: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.pricing-cart-toast.is-visible {
  animation: pricing-cart-toast 3s ease forwards;
}

@keyframes pricing-cart-toast {
  0% { opacity: 0; transform: translate(-50%, -36%); }
  12%, 78% { opacity: 1; transform: translate(-50%, -50%); }
  100% { opacity: 0; transform: translate(-50%, -180%); }
}

@keyframes pricing-fab-attention {
  0%,
  96%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  97% {
    transform: translate3d(-2px, 0, 0) scale(1);
  }

  98% {
    transform: translate3d(3px, 0, 0) scale(1);
  }

  99% {
    transform: translate3d(-3px, 0, 0) scale(1);
  }
}

@keyframes pricing-fab-attention-mobile {
  0%,
  96%,
  100% {
    transform: translateX(-50%) translate3d(0, 0, 0) scale(1);
  }

  97% {
    transform: translateX(-50%) translate3d(-2px, 0, 0) scale(1);
  }

  98% {
    transform: translateX(-50%) translate3d(3px, 0, 0) scale(1);
  }

  99% {
    transform: translateX(-50%) translate3d(-3px, 0, 0) scale(1);
  }
}

.pricing-fab.is-visible {
  animation: pricing-fab-attention 2.8s ease-in-out infinite;
}

.pricing-fab.is-visible::before {
  content: "Already in cart";
  position: absolute;
  right: 10px;
  bottom: calc(100% + 12px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface-soft-strong);
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.pricing-fab:hover,
.pricing-fab:focus-visible,
.pricing-fab[aria-expanded="true"] {
  animation-play-state: paused;
}

.pricing-cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 89;
  background: rgba(19, 19, 19, 0.36);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.24s ease,
    visibility 0.24s ease;
}

.pricing-cart-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.pricing-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 91;
  width: min(460px, 100%);
  height: 100vh;
  height: 100dvh;
  max-height: none;
  transform: translateX(calc(100% + 32px));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    transform 0.24s ease,
    opacity 0.24s ease,
    visibility 0.24s ease;
}

.pricing-drawer.is-open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.pricing-drawer-shell {
  display: grid;
  gap: 18px;
  height: 100%;
  max-height: none;
  overflow-y: auto;
  padding: 28px;
  border-radius: 0;
  background: #ffffff;
  border: 1px solid rgba(19, 19, 19, 0.08);
}

.pricing-drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.pricing-drawer-close {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  cursor: pointer;
  flex: 0 0 auto;
}

.pricing-drawer-close span {
  position: absolute;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.pricing-drawer-close span:first-child {
  transform: rotate(45deg);
}

.pricing-drawer-close span:last-child {
  transform: rotate(-45deg);
}

@media (max-width: 1200px) {
  .portfolio-section:not(.pricing-page-portfolio) .container {
    max-width: 1440px;
  }

  .portfolio-section .container {
    max-width: 1360px;
  }

  .site-nav {
    gap: 24px;
  }

  .hero-content {
    left: 50%;
    width: min(calc(100% - 64px), 590px);
  }

  .portfolio-section,
  .pricing-section,
  .soil-section,
  .catalog-section {
    padding-top: 62px;
  }

  .pricing-page-main .catalog-section {
    padding-bottom: 62px;
    background:
      linear-gradient(180deg, var(--page-bg) 0%, transparent 62px),
      linear-gradient(0deg, var(--page-bg) 0%, transparent 62px),
      var(--surface);
  }

  .price-cta-section {
    padding-bottom: 62px;
  }

  .offline-quote-section {
    padding-bottom: 62px;
  }

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

@media (max-width: 980px) {
  :root {
    --header-height: 86px;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
    width: 52px;
    min-height: 52px;
    padding: 0;
    flex: 0 0 auto;
    cursor: pointer;
  }

  .site-header .container {
    width: 100%;
    padding-inline: var(--page-gutter);
  }
  .site-header {
    padding: 0;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 60;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    width: 100vw;
    height: 100dvh;
    min-height: 100dvh;
    max-height: 100dvh;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    isolation: isolate;
    padding:
      calc(22px + env(safe-area-inset-top))
      calc(30px + env(safe-area-inset-right))
      calc(28px + env(safe-area-inset-bottom))
      calc(24px + env(safe-area-inset-left));
    border: 0;
    border-radius: 0;
    background: #ffffff !important;
    background-color: #ffffff !important;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
    transform: translateX(104%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 0.24s ease,
      opacity 0.24s ease,
      visibility 0.24s ease;
  }

  .site-nav::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: #ffffff;
  }

  .site-nav.is-open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav-head {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    padding-right: 6px;
    margin-bottom: 30px;
  }

  .site-nav-close {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: #ffffff;
    color: var(--text);
    cursor: pointer;
  }

  .site-nav-close span {
    position: absolute;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
  }

  .site-nav-close span:first-child {
    transform: rotate(45deg);
  }

  .site-nav-close span:last-child {
    transform: rotate(-45deg);
  }

  .site-nav a {
    width: 100%;
    min-height: 64px;
    justify-content: flex-start;
    font-size: 1.18rem;
    font-weight: 800;
    border-bottom: 1px solid rgba(19, 19, 19, 0.08);
  }

  .menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: block;
    background: rgba(19, 19, 19, 0.42);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.24s ease,
      visibility 0.24s ease;
  }

  .menu-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .header-row {
    min-height: var(--header-height);
    padding-inline: 26px;
    padding-right: 34px;
  }

  .header-phone {
    display: none;
  }

  .hero-section {
    height: auto;
    min-height: 0;
    padding: 0 0 18px;
  }

  .hero-section .container {
    height: auto;
    min-height: 0;
  }

  .hero-media {
    --hero-height: 620px;
    height: auto;
    min-height: var(--hero-height);
  }

  .hero-image {
    height: var(--hero-height);
    min-height: var(--hero-height);
  }

  .hero-fade {
    background: none;
  }

  .hero-content {
    top: 112px;
    left: 50%;
    right: auto;
    width: min(calc(100% - 68px), 620px);
    transform: translateX(-50%);
  }

  .hero-content h1 {
    max-width: none;
    width: 100%;
    font-size: 2.45rem;
    line-height: 1.06;
  }

  .page-hero-subtitle {
    margin-top: 14px;
    font-size: 0.96rem;
  }

  .hero-subtitle {
    margin: 20px 0 14px;
  }

  .hero-text {
    max-width: 420px;
    line-height: 1.55;
  }

  .hero-actions {
    gap: 16px;
    margin-top: 28px;
  }

  .review-platforms-section {
    margin-top: -84px;
    padding-top: 0;
  }

  .services-overview-section {
    padding-top: 52px;
  }

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

  .service-overview-card {
    gap: 12px;
  }

  .service-overview-media {
    padding: 14px;
    border-radius: 22px;
  }

  .service-overview-copy h3 {
    font-size: 0.96rem;
    line-height: 1.18;
  }

  .review-platforms-summary {
    margin-bottom: 20px;
  }

  .review-platforms-summary-image {
    width: min(100%, 160px);
  }

  .review-platforms-grid {
    gap: 14px;
  }

  .review-platform-card {
    gap: 16px;
    padding: 24px 20px 22px;
    border-radius: 24px;
  }

  .review-platform-brand {
    align-items: flex-start;
    gap: 12px;
  }

  .review-platform-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }

  .review-platform-icon svg {
    width: 30px;
    height: 30px;
  }

  .review-platform-brand h3 {
    font-size: 1rem;
  }

  .review-platform-score {
    font-size: 1.84rem;
  }

  .review-platform-stars {
    font-size: 1.08rem;
    letter-spacing: 0.14em;
  }

  .review-platform-count {
    font-size: 0.9rem;
  }

  .review-platform-button {
    min-height: 48px;
    padding-inline: 18px;
  }

  .portfolio-section,
  .services-overview-section,
  .pricing-section,
  .soil-section,
  .catalog-section,
  .page-hero {
    padding-top: 52px;
    scroll-margin-top: 116px;
  }

  .pricing-page-main .catalog-section {
    padding-bottom: 56px;
    background:
      linear-gradient(180deg, var(--page-bg) 0%, transparent 58px),
      linear-gradient(0deg, var(--page-bg) 0%, transparent 58px),
      var(--surface);
  }

  .services-overview-section {
    padding-bottom: 56px;
    background:
      linear-gradient(180deg, var(--page-bg) 0%, transparent 58px),
      linear-gradient(0deg, var(--page-bg) 0%, transparent 58px),
      var(--surface);
  }

  .inner-main {
    padding-top: 20px;
  }

  .page-hero {
    padding-top: 4px;
  }

  .offline-quote-shell {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 22px;
    padding: 30px 32px;
  }

  .offline-quote-copy h2 {
    font-size: 2.4rem;
    line-height: 1.08;
  }

  .offline-quote-copy h3 {
    max-width: 24ch;
    font-size: 1.16rem;
    line-height: 1.14;
  }

  .offline-quote-actions {
    width: 100%;
  }

  .price-cta-section {
    padding: 20px 0 52px;
  }

  .price-cta-actions {
    width: min(100%, 340px);
    margin: 0 auto;
  }

  .price-cta-actions .button {
    width: 100%;
  }

  .page-hero-copy h1 {
    font-size: 2.4rem;
    line-height: 1.1;
  }

  .portfolio-head h2,
  .pricing-head h2,
  .soil-head h2,
  .catalog-head h2 {
    font-size: 2.4rem;
    line-height: 1.08;
  }

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

  .pricing-fab {
    right: 20px;
    bottom: 20px;
  }

  .pricing-fab.is-visible::before {
    content: none;
  }

  .pricing-drawer {
    right: 0;
    width: min(440px, 100%);
  }

  .portfolio-topline {
    grid-template-columns: 1fr;
    align-items: start;
    margin-bottom: 24px;
  }

  .portfolio-track {
    --portfolio-gap: 16px;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    touch-action: pan-x pan-y;
    overscroll-behavior-x: contain;
    overscroll-behavior-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .portfolio-item {
    flex: 0 0 calc((100% - (var(--portfolio-gap) * 2)) / 3);
    min-width: 0;
    scroll-snap-align: start;
    aspect-ratio: 0.8 / 1.12;
  }

  .before-after-card {
    aspect-ratio: 1.04 / 0.96;
    min-height: 380px;
  }

  .before-after-badge {
    min-height: 38px;
    padding-inline: 14px;
    font-size: 0.88rem;
  }

  .before-after-handle {
    width: 54px;
    height: 54px;
  }

  .pricing-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pricing-services-panel {
    gap: 16px;
  }

  .pricing-services {
    max-height: 680px;
    touch-action: pan-y;
  }

  .pricing-service {
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 18px;
  }

  .pricing-service-meta {
    gap: 12px 16px;
  }

  .pricing-cart {
    position: static;
  }

  .pricing-offer-dialog {
    width: min(100%, 520px);
  }

  .soil-list {
    gap: 0 24px;
  }
}

@media (max-width: 640px) {
  :root {
    --page-gutter: 12px;
    --header-height: 80px;
  }

  .header-row {
    min-height: var(--header-height);
    gap: 14px;
    padding-inline: 18px;
  }

  .brand {
    gap: 10px;
  }

  .brand img {
    width: 56px;
    height: 56px;
  }

  .brand-city {
    font-size: 1rem;
  }

  .brand-name {
    font-size: 0.75rem;
  }

  .site-nav {
    height: 100dvh;
    min-height: 100dvh;
    max-height: 100dvh;
    padding:
      calc(18px + env(safe-area-inset-top))
      calc(24px + env(safe-area-inset-right))
      calc(20px + env(safe-area-inset-bottom))
      calc(18px + env(safe-area-inset-left));
  }

  .site-nav-head {
    padding-right: 8px;
    margin-bottom: 22px;
  }

  .site-nav-close {
    width: 50px;
    height: 50px;
  }

  .site-nav a {
    min-height: 58px;
    font-size: 1.08rem;
  }

  .hero-media {
    --hero-height: 660px;
    min-height: 0;
    border-radius: 22px 22px 0 0;
  }

  .hero-image {
    height: var(--hero-height);
    min-height: var(--hero-height);
  }

  .hero-fade {
    background: linear-gradient(
      180deg,
      rgba(232, 245, 248, 0) 68%,
      rgba(232, 245, 248, 0.16) 81%,
      rgba(232, 245, 248, 0.76) 95%,
      var(--page-bg) 100%
    );
  }

  .hero-content {
    top: 86px;
    left: 50%;
    right: auto;
    width: min(calc(100% - 40px), 420px);
  }

  .hero-content h1 {
    max-width: 100%;
    margin-inline: auto;
    font-size: 2rem;
    line-height: 1.08;
    text-align: center;
  }

  .page-hero-copy h1 {
    font-size: 2rem;
    line-height: 1.1;
    letter-spacing: 0;
  }

  .page-hero-subtitle {
    max-width: 28ch;
    margin: 12px auto 0;
    font-size: 0.92rem;
    line-height: 1.5;
    text-align: center;
  }

  .hero-subtitle {
    margin: 16px 0 10px;
    font-size: 0.94rem;
    text-align: center;
  }

  .hero-text {
    max-width: 260px;
    margin-inline: auto;
    font-size: 0.88rem;
    line-height: 1.46;
    text-align: center;
  }

  .hero-actions {
    display: grid;
    gap: 10px;
    margin-top: 28px;
  }
  .button {
    width: 100%;
    min-height: 56px;
  }

  .review-platforms-section {
    margin-top: -56px;
    padding-top: 0;
  }

  .services-overview-section {
    padding-top: 44px;
  }

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

  .service-overview-card {
    gap: 10px;
  }

  .service-overview-media {
    padding: 12px;
    border-radius: 18px;
  }

  .service-overview-copy h3 {
    font-size: 0.94rem;
    line-height: 1.16;
  }

  .review-platforms-summary {
    margin-bottom: 16px;
  }

  .review-platforms-summary-image {
    width: min(100%, 160px);
  }

  .review-platforms-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-inline: 12px;
    margin-inline: -12px;
    scroll-padding-inline: 12px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
  }

  .review-platforms-grid::-webkit-scrollbar {
    display: none;
  }

  .review-platform-card {
    flex: 0 0 calc(100% - 52px);
    min-width: 0;
    scroll-snap-align: start;
    gap: 14px;
    padding: 20px 18px 18px;
    border-radius: 22px;
  }

  .review-platform-brand {
    gap: 12px;
  }

  .review-platform-brand h3 {
    font-size: 1.02rem;
  }

  .review-platform-score {
    font-size: 1.72rem;
  }

  .review-platform-stars {
    font-size: 1rem;
    letter-spacing: 0.12em;
  }

  .review-platform-count {
    font-size: 0.88rem;
  }

  .review-platform-button {
    width: 100%;
    min-height: 46px;
    padding-inline: 16px;
  }

  .portfolio-section,
  .services-overview-section,
  .pricing-section,
  .soil-section,
  .catalog-section,
  .page-hero {
    padding-top: 44px;
    scroll-margin-top: 100px;
  }

  .pricing-page-main .catalog-section {
    padding-bottom: 44px;
    background:
      linear-gradient(180deg, var(--page-bg) 0%, transparent 44px),
      linear-gradient(0deg, var(--page-bg) 0%, transparent 44px),
      var(--surface);
  }

  .services-overview-section {
    padding-bottom: 44px;
    background:
      linear-gradient(180deg, var(--page-bg) 0%, transparent 44px),
      linear-gradient(0deg, var(--page-bg) 0%, transparent 44px),
      var(--surface);
  }

  .catalog-head h2 {
    text-align: center;
  }

  .inner-main {
    padding-top: 20px;
  }

  .page-hero {
    padding-top: 0;
  }

  .breadcrumbs li {
    font-size: 0.8rem;
  }

  .price-cta-section {
    padding: 18px 0 44px;
  }

  .offline-quote-section {
    padding-bottom: 56px;
  }

  .offline-quote-shell {
    gap: 18px;
    padding: 28px 22px;
    border-radius: 26px;
  }

  .catalog-head h2 {
    font-size: 2rem;
    line-height: 1.08;
  }

  .offline-quote-copy h2 {
    font-size: 2rem;
    line-height: 1.08;
  }

  .offline-quote-copy h3 {
    max-width: 16ch;
    font-size: 1.02rem;
    line-height: 1.1;
  }

  .offline-quote-copy p {
    font-size: 0.96rem;
    line-height: 1.6;
  }

  .offline-quote-actions {
    width: 100%;
  }

  .catalog-head p {
    font-size: 0.96rem;
    line-height: 1.6;
  }

  .catalog-card {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 18px 16px;
  }

  .catalog-card-media {
    min-height: 88px;
    padding: 8px;
    border-radius: 18px;
  }

  .catalog-card-copy {
    gap: 4px;
  }

  .catalog-card-copy h3 {
    font-size: 1.06rem;
  }

  .catalog-card-actions {
    align-items: flex-start;
    gap: 10px 14px;
  }

  .catalog-card-controls {
    margin-left: 0;
  }

  .catalog-card-count {
    font-size: 0.78rem;
  }

  .catalog-card-price {
    font-size: 1.06rem;
  }

  .catalog-card-button {
    width: auto;
    min-height: 40px;
    padding-inline: 14px;
    font-size: 0.84rem;
    margin-left: 0;
  }

  .catalog-card-step {
    width: 36px;
    min-width: 36px;
    height: 36px;
  }

  .catalog-card-qty {
    min-width: 22px;
    font-size: 0.88rem;
  }

  .mattress-visual {
    min-height: 88px;
  }

  .price-cta-button {
    min-width: 100%;
  }

  .pricing-fab {
    top: auto;
    right: auto;
    bottom: 16px;
    left: 50%;
    min-height: 54px;
    padding: 0 16px 0 20px;
    transform: translateX(-50%);
  }

  .pricing-fab:not(.is-visible) {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .pricing-fab.is-visible {
    animation-name: pricing-fab-attention-mobile;
  }

  .pricing-fab.is-visible::before {
    content: none;
  }

  .pricing-fab strong {
    min-width: 30px;
    min-height: 30px;
  }

  .pricing-drawer {
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    transform: translateY(104%);
  }

  .pricing-drawer.is-open {
    transform: translateY(0);
  }

  .pricing-drawer-shell {
    padding: 22px 20px 24px;
    border-radius: 0;
  }

  .pricing-drawer-head {
    align-items: center;
  }

  .pricing-drawer-close {
    width: 46px;
    height: 46px;
  }

  .pricing-cart-list {
    margin-top: 12px;
  }

  .pricing-cart-empty {
    margin-top: 12px;
  }

  .pricing-page-main {
    padding-bottom: 96px;
  }

  .portfolio-head h2,
  .pricing-head h2,
  .soil-head h2 {
    font-size: 2rem;
    line-height: 1.08;
  }

  .portfolio-head p,
  .pricing-head p,
  .soil-head p {
    margin-top: 14px;
    font-size: 0.96rem;
    line-height: 1.6;
  }

  .portfolio-topline {
    gap: 18px;
    margin-bottom: 20px;
  }

  .portfolio-track {
    --portfolio-gap: 14px;
    padding-inline: 12px;
    margin-inline: -12px;
    scroll-padding-inline: 12px;
    scroll-snap-type: x proximity;
    overscroll-behavior-x: auto;
    touch-action: pan-x pan-y;
  }

  .portfolio-item {
    flex-basis: calc(100% - 56px);
    scroll-snap-align: center;
    aspect-ratio: 1 / 1.08;
  }

  .before-after-card {
    aspect-ratio: 1 / 0.92;
    min-height: 0;
  }

  .before-after-badge {
    top: 12px;
    min-height: 34px;
    padding-inline: 13px;
    font-size: 0.8rem;
  }

  .before-after-badge-before {
    left: 12px;
  }

  .before-after-badge-after {
    right: 12px;
  }

  .before-after-handle {
    width: 48px;
    height: 48px;
  }

  .before-after-handle svg {
    width: 20px;
    height: 20px;
  }

  .pricing-layout {
    margin-top: 28px;
  }

  .pricing-services {
    max-height: none;
    overflow: visible;
    padding-right: 0;
    overscroll-behavior: auto;
    touch-action: auto;
  }

  .pricing-service {
    grid-template-columns: 1fr;
    padding: 22px 20px;
    border-radius: 0;
  }

  .pricing-service-visual {
    min-height: 168px;
    padding: 14px;
  }

  .pricing-service-copy h3 {
    font-size: 1.2rem;
  }

  .pricing-service-copy {
    gap: 12px;
  }

  .pricing-service-button {
    min-height: 46px;
    padding-inline: 18px;
    font-size: 0.92rem;
    min-width: 0;
    margin-left: 0;
    width: auto;
  }

  .pricing-cart {
    padding: 22px 20px;
    border-radius: 24px;
  }

  .pricing-cart-input {
    min-height: 54px;
    padding-inline: 16px;
    border-radius: 16px;
  }

  .pricing-services-more {
    min-height: 54px;
  }

  .pricing-cart-head h2,
  .pricing-cart-head h3 {
    font-size: 1.38rem;
  }

  .pricing-cart-item-main,
  .pricing-cart-item-actions,
  .pricing-cart-row {
    align-items: flex-start;
  }

  .pricing-cart-item-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .pricing-cart-extras {
    padding-left: 14px;
  }

  .pricing-cart-extra-row {
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .pricing-offer {
    padding: 16px;
  }

  .pricing-offer-dialog {
    padding: 22px 20px;
    border-radius: 24px;
  }

  .pricing-offer-dialog h3 {
    font-size: 1.56rem;
  }

  .pricing-offer-actions {
    display: grid;
  }

  .pricing-offer-accept,
  .pricing-offer-remove {
    width: 100%;
  }

  .soil-section {
    padding-bottom: 56px;
  }

  .soil-list {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .soil-item {
    padding: 18px 0;
  }

  .soil-item h3 {
    font-size: 1.05rem;
  }

  .before-after-section {
    padding-top: 20px;
  }

  .before-after-panel {
    padding: 30px 20px;
    border-radius: 26px;
  }

  .before-after-grid {
    order: 1;
    gap: 10px;
    max-width: 100%;
    margin-top: 0;
  }

  .before-after-copy {
    order: 2;
  }

  .before-after-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
  }

  .before-after-benefits li {
    justify-content: center;
  }

  .before-after-benefits img {
    width: 80px;
    height: 80px;
  }

  .before-after-video {
    min-height: 260px;
    border-radius: 16px;
  }

  .before-after-video figcaption {
    top: 10px;
    left: 10px;
    padding: 6px 9px;
    font-size: 0.72rem;
  }

  .before-after-decoration {
    right: -28px;
    top: -40px;
    width: 190px;
    opacity: 0.72;
  }

  .header-cta {
    display: none;
  }

  .site-nav .site-nav-cta {
    display: inline-flex;
    justify-content: center;
    width: auto;
    min-height: 52px;
    padding: 0 22px;
    margin-top: 28px;
    border: 0;
    border-radius: 999px;
    color: var(--button-text-color);
    background: var(--button-color);
  }
}

/* Final mobile override for mattress product cards. */
@media (max-width: 640px) {
  .mattress-page .pricing-service {
    position: relative;
    grid-template-columns: 64px minmax(0, 1fr) 102px;
    gap: 10px;
    padding: 8px 10px;
    min-height: 78px;
  }

  .mattress-page .pricing-service-copy {
    grid-column: 2;
    grid-row: 1;
    gap: 6px;
  }

  .mattress-page .pricing-service-visual {
    grid-column: 1;
    grid-row: 1;
    min-height: 54px;
    padding: 4px;
    border-radius: 12px;
  }

  .mattress-page .pricing-service-title {
    display: block;
  }

  .mattress-page .pricing-service-title strong {
    position: absolute;
    top: 12px;
    right: 10px;
    font-size: 0.88rem;
  }

  .mattress-page .pricing-service-meta {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 102px;
  }

  .mattress-page .pricing-service-button {
    width: 102px;
    min-width: 102px;
    height: 32px;
    min-height: 32px;
    padding: 0 8px;
    font-size: 0.72rem;
  }

  .mattress-page .mattress-service-stepper {
    width: 102px;
    gap: 4px;
    justify-content: center;
  }

  .mattress-page .mattress-service-stepper button {
    width: 28px;
    height: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header {
    transition: none;
  }
}

@media (max-width: 980px) {
  .pricing-hero-section + .portfolio-section {
    position: relative;
    z-index: 3;
    margin-top: -120px;
  }

  .mattress-page-main > .mattress-portfolio {
    position: relative;
    z-index: 3;
    margin-top: -120px;
  }

  #home .hero-content,
  .pricing-hero-section .hero-content,
  .mattress-hero-section .hero-content {
    top: 116px;
    width: min(calc(100% - 48px), 680px);
  }

  .home-hero-utility {
    top: 18px;
    right: 24px;
    left: 24px;
  }

  #home .hero-content h1,
  .pricing-hero-section .hero-content h1,
  .mattress-hero-section .hero-content h1 {
    font-size: clamp(2.4rem, 6vw, 3.5rem);
  }

  .home-hero-offer {
    right: 3%;
    bottom: 4%;
  }

  .clean-home-action {
    display: flex;
    justify-content: center;
  }

  .clean-home-action .clean-home-action-button {
    width: min(100%, 420px);
  }

  .clean-home-action-note {
    display: none;
  }
}

@media (max-width: 640px) {
  .clean-home-action {
    transform: translateY(-160px);
    margin-bottom: -110px;
  }

  .clean-home-section {
    padding-bottom: 0;
  }

  .clean-home-section + .portfolio-section {
    padding-top: 0;
  }

  .pricing-hero-section + .portfolio-section {
    margin-top: -150px;
  }

  .mattress-page-main > .mattress-portfolio {
    margin-top: -150px;
  }

  #home .hero-content,
  .pricing-hero-section .hero-content,
  .mattress-hero-section .hero-content {
    top: 94px;
    width: calc(100% - 28px);
  }

  .home-hero-utility {
    top: 14px;
    right: 14px;
    left: 14px;
  }

  .home-hero-logo img {
    width: 64px;
    height: 64px;
  }

  .home-hero-call {
    min-height: 44px;
    padding: 0 15px;
    font-size: 0.78rem;
  }

  #home .hero-content h1,
  .pricing-hero-section .hero-content h1,
  .mattress-hero-section .hero-content h1 {
    font-size: clamp(2.05rem, 10vw, 2.7rem);
  }

  .hero-title-accent {
    padding-bottom: 32px;
  }

  .hero-title-accent::after {
    bottom: -5px;
    width: 94%;
    height: 24px;
    border-top-width: 6px;
  }

  .home-hero-eyebrow {
    margin-bottom: 7px;
    font-size: 0.72rem;
  }

  .home-hero-description {
    margin-top: 14px;
    font-size: 0.82rem;
  }

  .home-hero-description br {
    display: none;
  }

  .home-hero-benefits {
    width: 100%;
    margin-top: 18px;
  }

  .home-hero-benefits li {
    min-width: 0;
    padding: 0 7px;
    font-size: 0.55rem;
  }

  .home-hero-benefits strong {
    font-size: 0.6rem;
  }

  .home-hero-benefit-icon {
    width: 26px;
    height: 26px;
    border-width: 1px;
    font-size: 0.68rem;
  }

  .home-hero-actions {
    gap: 8px;
    margin-top: 20px;
  }

  .home-hero-actions .button,
  .home-hero-phone {
    min-width: 0;
    min-height: 44px;
    padding-inline: 13px;
    font-size: 0.68rem;
  }

  .home-hero-phone {
    gap: 6px;
    font-size: 0.54rem;
  }

  .home-hero-phone strong {
    font-size: 0.61rem;
  }

  .home-hero-phone > span:first-child {
    font-size: 1rem;
  }

  .home-hero-proof {
    gap: 12px;
    margin-top: 14px;
    font-size: 0.57rem;
  }

  .home-hero-offer {
    display: none;
  }
}

/* Tablet: carry the couch photo softly into the following content background. */
@media (min-width: 641px) and (max-width: 980px) {
  #home .hero-fade,
  .pricing-hero-section .hero-fade,
  .mattress-hero-section .hero-fade {
    background: linear-gradient(
      180deg,
      rgba(232, 245, 248, 0) 48%,
      rgba(232, 245, 248, 0.1) 62%,
      rgba(232, 245, 248, 0.5) 80%,
      rgba(232, 245, 248, 0.86) 93%,
      var(--page-bg) 100%
    );
  }

  .mattress-page .mattress-services-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .mattress-page .mattress-services-list .pricing-service {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 14px;
    text-align: center;
  }

  .mattress-page .mattress-services-list .pricing-service-visual {
    width: 100%;
    min-height: 130px;
  }

  .mattress-page .mattress-services-list .pricing-service-copy,
  .mattress-page .mattress-services-list .pricing-service-meta {
    width: 100%;
  }

  .mattress-page .mattress-services-list .pricing-service-title,
  .mattress-page .mattress-services-list .pricing-service-meta {
    justify-content: center;
  }

  .mattress-page .mattress-services-list .mattress-service-controls {
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .mattress-page .mattress-services-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .mattress-page .mattress-services-list .pricing-service {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: 0;
    padding: 12px;
    text-align: center;
  }

  .mattress-page .mattress-services-list .pricing-service-visual {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    min-height: 100px;
    padding: 6px;
  }

  .mattress-page .mattress-services-list .pricing-service-copy,
  .mattress-page .mattress-services-list .pricing-service-meta {
    position: static;
    grid-column: auto;
    grid-row: auto;
    width: 100%;
  }

  .mattress-page .mattress-services-list .pricing-service-title,
  .mattress-page .mattress-services-list .pricing-service-meta {
    display: flex;
    justify-content: center;
  }

  .mattress-page .mattress-services-list .pricing-service-title strong {
    position: static;
    display: block;
    margin-top: 4px;
  }

  .mattress-page .mattress-services-list .mattress-service-controls {
    margin-inline: auto;
  }

  .mattress-page .mattress-services-list .pricing-service:has([data-mattress-controls="bed-frame"]),
  .mattress-page .mattress-services-list .pricing-service:has([data-mattress-controls="headboard"]) {
    display: none;
  }
}

.inner-page-utility {
  position: relative;
  top: auto;
  right: auto;
  left: auto;
  z-index: 3;
  width: 100%;
  max-width: 1280px;
  margin: 20px auto 0;
  padding-inline: var(--page-gutter);
}

@media (max-width: 980px) {
  .inner-page-utility {
    margin-top: 14px;
  }
}

@media (max-width: 640px) {
  .inner-page-utility {
    margin-top: 10px;
    padding-inline: 14px;
  }

  .photo-quote-section {
    padding: 40px 0 44px;
  }

  .photo-quote-shell {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 30px 22px 18px;
    border-radius: 24px;
  }

  .photo-quote-copy {
    display: contents;
  }

  .photo-quote-copy h2 {
    order: 1;
    font-size: 2rem;
    text-align: center;
  }

  .photo-quote-title-accent {
    padding-bottom: 19px;
  }

  .photo-quote-title-accent::after {
    height: 15px;
    border-top-width: 4px;
  }

  .photo-quote-copy > p:not(.eyebrow) {
    order: 1;
    font-size: 0.94rem;
    text-align: center;
  }

  .photo-quote-actions {
    order: 3;
    display: grid;
    grid-template-columns: 1fr;
  }

  .photo-quote-actions .button {
    width: 100%;
    justify-content: center;
  }

  .photo-quote-preview img {
    width: min(100%, 280px);
  }

  .photo-quote-preview {
    order: 2;
  }

  .photo-quote-branch {
    top: -20px;
    right: -18px;
    width: 126px;
  }

  .before-after-benefits li {
    flex-direction: column;
    align-items: center;
    gap: 7px;
    text-align: center;
  }

  .before-after-benefit-copy {
    display: block;
  }

  .before-after-benefit-copy small {
    display: block;
    font-size: 0.58rem;
    letter-spacing: 0.055em;
    line-height: 1.25;
  }

  .before-after-benefit-copy > span {
    display: none;
  }
}

/* Mattress service selector — card treatment based on the approved service mockup. */
.mattress-page .mattress-pricing-section {
  background: #edf9fb;
}

.mattress-page .mattress-pricing-section .container {
  max-width: 1280px;
}

.mattress-page .mattress-catalog-head {
  display: flex;
  align-items: center;
  gap: 18px;
  text-align: left;
}

.mattress-catalog-icon {
  display: grid;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 6px 14px rgba(7, 50, 77, 0.1);
  color: #078190;
  font-size: 1.75rem;
}

.mattress-page .mattress-catalog-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.75rem) !important;
}

.mattress-page .mattress-catalog-head p {
  margin: 6px 0 0;
  color: #557183;
}

.mattress-page .mattress-services-list {
  gap: 16px;
}

.mattress-page .mattress-services-list .mattress-design-card {
  position: relative;
  grid-template-columns: 250px minmax(0, 1fr) 150px;
  grid-template-rows: minmax(62px, auto) auto;
  gap: 30px;
  justify-items: stretch;
  min-height: 182px;
  padding: 24px 38px;
  overflow: visible;
  border: 1px solid transparent;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(7, 50, 77, 0.08);
  text-align: left;
}

.mattress-page .mattress-services-list .mattress-design-card.is-popular {
  border-color: #078b98;
  box-shadow: 0 10px 22px rgba(7, 135, 148, 0.18);
}

.mattress-popular-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 6px 11px;
  border-radius: 999px;
  background: #07959a;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
}

.mattress-page .mattress-services-list .mattress-design-card .pricing-service-visual {
  grid-column: 1;
  grid-row: 1 / span 2;
  min-height: 128px;
  padding: 0;
  border-radius: 50%;
  background: transparent;
}

.mattress-page .mattress-services-list .mattress-design-card .pricing-service-visual img {
  width: 100%;
  max-height: 146px;
  object-fit: contain;
}

.mattress-page .mattress-services-list .mattress-design-card .pricing-service-copy {
  display: contents;
}

.mattress-page .mattress-services-list .mattress-design-card .pricing-service-title {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
}

.mattress-page .mattress-services-list .mattress-design-card .pricing-service-title h3 {
  font-size: clamp(1.25rem, 2.1vw, 1.62rem);
  color: #081426;
  white-space: nowrap;
}

.mattress-page .mattress-services-list .mattress-design-card .pricing-service-title {
  display: block;
}

.mattress-page .mattress-services-list .mattress-design-card .pricing-service-copy p {
  margin: 0;
  color: #5a7285;
  font-size: 0.86rem;
  line-height: 1.45;
}

.mattress-service-features {
  grid-column: 2 / 4;
  grid-row: 2;
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  padding: 0;
  margin: 4px 0 0;
  list-style: none;
}

.mattress-service-features li {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 8px 10px;
  border-radius: 10px;
  background: #edf9fa;
  color: #08788a;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
}

.mattress-service-features img {
  width: 16px;
  height: 16px;
  margin-right: 6px;
}

.mattress-card-actions {
  grid-column: 3;
  grid-row: 1;
  display: grid;
  justify-items: end;
  align-content: center;
  gap: 14px;
}

.mattress-card-actions > strong {
  color: #087d89;
  font-size: 1.55rem;
  line-height: 1;
}

.mattress-page .mattress-services-list .mattress-design-card .mattress-service-controls {
  justify-content: flex-end;
}

.mattress-page .mattress-services-list .mattress-design-card .pricing-service-button {
  width: 48px;
  min-width: 48px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  border-radius: 11px;
  color: #ffffff;
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1;
}

.mattress-page .mattress-services-list .mattress-design-card .mattress-service-stepper {
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-color: #078b98;
  border-radius: 11px;
}

.mattress-page .mattress-services-list .mattress-design-card .mattress-service-stepper button {
  width: 44px;
  height: 42px;
  border-radius: 0;
  color: #087d89;
  font-size: 1.4rem;
}

.mattress-page .mattress-services-list .mattress-design-card .mattress-service-stepper button:last-child {
  background: #078b98;
  color: #ffffff;
}

.mattress-page .mattress-services-list .mattress-design-card .mattress-service-stepper span {
  min-width: 44px;
  color: #0b354a;
}

@media (max-width: 980px) {
  .mattress-page .mattress-services-list {
    grid-template-columns: 1fr;
  }

  .mattress-page .mattress-services-list .mattress-design-card {
    grid-template-columns: 170px minmax(0, 1fr) 116px;
    gap: 18px;
    padding: 20px;
  }

  .mattress-page .mattress-services-list .mattress-design-card .pricing-service-visual {
    min-height: 108px;
  }

  .mattress-service-features li {
    padding: 7px 8px;
    font-size: 0.64rem;
  }
}

@media (max-width: 640px) {
  .mattress-page .mattress-catalog-head {
    align-items: flex-start;
    gap: 12px;
  }

  .mattress-catalog-icon {
    width: 42px;
    height: 42px;
    font-size: 1.4rem;
  }

  .mattress-page .mattress-catalog-head h2 {
    font-size: 1.7rem !important;
  }

  .mattress-page .mattress-services-list {
    grid-template-columns: 1fr;
  }

  .mattress-page .mattress-services-list .mattress-design-card {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    min-height: 0;
    padding: 16px;
  }

  .mattress-page .mattress-services-list .mattress-design-card .pricing-service-visual {
    grid-column: 1;
    grid-row: 1 / span 2;
    min-height: 88px;
  }

  .mattress-page .mattress-services-list .mattress-design-card .pricing-service-copy {
    gap: 7px;
  }

  .mattress-page .mattress-services-list .mattress-design-card .pricing-service-title h3 {
    font-size: 1.05rem;
  }

  .mattress-page .mattress-services-list .mattress-design-card .pricing-service-copy p {
    font-size: 0.75rem;
  }

  .mattress-service-features {
    grid-column: 1 / -1;
    grid-row: 4;
    gap: 5px;
  }

  .mattress-service-features li {
    padding: 5px 6px;
    font-size: 0.54rem;
  }

  .mattress-card-actions {
    grid-column: 1 / -1;
    grid-row: 3;
    grid-template-columns: 1fr auto;
    align-items: center;
    width: 100%;
  }

  .mattress-card-actions > strong {
    justify-self: start;
    font-size: 1.25rem;
  }

  .mattress-page .mattress-services-list .mattress-design-card .pricing-service-button {
    width: 44px;
    min-width: 44px;
    height: 38px;
    min-height: 38px;
  }
}

.pricing-page-main .catalog-card {
  border-radius: 24px;
  background: #f7f7f7;
}

.catalog-subtitle {
  margin: 6px 0 0;
  color: #547080;
  font-size: 1rem;
  font-weight: 700;
}

.review-showcase-section { padding: 64px 0 28px; background: #f5fbfc; }
.review-showcase-heading { margin: 0 auto 26px; text-align: center; }
.review-showcase-heading .eyebrow { margin-bottom: 8px; }
.review-showcase-heading h2 { margin: 0; color: var(--text); font-size: clamp(1.7rem, 3vw, 2.45rem); line-height: 1.12; }
.review-showcase-title { width: 100%; }
.review-showcase-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 820px; margin: 0 auto; }
.review-showcase-card { display: block; padding: 23px; border: 1px solid #cfe8ec; border-radius: 20px; background: #fff; box-shadow: 0 12px 26px rgba(7, 57, 87, .08); color: var(--text); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.review-showcase-card[href]:hover, .review-showcase-card[href]:focus-visible { transform: translateY(-4px); border-color: #1f8a99; box-shadow: 0 20px 38px rgba(7, 57, 87, .14); }
.review-showcase-brand { display: flex; align-items: center; gap: 10px; font-size: 1.06rem; }
.review-showcase-brand img { width: 30px; height: 30px; object-fit: contain; }
.review-showcase-stars { margin: 14px 0; color: #f6b91c; font-size: 1.28rem; letter-spacing: .15em; line-height: 1; }
.review-showcase-score { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin: 0 0 17px; }
.review-showcase-score strong { color: #073957; font-size: clamp(2.2rem, 5vw, 2.9rem); line-height: .9; }
.review-showcase-score span { color: #58717c; font-size: .9rem; }
.review-showcase-button { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border: 1px solid #1f8a99; border-radius: 11px; background: #f0fbfc; color: #08798a; font-size: .92rem; font-weight: 800; }
.review-showcase-button span { font-size: 1.3rem; line-height: 1; }
.review-showcase-card-static { cursor: default; }
.review-showcase-button-muted { border-color: #d5e7ea; background: #f7fafb; color: #52717a; }
@media (max-width: 640px) {
  .review-showcase-section { padding-top: 48px; }
  .review-showcase-grid {
    grid-auto-columns: minmax(280px, calc(100% - 48px));
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }
  .review-showcase-grid::-webkit-scrollbar { display: none; }
  .review-showcase-card { padding: 20px; scroll-snap-align: start; }
  .review-showcase-score { margin-bottom: 16px; }
}

.pricing-page-main .catalog-card-button {
  width: 40px;
  min-width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  border-radius: 50%;
  font-size: 0;
}

.pricing-page-main .catalog-card-button::after {
  content: "+";
  display: block;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
}

@media (max-width: 640px) {
  .pricing-page-main .catalog-card-controls {
    margin-left: auto;
    margin-right: 6px;
  }

  .pricing-page-main .catalog-card-button {
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 0;
    border-radius: 50%;
    font-size: 0;
  }

  .pricing-page-main .catalog-card-button::after {
    content: "+";
    width: auto;
    height: auto;
    flex: none;
    background: none;
  }
}
