.am-home-page {
  --home-violet: #7449ad;
  --home-purple: #5c358f;
  --home-dark: #282133;
  --home-muted: #5d5469;
  --home-lavender: #eee3f8;
  --home-soft: #faf5fd;
  --home-line: #e4d9ec;
  --home-sun: #ffdf89;
  --home-cream: #fff0cd;
  --home-shadow: 0 5px 13px #5b397311, 0 17px 34px -15px #5b397333;
  color: var(--home-dark);
  background: #fff;
  font-family: Manrope, system-ui, sans-serif;
}


.am-home-hero {
  --hero-ink: var(--home-dark);
  --hero-purple: var(--home-purple);
  --hero-warm: var(--home-cream);
  color: var(--hero-ink);
  position: relative;
  isolation: isolate;
  padding-block-start: var(--am-site-header-height, 96px);
  overflow: clip;
  border-radius: 0 0 36% 8% / 0 0 clamp(26px, 4vw, 72px) 18px;
  background: var(--hero-warm);
}
.am-home-hero__grid {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
  pointer-events: none;
  width: min(100% - 112px, 1320px);
  min-height: max(525px, 66.667svh);
  padding-block: 52px;
  margin-inline: auto;
}
.am-home-hero__copy {
  width: min(100%, 600px);
  pointer-events: auto;
}
.am-home-hero__copy h1 {
  margin: 0;
  color: var(--hero-ink);
  font-size: clamp(46px, 5.52vw, 85px);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -.066em;
}
.am-home-hero__copy p {
  max-width: 32ch;
  margin: 24px 0 20px;
  color: #534861;
  font-size: clamp(17px, 1.55vw, 23px);
  line-height: 1.42;
  letter-spacing: -.015em;
}
.am-home-hero__reviews {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #534861;
  line-height: 1.4;
}
.am-home-hero__reviews span {
  color: #b4770e;
  font-size: 19px;
}
.am-home-hero__reviews strong {
  color: var(--hero-ink);
  font-weight: 850;
}
.am-home-hero__offers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}
.am-home-hero__offers a {
  display: inline-flex;
  min-height: 47px;
  justify-content: center;
  align-items: center;
  gap: 9px;
  padding: 8px clamp(10px, 1vw, 16px);
  border: 1px solid #a88abd;
  border-radius: 999px;
  color: var(--hero-ink);
  background: rgb(255 255 255 / 78%);
  font-size: clamp(12px, .97vw, 15px);
  font-weight: 800;
  line-height: 1.2;
}
.am-home-hero__offers .am-home-hero__primary {
  border-color: transparent;
  color: white;
  background: linear-gradient(115deg, var(--home-violet), var(--hero-purple));
  box-shadow: 0 9px 21px rgb(102 58 150 / 23%);
}
.am-home-hero a:hover { text-decoration: underline; }
.am-home-hero a:focus-visible { outline: 2px solid var(--hero-purple); outline-offset: 3px; }
/* The color wash and bottom fade stay fixed above the Swiper track. */
.am-home-hero__media {
  position: absolute;
  z-index: 0;
  inset: var(--am-site-header-height, 96px) 0 0;
}
.am-home-hero__media::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, var(--hero-warm) 4%, #fdf1e3 20%,
      rgb(249 242 249 / 95%) 36%, rgb(248 243 251 / 79%) 46%,
      rgb(248 243 251 / 34%) 59%, rgb(248 243 251 / 0%) 75%);
}
.am-home-hero__slider {
  width: 100%;
  height: 100%;
}
.am-home-hero__slider .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
}
.am-home-hero__controls {
  position: absolute;
  z-index: 2;
  right: clamp(20px, 4vw, 56px);
  bottom: 54px;
  display: flex;
  gap: 10px;
}
.am-home-hero__controls button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgb(255 255 255 / 75%);
  border-radius: 50%;
  background: rgb(255 255 255 / 91%);
  color: var(--hero-purple);
  box-shadow: 0 4px 16px rgb(26 19 35 / 14%);
}
.am-home-hero__controls button:hover,
.am-home-hero__controls button:focus-visible {
  background: #fff;
  outline: 2px solid var(--hero-purple);
  outline-offset: 2px;
}

@media (max-width: 1100px) {
  .am-home-hero__grid { width: min(100% - 64px, 1320px); }
}
@media (max-width: 850px) {
  .am-home-hero__grid { min-height: max(475px, 66.667svh); }
  .am-home-hero__copy { max-width: 56%; }
}
@media (max-width: 700px) {
  .am-home-hero { border-radius: 0 0 36% 8% / 0 0 26px 12px; }
  .am-home-hero__grid {
    width: min(100% - 40px, 540px);
    min-height: 66.667svh;
    padding-block: 36px 232px;
  }
  .am-home-hero__copy { max-width: none; }
  .am-home-hero__copy h1 { font-size: clamp(37px, 10.3vw, 61px); }
  .am-home-hero__copy p { margin-top: 16px; font-size: 17px; }
  .am-home-hero__offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .am-home-hero__offers a { min-height: 43px; padding-inline: 6px; text-align: center; font-size: clamp(11px, 3.2vw, 14px); }
  .am-home-hero__offers .am-home-hero__primary { grid-column: 1 / -1; }
  .am-home-hero__media {
    inset: auto 0 0;
    height: clamp(345px, 94vw, 450px);
  }
  .am-home-hero__media::after {
    background: linear-gradient(180deg, var(--hero-warm) 4%, rgb(253 242 228 / 98%) 21%,
        rgb(248 243 251 / 75%) 40%, rgb(248 243 251 / 0%) 65%);
  }
  .am-home-hero__slider .swiper-slide img { object-position: 67% center; }
  .am-home-hero__controls { bottom: 34px; gap: 8px; }
  .am-home-hero__controls button { width: 40px; height: 40px; }
}

.home-wrap {
  width: min(100% - 112px, 1260px);
  margin-inline: auto;
}

.home-section {
  padding-block: clamp(48px, 6vw, 90px);
  scroll-margin-top: var(--am-site-header-height, 96px);
}

.home-section :is(h2, h3, p, ol, blockquote) { margin: 0; }
.home-section h3 { color: var(--home-dark); line-height: 1.25; }
.home-section p { color: var(--home-muted); line-height: 1.58; }
.home-section a { text-decoration: none; }

.home-section :is(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--home-violet);
  outline-offset: 4px;
}

.home-section .home-heading {
  max-width: 22ch;
  color: var(--home-dark);
  font-size: clamp(30px, 3.65vw, 52px);
  font-weight: 850;
  letter-spacing: -.055em;
  line-height: 1.09;
  text-wrap: balance;
}

.home-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px 32px;
  margin-bottom: clamp(20px, 3vw, 34px);
}

.home-section-heading > p { max-width: 37ch; }

.home-icon {
  display: inline-grid;
  flex: none;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  background: var(--home-lavender);
  color: var(--home-purple);
  font-size: 24px;
  line-height: 1;
}

.home-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--home-purple);
  font-size: .91rem;
  font-weight: 800;
}

.home-card-link i { font-size: 1rem; }
.home-section a:hover .home-card-link,
.home-section a.home-card-link:hover { text-decoration: underline; }

.home-trips__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.9vw, 26px);
}

.home-about {
  padding-block: clamp(36px, 5.8vw, 82px) clamp(18px, 3.2vw, 45px);
}

.home-about__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 76px);
  align-items: center;
}

.home-about__inner:not(:has(.home-about__photo)) { grid-template-columns: minmax(0, 1fr); }

.home-about__photo {
  display: block;
  width: 100%;
  aspect-ratio: 1.45;
  border-radius: 23px;
  object-fit: cover;
  object-position: center 57%;
}

.home-about__copy > p { margin-block: 15px 24px; }
.home-about__point + .home-about__point { margin-top: 17px; }
.home-about__point h3 { margin-bottom: 4px; font-size: 1.06rem; font-weight: 850; }
.home-about__point p { font-size: .94rem; }
.home-about .home-card-link { margin-top: 24px; }

.home-trips { padding-bottom: clamp(48px, 6vw, 82px); }

.home-trip {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: clip;
  border: 1px solid var(--home-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--home-shadow);
}

.home-trip:hover { border-color: #b9a5cf; }

.home-trip > img {
  width: 100%;
  aspect-ratio: 1.7;
  object-fit: cover;
  background: var(--home-lavender);
}

.home-trip__body {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  flex: 1;
  padding: clamp(14px, 2vw, 24px);
}

.home-trip__category {
  display: inline-block;
  margin-bottom: 9px;
  color: var(--home-purple);
  font-size: .75rem;
  font-weight: 800;
}

.home-trip h3 { font-size: clamp(17px, 1.65vw, 23px); font-weight: 850; letter-spacing: -.034em; }
.home-trip .home-icon { width: 39px; height: 39px; border-radius: 50%; font-size: 19px; }

.home-steps {
  background: linear-gradient(180deg, var(--home-soft), #fcfaff);
  border-block: 1px solid #f0e8f6;
}

.home-steps .home-steps__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: clamp(22px, 3vw, 38px);
  padding: 0;
  list-style: none;
}

.home-steps__list li { position: relative; }

.home-steps__list li:not(:last-child)::after {
  position: absolute;
  inset: 18px -10px auto 54px;
  border-top: 1px solid #dac9eb;
  content: "";
}

.home-steps__list li > span {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 50%;
  color: #4b335c;
  background: var(--home-sun);
  font-size: .95rem;
  font-weight: 850;
}

.home-steps__list h3 { margin-bottom: 6px; font-size: 1.1rem; font-weight: 850; }
.home-steps__list p { font-size: .92rem; max-width: 26ch; }

.home-reviews--compact { padding-block: clamp(28px, 3.75vw, 56px); }

.home-reviews__controls { display: flex; gap: 8px; }

.home-reviews__controls button {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 1px solid var(--home-line);
  border-radius: 50%;
  color: var(--home-purple);
  background: #fff;
  font-size: 19px;
}

.home-reviews__controls button:hover:not(:disabled) { background: var(--home-soft); }
.home-reviews__controls button:disabled { opacity: .42; }

.home-reviews__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 40px) / 3);
  align-items: start;
  gap: 20px;
  padding: 5px 2px 20px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #d5bce7 transparent;
}

.home-review {
  display: flex;
  flex-direction: column;
  gap: 13px;
  min-height: 243px;
  padding: clamp(17px, 2vw, 25px);
  border: 1px solid var(--home-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 8px 17px -12px #5b397355;
  scroll-snap-align: start;
}

.home-review__author { display: grid; gap: 3px; }
.home-review__author strong { font-size: 1rem; font-weight: 850; }
.home-review__author span { color: var(--home-muted); font-size: .81rem; }
.home-review__stars { color: #a86607; font-size: .89rem; letter-spacing: 2px; line-height: 1; }
.home-review blockquote { color: var(--home-muted); font-size: .92rem; line-height: 1.6; }
.home-review__toggle {
  align-self: flex-start;
  margin-top: auto;
  padding: 3px 0;
  border: 0;
  background: transparent;
  text-align: left;
  scroll-margin-top: calc(var(--am-site-header-height, 96px) + 16px);
}

.home-review__toggle[aria-expanded="true"] i { transform: rotate(180deg); }

.home-contact { padding-top: 0; }

.home-contact__panel {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  align-items: center;
  gap: clamp(22px, 5vw, 70px);
  padding: clamp(20px, 4.5vw, 62px);
  border: 1px solid #ede2f4;
  border-radius: clamp(23px, 3vw, 38px);
  background:
    radial-gradient(ellipse at 0% 100%, var(--home-cream), transparent 55%),
    linear-gradient(132deg, var(--home-lavender), var(--home-soft));
}

.home-contact__panel--without-form { grid-template-columns: minmax(0, 1fr); }

.home-contact__intro > p { margin-top: 13px; max-width: 32ch; }
.home-contact__links { display: grid; justify-items: start; gap: 14px; margin-top: 24px; }

.home-contact__links a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.02rem;
  font-weight: 850;
  color: var(--home-purple);
}

.home-contact__links a:hover { text-decoration: underline; }
.home-contact__links a small { display: block; color: var(--home-muted); font-size: .77rem; font-weight: 650; }
.home-contact__links .home-icon { width: 42px; height: 42px; background: #fff; font-size: 21px; }

.home-contact__form {
  min-width: 0;
  padding: clamp(16px, 2.55vw, 36px);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--home-shadow);
}

.home-contact__form .am-cf7-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.home-contact__form .am-cf7-full { grid-column: 1 / -1; }
.home-contact__form label { display: block; font-size: .81rem; font-weight: 750; }
.home-contact__form .wpcf7-form-control-wrap { display: block; margin-top: 4px; }

.home-contact__form :is(input[type="text"], input[type="email"], input[type="tel"], select, textarea) {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 41px;
  padding: 9px 12px;
  border: 1px solid var(--home-line);
  border-radius: 11px;
  background: #fcfaff;
  color: var(--home-dark);
  font-size: .87rem;
  font-weight: 500;
}

.home-contact__form textarea { height: 84px; min-height: 80px; resize: vertical; }
.home-contact__form .am-cf7-consent label { display: flex; gap: 7px; align-items: start; font-weight: 550; }
.home-contact__form .am-cf7-consent input { margin: 3px 0 0; accent-color: var(--home-purple); }
.home-contact__form .wpcf7-list-item { margin: 0; }
.home-contact__form input[type="submit"] { min-height: 43px; padding: 8px 23px; background: var(--home-purple); border-color: var(--home-purple); }
.home-contact__form .wpcf7-response-output { margin: 12px 0 0; padding: 8px 12px; border-radius: 9px; }
.home-contact__form .wpcf7-not-valid-tip { margin-top: 4px; font-size: .8rem; }

@media (max-width: 1050px) {
  .home-wrap { width: min(100% - 64px, 1260px); }
}

@media (max-width: 850px) {
  .home-reviews__track { grid-auto-columns: calc((100% - 20px) / 2); }
  .home-steps .home-steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-steps__list li:nth-child(even)::after { display: none; }
}

@media (max-width: 700px) {
  .home-wrap { width: min(100% - 36px, 540px); }
  .home-section-heading { align-items: start; flex-direction: column; }
  .home-trips__grid, .home-about__inner, .home-contact__panel { grid-template-columns: minmax(0, 1fr); }
  .home-about__inner, .home-contact__panel { gap: 20px; }
  .home-about__photo { aspect-ratio: 1.58; border-radius: 18px; }
  .home-about__copy > p { margin-block: 12px 16px; }
  .home-steps .home-steps__list { gap: 20px 14px; }
  .home-steps__list h3 { font-size: .98rem; }
  .home-reviews__heading { display: flex; flex-direction: row; align-items: end; gap: 10px; }
  .home-reviews__controls { gap: 5px; }
  .home-reviews__controls button { width: 36px; height: 36px; font-size: 16px; }
  .home-reviews__track { grid-auto-columns: 90%; gap: 12px; }
  .home-review { min-height: 229px; }
}

@media (max-width: 420px) {
  .home-contact__form .am-cf7-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .am-home-page * { scroll-behavior: auto; }
}
