html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

main {
  overflow: clip;
}

h1 {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: -0.055em;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  line-height: 0.98;
}

h2 {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: -0.045em;
  font-size: clamp(2.5rem, 4.7vw, 4.5rem);
  line-height: 1.02;
}

h3 {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: -0.025em;
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  line-height: 1.15;
}

p {
  text-wrap: pretty;
}

.section {
  width: min(100%, 1400px);
  margin-inline: auto;
  padding-block: clamp(76px, 9vw, 128px);
  padding-inline: clamp(20px, 5vw, 72px);
}

.site-header {
  padding-inline: max(20px, calc((100vw - 1400px) / 2 + 20px));
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.brand span,
.hero-card strong {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.nav a {
  position: relative;
  transition: color 0.25s ease;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  border-radius: 99px;
  background: #ff4f87;
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.nav-toggle span {
  transition: transform 0.28s ease, opacity 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  gap: clamp(40px, 6vw, 88px);
}

.hero-copy {
  max-width: 760px;
}

.hero-copy p:not(.eyebrow) {
  max-width: 650px;
  font-size: clamp(1rem, 1.4vw, 1.14rem);
}

.trust-features {
  padding-top: 28px;
  padding-bottom: clamp(54px, 6vw, 82px);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(185, 14, 63, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 22px 65px rgba(65, 7, 27, 0.08);
  backdrop-filter: blur(14px);
}

.trust-item {
  position: relative;
  display: grid;
  min-height: 164px;
  padding: 24px 16px;
  place-items: center;
  align-content: center;
  gap: 14px;
  text-align: center;
  transition:
    background-color 0.3s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.trust-item:not(:last-child)::after {
  position: absolute;
  top: 26px;
  right: 0;
  bottom: 26px;
  width: 1px;
  background: rgba(185, 14, 63, 0.1);
  content: "";
}

.trust-item:hover {
  background: linear-gradient(180deg, rgba(255, 238, 244, 0.85), rgba(255, 255, 255, 0.9));
  transform: translateY(-4px);
}

.trust-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid rgba(255, 79, 135, 0.2);
  border-radius: 18px;
  background: linear-gradient(145deg, #fff, #ffe9f0);
  color: #bc0d40;
  box-shadow: 0 12px 28px rgba(157, 8, 53, 0.12);
  transition:
    color 0.3s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.3s ease;
}

.trust-item:hover .trust-icon {
  background: linear-gradient(145deg, #b50d3d, #ec2d67);
  color: #fff;
  transform: translateY(-3px) rotate(-2deg);
}

.trust-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.trust-item h3 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(0.88rem, 1.1vw, 1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.btn,
.fixed-contact-button {
  min-height: 48px;
  touch-action: manipulation;
}

.profile-card,
.review-card,
.step,
.content-band,
.faq details {
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.38s ease,
    border-color 0.38s ease;
}

.profile-card {
  overflow: hidden;
}

.profile-card:hover,
.review-card:hover,
.step:hover {
  border-color: rgba(220, 25, 84, 0.22);
  box-shadow: 0 28px 70px rgba(67, 8, 28, 0.16);
  transform: translateY(-9px);
}

.profile-card img {
  transition:
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.4s ease;
}

.profile-card:hover img {
  filter: saturate(1.05) contrast(1.02);
  transform: scale(1.055);
}

.gallery-track {
  animation-duration: 34s;
  will-change: transform;
}

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

.gallery-track img {
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.4s ease,
    box-shadow 0.4s ease;
}

.gallery-track img:hover {
  filter: brightness(1.08) saturate(1.08);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.46);
  transform: scale(1.045);
}

.review-card img {
  transition: transform 0.45s ease;
}

.review-card:hover img {
  transform: scale(1.08);
}

.faq summary {
  position: relative;
  padding-right: 48px;
  list-style: none;
  transition: color 0.25s ease;
}

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

.faq summary::after {
  position: absolute;
  top: 50%;
  right: 2px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: #ffe8ef;
  color: #a90b39;
  content: "+";
  font-family: "Manrope", sans-serif;
  font-size: 1.25rem;
  line-height: 1;
  transform: translateY(-50%);
  transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease;
}

.faq details.is-expanded summary::after {
  background: #b90e3f;
  color: #fff;
  transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 0.32s ease,
    opacity 0.3s ease;
}

.faq-answer > p {
  min-height: 0;
  margin: 0;
  overflow: hidden;
}

.faq details.is-expanded .faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq details.is-expanded .faq-answer > p {
  margin-top: 16px;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.75s ease var(--reveal-delay, 0ms),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.footer {
  padding-inline: max(20px, calc((100vw - 1400px) / 2 + 20px));
}

@media (max-width: 800px) {
  .site-header {
    padding: 12px 18px;
  }

  .nav {
    display: flex;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px) scale(0.98);
    transform-origin: top;
    transition:
      opacity 0.25s ease,
      transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s linear 0.3s;
  }

  .nav.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition-delay: 0s;
  }

  .nav a {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .nav a::after {
    bottom: 5px;
    transform-origin: left;
  }

  .section {
    padding-block: 72px;
    padding-inline: 20px;
  }

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

  .trust-item {
    min-height: 142px;
    padding: 20px 12px;
  }

  .trust-item::after {
    display: none;
  }

  .trust-item {
    border-right: 1px solid rgba(185, 14, 63, 0.09);
    border-bottom: 1px solid rgba(185, 14, 63, 0.09);
  }

  .trust-item:nth-child(2n) {
    border-right: 0;
  }

  .trust-item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .hero {
    min-height: auto;
    padding-top: 78px;
  }

  .card-grid,
  .steps,
  .review-slider {
    gap: 20px;
  }

  .profile-contact-buttons .btn {
    min-height: 50px;
  }

  .profile-card:hover,
  .review-card:hover,
  .step:hover {
    transform: none;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
    line-height: 1.7;
  }

  h1 {
    font-size: clamp(2.8rem, 15vw, 4.4rem);
  }

  h2 {
    font-size: clamp(2.25rem, 12vw, 3.3rem);
  }

  .hero {
    gap: 34px;
  }

  .hero-card {
    min-height: 280px;
    padding: 30px;
  }

  .profile-card,
  .review-card,
  .step,
  .content-band,
  .faq details {
    padding: 18px;
  }

  .gallery-track img {
    width: 200px;
    height: 270px;
  }

  .trust-features {
    padding-top: 20px;
    padding-bottom: 54px;
  }

  .trust-icon {
    width: 50px;
    height: 50px;
  }

  .trust-icon svg {
    width: 24px;
    height: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
