@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poiret+One&display=swap");

@font-face {
  font-family: "NS";
  src: url("./fonts/NyghtSerif-LightItalic.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

:root {
  --accent: #a86c73;
  --text: #4a403d;
  --back: #f8f3ee;

  --accent-light: #d8b8bc;
  --bg-secondary: #efe6de;
  --chocolate: #5c4338;
  --font-family: "Montserrat", sans-serif;
  --second-family: "Poiret One", sans-serif;
  --third-family: "Inter", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

body {
  font-family: var(--font-family);
  font-weight: 400;
  line-height: 1.6;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  font-size: 19px;
  color: var(--text);
  scroll-behavior: smooth;
}

html {
  font-size: 25px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "NS", serif;
  font-weight: 100;
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 22px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
}

.logo {
  display: flex;
  flex-direction: column;
  color: var(--text);
  text-transform: uppercase;
  padding-left: 70px;
  position: relative;
}

.logo img {
  width: 80px;
  position: absolute;
  top: -10px;
  left: 0;
}

.logo span {
  font-size: 28px;
  line-height: 1;
  margin-top: -5px;
}

.logo small {
  color: var(--accent);
  font-size: 16px;
  line-height: 1;
  font-family: "NS", serif;
  font-style: normal;
  text-transform: capitalize;
}

.menu {
  display: flex;
  gap: 20px;
}

.menu a {
  color: var(--text);
  text-transform: uppercase;
  font-size: 14px;
  transition: 0.3s;
}

.menu a:hover {
  color: var(--accent);
}

.burger {
  display: none;
  width: 42px;
  height: 20px;
  border: none;
  background: transparent;
  position: relative;
  cursor: pointer;
  z-index: 1002;
}

.burger span {
  position: absolute;
  right: 0;
  height: 1px;
  background: var(--text);
  transition: 0.35s ease;
}

.burger span:nth-child(1) {
  top: 0;
  width: 60%;
}

.burger span:nth-child(2) {
  top: 50%;
  width: 100%;
}

.burger span:nth-child(3) {
  bottom: 0;
  width: 80%;
}

.burger.active span:nth-child(1) {
  top: 50%;
  width: 100%;
  transform: rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  bottom: auto;
  top: 50%;
  width: 100%;
  transform: rotate(-45deg);
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  background: linear-gradient(135deg, #fff 0%, #f8f2ef 55%, #e7dad5 100%);
  overflow: hidden;
}

.hero-text {
  padding: 140px 70px 80px;
  max-width: 820px;
}

.section-kicker {
  display: block;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 14px;
  color: var(--accent);
  font-weight: 400;
}

.hero h1 {
  font-size: clamp(52px, 8vw, 110px);
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.hero-motto {
  max-width: 650px;
  font-family: "NS", serif;
  font-size: 25px;
  line-height: 1.6;
  margin-bottom: 40px;
}

.hero-motto span {
  display: block;
  margin-bottom: 12px;
  font-family: "NT", sans-serif;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-image {
  height: 100vh;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

@media (max-width: 1024px) {
  .hero .section-kicker {
    color: var(--text);
  }
  .site-header {
    padding: 18px 20px;
  }

  .burger {
    display: block;
  }

  .menu {
    position: fixed;
    inset: 0;
    height: 100vh;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(22px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: 0.45s ease;
  }

  .menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .menu a {
    font-size: 17px;
  }

  .hero {
    grid-template-columns: 1fr;
    background: #f8f2ef;
  }

  .hero-text {
    padding: 40px 20px 50px;
    text-align: center;
    margin: 0 auto;
    order: 2;
  }

  .hero-image {
    order: 1;
  }

  .hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
  }

  .hero-motto {
    font-size: 19px;
    margin-bottom: 20px;
  }

  .logo {
    padding-left: 30px;
  }

  .logo img {
    width: 55px;

    left: -15px;
  }

  .logo span {
    font-size: 18px;
  }
}
.btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;

  padding: 15px 30px;

  background: transparent;

  border: 1px solid var(--text);

  color: var(--text);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: max-content;
  transition: 0.35s;
}

.btn:hover {
  background: var(--text);
  color: white;
}

.btn:hover::after {
  transform: translateX(8px);
}

/* ===== WHITE ===== */

.btn-white {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}

.btn-white:hover {
  background: #fff;
  color: #4a403d;
}

@media (max-width: 1024px) {
  .btn {
    padding: 15px;
    width: 100%;
    font-size: 11px;
  }
  .hero-image {
    order: 1;
    width: 100%;
    height: 600px;
    position: relative;
  }

  .hero-image::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 180px;

    background: linear-gradient(
      to bottom,
      rgba(248, 242, 239, 0) 0%,
      rgba(248, 242, 239, 0.4) 40%,
      rgba(248, 242, 239, 0.8) 75%,
      #f8f2ef 100%
    );

    pointer-events: none;
  }

  .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero-text {
    margin-top: -100px;
    position: relative;
    z-index: 10;
  }
}

.ticker {
  overflow: hidden;
  background: var(--accent);
  padding: 15px 0;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 35s linear infinite;
}

.ticker-track span {
  font-size: 16px;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 0 15px;
  white-space: nowrap;
  font-weight: 200;
  color: #fff;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

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

.hero-video-section {
  position: relative;
  min-height: 100vh;

  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.35);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  text-align: center;
  padding: 0 20px;
  color: white;
}

.hero-content h1 {
  color: white;
}

.hero-content .hero-motto {
  color: rgba(255, 255, 255, 0.95);
}

.hero-content .section-kicker {
  color: rgba(255, 255, 255, 0.85);
}

.hero-content .btn {
  margin: 0 auto;
  border-color: white;
  color: white;
}

.hero-content .btn:hover {
  background: white;
  color: #333;
}

.hero-video-wrap {
  height: 100vh;
  overflow: hidden;
  width: 50vw;
}

.hero-side-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top top;
  display: block;
  width: 50vw;
}

@media (max-width: 1024px) {
  .hero-video-wrap {
    height: 600px;
    width: 100vw;
  }

  .hero-side-video {
    object-position: center center;
    width: 100vw;
  }
}

/* ==============================
   ЗАГАЛЬНІ СТИЛІ СЕКЦІЙ
============================== */

.section-container {
  width: min(100% - 80px, 1440px);
  margin: 0 auto;
}

.section {
  padding: 100px 0;
}

.requests-section {
  background:
    radial-gradient(
      circle at 90% 10%,
      rgba(168, 108, 115, 0.12),
      transparent 35%
    ),
    var(--back);
  overflow: hidden;
}

.section__heading {
  max-width: 920px;
  margin-bottom: 50px;
}

.section__heading h2 {
  max-width: 900px;
  font-size: clamp(48px, 6vw, 92px);
  line-height: 0.98;
  text-transform: uppercase;
  color: var(--text);
}

.section__heading > p {
  max-width: 720px;
  margin-top: 25px;
  font-size: 18px;
  line-height: 1.75;
  color: rgba(74, 64, 61, 0.76);
}

/* ==============================
   УНІВЕРСАЛЬНА КАРУСЕЛЬ
============================== */

.carousel {
  --carousel-gap: 24px;
  --slides-per-view: 3;

  position: relative;
  width: 100%;
}

.carousel__viewport {
  width: 100%;
  overflow: hidden;
  touch-action: pan-y;
}

.carousel__track {
  display: flex;
  gap: var(--carousel-gap);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.carousel__slide {
  flex: 0 0
    calc(
      (100% - (var(--slides-per-view) - 1) * var(--carousel-gap)) /
        var(--slides-per-view)
    );
  min-width: 0;
}

.carousel__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 35px;
}

.carousel__navigation {
  display: flex;
  align-items: center;
  gap: 12px;
}

.carousel__button {
  position: relative;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border: 1px solid rgba(74, 64, 61, 0.32);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    opacity 0.3s ease;
}

.carousel__button span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 23px;
  height: 1px;
  background: var(--text);
  transform: translate(-50%, -50%);
  transition: background-color 0.3s ease;
}

.carousel__button span::before,
.carousel__button span::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 1px;
  background: inherit;
}

.carousel__button--prev span::before {
  top: -3px;
  left: 0;
  transform: rotate(-45deg);
}

.carousel__button--prev span::after {
  top: 3px;
  left: 0;
  transform: rotate(45deg);
}

.carousel__button--next span::before {
  top: -3px;
  right: 0;
  transform: rotate(45deg);
}

.carousel__button--next span::after {
  top: 3px;
  right: 0;
  transform: rotate(-45deg);
}

.carousel__button:hover {
  background: var(--text);
  border-color: var(--text);
}

.carousel__button:hover span {
  background: #fff;
}

.carousel__button:disabled {
  opacity: 0.3;
  cursor: default;
}

.carousel__button:disabled:hover {
  background: transparent;
  border-color: rgba(74, 64, 61, 0.32);
}

.carousel__button:disabled:hover span {
  background: var(--text);
}

.carousel__pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.carousel__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(74, 64, 61, 0.25);
  cursor: pointer;
  transition:
    width 0.3s ease,
    border-radius 0.3s ease,
    background-color 0.3s ease;
}

.carousel__dot.is-active {
  width: 35px;
  border-radius: 20px;
  background: var(--accent);
}

/* ==============================
   КАРТКИ ЗАПИТІВ
============================== */

.request-card {
  position: relative;
  min-height: 570px;
  display: flex;
  align-items: flex-end;
  padding: 38px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 2px;
  color: #fff;
  background: #3d3533;
}

.request-card__content {
  width: 100%;
  position: relative;
  z-index: 1;
}

.request-card__number {
  display: block;
  margin-bottom: 18px;
  font-family: var(--third-family);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.75);
}

.request-card h3 {
  margin-bottom: 18px;
  font-size: clamp(39px, 3vw, 58px);
  line-height: 1;
  color: #fff;
}

.request-card p {
  max-width: 390px;
  min-height: 105px;
  margin-bottom: 28px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
}

.request-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  min-width: 190px;
  padding: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition:
    border-color 0.3s ease,
    opacity 0.3s ease;
}

.request-card__button:hover {
  border-color: #fff;
}

.btn__arrow {
  position: relative;
  width: 42px;
  height: 16px;
  flex: 0 0 42px;
  transition: transform 0.32s ease;
}

.btn__arrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 36px;
  height: 1px;
  background: currentColor;
  transform: translateY(-50%);
}

.btn__arrow::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.btn:hover .btn__arrow {
  transform: translateX(6px);
}

@media (min-width: 1101px) {
  .requests-carousel .carousel__slide {
    transition: transform 0.55s ease;
  }
}

@media (max-width: 1100px) {
  .section-container {
    width: min(100% - 40px, 1440px);
  }

  .section {
    padding: 80px 0;
  }

  .carousel {
    --slides-per-view: 2;
  }

  .request-card {
    min-height: 540px;
  }
}

@media (max-width: 700px) {
  .section-container {
    width: calc(100% - 32px);
  }

  .section {
    padding: 50px 0;
  }

  .requests-section__heading {
    margin-bottom: 30px;
  }

  .section__heading h2 {
    font-size: clamp(42px, 10vw, 60px);
  }

  .section__heading > p {
    margin-top: 20px;
    font-size: 16px;
  }

  .carousel {
    --carousel-gap: 16px;
    --slides-per-view: 1;
  }

  .request-card {
    min-height: 520px;
    padding: 30px 24px;
  }

  .request-card p {
    min-height: auto;
    margin-bottom: 24px;
    font-size: 15px;
  }

  .carousel__footer {
    margin-top: 25px;
  }

  .carousel__button {
    width: 52px;
    height: 52px;
  }

  .carousel__pagination {
    gap: 7px;
  }

  .carousel__dot {
    width: 7px;
    height: 7px;
  }

  .carousel__dot.is-active {
    width: 27px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .carousel__track,
  .request-card,
  .request-card::before,
  .request-card__button::after {
    transition: none;
  }
}

.request-card {
  position: relative;
  min-height: 570px;
  display: flex;
  align-items: flex-end;
  padding: 38px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 2px;
  color: #fff;
  background: var(--accent);
}

/* Картки без фото */
.request-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
}

.request-card:nth-child(odd)::before {
  background-image: var(--card-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Затемнення лише на картках із фото */
.request-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(48, 36, 34, 0.08) 0%,
    rgba(48, 36, 34, 0.28) 45%,
    rgba(48, 36, 34, 0.62) 100%
  );
}

.request-card:nth-child(odd)::after {
  background: linear-gradient(
    180deg,
    rgba(20, 17, 16, 0.18) 0%,
    rgba(20, 17, 16, 0.48) 45%,
    rgba(20, 17, 16, 0.94) 100%
  );
}

.request-card:nth-child(odd):hover::before {
  transform: scale(1.07);
}
.approach {
  position: relative;
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(168, 108, 115, 0.09),
      transparent 32%
    ),
    var(--back);
  overflow: hidden;
}

.approach__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(480px, 1.15fr);
  align-items: stretch;
  min-height: 780px;
}

.approach__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px 70px 90px 0;
}

.section-title {
  max-width: 720px;
  font-size: clamp(52px, 6vw, 92px);
  line-height: 0.94;
  text-transform: uppercase;
  color: var(--text);
}

.approach__quote {
  max-width: 620px;
  padding-left: 28px;
  border-left: 1px solid var(--accent);
  font-family: "NS", serif;
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 1.45;
  color: var(--text);
}

.approach__text {
  max-width: 590px;
  margin: 32px 0 42px;
}

.approach__text p {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(74, 64, 61, 0.78);
}

.approach__text p + p {
  margin-top: 14px;
}

.approach__visual {
  position: relative;
  min-height: 780px;
  overflow: hidden;
}

.approach__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      var(--back) 0%,
      rgba(248, 243, 238, 0.5) 12%,
      transparent 34%
    ),
    linear-gradient(180deg, transparent 68%, rgba(40, 30, 28, 0.4) 100%);
  pointer-events: none;
}

.approach__visual img {
  width: 100%;
  height: 100%;
  min-height: 780px;
  display: block;
  object-fit: cover;
  object-position: center 35%;
}

.approach__caption {
  position: absolute;
  right: 34px;
  bottom: 30px;
  z-index: 2;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.approach__caption span {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  background: rgba(50, 35, 34, 0.18);
}

.approach .section__heading {
  min-width: 600px;
}

@media (max-width: 900px) {
  .approach {
    padding: 0 0 50px;
  }

  .approach .section-container {
    width: 100%;
  }

  .approach__layout {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }

  .approach__visual {
    order: 1;
    min-height: 500px;
    height: 500px;
  }

  .approach__visual img {
    min-height: 500px;
    height: 500px;
    object-position: center 25%;
  }

  .approach__visual::before {
    background: linear-gradient(
      180deg,
      transparent 40%,
      rgba(248, 243, 238, 0.18) 68%,
      var(--back) 100%
    );
  }

  .approach__caption {
    display: none;
  }

  .approach__content {
    order: 2;
    width: calc(100% - 32px);
    margin: -85px auto 0;
    padding: 0;
  }

  .approach__content .section-kicker {
    position: relative;
    z-index: 3;
    color: var(--text);
  }

  .section-title {
    position: relative;
    z-index: 3;
    max-width: 100%;
    font-size: clamp(43px, 13vw, 62px);
    line-height: 0.98;
  }

  .approach__quote {
    padding-left: 20px;
    font-size: 24px;
  }

  .approach__text {
    margin: 25px 0 32px;
  }

  .approach__text p {
    font-size: 16px;
  }

  .approach .btn {
    width: 100%;
  }
  .section__heading {
    margin-bottom: 20px;
    min-width: 100%;
  }
  .approach .section__heading {
    min-width: 100%;
  }
  .request-card {
    padding: 20px;
  }
}

.request-card {
  position: relative;
  overflow: hidden;
}

.request-card__logo {
  position: absolute;
  top: -25px;
  right: -25px;

  width: 180px;

  opacity: 0.3;

  pointer-events: none;
  user-select: none;
}

.request-card__logo img {
  width: 100%;
  display: block;

  filter: grayscale(1) brightness(0) invert(1);
}
.request-card__logo {
  position: absolute;

  right: -80px;
  bottom: -80px;

  width: 300px;

  transform: rotate(-15deg);
}
/* ==========================================
   МЕТОДИ РОБОТИ
========================================== */

.methods {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 88% 7%,
      rgba(216, 184, 188, 0.22),
      transparent 28%
    ),
    var(--back);
}

.methods::before {
  content: "";
  position: absolute;
  top: 35px;
  right: 4%;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(168, 108, 115, 0.09);
  border-radius: 50%;
  pointer-events: none;
}

.methods__heading {
  position: relative;
  z-index: 1;
}

.methods__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.method-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid rgba(74, 64, 61, 0.13);
  background: rgba(255, 255, 255, 0.32);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    background-color 0.35s ease,
    box-shadow 0.35s ease;
}

.method-card:hover {
  transform: translateY(-6px);
  border-color: rgba(168, 108, 115, 0.4);
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 22px 50px rgba(74, 64, 61, 0.07);
}

.method-card--accent {
  background: linear-gradient(
    145deg,
    rgba(216, 184, 188, 0.45),
    rgba(239, 230, 222, 0.72)
  );
}

.method-card__number {
  align-self: flex-end;
  margin-bottom: 38px;
  font-family: var(--third-family);
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 2px;
  color: var(--accent);
}

.method-card__body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.method-card h3 {
  max-width: 340px;
  font-size: clamp(29px, 2.1vw, 40px);
  line-height: 1.04;
  color: var(--text);
}

.method-card__line {
  width: 32px;
  height: 1px;
  display: block;
  margin: 20px 0 22px;
  background: var(--accent);
  transition: width 0.35s ease;
}

.method-card:hover .method-card__line {
  width: 62px;
}

.method-card p {
  max-width: 360px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(74, 64, 61, 0.72);
}

.method-card__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(74, 64, 61, 0.13);
  color: var(--text);
}

.method-card__link > span {
  font-family: var(--third-family);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.method-card__link:hover .btn__arrow {
  transform: translateX(6px);
}

/* Мобільний accordion на десктопі прихований */

.methods__accordion,
.methods__quote {
  display: none;
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 1100px) {
  .methods__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .method-card {
    min-height: 370px;
  }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 700px) {
  .methods {
    padding-bottom: 0;
  }

  .methods::before {
    top: 25px;
    right: -90px;
    width: 220px;
    height: 220px;
  }

  .methods__heading {
    margin-bottom: 34px;
  }

  .methods__grid {
    display: none;
  }

  .methods__accordion {
    display: block;
    border-top: 1px solid rgba(74, 64, 61, 0.14);
  }

  .method-accordion {
    border-bottom: 1px solid rgba(74, 64, 61, 0.14);
    background: rgba(255, 255, 255, 0.18);
  }

  .method-accordion summary {
    min-height: 82px;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 12px;
    padding: 16px 12px;
    cursor: pointer;
    list-style: none;
  }

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

  .method-accordion__number {
    font-family: var(--third-family);
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--accent);
  }

  .method-accordion__title {
    font-family: "NS", serif;
    font-size: 23px;
    line-height: 1.08;
    color: var(--text);
  }

  .method-accordion__toggle {
    position: relative;
    width: 18px;
    height: 18px;
  }

  .method-accordion__toggle::before,
  .method-accordion__toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--text);
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
  }

  .method-accordion__toggle::before {
    width: 14px;
    height: 1px;
  }

  .method-accordion__toggle::after {
    width: 1px;
    height: 14px;
  }

  .method-accordion[open] .method-accordion__toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
  }

  .method-accordion[open] {
    background: rgba(216, 184, 188, 0.18);
  }

  .method-accordion__content {
    padding: 0 52px 24px 60px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .method-accordion__content p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(74, 64, 61, 0.72);
  }

  .methods__quote {
    position: relative;
    display: block;
    margin: 0 -16px;
    padding: 48px 34px 50px 76px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--accent) 0%, #ba8389 100%);
    color: #fff;
  }

  .methods__quote-mark {
    position: absolute;
    top: 22px;
    left: 30px;
    font-family: "NS", serif;
    font-size: 70px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.58);
  }

  .methods__quote p {
    position: relative;
    z-index: 1;
    font-size: 15px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.94);
  }
}

/* ==========================================
   REDUCED MOTION
========================================== */

@media (prefers-reduced-motion: reduce) {
  .method-card,
  .method-card__line,
  .method-accordion__toggle::after {
    transition: none;
  }
}
/* ==========================================
   ПРО МЕНЕ
========================================== */

.about {
  position: relative;
  overflow: hidden;
  background: var(--back);
}

.about__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  align-items: center;
  gap: 80px;
}

.about__visual {
  position: relative;
  min-height: 760px;
  overflow: hidden;
}

.about__visual img {
  width: 100%;
  height: 100%;
  min-height: 760px;
  display: block;
  object-fit: cover;
  object-position: center 25%;
  filter: saturate(0.92) contrast(0.96);
  transform: scale(1.01);
}

/* М’яке розмиття та перехід лише справа */

.about__visual-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(248, 243, 238, 0) 48%,
      rgba(248, 243, 238, 0.18) 68%,
      rgba(248, 243, 238, 0.78) 100%
    ),
    linear-gradient(
      180deg,
      rgba(74, 64, 61, 0.04) 0%,
      rgba(74, 64, 61, 0.18) 100%
    );
}
.about__visual {
  position: relative;
  overflow: hidden;
}

.about__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  background:
    linear-gradient(
      270deg,
      var(--back) 0%,
      rgba(248, 243, 238, 0.5) 12%,
      transparent 34%
    ),
    linear-gradient(180deg, transparent 68%, rgba(40, 30, 28, 0.4) 100%);
}
.about__visual::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 25%;
  height: 100%;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.45) 40%,
    #000 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.45) 40%,
    #000 100%
  );
  pointer-events: none;
}

.about__experience {
  position: absolute;
  left: 28px;
  bottom: 28px;
  z-index: 2;
  min-width: 180px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(74, 64, 61, 0.22);
  backdrop-filter: blur(10px);
  color: #fff;
}

.about__experience span {
  display: block;
  margin-bottom: 3px;
  font-family: "NS", serif;
  font-size: 28px;
  line-height: 1;
}

.about__experience p {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.about__content {
  position: relative;
  z-index: 2;
}

.about__content .section__heading {
  margin-bottom: 30px;
}

.about__content .section__heading h2 {
  max-width: 680px;
}

.about__text {
  max-width: 610px;
  margin-bottom: 34px;
}

.about__text p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(74, 64, 61, 0.76);
}

.about__text p + p {
  margin-top: 16px;
}

.about__facts {
  max-width: 610px;
  margin-bottom: 38px;
  border-top: 1px solid rgba(74, 64, 61, 0.14);
}

.about__fact {
  display: grid;
  grid-template-columns: 45px 1fr;
  align-items: center;
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(74, 64, 61, 0.14);
}

.about__fact span {
  font-family: var(--third-family);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--accent);
}

.about__fact p {
  font-family: "NS", serif;
  font-size: 25px;
  line-height: 1.1;
  color: var(--text);
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 1100px) {
  .about__layout {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
    gap: 45px;
  }

  .about__visual,
  .about__visual img {
    min-height: 650px;
  }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 700px) {
  .about__visual::before {
    display: none;
  }
  .about {
    padding: 0 0 50px;
  }

  .about .section-container {
    width: 100%;
  }

  .about__layout {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .about__visual {
    width: 100%;
    height: 520px;
    min-height: 520px;
  }

  .about__visual img {
    width: 100%;
    height: 520px;
    min-height: 520px;
    object-position: center 20%;
  }

  /* Плавний перехід фото у світлий фон */

  .about__visual-overlay {
    background: linear-gradient(
      180deg,
      rgba(74, 64, 61, 0.03) 0%,
      rgba(74, 64, 61, 0.08) 48%,
      rgba(248, 243, 238, 0.22) 68%,
      rgba(248, 243, 238, 0.76) 86%,
      var(--back) 100%
    );
  }

  .about__visual::after {
    display: none;
  }

  .about__experience {
    display: none;
  }

  .about__content {
    width: calc(100% - 32px);
    margin: -115px auto 0;
    padding: 0;
  }

  .about__content .section__heading {
    position: relative;
    z-index: 3;
    margin-bottom: 28px;
  }

  .about__content .section-kicker {
    color: rgba(74, 64, 61, 0.72);
  }

  .about__content .section__heading h2 {
    max-width: 100%;
  }

  .about__content .section__heading > p {
    margin-top: 22px;
    font-size: 16px;
  }

  .about__text {
    margin-bottom: 30px;
  }

  .about__text p {
    font-size: 15px;
    line-height: 1.75;
  }

  .about__facts {
    margin-bottom: 32px;
  }

  .about__fact {
    grid-template-columns: 34px 1fr;
    gap: 10px;
    padding: 15px 0;
  }

  .about__fact p {
    font-size: 22px;
  }

  .about .btn {
    width: 100%;
  }
  .about__fact span {
    font-family: var(--third-family);
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--accent);
  }
}

@media (max-width: 430px) {
  .about__visual,
  .about__visual img {
    height: 460px;
    min-height: 460px;
  }

  .about__content {
    margin-top: -50px;
  }
}

/* ==========================================
   REDUCED MOTION
========================================== */

@media (prefers-reduced-motion: reduce) {
  .about__visual img {
    transform: none;
  }
}

.certificate-slider {
  position: relative;
  height: 500px;
  margin-top: 70px;
}

.certificate-track {
  position: relative;
  height: 100%;
}

.certificate-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 340px;
  padding: 12px;
  background: #fff;
  box-shadow: 0 25px 70px rgba(87, 81, 85, 0.14);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.7);
  transition: 0.55s ease;
  pointer-events: none;
}

.certificate-slide img {
  width: 100%;
  display: block;
}

.certificate-slide.active {
  width: 500px;
  opacity: 1;
  z-index: 5;
  transform: translate(-50%, -50%) scale(1);
}

.certificate-slide.prev {
  opacity: 1;
  z-index: 4;
  transform: translate(-120%, -42%) scale(0.72) rotate(-5deg);
}

.certificate-slide.next {
  opacity: 1;
  z-index: 4;
  transform: translate(20%, -42%) scale(0.72) rotate(5deg);
}

.certificate-slide.prev-2 {
  opacity: 0.8;
  z-index: 3;
  transform: translate(-165%, -20%) scale(0.55) rotate(-8deg);
}

.certificate-slide.next-2 {
  opacity: 0.8;
  z-index: 3;
  transform: translate(65%, -20%) scale(0.55) rotate(8deg);
}

.cert-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 70px;
  height: 70px;

  border: none;
  background: transparent;

  cursor: pointer;
  z-index: 20;
}

.cert-prev {
  left: -10px;
}

.cert-next {
  right: -10px;
}

.cert-prev span,
.cert-next span {
  position: absolute;
  top: 50%;
  left: 50%;

  width: 40px;
  height: 1px;

  background: var(--text);

  transition: 0.35s ease;
}

.cert-prev span::before,
.cert-prev span::after {
  content: "";

  position: absolute;

  width: 12px;
  height: 1px;

  background: var(--text);

  left: -2px;
}

.cert-prev span::before {
  transform: rotate(-45deg);
  top: -4px;
}

.cert-prev span::after {
  transform: rotate(45deg);
  top: 4px;
}

.cert-next span::before,
.cert-next span::after {
  content: "";

  position: absolute;

  width: 12px;
  height: 1px;

  background: var(--text);

  right: -2px;
}

.cert-next span::before {
  transform: rotate(45deg);
  top: -4px;
}

.cert-next span::after {
  transform: rotate(-45deg);
  top: 4px;
}

.cert-btn:hover span {
  width: 55px;
}

.cert-btn:hover span,
.cert-btn:hover span::before,
.cert-btn:hover span::after {
  background: var(--wine-dark);
}

@media (max-width: 768px) {
  .certificate-slider {
    height: 365px;
    margin-top: 0;
  }

  .certificate-slide.active {
    width: 78vw;
  }

  .certificate-slide.prev {
    transform: translate(-105%, -45%) scale(0.55) rotate(-5deg);
  }

  .certificate-slide.next {
    transform: translate(5%, -45%) scale(0.55) rotate(5deg);
  }

  .certificate-slide.prev-2,
  .certificate-slide.next-2 {
    opacity: 0;
  }

  .cert-prev {
    left: 30vw;
    top: 95%;
  }

  .cert-next {
    right: 30vw;
    top: 95%;
  }

  .cert-prev span {
    left: 0;
  }
  .cert-prev span {
    right: 0;
  }

  .certificates .section-description {
    margin-bottom: 0;
    overflow: hidden;
  }
}

html,
body {
  overflow-x: hidden;
}

@media (max-width: 768px) {
  .certificates .container.w-100 {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  .certificate-slider {
    width: 100vw;
    margin-left: calc(50% - 50vw);
  }
}

/*=====================================
Difference
======================================*/

.difference {
  position: relative;
  overflow: hidden;
  padding: 180px 0;
  color: #fff;
}

.difference__bg {
  position: absolute;
  inset: 0;
}

.difference__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.difference__overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(
    180deg,
    rgba(20, 18, 17, 0.42),
    rgba(20, 18, 17, 0.62)
  );
}

.difference__content {
  position: relative;
  z-index: 2;

  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.section-kicker--white {
  color: rgba(255, 255, 255, 0.88);
}

.section__heading h2.section-title-white {
  color: #fff;
}

.difference__quote {
  margin: 55px auto;

  font-family: "NS";
  font-size: clamp(34px, 3vw, 54px);
  font-style: italic;
  line-height: 1.2;
  color: #fff;
}

.difference__items {
  display: flex;
  flex-direction: column;
  gap: 42px;
  margin-bottom: 40px;
}

.difference__item {
  position: relative;
}

.difference__main .btn {
  margin: auto;
}

.difference__item:not(:last-child)::after {
  content: "";
  width: 90px;
  height: 1px;

  background: rgba(255, 255, 255, 0.25);

  display: block;

  margin: 42px auto 0;
}

.difference__item p {
  max-width: 760px;

  margin: auto;

  font-size: 22px;
  line-height: 1.8;

  color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 991px) {
  .difference {
    padding: 120px 0;
  }

  .difference__quote {
    margin: 40px auto;

    font-size: 32px;
  }

  .difference__item p {
    font-size: 18px;
    line-height: 1.75;
  }
}

@media (max-width: 767px) {
  .difference {
    padding: 90px 0;
  }

  .difference__content {
    text-align: left;
  }

  .section__heading--center {
    text-align: left;
  }

  .difference__quote {
    margin: 30px 0;

    font-size: 28px;
  }

  .difference__item:not(:last-child)::after {
    margin: 28px 0 0;
  }

  .difference__item p {
    font-size: 16px;
  }
  .difference__items {
    margin-bottom: 30px;
    gap: 20px;
  }
}

/* ==========================================
   CONTACTS
========================================== */

.approach--contacts {
  background: var(--back);
}

.approach--contacts .approach__content {
  padding-right: 60px;
}

.approach--contacts .approach__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  background:
    linear-gradient(
      90deg,
      var(--back) 0%,
      rgba(248, 243, 238, 0.5) 12%,
      transparent 34%
    ),
    linear-gradient(180deg, transparent 68%, rgba(40, 30, 28, 0.32) 100%);
}

.contact-list {
  max-width: 610px;
  margin: 38px 0 42px;
  border-top: 1px solid rgba(74, 64, 61, 0.16);
}

.contact-list__item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;

  padding: 23px 0;

  border-bottom: 1px solid rgba(74, 64, 61, 0.16);
  color: var(--text);

  transition:
    padding 0.3s ease,
    color 0.3s ease;
}

.contact-list__item:hover {
  padding-left: 12px;
  color: var(--accent);
}

.contact-list__label {
  font-family: var(--third-family);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: var(--accent);
}

.contact-list__value {
  font-family: "NS", serif;
  font-size: 28px;
  line-height: 1.1;
}

.contact-list__item .btn__arrow {
  transition: transform 0.3s ease;
}

.contact-list__item:hover .btn__arrow {
  transform: translateX(6px);
}

@media (max-width: 700px) {
  .approach--contacts {
    padding: 0 0 50px;
  }

  .approach--contacts .section-container {
    width: 100%;
  }

  .approach--contacts .approach__layout {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .approach--contacts .approach__visual {
    order: 1;
    width: 100%;
    height: 520px;
    min-height: 520px;
  }

  .approach--contacts .approach__visual img {
    width: 100%;
    height: 520px;
    min-height: 520px;
    object-position: center 20%;
  }

  .approach--contacts .approach__visual::before {
    background: linear-gradient(
      180deg,
      rgba(74, 64, 61, 0.03) 0%,
      rgba(74, 64, 61, 0.08) 48%,
      rgba(248, 243, 238, 0.2) 68%,
      rgba(248, 243, 238, 0.78) 86%,
      var(--back) 100%
    );
  }

  .approach--contacts .approach__content {
    order: 2;
    position: relative;
    z-index: 3;

    width: calc(100% - 32px);
    margin: -110px auto 0;
    padding: 0;
  }

  .contact-list {
    margin: 30px 0 34px;
  }

  .contact-list__item {
    grid-template-columns: 82px minmax(0, 1fr) 34px;
    gap: 10px;
    padding: 19px 0;
  }

  .contact-list__item:hover {
    padding-left: 0;
  }

  .contact-list__label {
    font-size: 10px;
    letter-spacing: 1px;
  }

  .contact-list__value {
    font-size: 22px;
  }

  .approach--contacts .btn {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .approach--contacts .approach__visual,
  .approach--contacts .approach__visual img {
    height: 460px;
    min-height: 460px;
  }

  .approach--contacts .approach__content {
    margin-top: -50px;
  }
}

/*======================================
Footer
======================================*/

.footer {
  padding: 30px 0 15px;

  background: var(--back);

  border-top: 1px solid rgba(74, 64, 61, 0.12);
}

.footer__top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 80px;
  align-items: start;
}

.footer__logo img {
  width: 50px;
  display: block;
}

.footer__nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px 34px;
}

.footer__nav a,
.footer__socials a,
.footer__bottom a {
  font-size: 14px;
  color: var(--text);

  transition: 0.3s;
}

.footer__nav a:hover,
.footer__socials a:hover,
.footer__bottom a:hover {
  color: var(--accent);
}

.footer__socials {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
}

.footer__bottom {
  margin-top: 20px;
  padding-top: 25px;

  border-top: 1px solid rgba(74, 64, 61, 0.1);

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer__bottom p {
  font-size: 13px;
  color: rgba(74, 64, 61, 0.7);
}
@media (max-width: 991px) {
  .footer {
    padding: 60px 0 25px;
  }

  .footer__top {
    grid-template-columns: 1fr;

    gap: 40px;

    text-align: center;
  }

  .footer__logo {
    justify-self: center;
  }

  .footer__logo img {
    width: 80px;
  }

  .footer__nav {
    flex-direction: column;
    gap: 16px;
  }

  .footer__socials {
    align-items: center;
  }

  .footer__bottom {
    margin-top: 40px;

    flex-direction: column;

    text-align: center;
  }
}
