:root {
  --font-body: 'Inter', Aptos, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Manrope', 'Inter', Aptos, 'Segoe UI Variable Display', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
}

.white-section-bg {
  position: relative;
  isolation: isolate;
}

.white-section-bg::before {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 0;
  height: 100%;
  width: 100vw;
  background: url("../images/10068-scaled-1.jpg") center / cover no-repeat;
  content: "";
  opacity: 0.2;
  transform: translateX(-50%);
  transition: 0.3s, border-radius 0.3s, opacity 0.3s;
}

.white-section-bg > * {
  position: relative;
  z-index: 1;
}

h1,
h2,
h3,
nav,
button,
.font-black {
  font-family: var(--font-display);
}

header nav a {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

body h1,
body h2,
body h3,
body .font-black {
  font-weight: 800;
}

body.holiday-helper-page main {
  display: flex;
  flex-direction: column;
}

body.holiday-helper-page .process-section {
  order: 1;
}

body.holiday-helper-page .references-section {
  order: 2;
}

body.holiday-helper-page .contact-section {
  order: 3;
}

body.holiday-helper-page .cta-section {
  order: 4;
}

body.holiday-helper-page .process-section {
  width: 100%;
  max-width: none;
  margin-top: 0;
  margin-bottom: 0;
  border-radius: 0;
  background: #eef7f2;
  box-shadow: inset 0 0 0 1px rgba(19, 144, 51, 0.08);
}

body.holiday-helper-page .process-section::before {
  display: none;
}

body.holiday-helper-page .process-section > * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1024px) {
  header > div:first-child {
    display: grid;
    grid-template-columns: 220px 402px 126px;
    gap: 0;
    align-items: center;
    justify-content: space-between;
  }

  header > div:first-child > a:first-child {
    grid-column: 1;
    width: 220px;
  }

  header > div:first-child > a:first-child img {
    width: 220px;
    max-width: 220px;
  }

  header > div:first-child > nav {
    grid-column: 2;
    display: flex !important;
    gap: 2rem;
    align-items: center;
    justify-self: center;
  }

  header > div:first-child > nav a {
    text-align: center;
    white-space: nowrap;
  }

  header > div:first-child > div[aria-label="Language switcher"] {
    grid-column: 3;
    width: 126px;
    justify-self: end;
  }
}

div[aria-label="Language switcher"] {
  width: fit-content;
}

.language-toggle {
  display: inline-flex;
  width: 58px;
  height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  line-height: 1;
}

.footer-contact-list {
  display: grid;
  gap: 0.85rem;
}

.footer-contact-item {
  display: grid;
  grid-template-columns: 1.45rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
}

.footer-contact-icon {
  display: inline-grid;
  width: 1.45rem;
  height: 1.45rem;
  place-items: center;
  color: #fff;
  font-size: 1.15rem;
  line-height: 1;
}

.footer-contact-icon--whatsapp {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  background: currentColor;
  -webkit-mask: url("../images/icons/whatsapp.svg") center / contain no-repeat;
  mask: url("../images/icons/whatsapp.svg") center / contain no-repeat;
}

.footer-contact-item a {
  color: inherit;
  text-decoration: none;
}

.footer-contact-item a:hover {
  color: #8ee6a4;
}

.team-contact-cta {
  align-self: center;
  width: 100%;
}

.team-contact-note {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.35rem;
  color: rgba(255, 255, 255, 0.72);
  font-family: "Segoe Print", "Comic Sans MS", var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.35;
  transform: rotate(-2deg);
}

.team-contact-note svg {
  width: 78px;
  height: 48px;
  margin-top: -0.3rem;
  flex: 0 0 auto;
}

@media (max-width: 1023px) {
  .team-contact-note {
    justify-content: flex-start;
  }
}

.reference-slider {
  width: 100%;
  overflow: hidden;
}

.reference-slider-track {
  display: flex;
  width: max-content;
  gap: 1rem;
  padding: 0 1rem;
  animation: reference-slider-scroll 70s linear infinite;
  will-change: transform;
}

.reference-slider-track > div {
  flex: 0 0 220px;
}

.reference-slider-track img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-width: 0;
  min-height: 0;
  object-fit: contain !important;
  object-position: center;
}

.reference-slider-track:hover {
  animation-play-state: paused;
}

.success-slider {
  width: 100%;
  overflow: hidden;
}

.success-slider-track {
  display: flex;
  width: max-content;
  gap: 1rem;
  padding: 0 1rem;
  animation: success-slider-scroll 62s linear infinite;
  will-change: transform;
}

.success-slider-track:hover {
  animation-play-state: paused;
}

.success-slider-item {
  flex: 0 0 280px;
  overflow: hidden;
  border-radius: 7px;
  box-shadow: 0 8px 22px rgba(7, 36, 43, 0.12);
}

.success-slider-item img {
  display: block;
  height: 300px;
  width: 100%;
  background: #f7fbfb;
  object-fit: contain;
}

@keyframes reference-slider-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes success-slider-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 640px) {
  .reference-slider-track {
    gap: 0.75rem;
    padding: 0 0.75rem;
    animation-duration: 55s;
  }

  .reference-slider-track > div {
    flex-basis: 170px;
  }

  .success-slider-track {
    gap: 0.75rem;
    padding: 0 0.75rem;
    animation-duration: 48s;
  }

  .success-slider-item {
    flex-basis: 220px;
  }

  .success-slider-item img {
    height: 240px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reference-slider-track,
  .success-slider-track {
    animation: none;
  }
}

.process-flow .process-step {
  position: relative;
}

.process-flow {
  --process-gap: 1.5rem;
}

.process-flow .process-step:not(:last-child)::after {
  position: absolute;
  left: calc(50% + 58px);
  top: 47px;
  width: calc(100% + var(--process-gap) - 116px);
  border-top: 2px dotted #9fb6b1;
  content: "";
}

.process-flow .process-step:not(:last-child)::before {
  position: absolute;
  left: calc(150% + var(--process-gap) - 68px);
  top: 42px;
  z-index: 1;
  width: 0;
  height: 0;
  border-bottom: 5px solid transparent;
  border-left: 7px solid #0c5c52;
  border-top: 5px solid transparent;
  content: "";
}

.process-step-number {
  position: absolute;
  left: calc(50% - 43px);
  top: 0;
  z-index: 2;
}

.line-icon svg {
  display: block;
  height: 42px;
  width: 42px;
  stroke: currentColor;
}

.story-icon svg {
  display: block;
  height: 54px;
  width: 54px;
  stroke: currentColor;
}

.category-icon svg {
  display: block;
  height: 28px;
  width: 28px;
  stroke: currentColor;
}

.team-stat-icon {
  display: grid;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  place-items: center;
  border-radius: 999px;
  background: #e9f4ee;
  color: #0c5c52;
}

.team-stat-icon svg {
  display: block;
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.review-slider {
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.review-slider::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 min(86vw, 390px);
  min-height: 280px;
  scroll-snap-align: start;
}

.story-review-slider .review-card {
  flex: 0 0 100%;
  min-width: 100%;
  min-height: 250px;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  }
}

.review-slider-button {
  display: grid;
  height: 44px;
  width: 44px;
  place-items: center;
  border-radius: 999px;
  background: #0c5c52;
  color: #fff;
  box-shadow: 0 6px 16px rgba(12, 92, 82, 0.22);
  transition: transform 160ms ease, background 160ms ease;
}

.review-slider-button:hover {
  background: #139033;
  transform: translateY(-1px);
}

@media (max-width: 767px) {
  .process-flow .process-step:not(:last-child)::after,
  .process-flow .process-step:not(:last-child)::before {
    display: none;
  }
}
