@font-face {
  font-family: "Sacramento";
  src: url("../fonts/Sacramento-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("../fonts/Lato-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("../fonts/Lato-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("../fonts/Lato-Black.ttf") format("truetype");
  font-weight: 800 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("../fonts/Lato-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Quicksand";
  src: url("../fonts/Quicksand-Regular.ttf") format("truetype");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --pink: #FADBE9;
  --sage: #E5F0D0;
  --blue: #CDECF9;
  --purple: #D5C1D2;
  --pearl: #ecebec;
  --sand: #d2a788;
  --gray: #A3A3A3;
  --ink: #6e7279;
  --text: #6f7278;
  --border: #d7d7d7;
  --shadow: 0 12px 32px rgba(150, 150, 150, 0.12);
  --script-font: "Sacramento", "Segoe Script", "Brush Script MT", cursive;
  --body-font: "Lato", "Avenir Next", "Segoe UI", sans-serif;
  --nav-font: "Quicksand", "Lato", "Avenir Next", sans-serif;
}

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

html {
  font-size: 16px;
}

body,
body.way2sleep-body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--body-font);
  line-height: 1.55;
}

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

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

.site-shell {
  min-height: 100vh;
}

.site-header {
  display: flex;
  align-items: stretch;
  height: 82px;
  overflow: visible;
  background: #eeeeee;
}

.site-logo {
  position: relative;
  z-index: 3;
  width: 405px;
  min-width: 405px;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 18px;
  padding: 0;
  background: #eeeeee;
  overflow: visible;
}

.site-logo img {
  position: absolute;
  top: -25px;
  left: 24px;
  width: 325px;
  max-width: none;
  height: auto;
  object-fit: contain;
}

.site-nav {
  display: grid;
  flex: 1;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.site-nav__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 82px;
  padding: 0.8rem 1.15rem;
  font-size: 1.75rem;
  font-weight: 700;
  font-family: var(--body-font);
  color: var(--ink);
  line-height: 1;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.site-nav__link:nth-child(1) { background: var(--blue); }
.site-nav__link:nth-child(2) { background: var(--sage); }
.site-nav__link:nth-child(3) { background: var(--pink); }
.site-nav__link:nth-child(4) { background: var(--blue); }
.site-nav__link:nth-child(5) { background: var(--sage); }

.site-nav__link.is-active,
.site-nav__link:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 -4px 0 rgba(110, 114, 121, 0.25);
}

.site-main {
  padding: 0 1.5rem;
}

.site-main > div:not([class]) {
  max-width: 1280px;
  margin: 0 auto;
}

.script-title {
  margin: 0 0 1rem;
  color: var(--ink);
  font-family: var(--script-font);
  font-size: clamp(3rem, 6rem, 5.3rem);
  font-weight: 400;
  line-height: 0.98;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.15fr);
  gap: 2rem;
  align-items: center;
  max-width: 1300px;
  margin: 2rem auto 3rem;
  padding: 2rem 1rem;
}

.hero-view {
  max-width: 1320px;
  margin: 1.8rem auto 3.2rem;
}

.hero-view .view-content {
  display: block;
}

.hero-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(380px, 1.15fr);
  gap: clamp(2rem, 8vw, 8rem);
  align-items: center;
  min-height: 470px;
  padding: 1.4rem 1rem 2rem;
  background: #fff;
}

.hero-card__copy {
  padding-left: clamp(0.5rem, 2vw, 1.6rem);
}

.hero-card__title {
  max-width: 360px;
  margin: 0 0 3.2rem;
  color: var(--ink);
  font-family: var(--script-font);
  font-size: clamp(4rem, 7vw, 6rem);
  font-weight: 400;
  line-height: 0.82;
}

.hero-card__text {
  max-width: 420px;
  color: var(--purple);
  font-family: var(--body-font);
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  font-weight: 700;
  line-height: 1.18;
}

.hero-card__text p {
  margin: 0;
}

.hero-card__rule {
  display: block;
  width: 170px;
  height: 6px;
  margin-top: 1.65rem;
  background: linear-gradient(90deg, var(--pink) 0%, var(--purple) 100%);
}

.hero-card__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card__visual img {
  width: min(100%, 620px);
  height: auto;
  opacity: 0.82;
}

.hero-card__fallback-image {
  filter: none;
}

.home-hero__intro {
  max-width: 430px;
  margin: 0;
  color: var(--purple);
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  font-weight: 500;
  line-height: 1.18;
}

.home-hero__rule {
  display: block;
  width: 190px;
  height: 6px;
  margin-top: 1.75rem;
  background: linear-gradient(90deg, var(--pink) 0%, var(--purple) 100%);
}

.home-hero__visual {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-hero__visual::before,
.home-hero__visual::after {
  content: "";
  position: absolute;
  inset: 6% 17%;
  border: 4px solid rgba(250, 219, 233, 0.7);
  transform: rotate(11deg);
}

.home-hero__visual::after {
  inset: 9% 14%;
  border-color: rgba(205, 236, 249, 0.8);
  transform: rotate(-10deg);
}

.home-hero__logo {
  position: relative;
  width: min(100%, 620px);
  opacity: 0.92;
}

.home-package-cta {
  position: relative;
  max-width: 1320px;
  margin: 0 auto 4rem;
  padding: 2rem 0;
}

.home-package-cta__photo {
  width: 100%;
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.home-package-cta__button {
  position: absolute;
  left: 3rem;
  bottom: 4.5rem;
  width: 170px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  clip-path: polygon(25% 7%, 75% 7%, 100% 50%, 75% 93%, 25% 93%, 0 50%);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-family: var(--script-font);
  font-size: 1.45rem;
  line-height: 1.12;
  text-align: center;
  box-shadow: var(--shadow);
}

.home-package-cta__button::before,
.home-package-cta__button::after {
  content: "";
  position: absolute;
  inset: 6px;
  clip-path: inherit;
  border: 2px solid rgba(205, 236, 249, 0.85);
}

.home-package-cta__button::after {
  inset: 16px;
  border-color: rgba(250, 219, 233, 0.85);
}

.home-package-cta__chips,
.content-page__chips {
  position: absolute;
  display: flex;
  gap: 10px;
}

.home-package-cta__chips {
  top: -1.2rem;
  left: 2.75rem;
}

.content-page__chips {
  top: 0.8rem;
  right: 2.2rem;
}

.home-package-cta__chips span,
.content-page__chips span {
  width: 48px;
  height: 92px;
  box-shadow: var(--shadow);
}

.home-package-cta__chips span:nth-child(1),
.content-page__chips span:nth-child(1) { background: var(--pink); }
.home-package-cta__chips span:nth-child(2),
.content-page__chips span:nth-child(2) { background: var(--sage); }
.home-package-cta__chips span:nth-child(3),
.content-page__chips span:nth-child(3) { background: var(--blue); }

.slideshow-view {
  max-width: 1320px;
  margin: 0 auto 4rem;
}

.slideshow-view .view-content {
  position: relative;
  display: block;
}

.slideshow-view .views-row {
  display: block;
}

.slideshow-view .views-row:not(:first-child) {
  position: absolute;
  inset: 0;
}

.slideshow-view .view-content:has(.views-row:nth-child(2)) .views-row {
  opacity: 0;
  animation: way2sleepSlideFade 30s infinite;
}

.slideshow-view .view-content:has(.views-row:nth-child(2)) .views-row:nth-child(1) { animation-delay: 0s; }
.slideshow-view .view-content:has(.views-row:nth-child(2)) .views-row:nth-child(2) { animation-delay: 6s; }
.slideshow-view .view-content:has(.views-row:nth-child(2)) .views-row:nth-child(3) { animation-delay: 12s; }
.slideshow-view .view-content:has(.views-row:nth-child(2)) .views-row:nth-child(4) { animation-delay: 18s; }
.slideshow-view .view-content:has(.views-row:nth-child(2)) .views-row:nth-child(5) { animation-delay: 24s; }

@keyframes way2sleepSlideFade {
  0%, 20% {
    opacity: 1;
  }
  26%, 100% {
    opacity: 0;
  }
}

.slideshow-card {
  position: relative;
  overflow: visible;
  min-height: 420px;
  padding: 2rem 0;
}

.slideshow-card__image {
  display: block;
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.slideshow-card__badge {
  position: absolute;
  left: clamp(2rem, 6vw, 4.8rem);
  bottom: clamp(3.4rem, 8vw, 6.8rem);
  width: clamp(170px, 18vw, 260px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 1.7rem;
  color: var(--ink);
  font-family: var(--script-font);
  font-size: clamp(1.75rem, 2.8vw, 3.35rem);
  line-height: 1.02;
  text-align: center;
  text-decoration: none;
  background: url("../images/circular-hexagon.png") center / contain no-repeat;
  filter: drop-shadow(0 14px 22px rgba(163, 163, 163, 0.16));
  transition: transform 180ms ease, filter 180ms ease;
}

.slideshow-card__badge:hover,
.slideshow-card__badge:focus-visible {
  color: var(--ink);
  transform: translateY(-3px) rotate(-1deg);
  filter: drop-shadow(0 18px 26px rgba(163, 163, 163, 0.22));
}

.slideshow-card__badge span {
  display: block;
  max-width: 90%;
}

.slideshow-card__chips {
  position: absolute;
  z-index: 2;
  display: flex;
  gap: 12px;
}

.slideshow-card__chips--top {
  top: 0;
  left: clamp(2.6rem, 7vw, 5.5rem);
}

.slideshow-card__chips--bottom {
  right: clamp(3rem, 6vw, 4.4rem);
  bottom: 0;
}

.slideshow-card__chips span {
  width: clamp(42px, 4.8vw, 72px);
  height: clamp(84px, 10vw, 142px);
  box-shadow: var(--shadow);
}

.slideshow-card__chips span:nth-child(1) { background: var(--pink); }
.slideshow-card__chips span:nth-child(2) { background: var(--sage); }
.slideshow-card__chips span:nth-child(3) { background: var(--blue); }

.home-about,
.content-page {
  max-width: 1740px;
  margin: 0 auto;
  padding: 2rem 1rem 5rem;
}

.content-page--listing {
  max-width: 1500px;
  padding-top: 0;
}

.content-page--we-offer-3-types-of-packages {
  padding-bottom: 6.4rem;
}

.content-page--we-offer-3-types-of-packages h1 {
  margin: 6.2rem auto 5.4rem;
  text-align: center;
}

.home-about p,
.content-page p,
.content-page li,
.listing-view .views-row,
.way2sleep-contact-form input,
.way2sleep-contact-form textarea {
  font-size: 1.05rem;
}

.content-page__hero {
  position: relative;
  margin-bottom: 2.5rem;
}

.content-page__photo {
  width: 100%;
  box-shadow: var(--shadow);
}

.listing-view .view-content {
  display: grid;
  gap: 2.5rem;
}

.package-cards-view,
.package-cards-view .view-content,
.content-page--we-offer-3-types-of-packages .listing-view .view-content,
.listing-view .view-content:has(.package-card) {
  display: grid;
  grid-template-columns: repeat(3, minmax(300px, 1fr));
  align-items: stretch;
  gap: clamp(3rem, 6vw, 5.6rem);
}

.package-cards-view__item {
  display: flex;
  min-width: 0;
}

.testimonial-cards-view,
.testimonial-cards-view .view-content,
.listing-view .view-content:has(.testimonial-card) {
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  align-items: stretch;
  gap: clamp(2rem, 4vw, 4rem);
}

.testimonial-cards-view__item {
  display: flex;
  min-width: 0;
}

.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 990px;
  padding: 10.9rem 2.35rem 4rem;
  color: var(--ink);
  box-shadow: none;
}

.package-card--pink { background: var(--pink); }
.package-card--sage { background: var(--sage); }
.package-card--blue { background: var(--blue); }

.package-card__badge {
  position: absolute;
  top: 1.65rem;
  left: 2.1rem;
  width: 102px;
  height: 102px;
  display: grid;
  place-items: center;
  background: url("../images/circular-hexagon.png") center / contain no-repeat;
  font-size: 3.6rem;
  font-weight: 900;
  font-family: var(--body-font);
  color: var(--ink);
  line-height: 1;
}

.package-card__price {
  position: absolute;
  top: 3rem;
  right: -19px;
  width: 123px;
  height: 64px;
  display: grid;
  place-items: center;
  padding: 0 0 0 1.2rem;
  background: url("../images/price-tag.png") center / 100% 100% no-repeat;
  color: #fff;
  font-size: 1.78rem;
  font-weight: 900;
  font-family: var(--body-font);
  line-height: 1;
  text-align: center;
  filter: drop-shadow(8px 8px 0 rgba(0, 0, 0, 0.09));
}

.package-card__title {
  min-height: 130px;
  margin: 0 0 2.25rem;
  color: var(--ink);
  font-family: var(--body-font);
  font-weight: 900;
  font-size: clamp(2rem, 2.45vw, 2.75rem);
  line-height: 1.12;
}

.package-card__body {
  flex: 1 1 auto;
  margin-bottom: 0;
}

.package-card__body p {
  margin: 0;
  font-size: clamp(1.38rem, 1.7vw, 1.72rem);
  font-weight: 400;
  line-height: 1.33;
}

.package-card__body p + p {
  margin-top: 0.35rem;
}

.package-card__subscribe {
  align-self: center;
  min-width: min(100%, 296px);
  min-height: 95px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2.6rem;
  padding: 1rem 2rem;
  background: #fff;
  color: var(--ink);
  font-family: var(--body-font);
  font-size: clamp(1.8rem, 2.2vw, 2.35rem);
  font-weight: 900;
  line-height: 1.18;
  text-align: center;
  box-shadow: var(--shadow);
}

.user-login-form .button,
.way2sleep-contact-form .button--primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 78px;
  padding: 1rem 2rem;
  background: #fff;
  border: 0;
  color: var(--ink);
  font-family: var(--nav-font);
  font-size: 1.15rem;
  font-weight: 800;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.site-main h1 {
  max-width: 1740px;
  margin: 7rem auto 4.4rem;
  color: var(--ink);
  font-family: var(--script-font);
  font-size: 5.8rem;
  font-weight: 400;
  line-height: 0.95;
  text-align: left;
}

.user-login-form {
  position: relative;
  max-width: 660px;
  margin: 3rem auto 5rem;
  padding: 3rem clamp(1.5rem, 5vw, 4rem);
  background:
    linear-gradient(135deg, rgba(244, 214, 231, 0.72), rgba(203, 230, 246, 0.72)),
    #fff;
  border: 1px solid rgba(110, 114, 121, 0.12);
  box-shadow: var(--shadow);
}

.user-login-form::before {
  content: "";
  position: absolute;
  top: -22px;
  right: 28px;
  width: 138px;
  height: 102px;
  background: url("../images/logo-mark.png") center / contain no-repeat;
  opacity: 0.18;
  pointer-events: none;
}

.user-login-form .form-item {
  position: relative;
  margin: 0 0 1.35rem;
}

.user-login-form label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--ink);
  font-family: var(--nav-font);
  font-size: 1.05rem;
  font-weight: 700;
}

.user-login-form .description {
  margin-top: 0.45rem;
  color: rgba(110, 114, 121, 0.8);
  font-size: 0.95rem;
}

.user-login-form input[type="text"],
.user-login-form input[type="password"] {
  width: 100%;
  min-height: 58px;
  padding: 0.9rem 1rem;
  border: 0;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-family: var(--body-font);
  font-size: 1.05rem;
  box-shadow: inset 0 0 0 2px rgba(110, 114, 121, 0.12);
}

.user-login-form input[type="text"]:focus,
.user-login-form input[type="password"]:focus {
  outline: 3px solid rgba(205, 236, 249, 0.9);
  box-shadow: inset 0 0 0 2px rgba(110, 114, 121, 0.28);
}

.user-login-form .form-actions {
  margin-top: 1.8rem;
}

.user-login-form .button {
  width: auto;
  min-width: 150px;
}

.way2sleep-contact-form {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.2rem;
}

.form-grid__item { grid-column: span 6; }
.form-grid__item--full { grid-column: 1 / -1; }
.form-grid__item--code { grid-column: span 2; }
.form-grid__item--phone { grid-column: span 10; }

.way2sleep-contact-form .form-item {
  margin: 0;
}

.way2sleep-contact-form input,
.way2sleep-contact-form textarea {
  width: 100%;
  padding: 1.25rem 1.1rem;
  border: 0;
  background: #f0f0f0;
  color: var(--ink);
  font-family: var(--body-font);
}

.way2sleep-contact-form .captcha {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 1.35rem 1.5rem;
  border: 0;
  background: linear-gradient(90deg, rgba(250, 219, 233, 0.65), rgba(205, 236, 249, 0.55));
  color: var(--ink);
  box-shadow: var(--shadow);
}

.way2sleep-contact-form .captcha__title {
  margin: 0 0 0.9rem;
  padding: 0;
  color: var(--ink);
  font-family: var(--nav-font);
  font-size: 1.15rem;
  font-weight: 800;
}

.way2sleep-contact-form .captcha__element {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.way2sleep-contact-form .form-item-captcha-response {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  width: 100%;
}

.way2sleep-contact-form .form-item-captcha-response label {
  color: var(--ink);
  font-family: var(--body-font);
  font-size: 1.05rem;
  font-weight: 700;
}

.way2sleep-contact-form input[name="captcha_response"] {
  width: 120px;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  background: #fff;
  border: 2px solid rgba(110, 114, 121, 0.22);
  font-size: 1.15rem;
}

.way2sleep-contact-form .captcha .description {
  flex-basis: 100%;
  max-width: 780px;
  margin: 0.25rem 0 0;
  color: var(--ink);
  font-family: var(--body-font);
  font-size: 0.95rem;
  line-height: 1.45;
}

.way2sleep-contact-form .captcha__description {
  opacity: 0.78;
}

.form-grid__actions {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
}

.testimonial-card {
  position: relative;
  width: 100%;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: clamp(2.2rem, 4vw, 3.6rem);
  color: var(--ink);
  box-shadow: none;
}

.testimonial-card::before {
  content: "“";
  position: absolute;
  top: -0.15em;
  left: 0.18em;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--script-font);
  font-size: clamp(7rem, 13vw, 11rem);
  line-height: 1;
  pointer-events: none;
}

.testimonial-card--sage { background: var(--sage); }
.testimonial-card--pearl { background: var(--pearl); }
.testimonial-card--blue { background: var(--blue); }
.testimonial-card--pink { background: var(--pink); }

.testimonial-card__body p {
  position: relative;
  margin: 0;
  font-size: clamp(1.25rem, 1.8vw, 1.62rem);
  line-height: 1.45;
}

.testimonial-card__body {
  position: relative;
  flex: 1 1 auto;
  z-index: 1;
}

.testimonial-card__title {
  position: relative;
  z-index: 1;
  margin: 2rem 0 0;
  color: var(--ink);
  font-family: var(--nav-font);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 900;
}

.testimonial-card__age {
  position: relative;
  z-index: 1;
  margin-top: 0.35rem;
  color: var(--ink);
  font-family: var(--body-font);
  font-size: 1.05rem;
  font-weight: 700;
}

.terms-lead {
  font-size: 1.3rem;
  font-weight: 700;
}

.terms-list {
  margin: 1.5rem 0 0;
  padding-left: 1.4rem;
}

.terms-list li {
  margin-bottom: 1rem;
}

.terms-check {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.6rem;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: center;
  margin-top: 3rem;
  min-height: 154px;
  padding: 1.6rem 5.4rem;
  border-top: 2px solid rgba(110, 114, 121, 0.25);
  background: #ededed;
}

.site-footer__copy {
  align-self: center;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.45;
}

.site-footer__copy p {
  margin: 0;
}

.site-footer__social {
  display: flex;
  justify-content: center;
  gap: 1.45rem;
  align-items: center;
}

.site-footer__social a {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #8a8a8a;
  color: #fff;
  transition: background 160ms ease, transform 160ms ease;
}

.site-footer__social a:hover,
.site-footer__social a:focus-visible {
  background: var(--ink);
  transform: translateY(-2px);
}

.site-footer__social svg {
  width: 15px;
  height: 15px;
  display: block;
  fill: currentColor;
}

.site-footer__mark {
  justify-self: end;
}

.site-footer__mark img {
  width: 126px;
  display: block;
  opacity: 0.86;
}

@media (max-width: 1100px) {
  .site-header {
    height: auto;
    flex-direction: column;
  }

  .site-logo {
    width: 220px;
    min-width: 0;
    height: auto;
    padding: 8px 22px;
    margin: 0 auto;
  }

  .site-logo img {
    position: static;
    width: 100%;
    height: auto;
  }

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

  .home-hero,
  .hero-card,
  .package-cards-view,
  .testimonial-cards-view,
  .content-page--we-offer-3-types-of-packages .listing-view .view-content,
  .listing-view .view-content:has(.testimonial-card),
  .listing-view .view-content:has(.package-card) {
    grid-template-columns: 1fr;
  }

  .hero-card {
    gap: 1rem;
    min-height: auto;
  }

  .hero-card__visual {
    order: -1;
  }

  .package-card {
    min-height: auto;
    padding-top: 9rem;
  }
}

@media (max-width: 760px) {
  .site-main {
    padding: 1rem 1rem 0;
  }

  .site-main h1 {
    margin: 3rem auto 2rem;
    font-size: 3.6rem;
  }

  .content-page--we-offer-3-types-of-packages {
    padding-left: 0;
    padding-right: 0;
  }

  .content-page--we-offer-3-types-of-packages h1 {
    margin: 3.5rem auto 3rem;
    font-size: 4.2rem;
  }

  .package-card {
    padding: 8.5rem 1.8rem 2.2rem;
  }

  .package-card__title {
    min-height: 0;
  }

  .package-card__body p {
    font-size: 1.3rem;
  }

  .site-nav {
    grid-template-columns: 1fr;
  }

  .home-package-cta__button {
    position: static;
    margin: -3rem auto 0;
  }

  .slideshow-card {
    min-height: auto;
    padding: 1.5rem 0 0;
  }

  .slideshow-card__image {
    min-height: 280px;
  }

  .slideshow-card__badge {
    position: relative;
    left: auto;
    bottom: auto;
    width: min(230px, 58vw);
    margin: -4rem auto 1rem;
  }

  .slideshow-card__chips--bottom {
    right: 1.5rem;
    bottom: auto;
    top: calc(280px - 3.2rem);
  }

  .way2sleep-contact-form {
    grid-template-columns: 1fr;
  }

  .form-grid__item,
  .form-grid__item--full,
  .form-grid__item--code,
  .form-grid__item--phone {
    grid-column: auto;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}
