/* ===== Variables & reset ===== */
:root {
  --background: #e4e5e0;
  --foreground: #5a5f58;
  --header: #d9d9d2;
  --sage: #8fa091;
  --sage-dark: #748575;
  --sage-card: #8b9789;
  --sage-about: #849483;
  --beige: #e0ded6;
  --cream: #f4f2eb;
  --radius: 1.25rem;
  --font-sans: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --font-serif: "Forum", ui-serif, Georgia, serif;
  --font-script: "Good Vibes Pro", cursive;
  --silver: #d4d8d4;
}

@font-face {
  font-family: "Good Vibes Pro";
  src: url("assets/fonts/GoodVibesCyr.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

img { display: block; max-width: 100%; height: auto; }

.img-cover {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

address { font-style: normal; }

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 1rem;
}

.container--narrow { max-width: 48rem; }
.container--contacts { max-width: 64rem; }

.section { padding-block: 4rem; position: relative; overflow: hidden; }

@media (min-width: 768px) {
  .section { padding-block: 6rem; }
}

.bg-pattern-waves {
  background-color: #e8e4dc;
  background-image: url("assets/web/background/IMG_20260425_235404%201%20(1).png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.bg-light {
  background-color: #e9e7e3;
}

.bg-reviews-wash {
  background-color: #ebe8e4;
}

/* ===== Reviews ===== */
/* Frame vertical centers + horizontal boxes — measured on отзывы.png.
   Cards are anchored to the frame CENTER (translateY -50%), so editing the
   review text keeps it balanced inside the silver frame at any window size. */
.reviews {
  background-color: #f2f1ed;
  padding-block: 0;
}

.reviews.section {
  overflow: visible;
}

.reviews__stage {
  --r1-cy: 23.3%;
  --r1-left: 6%;
  --r1-w: 37%;
  --r2-cy: 50%;
  --r2-left: 32%;
  --r2-w: 37%;
  --r3-cy: 77%;
  --r3-left: 59%;
  --r3-w: 37%;
  position: relative;
  width: 100%;
  line-height: 0;
  container-type: inline-size;
}

.reviews__stage-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}

.reviews__title {
  position: absolute;
  top: 1.2%;
  left: 50%;
  z-index: 5;
  margin: 0;
  padding: 0 0.7em;
  transform: translateX(-50%);
  background: #f2f1ed;
  font-family: var(--font-serif);
  font-size: max(16px, 3.2cqi);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: #6f7a6f;
}

.reviews__overlay {
  position: absolute;
  inset: 0;
  font-size: max(11px, 1.5cqi);
  line-height: 1.5;
}

.review-card {
  position: absolute;
  left: var(--left);
  top: var(--cy);
  width: var(--w);
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.3em;
  text-align: left;
  pointer-events: none;
}

.review-card__name {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.25em;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.1em;
  color: #8b9485;
}

.review-card__text {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.78em;
  line-height: 1.3;
  color: #5c5f5a;
}

.review-card--1 {
  --left: var(--r1-left);
  --cy: var(--r1-cy);
  --w: var(--r1-w);
  z-index: 1;
}

.review-card--2 {
  --left: var(--r2-left);
  --cy: var(--r2-cy);
  --w: var(--r2-w);
  z-index: 2;
}

.review-card--3 {
  --left: var(--r3-left);
  --cy: var(--r3-cy);
  --w: var(--r3-w);
  z-index: 3;
}

/* Narrow screens: the wide decorative frame becomes unreadable, so reviews
   fall back to a stacked list of cards styled like the silver frames. */
@media (max-width: 600px) {
  .reviews__stage {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    padding: 2.25rem 1.1rem 2.5rem;
    line-height: 1.5;
  }

  .reviews__stage-img {
    display: none;
  }

  .reviews__title {
    position: static;
    transform: none;
    margin-bottom: 0.35rem;
    padding: 0;
    background: none;
    font-size: 1.5rem;
    text-align: center;
  }

  .reviews__overlay {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    font-size: 1rem;
  }

  /* card mimics the silver passe-partout frame from the desktop image */
  .review-card {
    position: static;
    left: auto;
    top: auto;
    width: auto;
    transform: none;
    gap: 0.45rem;
    padding: 1.35rem 1.4rem;
    background: linear-gradient(180deg, #faf8f2 0%, #f1eee6 100%);
    border: 1px solid #bcc0b7;
    border-radius: 3px;
    box-shadow:
      inset 0 0 0 4px #faf8f2,
      inset 0 0 0 5px #d2d5cc;
  }

  .review-card__name {
    font-size: 1.1rem;
  }

  .review-card__text {
    font-size: 0.92rem;
    color: #565a54;
  }
}

/* ===== Shared components ===== */
.section-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgb(143 160 145 / 0.35);
}

.section-title-row--end { align-items: flex-end; }
.section-title-row--faq { border-color: #a8aaa2; }

.section-title {
  font-family: var(--font-serif);
  font-size: 2.125rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #5a615a;
}

.section-title--services { color: #6d756d; }
.section-title--faq { color: #7d7d7d; }
.section-title--contacts { color: var(--sage); }

.section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--sage);
}

.section-icon svg { width: 100%; height: 100%; }
.section-icon--muted { color: #9aa39a; }
.section-icon--faq { color: #9a9a9a; }

@media (min-width: 768px) {
  .section-title { font-size: 2.625rem; }
  .section-title-row { margin-bottom: 2.5rem; }
  .section-icon { width: 2.5rem; height: 2.5rem; }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 3rem;
  border-radius: 1rem;
  background: var(--sage);
  color: #fafaf8;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  transition: background 0.2s, transform 0.1s;
}

.btn-primary:hover { background: #829583; }
.btn-primary:active { transform: scale(0.99); }
.btn-primary--about { min-width: 14rem; background: var(--sage-about); }
.btn-primary--about:hover { background: #758574; }
.btn-primary--wide { padding-inline: 3.5rem; font-size: 1.125rem; }

@media (min-width: 768px) {
  .btn-primary { font-size: 1.125rem; padding-inline: 3.5rem; }
}

.section-cta { display: flex; justify-content: center; margin-top: 3rem; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgb(217 217 210 / 0.98);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid rgb(0 0 0 / 0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-block: 0.75rem;
}

.site-header__logo {
  flex-shrink: 0;
  display: block;
  line-height: 0;
  border-radius: 0.75rem;
  overflow: hidden;
  background-color: #8e9b8e;
}

.site-header__logo img {
  display: block;
  height: 2.75rem;
  width: auto;
}

.site-header__nav { display: none; flex: 1; justify-content: center; }

.site-header__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.site-header__list a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  transition: color 0.2s;
}

.site-header__list a:hover { color: #3d423c; }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

.site-header__monogram {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  border: 2px solid var(--sage);
  background: #f5f5f2;
  object-fit: cover;
}

.site-header__burger {
  display: flex;
  padding: 0.5rem;
  border: none;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--foreground);
  cursor: pointer;
}

.site-header__burger:hover { background: rgb(0 0 0 / 0.05); }

.site-header__burger .icon-close { display: none; }
.site-header.is-open .site-header__burger .icon-menu { display: none; }
.site-header.is-open .site-header__burger .icon-close { display: block; }

.site-header__mobile {
  border-top: 1px solid rgb(0 0 0 / 0.1);
  padding-block: 0.75rem 1rem;
}

.site-header__mobile ul { display: flex; flex-direction: column; gap: 0.25rem; }

.site-header__mobile a {
  display: block;
  padding: 0.625rem 0.5rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.site-header__mobile a:hover { background: rgb(0 0 0 / 0.04); }

@media (min-width: 1024px) {
  .site-header__nav { display: flex; }
  .site-header__monogram { display: block; }
  .site-header__burger { display: none; }
  .site-header__mobile { display: none !important; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding-top: 5.25rem;
  padding-bottom: 4rem;
  background: var(--background);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgb(228 229 224 / 0.45), rgb(228 229 224 / 0.45)),
    linear-gradient(rgb(18 28 20 / 0.4), rgb(18 28 20 / 0.4)),
    rgb(143 160 145 / 0.38);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 56rem;
}

.hero__frame {
  position: relative;
  width: 100%;
  max-width: 680px;
  aspect-ratio: 1024 / 375;
  border-radius: 1.75rem;
  background-color: #d4d4d4;
  overflow: hidden;
}

.hero__brand-img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: contain;
}

.hero__tagline {
  position: relative;
  z-index: 1;
  margin-top: 2.5rem;
  max-width: 40rem;
  text-align: center;
  font-family: var(--font-script);
  font-size: clamp(1.35rem, 4vw, 2rem);
  font-weight: 400;
  line-height: 1.2;
  color: #b8bcbc;
}

.hero .btn-primary { position: relative; z-index: 1; margin-top: 2.5rem; }

@media (min-width: 768px) {
  .hero { padding-top: 7rem; padding-bottom: 6rem; }
  .hero__frame { border-radius: 2rem; }
  .hero__tagline { font-size: 2rem; }
}

/* ===== About ===== */
.about__slogan-wrap {
  position: relative;
  z-index: 2;
  max-width: 42rem;
  margin-inline: auto;
  margin-bottom: -2.5rem;
  padding-inline: 0.5rem;
}

.about__slogan {
  padding: 1.5rem;
  border-radius: 1.35rem;
  background: #dcdcd6;
  text-align: center;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.about__slogan-main {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #454945;
}

.about__slogan p:not(.about__slogan-main) {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.625;
  color: #555b54;
}

.about__card {
  position: relative;
  z-index: 1;
  max-width: 48rem;
  margin-inline: auto;
  padding: 4rem 1.5rem 2.5rem;
  border-radius: 1.75rem;
  background: var(--sage-about);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.about__media {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  margin: 0 auto 2rem;
}

.about__portrait {
  width: clamp(11rem, 60vw, 15rem);
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  background: var(--sage-about);
  box-shadow: 0 12px 30px -10px rgb(40 48 38 / 0.45);
}

.about__media-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  color: rgb(255 255 255 / 0.95);
}

.about__block + .about__block { margin-top: 2rem; }

.about__block h3 {
  margin-bottom: 0.4rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgb(255 255 255 / 0.97);
}

.about__block p {
  font-size: 0.95rem;
  line-height: 1.625;
  color: rgb(255 255 255 / 0.95);
}

@media (min-width: 768px) {
  .about__slogan-wrap { margin-bottom: -3rem; }
  .about__slogan { padding: 2rem 2.5rem; }
  .about__slogan-main { font-size: 1.625rem; }
  .about__slogan p:not(.about__slogan-main) { font-size: 1rem; }
  .about__card {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 2.5rem;
    align-items: center;
    padding: 5rem 3rem 3rem;
    border-radius: 2rem;
  }
  .about__media {
    margin: 0;
    align-self: center;
  }
  .about__portrait { width: clamp(12rem, 22vw, 16rem); }
  .about__blocks { min-width: 0; }
  .about__block h3 { font-size: 1.375rem; }
  .about__block p { font-size: 1rem; }
}

/* ===== Services ===== */
.services__banner {
  max-width: 56rem;
  margin: 0 auto 2rem;
  padding: 1.25rem 1.5rem;
  border-radius: 1.35rem;
  background: var(--sage);
  text-align: center;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
}

.services__banner p {
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
}

.services__grid {
  display: grid;
  gap: 2rem;
  max-width: 72rem;
  margin-inline: auto;
  align-items: stretch;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 1rem 1rem 1.5rem;
  border-radius: 1.5rem;
  background: var(--sage-card);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.service-card__photo {
  width: 88%;
  max-width: 240px;
  aspect-ratio: 1 / 1;
  border-radius: 1.25rem;
  overflow: hidden;
  flex-shrink: 0;
}

.service-card__photo img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: top center;
}

.service-card__title {
  width: 92%;
  margin-top: 1rem;
  padding: 0.625rem 1rem;
  border-radius: 9999px;
  background: var(--beige);
  text-align: center;
}

.service-card__title h3 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #5f7262;
}

.service-card__desc {
  width: 94%;
  flex: 1;
  margin-top: 0.875rem;
  padding: 1rem;
  border: 2px solid rgb(255 255 255 / 0.35);
  border-radius: 1rem;
  background: rgb(116 133 117 / 0.45);
  text-align: center;
}

.service-card__desc p {
  font-size: 0.875rem;
  line-height: 1.625;
  color: #fff;
}

.service-card__price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-top: auto;
  padding-top: 1.25rem;
  color: rgb(255 255 255 / 0.9);
}

.service-card__price svg {
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  opacity: 0.92;
}

.service-card__price > span {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.service-card__price-value {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--silver);
  text-shadow: 0 1px 12px rgb(0 0 0 / 0.12);
}

.service-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10rem;
  margin-top: 1.25rem;
  padding: 0.75rem 1.5rem;
  border-radius: 1rem;
  background: var(--beige);
  font-size: 0.875rem;
  font-weight: 600;
  color: #5f7262;
  transition: background 0.2s;
}

.service-card__btn:hover { background: #d5d3cb; }

@media (min-width: 640px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .services__banner { margin-bottom: 2.5rem; border-radius: 1.75rem; padding-block: 1.5rem; }
  .services__banner p { font-size: 1.25rem; }
  .services__grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .service-card { padding: 1.125rem 1rem 1.75rem; border-radius: 1.65rem; }
  .service-card__photo { max-width: 220px; }
  .service-card__title h3 { font-size: 1rem; }
  .service-card__desc p { font-size: 0.95rem; }
  .service-card__price > span { font-size: 0.95rem; }
  .service-card__price-value { font-size: 1.5rem; }
}

@media (min-width: 1024px) {
  .services__grid { gap: 2rem; }
}

/* ===== Procedure ===== */
#procedure {
  scroll-margin-top: 5.5rem;
}

#procedure .section-title {
  color: var(--sage);
}

.procedure__wrap {
  position: relative;
  max-width: 42rem;
  margin-inline: auto;
  padding-top: 2.75rem;
}

.procedure__tab {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 2;
  transform: translateX(-50%);
  padding: 0.875rem 2.25rem;
  border-radius: 9999px;
  background: #e8e6df;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sage);
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.08);
  white-space: nowrap;
}

.procedure__card {
  position: relative;
  z-index: 1;
  padding: 3.5rem 1.5rem 2.5rem;
  border-radius: 1.65rem;
  background: var(--sage);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.procedure__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
}

.procedure__list li + li { margin-top: 1.5rem; }

.procedure__dot {
  width: 0.375rem;
  height: 0.375rem;
  margin-top: 0.5rem;
  border-radius: 9999px;
  background: #fff;
}

.procedure__list li > div {
  display: block;
  min-width: 0;
}

.procedure__list strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--silver);
}

.procedure__list p {
  display: block;
  margin-top: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: rgb(255 255 255 / 0.92);
}

@media (min-width: 768px) {
  .procedure__wrap { padding-top: 3rem; }
  .procedure__tab { padding-inline: 3rem; font-size: 1rem; }
  .procedure__card { padding: 4rem 3rem 3rem; border-radius: 2rem; }
  .procedure__list li { gap: 1rem; }
  .procedure__dot { width: 0.5rem; height: 0.5rem; }
  .procedure__list p { font-size: 1rem; }
}

/* ===== Results ===== */
.results {
  position: relative;
  background: #ebeae4;
  padding-top: 0;
  padding-bottom: 4rem;
  overflow: hidden;
}

.results__header-zone {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(7rem, 18vw, 10.5rem);
  padding-inline: 1rem;
}

.results__decor {
  position: absolute;
  inset: 0;
  background-color: #f4f2eb;
  background-image: url("assets/web/background/uzor.png");
  background-repeat: repeat-x;
  background-position: center;
  background-size: auto 100%;
  pointer-events: none;
}

.results__inner {
  position: relative;
  z-index: 1;
  max-width: 56rem;
  margin-top: 0;
  padding-top: 2rem;
}

.results__slider {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.results__title {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 1rem 2.25rem;
  border-radius: 1.75rem;
  background: var(--sage);
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-align: center;
  color: #fff;
  box-shadow: 0 4px 14px rgb(60 70 58 / 0.18);
}

.results__card {
  position: relative;
  padding: 2.75rem 3rem 1.75rem;
  border-radius: 1.75rem;
  background: #c2c7bf;
  box-shadow: 0 16px 40px -16px rgb(60 70 58 / 0.22);
}

.results__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  border-radius: 9999px;
  background: var(--sage);
  color: #fff;
  box-shadow: 0 4px 12px rgb(60 70 58 / 0.22);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s, transform 0.15s;
}

.results__arrow:hover { background: #7f9282; }
.results__arrow:active { transform: translateY(-50%) scale(0.96); }
.results__arrow--prev { left: 0.5rem; }
.results__arrow--next { right: 0.5rem; }

.results__slide {
  display: grid;
  gap: 1.25rem;
}

.results__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.results__badge {
  padding: 0.4rem 1.35rem;
  border-radius: 0.75rem;
  background: var(--sage);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
}

.results__frame {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 496 / 707;
  margin-inline: auto;
  border-radius: 1.15rem;
  overflow: hidden;
  background: #b0b5ad;
  box-shadow: 0 8px 20px -8px rgb(40 48 38 / 0.35);
}

.results__frame img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
}

.results__frame.is-changing img {
  opacity: 0.85;
  transition: opacity 0.15s ease;
}

.results__dots {
  display: flex;
  justify-content: center;
  gap: 0.625rem;
  margin-top: 1.75rem;
}

.results__dot {
  width: 0.625rem;
  height: 0.625rem;
  padding: 0;
  border: none;
  border-radius: 9999px;
  background: #c9cbc4;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.results__dot:hover { background: #b0b4ac; }
.results__dot.is-active { background: var(--sage); transform: scale(1.15); }

@media (min-width: 768px) {
  .results__header-zone { height: 11rem; }
  .results__inner { padding-top: 2.5rem; }
  .results__arrow { width: 2.75rem; height: 2.75rem; }
  .results__arrow--prev { left: 1rem; }
  .results__arrow--next { right: 1rem; }
  .results__title {
    padding: 1.125rem 3.75rem;
    font-size: 1.625rem;
    border-radius: 2rem;
  }
  .results__card { padding: 3.25rem 3.5rem 2.25rem; border-radius: 2rem; }
  .results__slide { grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
  .results__col { width: 100%; max-width: 320px; margin-inline: auto; }
  .results__frame { max-width: 320px; width: 100%; }
  .results__badge { font-size: 1rem; }
  .results__dot { width: 0.75rem; height: 0.75rem; }
  .results__dots { margin-top: 2rem; }
}

@media (min-width: 1024px) {
  .results__title {
    padding: 1.25rem 4.5rem;
    font-size: 1.75rem;
  }
  .results__card { padding: 3.5rem 3rem 2.5rem; }
}

/* ===== Recommendations ===== */
.recommendations {
  overflow: hidden;
  border-radius: 1.65rem;
  background: #8ba08e;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.recommendations__header {
  padding: 1rem 1.25rem;
  background: #c0cdc1;
  text-align: center;
}

.recommendations__header h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.3;
  color: #4a524a;
}

.recommendations__list {
  padding: 2rem 1.5rem;
}

.recommendations__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.75rem;
  row-gap: 0.375rem;
}

.recommendations__list li + li { margin-top: 1.25rem; }

.recommendations__list li::before {
  content: "";
  grid-column: 1;
  grid-row: 1 / -1;
  align-self: start;
  width: 0.375rem;
  height: 0.375rem;
  margin-top: 0.5rem;
  border-radius: 9999px;
  background: rgb(255 255 255 / 0.85);
}

.recommendations__list strong {
  grid-column: 2;
  grid-row: 1;
  display: block;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: var(--silver);
}

.recommendations__list p {
  grid-column: 2;
  grid-row: 2;
  margin-top: 0.15rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgb(255 255 255 / 0.92);
}

@media (min-width: 768px) {
  .recommendations { border-radius: 2rem; }
  .recommendations__header { padding: 1.25rem 2.5rem; }
  .recommendations__header h2 { font-size: 1.25rem; }
  .recommendations__list { padding: 2rem 2.5rem; }
  .recommendations__list li + li { margin-top: 1.5rem; }
}

/* ===== FAQ ===== */
.faq {
  background: #e0ddd5;
  padding-top: 0;
  padding-bottom: 2rem;
  overflow: hidden;
}

.faq__header-zone {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(7rem, 18vw, 10.5rem);
  padding-inline: 1rem;
}

.faq__header-decor {
  position: absolute;
  inset: 0;
  background-color: #f4f2eb;
  background-image: url("assets/web/background/uzor.png");
  background-repeat: repeat-x;
  background-position: center;
  background-size: auto 100%;
  pointer-events: none;
}

.faq__title {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 1rem 2.25rem;
  border-radius: 1.75rem;
  background: var(--sage);
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-align: center;
  color: #fff;
  box-shadow: 0 4px 14px rgb(60 70 58 / 0.18);
}

.faq__inner {
  position: relative;
  z-index: 1;
  margin-top: 0;
  padding-top: 2rem;
}

.faq__body {
  display: block;
}

.faq__panel {
  max-width: 48rem;
  margin-inline: auto;
  padding: 0.5rem 1.5rem;
  border-radius: 1.5rem;
  background: #f3f1ea;
  border: 1px solid rgb(143 160 145 / 0.28);
  box-shadow: 0 14px 36px -20px rgb(60 70 58 / 0.4);
}

.faq__item + .faq__item { border-top: 1px solid rgb(143 160 145 / 0.28); }

.faq__question {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.9rem;
  padding-block: 1.35rem;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.35;
  color: #434a42;
  transition: color 0.2s;
}

.faq__question:hover { color: var(--sage-dark); }

.faq__item.is-open .faq__question {
  color: #2f342e;
}

.faq__question span:first-child { flex: 1; }

.faq__chevron-wrap {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  border: 1px solid rgb(143 160 145 / 0.5);
  background: #fff;
  color: var(--sage-dark);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.faq__item.is-open .faq__chevron-wrap {
  background: var(--sage);
  border-color: var(--sage);
  color: #fff;
}

.faq__chevron { transition: transform 0.25s; }
.faq__item.is-open .faq__chevron { transform: rotate(180deg); }

.faq__answer {
  margin-top: -0.15rem;
  padding-bottom: 1.35rem;
  padding-right: 2.9rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.7;
  color: #5a6058;
}

.faq__answer[hidden] { display: none; }

@media (min-width: 768px) {
  .faq { padding-bottom: 3rem; }
  .faq__header-zone { height: 11rem; }
  .faq__inner { padding-top: 2.5rem; }
  .faq__title {
    padding: 1.125rem 3.75rem;
    font-size: 1.625rem;
    border-radius: 2rem;
  }
  .faq__panel { padding: 0.5rem 2.25rem; border-radius: 1.75rem; }
  .faq__question { padding-block: 1.5rem; gap: 1rem; font-size: 1.2rem; }
  .faq__answer { padding-bottom: 1.5rem; font-size: 0.95rem; }
}

@media (min-width: 1024px) {
  .faq__title {
    padding: 1.25rem 4.5rem;
    font-size: 1.75rem;
  }
}

/* ===== Portfolio ===== */
.portfolio {
  width: 100%;
  margin-top: 1rem;
  background: #e0ddd5;
}

.portfolio__grid {
  display: none;
  width: 100%;
  grid-template-columns: repeat(9, 1fr);
  gap: 2px;
}

.portfolio__mobile-wrap {
  padding-inline: 1rem;
}

.portfolio__mobile {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.portfolio__tile {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  border: none;
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
  background: #d4d4d4;
  transition: z-index 0s;
}

.portfolio__tile:hover {
  z-index: 2;
}

.portfolio__tile--pad {
  visibility: hidden;
  pointer-events: none;
}

.portfolio__tile-media,
.portfolio__tile-color {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.portfolio__tile-media {
  object-fit: cover;
}

.portfolio__tile:hover .portfolio__tile-media,
.portfolio__tile:hover .portfolio__tile-color,
.portfolio__tile:focus-visible .portfolio__tile-media,
.portfolio__tile:focus-visible .portfolio__tile-color {
  transform: scale(1.12);
}

.portfolio__tile:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 2px;
}

.portfolio__mobile.is-changing .portfolio__tile {
  animation: portfolio-fade 0.45s ease;
}

.portfolio__mobile.is-changing .portfolio__tile-media,
.portfolio__mobile.is-changing .portfolio__tile-color {
  transform: none;
}

@keyframes portfolio-fade {
  0% { opacity: 0.35; transform: scale(0.98); }
  100% { opacity: 1; transform: scale(1); }
}

.portfolio-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.portfolio-lightbox[hidden] { display: none; }

.portfolio-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background: rgb(20 24 20 / 0.82);
  cursor: pointer;
}

.portfolio-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 9999px;
  background: rgb(255 255 255 / 0.12);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}

.portfolio-lightbox__close:hover { background: rgb(255 255 255 / 0.22); }

.portfolio-lightbox__figure {
  position: relative;
  z-index: 1;
  width: min(92vw, 56rem);
  max-height: 88vh;
  margin: 0;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 24px 60px rgb(0 0 0 / 0.35);
  animation: portfolio-lightbox-in 0.3s ease;
}

.portfolio-lightbox__img {
  display: block;
  width: 100%;
  max-height: 88vh;
  object-fit: contain;
  background: #1a1f1a;
}

.portfolio-lightbox__placeholder {
  width: 100%;
  aspect-ratio: 1;
  max-height: 88vh;
}

@keyframes portfolio-lightbox-in {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}

@media (min-width: 768px) {
  .portfolio__grid { display: grid; }
  .portfolio__mobile-wrap { display: none; }
}

@media (max-width: 767px) {
  .portfolio__mobile-wrap { display: block; }
}

/* ===== Contacts ===== */
.contacts__cta-btn {
  display: block;
  max-width: 48rem;
  margin: 0 auto 2rem;
  padding: 1rem 1.25rem;
  border-radius: 1.35rem;
  background: var(--sage);
  text-align: center;
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
  transition: background 0.2s, transform 0.1s;
}

.contacts__cta-btn:hover { background: #7f9282; color: #fff; }
.contacts__cta-btn:active { transform: scale(0.99); }
.contacts__cta-btn:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
}

.contacts__note {
  max-width: 48rem;
  margin: 0 auto 3rem;
  padding: 1rem 1.25rem;
  border: 2px solid rgb(143 160 145 / 0.55);
  border-radius: 1.35rem;
  background: #f2f2ec;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.625;
  color: #4d554d;
}

.contacts__grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.contacts__info {
  padding: 2rem 1.5rem;
  border-radius: 1.65rem;
  background: #6f8172;
  color: #fff;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.contacts__info > div + div { margin-top: 1.25rem; }

.contacts__info dt {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: var(--silver);
}

.contacts__info dd {
  margin-top: 0.25rem;
  font-size: 0.95rem;
  opacity: 0.95;
}

.contacts__info a {
  text-decoration: underline;
  text-decoration-color: rgb(255 255 255 / 0.4);
  text-underline-offset: 2px;
}

.contacts__info a:hover { opacity: 0.9; }

.contacts__messengers {
  padding-top: 1.25rem;
  border-top: 1px solid rgb(255 255 255 / 0.2);
}

.contacts__messengers a { font-weight: 500; }

.contacts__map {
  position: relative;
  overflow: hidden;
  border-radius: 1.65rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  background: #e8ebe6;
  width: 100%;
  min-height: 20rem;
  aspect-ratio: 4 / 5;
}

.contacts__map-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.contacts__form-anchor {
  display: block;
  height: 0;
  scroll-margin-top: 5.5rem;
}

.contacts__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 36rem;
  margin: 0 auto 1rem;
}

.contacts__field,
.contacts__select-trigger {
  width: 100%;
  min-height: 3.5rem;
  padding: 0.9rem 1.25rem;
  border: 2px solid rgb(143 160 145 / 0.5);
  border-radius: var(--radius);
  background: var(--cream);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--foreground);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.contacts__field::placeholder { color: #8a918a; }

.contacts__field:hover,
.contacts__select-trigger:hover {
  border-color: rgb(143 160 145 / 0.7);
}

.contacts__field:focus,
.contacts__select-wrap.is-open .contacts__select-trigger {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgb(143 160 145 / 0.22);
  background: #fafaf8;
}

.contacts__select-wrap {
  position: relative;
  padding: 0;
  border: none;
  background: transparent;
  min-height: auto;
}

.contacts__select-native {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.contacts__select-trigger {
  display: flex;
  align-items: center;
  padding-right: 3.75rem;
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.contacts__select-trigger:focus-visible {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgb(143 160 145 / 0.22);
  background: #fafaf8;
}

.contacts__select-value--placeholder {
  color: #8a918a;
}

.contacts__select-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  border: 1px solid rgb(143 160 145 / 0.4);
  background: #fafaf8;
  color: var(--sage-dark);
  pointer-events: none;
  transition: transform 0.2s, background-color 0.2s;
}

.contacts__select-wrap.is-open .contacts__select-icon {
  transform: translateY(-50%) rotate(180deg);
  background: rgb(143 160 145 / 0.15);
}

.contacts__select-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.4rem);
  z-index: 30;
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  border: 2px solid rgb(143 160 145 / 0.45);
  border-radius: 1rem;
  background: var(--cream);
  box-shadow: 0 12px 28px rgb(60 70 58 / 0.14);
}

.contacts__select-menu[hidden] { display: none; }

.contacts__select-option {
  padding: 0.75rem 1rem;
  border-radius: 0.65rem;
  font-family: var(--font-sans);
  font-size: 0.975rem;
  line-height: 1.4;
  color: var(--foreground);
  cursor: pointer;
  transition: background-color 0.15s;
}

.contacts__select-option:hover,
.contacts__select-option.is-active {
  background: rgb(143 160 145 / 0.18);
}

.contacts__select-option.is-selected {
  background: rgb(143 160 145 / 0.28);
  font-weight: 500;
}

.contacts__select-option[aria-selected="true"] {
  color: var(--sage-dark);
}

.contacts__consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--foreground);
  cursor: pointer;
}

.contacts__consent-text {
  color: #5a5f58;
}

.contacts__checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.contacts__checkbox-box {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.15rem;
  border: 2px solid rgb(143 160 145 / 0.55);
  border-radius: 0.4rem;
  background: var(--cream);
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.contacts__checkbox-box::after {
  content: "";
  width: 0.35rem;
  height: 0.65rem;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg) scale(0);
  transition: transform 0.15s ease;
}

.contacts__checkbox:checked + .contacts__checkbox-box {
  background: var(--sage);
  border-color: var(--sage);
}

.contacts__checkbox:checked + .contacts__checkbox-box::after {
  transform: rotate(45deg) scale(1);
}

.contacts__checkbox:focus-visible + .contacts__checkbox-box {
  box-shadow: 0 0 0 2px rgb(143 160 145 / 0.35);
}

.contacts__form-status {
  margin: -0.5rem 0 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--sage);
}

.contacts__form-status.is-error { color: #9a4f4f; }
.contacts__form-status.is-success { color: #5a7a5c; }

.contacts__submit {
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 1.25rem;
  background: var(--sage);
  font-family: inherit;
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  cursor: pointer;
  transition: background 0.2s;
}

.contacts__submit:hover { background: #7f9282; }
.contacts__submit:disabled { opacity: 0.55; cursor: not-allowed; }

.contacts__call-mobile {
  text-align: center;
  font-size: 0.875rem;
  color: #6d746d;
}

.contacts__call-mobile a {
  font-weight: 500;
  color: var(--sage);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (min-width: 768px) {
  .contacts__cta-btn { border-radius: 1.65rem; padding-block: 1.25rem; font-size: 1.25rem; }
  .contacts__note { padding: 1rem 2rem; border-radius: 1.65rem; font-size: 1rem; }
  .contacts__info { padding: 2.5rem 2rem; border-radius: 2rem; font-size: 1rem; }
  .contacts__info dt { font-size: 1.15rem; }
  .contacts__info dd { font-size: 1rem; }
  .contacts__map { min-height: 22rem; border-radius: 2rem; }
  .contacts__form { gap: 1.5rem; }
  .contacts__consent { font-size: 0.95rem; }
  .contacts__call-mobile { display: none; }
}

@media (min-width: 1024px) {
  .contacts__grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 2.5rem;
  }

  .contacts__map {
    display: flex;
    flex-direction: column;
    aspect-ratio: auto;
    align-self: stretch;
    min-height: max(30rem, 100%);
  }

  .contacts__map-frame {
    position: static;
    flex: 1 1 auto;
    width: 100%;
    min-height: 30rem;
    height: 100%;
  }
}

/* ===== Footer ===== */
.site-footer {
  padding: 0;
  background: #f5efec;
}

.site-footer__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1928 / 1077;
  container-type: size;
  background: url("assets/web/footer/footer_new.png") center / 100% 100% no-repeat;
}

.site-footer__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 6.5% 1rem 7%;
  text-align: center;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: min(100%, 32rem);
}

.site-footer__logo {
  display: inline-flex;
  line-height: 0;
}

.site-footer__logo-img {
  display: block;
  width: auto;
  max-width: clamp(9rem, 18cqw, 13rem);
  border-radius: 1rem;
}

.site-footer__logo-sub {
  margin: 0;
  max-width: 22rem;
  font-size: clamp(0.8rem, 2.8cqw, 0.925rem);
  font-weight: 500;
  line-height: 1.45;
  color: #4a4f48;
}

.site-footer__emblem {
  width: clamp(4.5rem, 16cqw, 9.5rem);
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  pointer-events: none;
}

.site-footer__address {
  width: min(92%, 48rem);
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(0.9rem, 3cqw, 1.125rem);
  line-height: 1.625;
  color: #4a4f48;
  font-style: normal;
}

.site-footer__address p {
  margin: 0;
}

.site-footer__hours {
  margin-top: 0.35rem;
  font-family: var(--font-sans);
  font-size: clamp(0.75rem, 2.4cqw, 0.875rem);
  font-weight: 400;
  line-height: 1.45;
  color: #6d746d;
}

/* On narrow screens the wide footer banner is too short for the text, so let
   the stage grow with its content (inline-size containment) and stretch the
   ornament background to fill it. */
@media (max-width: 600px) {
  .site-footer__stage {
    container-type: inline-size;
    aspect-ratio: auto;
    min-height: 19rem;
    background-size: 100% 100%;
  }

  .site-footer__content {
    position: static;
    gap: 1.5rem;
    padding: 2.75rem 1rem;
  }

  .site-footer__logo-sub {
    max-width: 18rem;
    font-size: 0.9rem;
  }

  .site-footer__emblem { width: 4.75rem; }

  .site-footer__address { font-size: 1rem; }
}
