@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500&family=Montserrat:wght@300;400;500&display=swap");

:root {
  --green: #07341d;
  --gold: #cfac72;
  --black: #0b0b0b;
  --gray: #828282;
  --soft: #fafff9;
  --page: #ffffff;
  --radius-lg: 32px;
  --radius-xl: 56px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--black);
  background: #f5f5f5;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 400;
}

body.is-locked { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }

.figma-page {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
}

.home-hero {
  position: relative;
  width: 100%;
  height: clamp(360px, 38.333vw, 736px);
  overflow: hidden;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background: var(--black);
}

.home-hero__picture,
.home-hero__image {
  display: block;
  width: 100%;
  height: 100%;
}

.home-hero__image {
  object-fit: fill;
  object-position: bottom center;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(228deg, rgba(17, 17, 17, 0.4) 14%, rgba(17, 17, 17, 0) 58%);
  pointer-events: none;
}

.figma-header {
  position: absolute;
  top: 32px;
  left: clamp(24px, 5.208vw, 100px);
  right: clamp(24px, 5.208vw, 100px);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.figma-logo {
  display: block;
  width: 132px;
  height: 62px;
}

.figma-logo img,
.figma-footer__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.figma-header__right {
  display: flex;
  align-items: center;
  gap: 56px;
}

.inner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 126px;
  padding: 32px 100px;
  color: #fff;
  background: var(--green);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.inner-header__right {
  display: flex;
  align-items: center;
  gap: 56px;
}

.inner-header__right a {
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  overflow: hidden;
  border-radius: 50%;
}

.social-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.social-icon--tg {
  background: linear-gradient(180deg, #2aabee 0%, #229ed9 100%);
}

.social-icon--tg img {
  width: 54%;
  height: 46%;
}

.social-icon--max {
  background: #ff4433;
}

.social-icon--max img:first-child {
  position: absolute;
  inset: 0;
}

.social-icon--max img:last-child {
  position: relative;
  width: 58%;
  height: 58%;
}

.social-icon--plain img {
  width: 62.5%;
  height: 39.583%;
}

.social-icon--plain {
  background: #0077ff;
}

.social-icon--ig {
  background: #bb6bd9;
}

.social-icon--ig img {
  width: 62%;
  height: 62%;
}

.social-icons--contacts {
  margin-top: -2px;
}

.social-icons--menu .social-icon {
  width: 32px;
  height: 32px;
  border: 0;
}

.social-icons--menu .social-icon img {
  filter: none;
  opacity: 1;
}

.social-icons--menu .social-icon--max {
  display: grid;
}

.page-title {
  display: grid;
  gap: 24px;
  padding: 24px 100px 0;
}

.page-title nav {
  display: flex;
  gap: 8px;
  color: var(--green);
  font-size: 12px;
  line-height: 18px;
}

.page-title nav span:last-child {
  color: #7d9283;
}

.page-title h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 46px;
  text-transform: uppercase;
}

.text-link {
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  cursor: pointer;
  font-size: 16px;
  line-height: 24px;
}

.menu-lines {
  position: relative;
  display: block;
  width: 32px;
  height: 24px;
  padding: 0;
  background: url("../assets/images/menu-header.svg?v=mobile9") center / 32px 24px no-repeat;
  border: 0;
  cursor: pointer;
}

.menu-lines span {
  display: none;
}

.menu-lines--close {
  background: transparent;
}

.menu-lines--close::before,
.menu-lines--close::after {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 32px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transform-origin: center;
}

.menu-lines--close::before {
  transform: rotate(45deg);
}

.menu-lines--close::after {
  transform: rotate(-45deg);
}

.home-hero__content {
  position: absolute;
  z-index: 2;
  left: clamp(24px, 5.208vw, 100px);
  top: clamp(220px, 23.75vw, 456px);
  width: min(430px, calc(100% - 48px));
  color: #fff;
}

.home-hero__content p {
  margin: 0 0 32px;
  font-size: clamp(17px, 1.25vw, 24px);
  line-height: 1.333;
}

.gold-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 16px 64px;
  color: var(--green);
  background: var(--gold);
  border: 0;
  border-radius: 24px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  white-space: nowrap;
}

.gold-button img {
  display: none;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.gold-button--hero {
  min-width: 260px;
}

.home-hero__arrow {
  position: absolute;
  z-index: 2;
  right: clamp(24px, 5.208vw, 100px);
  bottom: 96px;
  width: 1px;
  height: 40px;
  padding: 0;
  background: #fff;
  border: 0;
}

.scandal-word {
  display: flex;
  width: 100%;
  height: clamp(118px, 12.344vw, 237px);
  overflow: visible;
  background: #fff;
  color: var(--green);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(82px, 10.1vw, 194px);
  line-height: 1.22;
  text-transform: uppercase;
  white-space: nowrap;
}

.scandal-word span {
  display: block;
  width: 1004px;
}

.scandal-word span + span {
  margin-left: clamp(120px, 10.2vw, 196px);
}

.intro-section,
.services-section,
.about-section,
.reviews-section,
.contacts-section {
  width: 100%;
  padding: 160px 100px;
}

.intro-section {
  padding-top: 96px;
}

.intro-section h1,
.section-title-row h2,
.green-promo h2,
.about-section h2,
.certificate-section h2,
.trust-section h2,
.reviews-section h2,
.contacts-section h2,
.figma-footer h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  text-transform: uppercase;
}

.intro-section h1 {
  margin-bottom: 40px;
  font-size: clamp(40px, 3.333vw, 64px);
  line-height: 1.17;
  text-align: center;
}

.intro-section > img {
  width: calc(100% + 112px);
  max-width: none;
  height: 560px;
  margin-left: -56px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.intro-section__bottom {
  display: grid;
  grid-template-columns: minmax(0, 953px) 631px;
  gap: 136px;
  margin-top: 40px;
}

.intro-copy {
  display: grid;
  gap: 32px;
  font-size: 18px;
  font-weight: 300;
  line-height: 24px;
}

.intro-copy p,
.booking-card h2,
.section-title-row p,
.about-text p,
.certificate-section p,
.reviews-grid p,
.contact-list p,
.figma-footer p {
  margin: 0;
}

.booking-card {
  display: grid;
  gap: 40px;
  padding: 32px;
  color: #fff;
  background: var(--green);
  border-radius: var(--radius-lg);
}

.booking-card h2 {
  font-size: 40px;
  line-height: 1;
}

.booking-card .gold-button {
  width: 100%;
}

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 96px;
}

.section-title-row h2,
.about-section h2,
.reviews-section h2,
.contacts-section h2 {
  font-size: 40px;
  line-height: 46px;
}

.section-title-row p {
  font-size: 24px;
  line-height: 32px;
}

.service-grid-figma {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 32px;
}

.service-tile {
  display: grid;
  gap: 24px;
}

.services-section .service-tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 486px;
  padding: 32px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.services-section .service-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(17, 17, 17, 0) 56%, rgba(17, 17, 17, 0.42));
}

.service-tile img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.services-section .service-tile img {
  position: absolute;
  inset: 0;
  height: 100%;
  border-radius: inherit;
}

.service-tile span {
  color: var(--green);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
  line-height: 32px;
  text-transform: uppercase;
}

.services-section .service-tile span,
.services-section .service-tile i {
  position: relative;
  z-index: 1;
}

.services-section .service-tile span {
  color: #fff;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
  text-transform: none;
}

.service-tile i {
  width: 24px;
  height: 24px;
  border-top: 1px solid var(--green);
  border-right: 1px solid var(--green);
  transform: rotate(45deg);
}

.services-section .service-tile i {
  border-color: #fff;
}

.services-list-page {
  padding: 40px 100px 80px;
}

.service-tile--overlay {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 486px;
  padding: 32px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.service-tile--overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(17, 17, 17, 0) 56%, rgba(17, 17, 17, 0.42));
}

.service-tile--overlay img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.service-tile--overlay span,
.service-tile--overlay i {
  position: relative;
  z-index: 1;
}

.service-tile--overlay span {
  color: #fff;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
  text-transform: none;
}

.service-tile--overlay i {
  border-color: #fff;
}

.services-page .services-list-page .service-tile--overlay {
  isolation: isolate;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform 320ms ease;
}

.services-page .services-list-page .service-tile--overlay::after {
  transition: opacity 320ms ease;
}

.services-page .services-list-page .service-tile--overlay img {
  transition: transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

.services-page .services-list-page .service-tile--overlay span,
.services-page .services-list-page .service-tile--overlay i {
  transition: transform 320ms ease;
}

.services-page .services-list-page .service-tile--overlay:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
  .services-page .services-list-page .service-tile--overlay:hover {
    transform: translateY(-4px);
  }

  .services-page .services-list-page .service-tile--overlay:hover::after {
    opacity: 0.88;
  }

  .services-page .services-list-page .service-tile--overlay:hover img {
    transform: scale(1.04);
  }

  .services-page .services-list-page .service-tile--overlay:hover span {
    transform: translateY(-2px);
  }

  .services-page .services-list-page .service-tile--overlay:hover i {
    transform: translate(4px, -4px) rotate(45deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-page .services-list-page .service-tile--overlay,
  .services-page .services-list-page .service-tile--overlay::after,
  .services-page .services-list-page .service-tile--overlay img,
  .services-page .services-list-page .service-tile--overlay span,
  .services-page .services-list-page .service-tile--overlay i {
    transition: none;
  }
}

.contacts-section--compact {
  padding-top: 80px;
}

.service-detail-hero {
  display: grid;
  gap: 40px;
  padding: 40px 100px 80px;
}

.service-detail-hero > img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.service-detail-hero__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1172px) 406px;
  gap: 142px;
  align-items: start;
}

.service-detail-hero__bottom p {
  margin: 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
}

.service-price-box {
  display: grid;
  gap: 32px;
}

.service-price-box strong {
  color: var(--green);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 46px;
}

.service-price-box .gold-button {
  width: 100%;
}

.portfolio-section,
.price-section,
.other-services {
  padding: 80px 100px;
}

.portfolio-section {
  background: var(--soft);
}

.portfolio-section h2,
.price-section h2 {
  margin: 0 0 56px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 46px;
  text-transform: uppercase;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.portfolio-grid div {
  height: 220px;
  background: #d9d9d9;
  border-radius: 16px;
}

.portfolio-grid div:nth-child(n+4) {
  height: 286px;
}

.portfolio-grid div:nth-child(4) {
  grid-column: span 1;
}

.price-section {
  display: grid;
  justify-items: start;
}

.price-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 750px));
  gap: 220px;
  width: 100%;
  margin-bottom: 40px;
}

.price-col {
  display: grid;
  gap: 16px;
}

.price-col h3 {
  margin: 24px 0 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #bdbdbd;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  text-transform: uppercase;
}

.price-col h3:first-child {
  margin-top: 0;
}

.price-col p {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 0;
  font-size: 16px;
  line-height: 24px;
}

.price-col b {
  font-weight: 400;
  white-space: nowrap;
}

.other-services .section-title-row {
  margin-bottom: 40px;
}

.other-services .section-title-row a {
  color: #2e4437;
  font-size: 24px;
  font-weight: 300;
  line-height: 32px;
}

.service-grid-figma--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-section--compact {
  padding-top: 80px;
  padding-bottom: 80px;
  margin-top: 0;
  margin-bottom: 0;
}

.actions-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 406px));
  gap: 32px;
  padding: 40px 100px;
}

.action-item {
  display: grid;
  gap: 16px;
}

.action-item img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 24px;
}

.action-item h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  text-transform: uppercase;
}

.action-item span {
  color: var(--green);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.pagination {
  display: flex;
  gap: 12px;
  padding: 40px 100px 80px;
}

.pagination span,
.pagination strong {
  display: grid;
  place-items: center;
  min-width: 48px;
  height: 48px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 400;
}

.pagination strong {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.green-promo,
.certificate-section,
.trust-section {
  width: calc(100% - 112px);
  margin: 0 auto;
  color: #fff;
  background: var(--green);
  border-radius: var(--radius-lg);
}

.green-promo {
  display: grid;
  grid-template-columns: 552px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 160px 100px;
}

.green-promo > img,
.certificate-section > img,
.about-section__grid > img,
.contacts-section__grid > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.green-promo > img {
  height: 640px;
}

.green-promo > div {
  display: grid;
  justify-items: center;
  gap: 40px;
}

.green-promo h2,
.trust-section h2 {
  font-size: 46px;
  line-height: 56px;
  text-align: center;
}

.ornament {
  width: 96px;
  height: 96px;
  border: 1px solid var(--gold);
  border-radius: 50%;
}

.green-promo .gold-button {
  width: 640px;
}

.about-section h2,
.reviews-section h2,
.contacts-section h2 {
  margin-bottom: 56px;
  text-align: center;
}

.about-section__grid {
  display: grid;
  grid-template-columns: 406px minmax(0, 844px) 406px;
  gap: 32px;
  align-items: center;
}

.about-section__grid > img {
  height: 416px;
}

.about-text {
  display: grid;
  gap: 32px;
  font-size: 18px;
  font-weight: 300;
  line-height: 24px;
  text-align: center;
}

.certificate-section {
  display: grid;
  grid-template-columns: minmax(0, 1024px) 552px;
  gap: 32px;
  align-items: center;
  padding: 160px 100px 80px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.certificate-section__content {
  display: grid;
  justify-items: center;
  gap: 40px;
  text-align: center;
}

.certificate-section h2 {
  font-size: 40px;
  line-height: 46px;
}

.certificate-section p {
  font-size: 18px;
  line-height: 26px;
}

.certificate-values {
  display: flex;
  gap: 64px;
  color: var(--gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 46px;
  line-height: 56px;
  text-transform: uppercase;
}

.certificate-section .gold-button {
  width: 640px;
}

.certificate-section > img {
  height: 640px;
}

.trust-section {
  display: grid;
  justify-items: center;
  gap: 40px;
  padding: 80px 100px 160px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.reviews-section {
  overflow: hidden;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 480px);
  gap: 32px;
  transition: transform 0.3s ease;
}

.reviews-grid article {
  display: grid;
  gap: 24px;
  min-height: 300px;
  padding: 40px;
  background: var(--soft);
  border-radius: var(--radius-lg);
}

.reviews-grid h3 {
  margin: 0;
  color: var(--green);
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
}

.reviews-grid p {
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
}

.reviews-grid a {
  color: #7d9283;
  font-size: 14px;
  line-height: 20px;
  text-decoration: underline;
}

.reviews-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 40px;
}

.reviews-bottom p {
  margin: 0;
  font-size: 14px;
}

.reviews-bottom strong {
  margin-right: 24px;
  color: var(--gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 64px;
  font-weight: 400;
  line-height: 78px;
}

.reviews-bottom .gold-button {
  width: 320px;
}

.contacts-section__grid {
  display: grid;
  grid-template-columns: 698px minmax(0, 990px);
  gap: 32px;
  align-items: center;
}

.contact-list {
  display: grid;
  gap: 40px;
}

.contact-list p {
  display: grid;
  gap: 10px;
  font-size: 18px;
  line-height: 24px;
}

.contact-list span {
  color: var(--gray);
  font-size: 14px;
  line-height: 20px;
}

.contact-list .gold-button {
  width: 406px;
  margin-top: 38px;
}

.contacts-section__grid > img {
  height: 542px;
}

.figma-footer {
  display: grid;
  gap: 64px;
  padding: 56px 100px;
  color: #fff;
  background: var(--black);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.figma-footer__logo {
  width: 132px;
  height: 62px;
  justify-self: center;
}

.figma-footer__columns {
  display: grid;
  grid-template-columns: 474px 474px minmax(0, 1fr);
  gap: 48px;
}

.figma-footer h3 {
  margin-bottom: 24px;
  color: inherit;
  font-size: 24px;
  line-height: 40px;
}

.figma-footer p {
  margin-bottom: 16px;
  color: inherit;
  font-size: 16px;
  line-height: 24px;
}

.figma-footer__columns > div:last-child {
  color: #bdbdbd;
  text-align: right;
}

.figma-footer .gold-button {
  margin-top: 18px;
  padding-inline: 40px;
}

.figma-footer__bottom {
  display: flex;
  justify-content: space-between;
  color: var(--gray);
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
}

.menu-panel,
.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.menu-panel.is-open,
.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.menu-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding: 48px;
  color: #fff;
  background: var(--green);
}

.menu-panel a {
  width: fit-content;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(48px, 8vw, 120px);
  line-height: 1;
  text-transform: uppercase;
}

.menu-panel__close,
.modal__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 50%;
  cursor: pointer;
  font-size: 28px;
}

.modal {
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(11, 11, 11, 0.68);
}

.modal__dialog {
  position: relative;
  width: min(540px, 100%);
  padding: 24px;
  background: #fff;
  border-radius: var(--radius-lg);
}

.modal__dialog h2 {
  margin: 0 0 8px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 14px;
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  font-size: 14px;
}

input,
textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid #dedede;
  border-radius: 14px;
  outline-color: var(--gold);
}

textarea {
  min-height: 112px;
  resize: vertical;
}

@media (max-width: 1200px) {
  .intro-section,
  .services-section,
  .about-section,
  .reviews-section,
  .contacts-section {
    padding-inline: 40px;
  }

  .intro-section__bottom,
  .green-promo,
  .certificate-section,
  .about-section__grid,
  .contacts-section__grid {
    grid-template-columns: 1fr;
  }

  .green-promo,
  .certificate-section,
  .trust-section {
    width: calc(100% - 40px);
  }

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

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

  .figma-footer__columns {
    grid-template-columns: 1fr;
  }

  .figma-footer__columns > div:last-child {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .home-hero {
    height: 642px;
  }

  .home-hero__image {
    object-fit: cover;
    object-position: center;
  }

  .home-hero::after {
    display: none;
  }

  .figma-header {
    top: 32px;
    left: 16px;
    right: 16px;
  }

  .figma-logo {
    width: 107px;
    height: 46px;
  }

  .figma-header--hero .figma-logo {
    width: 119px;
    height: 56px;
  }

  .inner-header {
    height: 104px;
    padding: 24px 16px;
  }

  .inner-header .figma-logo,
  .figma-header--glass .figma-logo {
    width: 119px;
    height: 56px;
  }

  .inner-header__right {
    gap: 35px;
  }

  .inner-header__right a {
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    white-space: nowrap;
  }

  .page-title {
    padding: 24px 16px 0;
  }

  .page-title h1 {
    max-width: 100%;
    font-size: 32px;
    line-height: 40px;
    overflow-wrap: anywhere;
  }

  .figma-header__right {
    gap: 24px;
  }

  .figma-header--glass .figma-header__right {
    gap: 35px;
  }

  .text-link {
    display: inline-flex;
    font-size: 16px;
    line-height: 24px;
  }

  .figma-header__right > a[href^="tel"],
  .figma-header__right .social-icons,
  .inner-header__right .social-icons,
  .inner-header__right .text-link {
    display: none;
  }

  .figma-header--glass .figma-header__right > a[href^="tel"] {
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    white-space: nowrap;
  }

  .figma-header--glass .figma-header__right .text-link {
    display: none;
  }

  .home-hero__content {
    top: 442px;
    bottom: auto;
    left: 16px;
    width: 343px;
  }

  .home-hero__content p {
    font-size: 18px;
    line-height: 32px;
    margin-bottom: 24px;
  }

  .gold-button,
  .gold-button--hero,
  .green-promo .gold-button,
  .certificate-section .gold-button,
  .contact-list .gold-button {
    width: 100%;
    min-width: 0;
    padding-inline: 24px;
    border-radius: 16px;
  }

  .gold-button--hero {
    gap: 20px;
    padding-left: 56px;
    padding-right: 64px;
  }

  .gold-button--hero img {
    display: block;
  }

  .scandal-word {
    height: 86px;
    font-size: 70px;
  }

  .intro-section,
  .services-section,
  .about-section,
  .reviews-section,
  .contacts-section {
    padding: 64px 16px;
  }

  .intro-section h1,
  .green-promo h2,
  .trust-section h2 {
    font-size: 32px;
    line-height: 40px;
  }

  .intro-section > img {
    width: 100%;
    height: 290px;
    margin-left: 0;
  }

  .intro-section__bottom {
    gap: 32px;
  }

  .section-title-row {
    display: grid;
    gap: 16px;
    margin-bottom: 40px;
  }

  .section-title-row h2,
  .about-section h2,
  .certificate-section h2,
  .reviews-section h2,
  .contacts-section h2 {
    font-size: 32px;
    line-height: 40px;
    text-align: left;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .service-grid-figma,
  .service-grid-figma--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .service-tile {
    gap: 12px;
  }

  .services-section .service-tile {
    height: 230px;
    padding: 16px;
    border-radius: 24px;
  }

  .service-tile img {
    height: 230px;
    border-radius: 24px;
  }

  .service-tile span,
  .service-tile--overlay span,
  .services-section .service-tile span {
    font-size: 16px;
    line-height: 24px;
  }

  .services-list-page {
    padding: 32px 16px 64px;
  }

  .service-tile--overlay {
    height: 230px;
    padding: 16px;
    border-radius: 24px;
  }

  .service-detail-hero,
  .portfolio-section,
  .price-section,
  .other-services {
    padding: 32px 16px 64px;
  }

  .service-detail-hero > img {
    height: 320px;
  }

  .service-detail-hero__bottom,
  .price-columns {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .actions-list {
    grid-template-columns: 1fr;
    padding: 32px 16px;
  }

  .pagination {
    padding: 24px 16px 64px;
  }

  .green-promo,
  .certificate-section,
  .trust-section {
    width: calc(100% - 32px);
    padding: 32px 16px;
  }

  .green-promo > img,
  .certificate-section > img,
  .about-section__grid > img,
  .contacts-section__grid > img {
    height: 290px;
  }

  .certificate-values {
    gap: 24px;
    font-size: 34px;
  }

  .reviews-bottom,
  .figma-footer__bottom {
    display: grid;
    gap: 24px;
  }

  .figma-footer {
    gap: 32px;
    padding: 32px 16px;
    border-radius: 24px 24px 0 0;
  }

  .figma-footer__logo {
    width: 108px;
    height: 46px;
  }

  .figma-footer__columns {
    grid-template-columns: repeat(2, minmax(0, 165px));
    gap: 56px 16px;
  }

  .figma-footer__columns > div:last-child {
    grid-column: 1 / -1;
    text-align: left;
  }

  .figma-footer h3 {
    margin-bottom: 20px;
    font-size: 20px;
    line-height: 32px;
  }

  .figma-footer p {
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 20px;
  }

  .figma-footer .gold-button {
    width: 343px;
    margin-top: 32px;
    margin-left: -181px;
    min-height: 56px;
  }

  .figma-footer__bottom {
    gap: 20px;
    font-size: 14px;
  }
}

@media (max-width: 640px) {
  .figma-page {
    max-width: 375px;
  }

  .home-hero {
    height: 642px;
    border-radius: 0 0 24px 24px;
  }

  .scandal-word {
    height: 104px;
    align-items: flex-start;
    overflow: hidden;
    font-size: 64px;
    line-height: 56px;
    margin-bottom: 32px;
    padding-top: 24px;
  }

  .scandal-word span {
    width: 236px;
  }

  .scandal-word span + span {
    margin-left: 56px;
  }

  .intro-section,
  .services-section,
  .about-section,
  .reviews-section,
  .contacts-section {
    padding: 32px 16px;
  }

  .intro-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .intro-section h1 {
    margin: 0;
    width: 343px;
    font-size: 32px;
    line-height: 40px;
    text-align: left;
  }

  .intro-section > img {
    width: 343px;
    height: 320px;
    object-fit: cover;
    object-position: bottom center;
    border-radius: 24px;
  }

  .intro-section__bottom {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 0;
  }

  .intro-copy {
    gap: 24px;
    width: 343px;
    font-size: 18px;
    font-weight: 300;
    line-height: 24px;
    text-align: left;
  }

  .booking-card {
    gap: 32px;
    width: 343px;
    height: 176px;
    padding: 32px;
    border-radius: 24px;
    text-align: center;
  }

  .booking-card h2 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 32px;
    text-transform: uppercase;
  }

  .booking-card .gold-button {
    width: 279px;
    min-height: 56px;
    border-radius: 16px;
  }

  .services-section {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .section-title-row {
    gap: 16px;
    margin: 0;
  }

  .section-title-row h2,
  .about-section h2,
  .certificate-section h2,
  .reviews-section h2,
  .contacts-section h2 {
    margin: 0;
    font-size: 32px;
    line-height: 40px;
    text-align: left;
  }

  .section-title-row p {
    font-size: 18px;
    line-height: 24px;
    color: #7d9283;
  }

  .service-grid-figma {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 8px;
    row-gap: 16px;
  }

  .services-section .service-tile {
    width: 167px;
    height: 230px;
    padding: 16px;
    border-radius: 24px;
  }

  .services-section .service-tile img {
    object-fit: cover;
    border-radius: 24px;
  }

  .services-section .service-tile span {
    max-width: 108px;
    font-size: 16px;
    line-height: 24px;
  }

  .services-section .service-tile i {
    width: 24px;
    height: 24px;
    background: url("../assets/images/arrow-service-figma.svg?v=home2") center / contain no-repeat;
    border: 0;
    transform: none;
  }

  .green-promo {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 343px;
    margin-top: 32px;
    margin-bottom: 32px;
    padding: 32px 16px;
    border-radius: 24px;
  }

  .green-promo > img {
    width: 311px;
    height: 320px;
    border-radius: 24px;
    object-position: bottom center;
  }

  .green-promo > div {
    gap: 0;
    width: 311px;
  }

  .green-promo .ornament {
    width: 55px;
    height: 56px;
    margin-bottom: 24px;
    border: 0;
    background: url("../assets/images/flower-promo-figma.svg?v=home2") center / contain no-repeat;
  }

  .green-promo h2 {
    width: 311px;
    margin-bottom: 32px;
    font-size: 24px;
    line-height: 40px;
  }

  .about-section {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .about-section h2 {
    text-align: center;
  }

  .about-section__grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .about-section__grid > img {
    width: 343px;
    height: 320px;
    border-radius: 24px;
  }

  .about-section__grid > img:last-child {
    border-radius: 32px;
  }

  .about-text {
    gap: 24px;
    width: 343px;
    font-size: 18px;
    font-weight: 300;
    line-height: 24px;
    text-align: center;
  }

  .certificate-section {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 343px;
    margin-top: 36px;
    padding: 32px 16px;
    border-radius: 24px 24px 0 0;
  }

  .certificate-section__content {
    gap: 32px;
    width: 311px;
  }

  .certificate-section h2 {
    width: 311px;
    color: #fff;
    text-align: center;
  }

  .certificate-section p {
    width: 311px;
    font-size: 18px;
    line-height: 26px;
  }

  .certificate-section p br {
    display: none;
  }

  .certificate-values {
    justify-content: space-between;
    width: 311px;
    gap: 0;
    font-size: 36px;
    line-height: 40px;
  }

  .certificate-section > img {
    width: 311px;
    height: 320px;
    border-radius: 24px;
    object-fit: cover;
  }

  .trust-section {
    width: 343px;
    gap: 24px;
    margin-bottom: 32px;
    padding: 32px 16px;
    border-radius: 0 0 24px 24px;
  }

  .trust-section .ornament {
    width: 55px;
    height: 56px;
    border: 0;
    background: url("../assets/images/flower-trust-figma.svg?v=home2") center / contain no-repeat;
  }

  .trust-section h2 {
    width: 311px;
    font-size: 24px;
    line-height: 40px;
  }

  .reviews-section {
    display: flex;
    flex-direction: column;
    gap: 32px;
    height: 708px;
    background: #f5f5f5;
    overflow: hidden;
  }

  .reviews-section__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 343px;
  }

  .reviews-section__head h2 {
    width: 343px;
    text-align: center;
  }

  .reviews-rating {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 24px;
    margin: 0;
  }

  .reviews-rating strong {
    color: var(--gold);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 40px;
  }

  .reviews-rating span {
    font-size: 14px;
    line-height: 20px;
  }

  .reviews-arrows {
    display: flex;
    justify-content: center;
    gap: 32px;
    width: 144px;
    height: 16px;
  }

  .reviews-arrows button {
    position: relative;
    width: 56px;
    height: 1px;
    padding: 0;
    background: #0b0b0b;
    border: 0;
    cursor: pointer;
  }

  .reviews-arrows button:first-child::before,
  .reviews-arrows button:last-child::after {
    content: "";
    position: absolute;
    top: -4px;
    display: block;
    width: 8px;
    height: 8px;
    border-top: 1px solid #0b0b0b;
    border-left: 1px solid #0b0b0b;
  }

  .reviews-arrows button:first-child::before {
    left: 0;
    transform: rotate(-45deg);
  }

  .reviews-arrows button:last-child::after {
    right: 0;
    transform: rotate(135deg);
  }

  .reviews-grid {
    display: flex;
    grid-template-columns: none;
    gap: 8px;
    width: calc(100vw - 16px);
    margin-right: -16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .reviews-grid::-webkit-scrollbar {
    display: none;
  }

  .reviews-grid article {
    flex: 0 0 320px;
    scroll-snap-align: start;
    gap: 24px;
    height: 348px;
    min-height: 0;
    padding: 16px;
    border-radius: 32px;
  }

  .reviews-grid h3 {
    font-size: 18px;
    line-height: 24px;
  }

  .reviews-grid p {
    font-size: 16px;
    line-height: 24px;
  }

  .reviews-bottom {
    display: block;
    margin: 0;
  }

  .reviews-bottom .gold-button {
    width: 343px;
    min-height: 56px;
    border-radius: 16px;
  }

  .contacts-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: 896px;
    background: #fff;
  }

  .contacts-section h2 {
    text-align: center;
  }

  .contacts-section__grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 343px;
  }

  .contact-list {
    gap: 20px;
    width: 343px;
  }

  .contact-list p {
    gap: 10px;
    font-size: 18px;
    line-height: 24px;
  }

  .contacts-section .social-icons--contacts {
    gap: 10px;
    margin-top: 0;
  }

  .contact-list .gold-button {
    width: 343px;
    min-height: 56px;
    margin-top: 12px;
    border-radius: 16px;
  }

  .contacts-section__grid > img {
    width: 343px;
    height: 320px;
    border-radius: 24px;
  }
}

/* Final Figma overrides for shared overlays and newly added inner pages. */
.figma-header--glass {
  top: 0;
  left: 0;
  right: 0;
  padding: 32px 100px;
  background: rgba(7, 52, 29, 0.64);
  backdrop-filter: blur(5px);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.action-hero {
  position: relative;
  height: 736px;
  overflow: hidden;
  color: #fff;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background: var(--green);
}

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

.action-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(17, 17, 17, 0.56) 0%, rgba(17, 17, 17, 0) 58%);
  pointer-events: none;
}

.action-hero__title {
  position: absolute;
  z-index: 2;
  top: 150px;
  left: 100px;
  right: 100px;
  display: grid;
  gap: 24px;
}

.action-hero__title nav {
  display: flex;
  gap: 8px;
  color: #fff;
  font-size: 12px;
  line-height: 18px;
}

.action-hero__title nav span:last-child {
  color: #bdbdbd;
}

.action-hero__title h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 46px;
  text-transform: uppercase;
}

.action-detail {
  display: grid;
  gap: 64px;
  padding: 96px 100px;
  background: #f2f2f2;
}

.action-detail > p {
  margin: 0;
  font-size: 18px;
  line-height: 32px;
}

.friend-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 406px));
  gap: 32px;
  align-items: center;
}

.friend-form input {
  min-height: 52px;
  border: 0;
  border-radius: 24px;
  background: #fff;
}

.friend-form .gold-button {
  width: 260px;
  color: #fff;
}

.policy-check {
  display: flex;
  grid-column: span 3;
  align-items: flex-start;
  gap: 16px;
  color: var(--gray);
  font-size: 14px;
  line-height: 22px;
}

.policy-check input {
  width: 20px;
  min-width: 20px;
  height: 20px;
  min-height: 20px;
  margin: 1px 0 0;
  accent-color: var(--gold);
}

.policy-check a {
  color: var(--gold);
  font-weight: 500;
}

.trust-section--action {
  position: relative;
  margin-top: 80px;
  margin-bottom: 160px;
  padding-block: 80px;
}

.call-badge {
  position: absolute;
  top: -40px;
  right: 164px;
  width: 196px;
  height: 196px;
  color: var(--black);
  background: var(--gold);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
  line-height: 32px;
  text-transform: uppercase;
}

.contacts-page-section {
  display: grid;
  grid-template-columns: 698px minmax(0, 990px);
  gap: 32px;
  align-items: center;
  padding: 40px 100px 160px;
}

.contacts-page-section > img {
  width: 100%;
  height: 542px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.social-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.social-row span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #fff;
  background: #2aabee;
  border-radius: 50%;
  font-size: 10px;
  line-height: 1;
  text-transform: uppercase;
}

.social-row span:nth-child(2) { background: #315efb; }
.social-row span:nth-child(3) { background: #2787f5; }
.social-row span:nth-child(4) { background: #bb6bd9; }

.privacy-content {
  display: grid;
  gap: 56px;
  padding: 40px 100px 160px;
}

.privacy-content article {
  display: grid;
  gap: 24px;
}

.privacy-content h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 28px;
}

.privacy-content p,
.privacy-content li {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
}

.privacy-content ul {
  margin: -4px 0 0;
  padding-left: 24px;
}

.figma-header--glass a {
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
}

.menu-panel {
  display: grid;
  grid-template-columns: 552px 552px;
  gap: 246px;
  align-content: start;
  justify-content: start;
  min-height: 100dvh;
  padding: 96px 100px;
  color: #fff;
  background:
    linear-gradient(rgba(11, 11, 11, 0.8), rgba(11, 11, 11, 0.8)),
    url("../assets/images/figma-hero-main.png") center top / cover;
}

.menu-panel--static {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}

.menu-panel__services,
.menu-panel__sections {
  display: grid;
  gap: 40px;
  align-content: start;
}

.menu-panel__services a,
.menu-panel__sections h2 {
  width: auto;
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 46px;
  font-weight: 500;
  line-height: 56px;
  text-transform: uppercase;
}

.menu-panel__sections {
  gap: 24px;
}

.menu-panel__sections h2 {
  margin-bottom: 16px;
}

.menu-panel__sections a {
  width: auto;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 32px;
  line-height: 56px;
  text-transform: none;
}

.menu-panel__sections .gold-button {
  width: fit-content;
  margin-top: 32px;
  padding-inline: 40px;
}

.menu-panel__close {
  top: 96px;
  right: 100px;
  width: 32px;
  height: 32px;
  overflow: hidden;
  color: transparent;
  border: 0;
  border-radius: 0;
  font-size: 0;
}

.menu-panel__close::before,
.menu-panel__close::after {
  content: "";
  position: absolute;
  top: 15px;
  left: 2px;
  width: 28px;
  height: 1px;
  background: #fff;
}

.menu-panel__close::before { transform: rotate(45deg); }
.menu-panel__close::after { transform: rotate(-45deg); }

.menu-panel__mobile-header {
  display: none;
}

.mobile-menu-header {
  display: none;
}

.modal {
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(11, 11, 11, 0.78), rgba(11, 11, 11, 0.78)),
    url("../assets/images/figma-hero-main.png") center top / cover;
}

.modal__dialog {
  width: 540px;
  height: 508px;
  padding: 24px;
  border-radius: 24px;
}

.modal__dialog h2 {
  margin-bottom: 16px;
  font-size: 24px;
  line-height: 32px;
}

.modal__lead {
  margin: 0 0 24px;
  color: var(--gray);
  font-size: 14px;
  line-height: 20px;
}

.modal form {
  gap: 20px;
  width: 100%;
  grid-template-columns: 1fr;
}

.modal label {
  display: grid;
  gap: 8px;
  width: 100%;
  color: var(--gray);
  font-size: 12px;
  line-height: 18px;
}

.modal input {
  border: 1px solid #bdbdbd;
  border-radius: 24px;
}

.modal .policy-check {
  grid-column: auto;
  font-size: 10px;
  line-height: 14px;
}

.modal .gold-button {
  width: 100%;
  padding-inline: 24px;
  color: #fff;
}

.modal__close {
  top: 8px;
  right: 10px;
  width: 24px;
  height: 24px;
  color: var(--gray);
  border: 0;
  font-size: 20px;
}

@media (max-width: 900px) {
  .figma-header--glass {
    min-height: 104px;
    padding: 24px 16px;
  }

  .action-hero {
    height: 540px;
  }

  .action-hero__title {
    top: 128px;
    left: 16px;
    right: 16px;
  }

  .action-detail,
  .privacy-content {
    padding: 48px 16px;
  }

  .friend-form,
  .contacts-page-section {
    grid-template-columns: 1fr;
  }

  .friend-form .gold-button,
  .policy-check {
    grid-column: auto;
    width: 100%;
  }

  .contacts-page-section {
    padding: 40px 16px 80px;
  }

  .contacts-page-section > img {
    height: 320px;
  }

  .contact-list {
    gap: 20px;
  }

  .contact-list .gold-button {
    margin-top: 12px;
  }

  .menu-panel {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 72px 24px;
  }

  .menu-panel__services,
  .menu-panel__sections {
    gap: 20px;
  }

  .menu-panel__services a,
  .menu-panel__sections h2 {
    font-size: 32px;
    line-height: 40px;
  }

  .menu-panel__sections a {
    font-size: 20px;
    line-height: 32px;
  }

  .menu-panel__close {
    top: 24px;
    right: 24px;
  }

  .modal__dialog {
    width: min(540px, 100%);
  }

  .call-badge {
    position: static;
    width: 160px;
    height: 160px;
    margin-top: 24px;
  }
}

@media (max-width: 640px) {
  .menu-panel {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 100dvh;
    padding: 0 0 56px;
    overflow-y: auto;
    color: #fff;
    background: var(--black);
  }

  .menu-panel__mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 104px;
    padding: 24px 16px;
    background: var(--green);
    border-radius: 0 0 24px 24px;
  }

  .menu-panel__mobile-header .figma-logo {
    width: 119px;
    height: 56px;
  }

  .menu-panel__mobile-header a[href^="tel"] {
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    white-space: nowrap;
  }

  .menu-panel__mobile-header .menu-lines {
    width: 32px;
    height: 24px;
    margin-top: 16px;
  }

  .menu-panel__mobile-header .menu-lines span {
    height: 2px;
  }

  .menu-panel > .menu-panel__close {
    display: none;
  }

  .menu-panel .menu-panel__services {
    gap: 24px;
    padding: 32px 16px 0;
  }

  .menu-panel .menu-panel__services a {
    font-size: 24px;
    line-height: 32px;
    white-space: nowrap;
  }

  .menu-panel .menu-panel__sections {
    display: grid;
    grid-template-columns: 159px 1fr;
    gap: 28px 32px;
    align-items: center;
    padding: 20px 16px 0;
  }

  .menu-panel .menu-panel__sections h2 {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    font-size: 24px;
    line-height: 32px;
  }

  .menu-panel .menu-panel__sections h2 span {
    width: 24px;
    height: 24px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    transform: rotate(-45deg) translate(-2px, 2px);
  }

  .menu-panel .menu-panel__sections > a {
    display: none;
  }

  .menu-panel .menu-panel__sections .gold-button {
    width: 159px;
    min-height: 48px;
    margin: 0;
    padding: 14px 24px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 20px;
  }

  .menu-panel .social-icons--menu {
    display: flex;
    gap: 8px;
  }

  .menu-panel .social-icons--menu .social-icon {
    width: 32px;
    height: 32px;
    border: 0;
  }

  .menu-panel .social-icons--menu .social-icon--tg {
    background: linear-gradient(180deg, #2aabee 0%, #229ed9 100%);
  }

  .menu-panel .social-icons--menu .social-icon--max {
    display: grid;
  }

  .menu-panel .social-icons--menu .social-icon--ig {
    background: #bb6bd9;
  }

  .menu-panel .social-icons--menu .social-icon img {
    filter: none;
    opacity: 1;
  }

  .menu-standalone-bg {
    min-height: 812px;
    background: var(--black);
  }

  .menu-standalone-bg .mobile-menu-header {
    display: flex;
  }

  .mobile-menu-header {
    align-items: center;
    justify-content: space-between;
    height: 104px;
    padding: 24px 16px;
    color: #fff;
    background: var(--green);
    border-radius: 0 0 24px 24px;
  }

  .mobile-menu-header a[href^="tel"] {
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    white-space: nowrap;
  }

  .mobile-menu-header .figma-logo {
    width: 119px;
    height: 56px;
  }

  .mobile-menu-header .menu-lines {
    width: 32px;
    height: 24px;
    margin-top: 16px;
  }

  .menu-standalone-bg .menu-panel {
    position: relative;
    min-height: 708px;
    padding: 32px 16px 56px;
    background: var(--black);
    grid-template-columns: 1fr;
    gap: 0;
  }

  .menu-standalone-bg .menu-panel__close {
    display: none;
  }

  .menu-standalone-bg .menu-panel__services {
    gap: 24px;
    padding: 0;
  }

  .menu-standalone-bg .menu-panel__services a {
    font-size: 24px;
    line-height: 32px;
    white-space: nowrap;
  }

  .menu-standalone-bg .menu-panel__sections {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 32px;
    padding: 0;
  }

  .menu-standalone-bg .menu-panel__sections h2 {
    margin: 0;
    font-size: 24px;
    line-height: 32px;
  }

  .menu-standalone-bg .menu-panel__sections > a {
    display: none;
  }

  .menu-standalone-bg .menu-panel__sections .gold-button {
    width: 159px;
    min-height: 48px;
    margin: 0;
    padding: 14px 24px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 20px;
  }

  .menu-standalone-bg .social-icons--menu {
    position: absolute;
    left: 207px;
    bottom: 132px;
    gap: 8px;
  }

  .menu-standalone-bg .social-icons--menu .social-icon {
    display: grid;
    width: 32px;
    height: 32px;
    border: 0;
  }

  .menu-standalone-bg .social-icons--menu .social-icon--tg {
    background: linear-gradient(180deg, #2aabee 0%, #229ed9 100%);
  }

  .menu-standalone-bg .social-icons--menu .social-icon--ig {
    background: #bb6bd9;
  }

  .menu-standalone-bg .social-icons--menu .social-icon img {
    filter: none;
    opacity: 1;
  }
}

/* Exact homepage layout from Figma: Main 1920 / Main 375. */
.figma-page picture,
.figma-page picture > img {
  display: block;
  width: 100%;
  height: 100%;
}

.figma-logo picture {
  width: 100%;
  height: 100%;
}

.intro-section__picture,
.green-promo > picture:first-child,
.certificate-section > picture,
.contacts-section__grid > picture,
.about-section__grid > picture {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.intro-section__picture img,
.green-promo > picture:first-child img,
.certificate-section > picture img,
.contacts-section__grid > picture img,
.about-section__grid > picture img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: bottom center;
}

.intro-section__picture img,
.certificate-section > picture img,
.contacts-section__grid > picture img {
  object-fit: cover;
}

.green-promo .ornament,
.trust-section .ornament {
  display: block;
  border: 0;
  border-radius: 0;
}

.reviews-rating--mobile {
  display: none;
}

.intro-title {
  display: block;
}

.intro-title--mobile {
  display: none;
}

@media (min-width: 641px) {
  .home-hero {
    height: 736px;
  }

  .home-hero__image {
    object-fit: fill;
    object-position: bottom center;
  }

  .figma-header {
    top: 32px;
    left: 100px;
    right: 100px;
  }

  .figma-header__right {
    gap: 56px;
  }

  .menu-lines {
    background-image: url("../assets/images/menu-desktop-figma.svg?v=final1");
  }

  .home-hero__content {
    top: 456px;
    left: 100px;
    width: 430px;
  }

  .home-hero__content p {
    margin-bottom: 32px;
    font-size: 24px;
    line-height: 32px;
  }

  .gold-button--hero {
    width: 260px;
  }

  .gold-button--hero img {
    display: block;
    flex: 0 0 24px;
    margin-right: 20px;
  }

  .home-hero__arrow {
    right: 100px;
    bottom: 96px;
  }

  .scandal-word {
    height: 237px;
    margin-bottom: 96px;
    font-size: 194px;
    line-height: 237px;
  }

  .scandal-word span {
    flex: 0 0 1004px;
    width: 1004px;
  }

  .scandal-word span + span {
    margin-left: 196px;
  }

  .intro-section {
    display: grid;
    gap: 40px;
    height: 1152px;
    padding: 96px 100px;
  }

  .intro-section h1 {
    width: 1720px;
    height: 112px;
    margin: 0;
    font-size: 46px;
    line-height: 56px;
    text-align: center;
  }

  .intro-section > .intro-section__picture {
    width: 1832px;
    height: 560px;
    margin-left: -56px;
  }

  .intro-section__bottom {
    display: grid;
    grid-template-columns: 953px 631px;
    gap: 136px;
    height: 208px;
    margin: 0;
  }

  .intro-copy {
    gap: 32px;
    width: 953px;
    height: 208px;
  }

  .booking-card {
    width: 631px;
    height: 208px;
    padding: 32px;
  }

  .booking-card h2 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 40px;
    text-transform: uppercase;
  }

  .services-section {
    height: 1474px;
    padding: 160px 100px;
  }

  .section-title-row {
    height: 46px;
    margin-bottom: 96px;
  }

  .service-grid-figma {
    grid-template-columns: repeat(4, 406px);
    column-gap: 32px;
    row-gap: 40px;
    width: 1720px;
    height: 1012px;
  }

  .services-section .service-tile {
    width: 406px;
    height: 486px;
    padding: 32px;
  }

  .services-section .service-tile picture {
    position: absolute;
    inset: 0;
  }

  .services-section .service-tile picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .services-section .service-tile i {
    position: relative;
    width: 24px;
    height: 24px;
    background: none;
    border: 0;
    transform: none;
  }

  .services-section .service-tile i::before {
    content: "";
    position: absolute;
    top: 5.25px;
    left: 5.25px;
    width: 13.5px;
    height: 13.5px;
    background: url("../assets/images/arrow-service-figma.svg?v=final2") center / 13.5px 13.5px no-repeat;
    transform: rotate(45deg);
  }

  .green-promo {
    grid-template-columns: 552px 1136px;
    gap: 32px;
    width: 1808px;
    height: 960px;
    padding: 160px 100px;
  }

  .green-promo > picture:first-child {
    width: 552px;
    height: 640px;
  }

  .green-promo > div {
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 1136px;
    height: 400px;
    gap: 0;
  }

  .green-promo .ornament {
    flex: 0 0 96px;
    margin: 0 0 40px;
  }

  .green-promo h2 {
    width: 1136px;
    height: 112px;
    margin: 0 0 96px;
  }

  .green-promo .ornament,
  .trust-section .ornament {
    width: 96px;
    height: 96px;
  }

  .green-promo .gold-button {
    width: 640px;
  }

  .about-section {
    height: 838px;
    padding: 160px 100px;
  }

  .about-section h2 {
    height: 46px;
    margin-bottom: 56px;
  }

  .about-section__grid {
    grid-template-columns: 406px 844px 406px;
    width: 1720px;
    height: 416px;
  }

  .about-section__grid > picture {
    width: 406px;
    height: 416px;
  }

  .certificate-section {
    grid-template-columns: 1024px 552px;
    width: 1808px;
    height: 880px;
    padding: 160px 100px 80px;
  }

  .certificate-section > picture {
    width: 552px;
    height: 640px;
  }

  .certificate-section__content {
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 1024px;
    height: 346px;
    gap: 0;
  }

  .certificate-section__content h2 {
    height: 46px;
    margin: 0 0 40px;
  }

  .certificate-section__content p {
    height: 52px;
    margin: 0 0 40px;
  }

  .certificate-section__content .certificate-values {
    height: 56px;
    margin: 0 0 56px;
  }

  .trust-section {
    width: 1808px;
    height: 488px;
    padding: 80px 100px 160px;
  }

  .reviews-section {
    display: flex;
    flex-direction: column;
    gap: 0;
    height: 896px;
    padding: 160px 100px;
    background: #fff;
  }

  .reviews-section__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 56px;
    width: 1720px;
    height: 102px;
    margin-bottom: 56px;
  }

  .reviews-section__head h2 {
    height: 46px;
    margin: 0;
  }

  .reviews-arrows {
    display: flex;
    gap: 32px;
    width: 144px;
    height: 0;
  }

  .reviews-arrows button {
    width: 56px;
    height: 8px;
    padding: 0;
    background-color: transparent;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 56px 8px;
    border: 0;
  }

  .reviews-arrows button::before,
  .reviews-arrows button::after {
    display: none;
  }

  .reviews-arrows button:first-child {
    background-image: url("../assets/images/reviews-arrow-left-figma.svg?v=final1");
    transform: scaleX(-1);
  }

  .reviews-arrows button:last-child {
    background-image: url("../assets/images/reviews-arrow-right-figma.svg?v=final1");
  }

  .reviews-grid {
    display: flex;
    gap: 32px;
    width: 2016px;
    height: 300px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .reviews-grid::-webkit-scrollbar {
    display: none;
  }

  .reviews-grid article {
    flex: 0 0 480px;
    width: 480px;
    height: 300px;
    min-height: 300px;
    padding: 40px;
  }

  .reviews-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    width: 1720px;
    height: 78px;
    margin: 40px 0 0;
  }

  .reviews-rating--desktop {
    display: flex;
    align-items: flex-end;
    gap: 24px;
    margin: 0;
  }

  .reviews-rating--desktop strong {
    margin: 0;
    color: var(--gold);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 64px;
    font-weight: 400;
    line-height: 78px;
  }

  .reviews-rating--desktop span {
    padding-bottom: 14px;
    font-size: 14px;
    line-height: 20px;
  }

  .contacts-section {
    height: 964px;
    padding: 160px 100px;
    background: #fff;
  }

  .contacts-section h2 {
    height: 46px;
    margin-bottom: 56px;
  }

  .contacts-section__grid {
    grid-template-columns: 698px 990px;
    width: 1720px;
    height: 542px;
  }

  .contacts-section__grid > picture {
    width: 990px;
    height: 542px;
  }

  .figma-footer {
    height: 679px;
    min-height: 679px;
    overflow: hidden;
  }
}

@media (max-width: 640px) {
  .figma-header {
    height: 46px;
  }

  .figma-header--hero .figma-logo {
    width: 98.2988px;
    height: 46px;
  }

  .figma-header__right {
    gap: 42.3506px;
  }

  .figma-header--hero .text-link {
    flex: 0 0 128px;
    width: 128px;
    height: 24px;
  }

  .menu-panel__mobile-header .menu-lines {
    margin-top: 0;
    transform: translateY(3px);
  }

  .home-hero__image {
    object-fit: fill;
    object-position: bottom center;
  }

  .home-hero::after {
    display: block;
    background: linear-gradient(180deg, rgba(17, 17, 17, 0.56) 15.887%, rgba(17, 17, 17, 0) 100%);
  }

  .intro-title--desktop {
    display: none;
  }

  .intro-title--mobile {
    display: block;
  }

  .intro-section > .intro-section__picture {
    width: 343px;
    height: 320px;
    border-radius: 24px;
  }

  .green-promo > picture:first-child img,
  .about-section__grid > picture img {
    object-fit: fill;
    object-position: bottom center;
  }

  .intro-section__picture img,
  .certificate-section > picture img,
  .contacts-section__grid > picture img {
    object-fit: cover;
    object-position: bottom center;
  }

  .services-section .service-tile picture {
    position: absolute;
    inset: 0;
  }

  .services-section .service-tile picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .services-section .service-tile i {
    position: relative;
    background: none;
  }

  .services-section .service-tile i::before {
    content: "";
    position: absolute;
    top: 5.25px;
    left: 5.25px;
    width: 13.5px;
    height: 13.5px;
    background: url("../assets/images/arrow-service-figma.svg?v=final2") center / 13.5px 13.5px no-repeat;
    transform: rotate(45deg);
  }

  .green-promo > picture:first-child {
    width: 311px;
    height: 320px;
    border-radius: 24px;
  }

  .green-promo .ornament,
  .trust-section .ornament {
    width: 55px;
    height: 56px;
    background: none;
  }

  .about-section__grid > picture {
    width: 343px;
    height: 320px;
    border-radius: 24px;
  }

  .about-section h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 46px;
  }

  .certificate-section {
    margin-top: 32px;
  }

  .certificate-section > picture {
    width: 311px;
    height: 320px;
    border-radius: 24px;
  }

  .reviews-rating--desktop {
    display: none;
  }

  .reviews-rating--mobile {
    display: flex;
  }

  .reviews-arrows button {
    background-color: transparent;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 56px 8px;
  }

  .reviews-arrows button::before,
  .reviews-arrows button::after {
    display: none;
  }

  .reviews-arrows button:first-child {
    background-image: url("../assets/images/reviews-arrow-left-figma.svg?v=final1");
    transform: translateY(-4px) scaleX(-1) !important;
  }

  .reviews-arrows button:last-child {
    background-image: url("../assets/images/reviews-arrow-right-figma.svg?v=final1");
    transform: translateY(-4px);
  }

  .reviews-section {
    gap: 0;
  }

  .reviews-section__head {
    height: 168px;
    gap: 0;
  }

  .reviews-rating--mobile {
    margin-top: 16px;
  }

  .reviews-arrows {
    height: 0;
    margin-top: 32px;
  }

  .reviews-arrows button {
    height: 8px;
  }

  .reviews-grid {
    margin-top: 40px;
  }

  .reviews-bottom {
    margin-top: 32px;
  }

  .contacts-section__grid > picture {
    width: 343px;
    height: 320px;
    border-radius: 24px;
  }

  .figma-footer {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    width: 375px;
    height: 1124px;
    min-height: 1124px;
    gap: 0;
    padding: 64px 16px 32px;
    overflow: hidden;
    background: transparent;
    border-radius: 0;
  }

  .figma-footer::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 32px;
    right: 0;
    bottom: 0;
    left: 0;
    background: var(--black);
    border-radius: 24px 24px 0 0;
  }

  .figma-footer__logo {
    flex: 0 0 46px;
    width: 98.2988px;
    height: 46px;
    margin: 0 auto 24px;
  }

  .figma-footer__columns {
    position: relative;
    display: grid;
    flex: 0 0 872px;
    grid-template-columns: 165px 165px;
    grid-template-rows: 432px 384px;
    column-gap: 16px;
    row-gap: 56px;
    width: 343px;
    height: 872px;
    margin: 0 0 32px;
  }

  .figma-footer__columns > div {
    width: 165px;
  }

  .figma-footer__columns > div:nth-child(3) {
    grid-row: 2;
    grid-column: 1 / -1;
    width: 343px;
    height: 384px;
  }

  .figma-footer h3 {
    margin: 0 0 20px;
  }

  .figma-footer p {
    margin: 0 0 16px;
  }

  .figma-footer__columns > div p:last-of-type {
    margin-bottom: 0;
  }

  .figma-footer .gold-button {
    position: absolute;
    top: 376px;
    left: 0;
    width: 343px;
    height: 56px;
    min-height: 56px;
    margin: 0;
  }

  .figma-footer__bottom {
    display: flex;
    flex: 0 0 54px;
    flex-direction: column;
    gap: 20px;
    width: 343px;
    height: 54px;
    font-size: 14px;
    line-height: 17px;
  }
}

/*
 * Preserve the approved 1920px composition while fitting it to every desktop
 * viewport. JavaScript updates --desktop-scale from the real viewport.
 */
@media (min-width: 641px) {
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  .figma-page {
    width: 1920px;
    max-width: none;
    zoom: var(--desktop-scale, 1);
  }
}

@media (max-width: 640px) {
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  .figma-page {
    width: 100%;
    max-width: none;
  }

  .intro-section h1,
  .intro-section > .intro-section__picture,
  .intro-copy,
  .booking-card,
  .green-promo,
  .about-section__grid > picture,
  .about-text,
  .certificate-section,
  .trust-section,
  .reviews-section__head,
  .reviews-section__head h2,
  .reviews-bottom .gold-button,
  .contacts-section__grid,
  .contact-list,
  .contact-list .gold-button,
  .contacts-section__grid > picture {
    width: calc(100vw - 32px);
  }

  .booking-card .gold-button,
  .green-promo > picture:first-child,
  .green-promo > div,
  .green-promo h2,
  .certificate-section__content,
  .certificate-section h2,
  .certificate-section p,
  .certificate-values,
  .certificate-section > picture,
  .trust-section h2 {
    width: 100%;
  }

  .services-section .service-tile {
    width: calc((100vw - 40px) / 2);
  }

  .figma-footer {
    width: 100%;
  }

  .figma-footer__columns {
    width: calc(100vw - 32px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .figma-footer__columns > div,
  .figma-footer__columns > div:nth-child(3),
  .figma-footer .gold-button,
  .figma-footer__bottom {
    width: 100%;
  }
}

/* Service detail: exact 1920/375 Figma frames with fluid in-between scaling. */
.service-page .breadcrumb-arrow {
  position: relative;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}

.service-page .breadcrumb-arrow::before {
  content: "←";
  position: absolute;
  inset: 0;
  color: var(--green);
  font-size: 18px;
  line-height: 16px;
}

.service-page .page-title {
  height: 112px;
  gap: 24px;
  padding: 24px 100px 0;
}

.service-page .service-detail-hero {
  gap: 64px;
  height: auto;
  min-height: 884px;
  padding: 40px 100px 80px;
}

.service-page .service-detail-hero > img {
  width: calc(100% + 112px);
  max-width: none;
  height: 560px;
  margin-left: -56px;
  border-radius: 32px;
}

.service-page .service-detail-hero__bottom {
  grid-template-columns: 1136px 406px;
  gap: 178px;
  height: auto;
  min-height: 140px;
}

.service-page .service-detail-hero__bottom p {
  width: 1136px;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
}

.service-page .service-price-box {
  width: 406px;
  height: 140px;
  gap: 42px;
}

.service-page .service-price-box strong {
  display: flex;
  align-items: flex-end;
  width: 215px;
  height: 42px;
  font-weight: 400;
}

.service-page .service-price-box small {
  margin-right: 16px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
}

.service-page .service-price-box span {
  font-size: 64px;
  line-height: 40px;
}

.service-page .service-price-box em {
  margin-left: 16px;
  font-size: 40px;
  font-style: normal;
  font-weight: 300;
  line-height: 42px;
}

.service-page .portfolio-section {
  height: 1078px;
  padding: 80px 100px;
}

.service-page .portfolio-section h2,
.service-page .price-section h2 {
  height: 46px;
  margin: 0 0 40px;
}

.service-page .portfolio-grid {
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
  height: 832px;
}

.service-page .portfolio-grid div {
  height: 400px;
  border-radius: 32px;
}

.service-page .portfolio-grid div:nth-child(-n+3) {
  grid-column: span 4;
}

.service-page .portfolio-grid div:nth-child(n+4) {
  grid-column: span 3;
  height: 400px;
}

.service-page .price-section {
  display: block;
  height: 1414px;
  padding: 80px 100px;
}

.service-page .price-columns {
  grid-template-columns: 800px 800px;
  gap: 120px;
  height: 1048px;
  margin: 0 0 64px;
}

.service-page .price-col {
  display: flex;
  flex-direction: column;
  gap: 72px;
  width: 800px;
  height: 1048px;
}

.service-page .price-group {
  width: 750px;
}

.service-page .price-group h3 {
  height: 43px;
  margin: 0 0 31px;
  padding: 0 0 10px;
  border-bottom: 1px solid #bdbdbd;
  font-size: 24px;
  line-height: 32px;
}

.service-page .price-group > div {
  display: grid;
  gap: 16px;
}

.service-page .price-group p {
  min-height: 24px;
}

.service-page .price-section > .gold-button {
  width: 224px;
}

.service-page .price-section--dynamic {
  height: auto;
  min-height: 510px;
}

.service-page .price-section--dynamic .price-columns {
  height: auto;
}

.service-page .price-section--dynamic .price-col {
  height: auto;
}

.service-page .price-group--dynamic {
  width: 100%;
}

.service-page .portfolio-scroll-hint {
  display: none;
}

.service-page .portfolio-grid:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 6px;
}

.service-page .gold-button,
.service-page .other-services .service-tile,
.service-page .other-services .service-tile img,
.service-page .other-services .service-tile span,
.service-page .other-services .service-tile i {
  transition:
    color 280ms ease,
    background-color 280ms ease,
    border-color 280ms ease,
    opacity 280ms ease,
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.service-page .gold-button:focus-visible,
.service-page .other-services .service-tile:focus-visible,
.service-page .other-services .section-title-row a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.service-page .modal input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.service-page .modal input:invalid:not(:placeholder-shown) {
  border-color: #a13b3b;
}

@media (hover: hover) and (pointer: fine) {
  .service-page .gold-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
  }

  .service-page .other-services .service-tile:hover {
    transform: translateY(-4px);
  }

  .service-page .other-services .service-tile:hover img {
    transform: scale(1.04);
  }

  .service-page .other-services .service-tile:hover span {
    transform: translateY(-2px);
  }

  .service-page .other-services .service-tile:hover i {
    transform: translate(4px, -4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-page .gold-button,
  .service-page .other-services .service-tile,
  .service-page .other-services .service-tile img,
  .service-page .other-services .service-tile span,
  .service-page .other-services .service-tile i {
    transition: none;
  }

  .service-page .portfolio-grid {
    scroll-behavior: auto;
  }
}

.service-page .other-services {
  height: 732px;
  padding: 80px 100px;
}

.service-page .other-services .section-title-row {
  height: 46px;
  margin-bottom: 40px;
}

.service-page .service-grid-figma--four {
  grid-template-columns: repeat(4, 406px);
  gap: 32px;
  height: 486px;
}

.service-page .other-services .service-tile {
  width: 406px;
  height: 486px;
  padding: 24px;
  border-radius: 32px;
}

.service-page .other-services .service-tile i {
  width: 24px;
  height: 24px;
  background: url("../assets/images/service-card-arrow-clean.svg?v=service1") center / 24px 24px no-repeat;
  border: 0;
  transform: none;
}

.service-page .service-grid-figma--mobile {
  display: none;
}

.service-page .trust-section--compact {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: auto;
  height: 408px;
  margin: 80px 56px;
  padding: 80px 100px;
  gap: 40px;
  border-radius: 32px;
}

.service-page .trust-section__flower {
  width: 96px;
  height: 96px;
}

.service-page .trust-section--compact h2 {
  width: 1608px;
  height: 112px;
  font-size: 46px;
  line-height: 56px;
}

.service-page .contacts-section--compact {
  height: 884px;
  padding: 80px 100px 160px;
}

.service-page .contacts-section--compact h2 {
  height: 46px;
  margin-bottom: 56px;
}

.service-page .contacts-section__grid {
  grid-template-columns: 698px 990px;
  gap: 32px;
  width: 1720px;
  height: 542px;
}

.service-page .contact-list {
  height: 542px;
}

.service-page .contacts-section__grid > picture,
.service-page .contacts-section__grid > picture img {
  width: 990px;
  height: 542px;
  object-fit: cover;
  border-radius: 32px;
}

@media (max-width: 640px) {
  .service-page .page-title {
    height: 130px;
    gap: 16px;
    padding: 24px 16px 32px;
  }

  .service-page .page-title nav {
    gap: 8px;
    height: 18px;
  }

  .service-page .service-detail-hero {
    display: grid;
    gap: 32px;
    height: auto;
    padding: 0 16px 32px;
  }

  .service-page .service-detail-hero > img {
    width: calc(100vw - 32px);
    height: 320px;
    margin: 0;
    object-fit: cover;
    border-radius: 24px;
  }

  .service-page .service-detail-hero__bottom {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    width: calc(100vw - 32px);
    height: auto;
  }

  .service-page .service-detail-hero__bottom p {
    width: 100%;
    height: auto;
    font-size: 18px;
    line-height: 28px;
  }

  .service-page .service-price-box {
    width: 100%;
    height: 140px;
    gap: 42px;
  }

  .service-page .portfolio-section {
    height: 426px;
    padding: 32px 16px;
    overflow: hidden;
  }

  .service-page .portfolio-section h2 {
    height: 40px;
    margin-bottom: 32px;
    font-size: 32px;
    line-height: 40px;
  }

  .service-page .portfolio-grid {
    display: flex;
    width: calc(100vw - 32px);
    height: 290px;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .service-page .portfolio-grid::-webkit-scrollbar {
    display: none;
  }

  .service-page .portfolio-grid div {
    flex: 0 0 320px;
    width: 320px;
    height: 290px;
    border-radius: 24px;
    scroll-snap-align: start;
  }

  .service-page .portfolio-grid div:nth-child(n+4) {
    display: none;
  }

  .service-page .portfolio-scroll-hint {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin: 12px 0 0;
    color: var(--green);
    font-size: 14px;
    line-height: 20px;
  }

  .service-page .portfolio-scroll-hint span {
    font-size: 20px;
  }

  .service-page .price-section {
    display: block;
    height: auto;
    min-height: 0;
    padding: 32px 16px 64px;
  }

  .service-page .price-section h2 {
    height: auto;
    margin-bottom: 32px;
    font-size: 32px;
    line-height: 40px;
  }

  .service-page .price-columns,
  .service-page .price-section--dynamic .price-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    width: calc(100vw - 32px);
    height: auto;
    margin: 0 0 32px;
  }

  .service-page .price-col,
  .service-page .price-section--dynamic .price-col {
    gap: 32px;
    width: 100%;
    height: auto;
  }

  .service-page .price-group {
    width: 100%;
  }

  .service-page .price-group h3 {
    height: auto;
    margin-bottom: 20px;
    font-size: 20px;
    line-height: 28px;
  }

  .service-page .price-group p {
    align-items: flex-start;
    gap: 16px;
    min-height: 0;
    font-size: 14px;
    line-height: 20px;
  }

  .service-page .price-group p span {
    min-width: 0;
  }

  .service-page .price-group p b {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .service-page .price-section > .gold-button {
    width: 100%;
  }

  .service-page .other-services {
    height: 1104px;
    padding: 32px 16px;
  }

  .service-page .other-services .section-title-row {
    display: block;
    height: 40px;
    margin-bottom: 32px;
  }

  .service-page .other-services .section-title-row h2 {
    font-size: 32px;
    line-height: 40px;
  }

  .service-page .other-services .section-title-row a {
    display: none;
  }

  .service-page .service-grid-figma--desktop {
    display: none;
  }

  .service-page .service-grid-figma--mobile {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 8px;
    width: calc(100vw - 32px);
    height: 968px;
  }

  .service-page .other-services .service-tile {
    width: calc((100vw - 40px) / 2);
    height: 230px;
    padding: 16px;
    border-radius: 24px;
  }

  .service-page .other-services .service-tile i {
    width: 24px;
    height: 24px;
  }

  .service-page .trust-section--compact {
    width: calc(100vw - 32px);
    height: 400px;
    margin: 32px 16px;
    padding: 32px 16px;
    gap: 40px;
    border-radius: 24px;
  }

  .service-page .trust-section__flower {
    width: 96px;
    height: 96px;
    content: url("../assets/images/flower-trust-figma.svg?v=service1");
  }

  .service-page .trust-section--compact h2 {
    width: 100%;
    height: 200px;
    font-size: 25px;
    line-height: 40px;
  }

  .service-page .contacts-section--compact {
    height: 896px;
    padding: 32px 16px;
  }

  .service-page .contacts-section--compact h2 {
    height: 40px;
    margin-bottom: 24px;
    font-size: 32px;
    line-height: 40px;
    text-align: center;
  }

  .service-page .contacts-section__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    width: calc(100vw - 32px);
    height: 768px;
  }

  .service-page .contact-list {
    width: 100%;
    height: 416px;
  }

  .service-page .contacts-section__grid > picture,
  .service-page .contacts-section__grid > picture img {
    width: 100%;
    height: 320px;
    border-radius: 24px;
  }
}
