:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --surface-soft: #f4efe8;
  --ink: #171514;
  --muted: #68615a;
  --line: #ded6cc;
  --accent: #b2452d;
  --accent-dark: #7f2d1d;
  --accent-soft: #f3d9cf;
  --blue: #284f63;
  --gold: #d6a84f;
  --font-body: "Open Sans", Inter, "Segoe UI", Arial, sans-serif;
  --font-heading: "Unbounded", Inter, "Segoe UI", Arial, sans-serif;
  --home-section-bg: linear-gradient(97.88deg, #f1f1f1 39.71%, #dbdbdb 70.5%);
  --gold-gradient: linear-gradient(99.09deg, #f0c566 4.15%, #fef4b2 19.12%, #fddd86 31.07%, #cd9f48 49.89%, #fcf4b3 66.96%, #caa04a 86.36%);
  --gold-line-gradient: linear-gradient(91.07deg, #a57c01 0.98%, #fff9c4 30.39%, #ffdf01 53.87%, #a57c01 90.87%, #ffdf01 124.41%, #a57c01 162.53%);
  --gold-text-gradient: linear-gradient(98.13deg, #f0c566 -18.28%, #fef4b2 -3.97%, #fddd86 7.45%, #cd9f48 25.44%, #fcf4b3 41.76%, #caa04a 60.3%);
  --section-shadow: 0px 0px 15px 0px #00000040;
  --soft-card-shadow: 0px 0px 20px 0px #00000040;
  --gold-button-shadow: 0px 0px 15px 0px #00000059, inset 0px 0px 4px 0px #00000040;
  --input-shadow: 0px 0px 15px 0px #00000026;
  --shadow: 0 18px 50px rgba(38, 31, 24, 0.1);
  --radius: 8px;
  --max: 1180px;
  --header-height: 96px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-body);
  line-height: 1.5;
}

body.is-menu-open,
body.has-modal {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  line-height: 1.05;
}

h1 {
  max-width: 760px;
  font-size: clamp(44px, 7vw, 86px);
}

h2 {
  font-size: clamp(34px, 5vw, 58px);
}

h3 {
  font-size: clamp(22px, 3vw, 30px);
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: clamp(64px, 8vw, 110px) 0;
}

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

body.admin-bar header {
    top: 31px;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.page-main {
  padding-top: var(--header-height);
}

.page-hero {
  padding: clamp(72px, 9vw, 120px) 0 clamp(46px, 7vw, 84px);
  background:
    linear-gradient(120deg, rgba(178, 69, 45, 0.14), transparent 48%),
    linear-gradient(180deg, #fffaf1, var(--bg));
}

.page-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 420px);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.page-hero__copy {
  display: grid;
  gap: 22px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

main > section:first-child {
  animation: first-section-appear 520ms ease both;
}

.reveal-enabled [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 420ms ease, transform 420ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-enabled [data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

@keyframes first-section-appear {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  main > section:first-child {
    animation: none;
  }

  .reveal-enabled [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1100px) {
  :root {
    --header-height: 64px;
  }

  .page-hero__inner {
    grid-template-columns: 1fr;
  }
}

.about-section {
  position: relative;
  padding: 70px 0 clamp(84px, 5vw, 96px);
  background: rgba(255, 255, 255, 0.94);
  /* box-shadow: var(--section-shadow); */
}

.about-section__inner {
  display: grid;
  grid-template-columns: minmax(520px, 805px) minmax(480px, 886px);
  gap: clamp(54px, 3.85vw, 74px);
  align-items: center;
  width: min(1710px, calc(100% - 100px));
  margin: 0 auto;
}

.about-section__media {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 805 / 439;
  border-radius: 0 300px;
  box-shadow: var(--section-shadow);
}

.about-section__media picture,
.about-section__media img {
  display: block;
  width: 100%;
  height: 100%;
}

.about-section__media img {
  object-fit: cover;
}

.about-section__content {
  display: grid;
  gap: clamp(40px, 3.4vw, 66px);
}

.about-section__block {
  display: grid;
  gap: 14px;
  max-width: 720px;
}

.about-section h2,
.about-section h3,
.about-section__statement {
  color: #000;
  font-family: var(--font-heading);
  font-size: clamp(28px, 1.67vw, 32px);
  font-weight: 600;
  line-height: 1.25;
}

.about-section h2::after {
  content: "";
  display: block;
  width: min(229px, 100%);
  height: 2px;
  margin-top: 10px;
  background: var(--gold-line-gradient);
}

.about-section p {
  color: #000;
  font-family: var(--font-body);
  font-size: clamp(18px, 1.04vw, 20px);
  font-weight: 400;
  line-height: 1.35;
}

.about-section__statement {
  max-width: 886px;
  margin: 0;
}

@media (max-width: 1540px) and (min-width: 981px) {
  .about-section__inner {
    grid-template-columns: minmax(460px, 0.9fr) minmax(420px, 1fr);
    width: min(1320px, calc(100% - 56px));
    gap: clamp(42px, 3.5vw, 56px);
  }
}

/* ==================== Mobile styles start ==================== */
@media (max-width: 980px) {
  .about-section {
    min-height: auto;
    padding: 26px 0 32px;
  }

  .about-section__inner {
    grid-template-columns: 1fr;
    width: min(362px, calc(100% - 40px));
    gap: 24px;
  }

  .about-section__media {
    order: 2;
    aspect-ratio: 357 / 194;
    border-radius: 0 100px;
  }

  .about-section__content {
    order: 1;
    justify-items: center;
    gap: 18px;
    text-align: center;
  }

  .about-section__block {
    justify-items: center;
    gap: 12px;
  }

  .about-section h2,
  .about-section h3 {
    font-size: 20px;
    line-height: 1.25;
  }

  .about-section h2::after {
    width: 229px;
    margin-top: 17px;
  }

  .about-section p {
    font-size: 16px;
    line-height: 1.38;
  }

  .about-section__statement {
    font-size: 18px;
    line-height: 1.22;
  }
}
/* ===================== Mobile styles end ===================== */

/* ==================== Tablet mobile styles start ==================== */
@media (max-width: 980px) and (min-width: 700px) {
  .about-section__inner {
    width: min(640px, calc(100% - 64px));
  }
}
/* ===================== Tablet mobile styles end ===================== */


.home-contacts {
  position: relative;
  background: var(--home-section-bg);
  box-shadow: var(--section-shadow);
}

.home-contacts__inner {
  width: min(1756px, calc(100% - 154px));
  margin: 0 auto;
  padding: 56px 0 75px;
}

.home-contacts__title {
  margin-bottom: 55px;
}

.home-contacts__layout {
  display: grid;
  grid-template-columns: 615px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.home-contacts__side {
  display: grid;
  gap: 24px;
}

.home-contacts__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 17px;
  min-height: 252px;
  padding: 28px 45px 24px;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0px 0px 10px 0px #00000040;
  color: #000;
  font-family: var(--font-body);
  font-style: normal;
}

.home-contacts__item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 21px;
  align-items: center;
  grid-column: 1 / -1;
  color: #000;
  text-decoration: none;
}

.home-contacts__item img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.home-contacts__phone {
  font-size: 30px;
  line-height: 1.35;
}

.home-contacts__mail,
.home-contacts__item:not(.home-contacts__phone) {
  font-size: 20px;
  line-height: 1.35;
}

.home-contacts__mail span {
  text-decoration: underline;
}

.home-contacts__card > .home-contacts__item:last-child {
  grid-column: 1;
  grid-row: 4;
  padding-right: 18px;
}

.home-contacts__social {
  display: flex;
  gap: 12px;
  align-items: center;
  grid-column: 2;
  grid-row: 4;
  justify-self: end;
  align-self: center;
  margin: 0;
}

.home-contacts__social a {
  display: block;
  width: 34px;
  height: 34px;
}

.home-contacts__social img {
  display: block;
  width: 100%;
  height: 100%;
}

.home-contacts__map {
  display: block;
  overflow: hidden;
  height: 696px;
  border: 1px solid #cecece;
  border-radius: 40px;
  box-shadow: var(--section-shadow);
}

.home-contacts__map iframe {
  display: block;
  width: 100%;
  border: 0;
}

.home-contacts__form {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-height: 410px;
  padding: 26px 58px 19px;
  border: 1px solid rgba(239, 239, 239, 0.996);
  border-radius: 40px;
  background: var(--gold-gradient);
  box-shadow: var(--soft-card-shadow);
  backdrop-filter: blur(10px);
}

.home-contacts__form h3 {
  color: #000;
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
}

.home-contacts__form p {
  /* max-width: 394px; */
  color: #000;
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.35;
  text-align: center;
}

.home-contacts__form input {
  width: min(488px, 100%);
  min-height: 53px;
  padding: 0 24px;
  border: 1px solid #c7c7c7;
  border-radius: 50px;
  background: #fff;
  box-shadow: var(--input-shadow);
  color: #000;
  font-family: var(--font-body);
  font-size: 16px;
  letter-spacing: 0.02em;
  text-align: center;
  margin-bottom: 10px;
}

.home-contacts__form input[type="submit"] {
  width: min(482px, 100%);
  min-height: 59px;
  padding: 17px 44px;
  border: 1px solid #fff;
  border-radius: 60px;
  color: #fff;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(102, 102, 102, 0) 100%), #4c9dc4;
  box-shadow: 0px 0px 15px 0px #00000059;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  text-shadow: 2px 2px 4px #00000073;
  text-transform: uppercase;
}

.home-contacts__form small {
  max-width: 472px;
  color: #2c2c2c;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.38;
  text-align: center;
}

@media (max-width: 1540px) and (min-width: 981px) {
  .home-contacts__inner {
    width: min(1320px, calc(100% - 56px));
  }

  .home-contacts__layout {
    grid-template-columns: 440px minmax(0, 1fr);
  }

  .home-contacts__form {
    padding: 26px 28px 19px;
  }

  .home-contacts__phone {
    font-size: 24px;
  }

  .home-contacts__card {
    padding: 26px 28px 24px;
  }
}

/* ==================== Mobile styles start ==================== */
@media (max-width: 980px) {
  .home-contacts__inner {
    width: min(377px, calc(100% - 26px));
    padding: 16px 0 36px;
  }

  .home-contacts__title {
    justify-items: center;
    margin-bottom: 30px;
    text-align: center;
  }

  .home-contacts__layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .home-contacts__side {
    display: contents;
  }

  .home-contacts__card {
    order: 1;
    grid-template-columns: minmax(0, 1fr) auto;
    width: min(357px, 100%);
    min-height: 252px;
    margin: 0 auto;
    padding: 26px 24px 18px 28px;
    border-radius: 25px;
  }

  .home-contacts__item {
    gap: 18px;
  }

  .home-contacts__phone {
    font-size: 20px;
    line-height: 1.35;
  }

  .home-contacts__item:not(.home-contacts__phone) {
    font-size: 14px;
    line-height: 1.36;
  }

  .home-contacts__social {
    grid-column: 2;
    grid-row: 4;
    gap: 16px;
  }

  .home-contacts__social a {
    width: 41px;
    height: 41px;
  }

  .home-contacts__form {
    order: 3;
    width: min(361px, 100%);
    min-height: 333px;
    margin: 0 auto;
    padding: 21px clamp(22px, 8vw, 58px) 19px;
    border-radius: 20px;
  }

  .home-contacts__form h3 {
    font-size: 20px;
    line-height: 1.25;
  }

  .home-contacts__form p {
    font-size: 16px;
    line-height: 1.38;
  }

  .home-contacts__form input {
    min-height: 48px;
    font-size: 14px;
  }

  .home-contacts__form button {
    min-height: 54px;
    font-size: 14px;
  }

  .home-contacts__form small {
    font-size: 10px;
    line-height: 1.4;
  }

  .home-contacts__map {
    order: 2;
    width: min(357px, 100%);
    height: 218px;
    margin: 0 auto;
    border-radius: 25px;
  }
}
/* ===================== Mobile styles end ===================== */

/* ==================== Tablet mobile styles start ==================== */
@media (max-width: 980px) and (min-width: 700px) {
  .home-contacts__inner {
    width: min(700px, calc(100% - 64px));
  }

  .home-contacts__card,
  .home-contacts__map,
  .home-contacts__form {
    width: min(520px, 100%);
  }
}
/* ===================== Tablet mobile styles end ===================== */

.cooperation-gallery {
  background: #fff;
}

.cooperation-gallery__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 587px));
  justify-content: space-between;
  gap: 23px;
  width: min(1831px, calc(100% - 98px));
  margin: 0 auto;
  padding: 64px 0 96px;
}

.cooperation-gallery__item {
  min-width: 0;
  margin: 0;
  aspect-ratio: 587 / 329;
  overflow: hidden;
  border: 0.5px solid #fff;
  border-radius: 36px;
  box-shadow: var(--section-shadow);
}

.cooperation-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1540px) and (min-width: 981px) {
  .cooperation-gallery__inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(1320px, calc(100% - 56px));
    padding: 52px 0 84px;
  }
}

@media (max-width: 980px) {
  .cooperation-gallery__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 8px;
    width: min(362px, calc(100% - 40px));
    padding: 22px 0 38px;
  }

  .cooperation-gallery__item {
    aspect-ratio: 177 / 169;
    border-radius: 20px;
  }

  .cooperation-gallery__item--lead {
    grid-column: 1 / -1;
    aspect-ratio: 362 / 204;
  }
}

@media (max-width: 980px) and (min-width: 700px) {
  .cooperation-gallery__inner {
    width: min(700px, calc(100% - 64px));
    gap: 18px 16px;
  }

  .cooperation-gallery__item--lead {
    aspect-ratio: 620 / 280;
  }
}

.home-cooperation {
  position: relative;
  z-index: 1;
  overflow-x: clip;
  overflow-y: visible;
  background: #fff;
}

.home-cooperation__inner {
  position: relative;
  z-index: 1;
  width: min(1756px, calc(100% - 154px));
  margin: 0 auto;
  padding: 128px 0 65px;
}

.home-cooperation__title {
  margin-bottom: 74px;
}

.home-cooperation p {
  max-width: 1340px;
  color: #000;
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.35;
}

.home-cooperation__inner > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  min-height: 69px;
  margin-top: 40px;
  padding: 17px 46px;
  border: 0.5px solid #fff;
  border-radius: 40px;
  color: #fff;
  background: var(--gold-gradient);
  box-shadow: var(--gold-button-shadow);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.85);
  text-transform: uppercase;
  white-space: nowrap;
}

.home-cooperation__decor {
  position: absolute;
  top: -75px;
  right: -138px;
  z-index: 0;
  width: 465px;
  pointer-events: none;
}

.home-cooperation__decor img {
  width: 100%;
  height: auto;
}

@media (max-width: 1540px) and (min-width: 981px) {
  .home-cooperation__inner {
    width: min(1320px, calc(100% - 56px));
  }
}

/* ==================== Tablet styles start ==================== */
@media (max-width: 1100px) and (min-width: 981px) {
  .home-cooperation__decor {
    display: none;
  }
}
/* ===================== Tablet styles end ===================== */

/* ==================== Mobile styles start ==================== */
@media (max-width: 980px) {
  .home-cooperation__inner {
    width: min(361px, calc(100% - 40px));
    padding: 30px 0 278px;
    text-align: center;
  }

  .home-cooperation__title {
    justify-items: center;
    margin-bottom: 30px;
  }

  .home-cooperation p {
    max-width: 361px;
    font-size: 14px;
    line-height: 1.36;
  }

  .home-cooperation__inner > a {
    width: min(300px, 100%);
    min-height: 54px;
    margin-top: 26px;
    padding: 14px 24px;
    font-size: 15px;
  }

  .home-cooperation__decor {
    top: auto;
    right: 50%;
    bottom: 0;
    width: 265px;
    opacity: 1;
    transform: translateX(50%);
  }
}
/* ===================== Mobile styles end ===================== */

/* ==================== Tablet mobile styles start ==================== */
@media (max-width: 980px) and (min-width: 700px) {
  .home-cooperation__inner {
    width: min(700px, calc(100% - 64px));
  }

  .home-cooperation p {
    margin: 0 auto;
    max-width: 100%;
  }
}
/* ===================== Tablet mobile styles end ===================== */

.home-cta {
  position: relative;
  overflow: hidden;
  background: var(--home-section-bg);
  box-shadow: var(--section-shadow);
}

.home-cta__inner {
  position: relative;
  z-index: 1;
  /* display: grid; */
  justify-items: center;
  width: min(1168px, calc(100% - 80px));
  margin: 0 auto;
  padding: 80px 0 114px;
  text-align: center;
}

.home-cta h2 {
  color: #000;
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 600;
  line-height: 1.25;
}

.home-cta p {
  margin-top: 20px;
  color: #000;
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.35;
}

.home-cta__form {
  display: grid;
  grid-template-columns: 1fr 1fr 377px;
  gap: 14px;
  width: 100%;
  margin-top: 43px;
}

.home-cta input {
  min-height: 68px;
  padding: 0 28px;
  border: 1px solid #c7c7c7;
  border-radius: 50px;
  background: #fff;
  box-shadow: var(--input-shadow);
  text-align: center;
}
span.wpcf7-spinner {
    display: none;
}
.home-cta input[type="submit"] {
  min-height: 69px;
  padding: 17px 46px;
  border: 0.5px solid #fff;
  border-radius: 40px;
  color: #fff;
  background: var(--gold-gradient);
  box-shadow: var(--gold-button-shadow);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.85);
  text-transform: uppercase;
}

.home-cta small {
  margin-top: 22px;
  color: #2c2c2c;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.18;
}

.home-cta__wave,
.home-cta__clef,
.home-cta__note {
  position: absolute;
  pointer-events: none;
}

.home-cta__wave--right {
  top: 0;
  right: 0;
  width: 593px;
}

.home-cta__wave--left {
  left: -70px;
  bottom: 0;
  width: 593px;
  transform: rotate(180deg);
}

.home-cta__clef {
  right: -170px;
  top: -66px;
  width: 665px;
  transform: rotate(60deg);
}

.home-cta__note {
  left: calc(50% - 592px);
  top: 121px;
  width: 95px;
}

.home-cta picture img {
  width: 100%;
  height: auto;
}

@media (max-width: 1540px) and (min-width: 981px) {
  .home-cta__inner {
    width: min(1040px, calc(100% - 80px));
  }

  .home-cta__form {
    grid-template-columns: 1fr 1fr 320px;
  }
}

@media (max-width: 1100px) {
  .home-cta__wave,
  .home-cta__clef,
  .home-cta__note {
    display: none;
  }
}

/* ==================== Mobile styles start ==================== */
@media (max-width: 980px) {
  .home-cta {
    padding: 28px 0;
  }

  .home-cta__inner {
    width: min(361px, calc(100% - 40px));
    min-height: 333px;
    padding: 21px clamp(22px, 8vw, 58px) 19px;
    border: 1px solid rgba(239, 239, 239, 0.996);
    border-radius: 20px;
    background: var(--gold-gradient);
    box-shadow: var(--soft-card-shadow);
    backdrop-filter: blur(10px);
  }

  .home-cta h2 {
    max-width: 285px;
    font-size: 20px;
    line-height: 1.25;
  }

  .home-cta p {
    max-width: 317px;
    margin-top: 6px;
    font-size: 16px;
    line-height: 1.38;
  }

  .home-cta__form {
    grid-template-columns: 1fr;
    gap: 6px;
    margin-top: 6px;
  }

  .home-cta input {
    min-height: 48px;
    padding: 0 18px;
    font-size: 14px;
  }

  .home-cta button {
    min-height: 54px;
    padding: 14px 20px;
    font-size: 14px;
  }

  .home-cta small {
    margin-top: 6px;
    font-size: 10px;
    line-height: 1.4;
  }

}
/* ===================== Mobile styles end ===================== */

/* ==================== Tablet mobile styles start ==================== */
@media (max-width: 980px) and (min-width: 700px) {
  .home-cta {
    padding: 40px 0;
  }

  .home-cta__inner {
    width: min(520px, calc(100% - 64px));
  }
}
/* ===================== Tablet mobile styles end ===================== */

.events-page {
  position: relative;
  background: #fff;
}

.events-page__inner {
  width: min(1751px, calc(100% - 154px));
  margin: 0 auto;
  padding: 112px 0 97px;
}

.events-page__title {
  margin-bottom: 58px;
}

.events-page__lead {
  max-width: 1631px;
  color: #000;
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.35;
}

.events-page__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 569px));
  justify-content: space-between;
  gap: 90px 22px;
  margin-top: 57px;
}

.events-page .event-card h3 {
  text-transform: uppercase;
}

.events-page .event-card h3::after {
  content: "";
  display: block;
  width: min(386px, 100%);
  height: 6px;
  margin-top: 21px;
  background: linear-gradient(96.43deg, #cea360 2.64%, #fdf9d7 18.93%, #f5cc83 31.93%, #c69d5b 52.42%, #fdf9ca 70.99%, #bf9756 92.1%);
}

.events-page .event-card p {
  margin-top: 20px;
}

.events-page__actions {
  display: flex;
  justify-content: center;
  margin-top: 76px;
}

.events-page__more {
  min-height: 69px;
  padding: 17px 74px;
  border: 0.5px solid #fff;
  border-radius: 40px;
  color: #fff;
  background: var(--gold-gradient);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.35), inset 0 0 4px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.85);
  text-transform: uppercase;
}

@media (max-width: 1540px) and (min-width: 981px) {
  .events-page__inner {
    width: min(1320px, calc(100% - 56px));
    padding-top: 86px;
  }

  .events-page__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .events-page__inner {
    width: min(367px, calc(100% - 34px));
    padding: 25px 0 38px;
  }

  .events-page__title {
    margin-bottom: 17px;
  }

  .events-page__lead {
    font-size: 14px;
    line-height: 1.36;
  }

  .events-page__grid {
    width: min(362px, 100%);
    grid-template-columns: 1fr;
    gap: 28px;
    margin: 26px auto 0;
  }

  .events-page .event-card picture {
    aspect-ratio: 362 / 169;
    border-radius: 20px;
  }

  .events-page .event-card__meta {
    gap: 6px;
    margin: 0 0 8px 8px;
  }

  .events-page .event-card__meta span {
    min-height: 31px;
    padding: 4px 16px;
    font-size: 16px;
  }

  .events-page .event-card h3 {
    max-width: 300px;
    font-size: 16px;
    line-height: 1.25;
  }

  .events-page .event-card h3::after {
    width: min(246px, 100%);
    height: 4px;
    margin-top: 7px;
  }

  .events-page .event-card p {
    max-width: 310px;
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.33;
  }

  .events-page__actions {
    margin-top: 32px;
  }

  .events-page__more {
    min-height: 54px;
    padding: 14px 28px;
    font-size: 14px;
  }
}

@media (max-width: 980px) and (min-width: 700px) {
  .events-page__inner {
    width: min(700px, calc(100% - 64px));
  }

  .events-page__grid {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.home-events {
  background: #fff;
}

.home-events__inner {
  width: min(1756px, calc(100% - 154px));
  margin: 0 auto;
  padding: 74px 0 106px;
}

.home-events__title {
  margin-bottom: 88px;
}

.home-events__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 569px));
  justify-content: space-between;
  gap: 22px;
}

.event-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "media"
    "title"
    "copy";
  align-content: start;
}

.event-card picture {
  grid-area: media;
  display: block;
  position: relative;
  aspect-ratio: 569 / 537;
  overflow: hidden;
  border: 0.5px solid #fff;
  border-radius: 36px;
  box-shadow: var(--section-shadow);
}

.event-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-card__meta {
  grid-area: media;
  align-self: end;
  justify-self: start;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 27px 27px;
  z-index: 1;
}

.event-card__meta span {
  display: inline-flex;
  min-height: 37px;
  align-items: center;
  padding: 5px 20px;
  border: 1px solid #fff;
  border-radius: 19px;
  color: #fff;
  background: var(--gold-gradient);
  box-shadow: 2px 4px 100px rgba(0, 0, 0, 0.45);
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.35;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.85);
}

.event-card h3 {
  grid-area: title;
  max-width: 380px;
  margin-top: 16px;
  color: #000;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
}
.event-card h3 a {
  text-decoration:none;
}
.event-card p {
  grid-area: copy;
  max-width: 407px;
  margin-top: 10px;
  color: #000;
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.35;
}

@media (max-width: 1540px) and (min-width: 981px) {
  .home-events__inner {
    width: min(1320px, calc(100% - 56px));
  }

  .event-card h3 {
    font-size: 26px;
  }
}

/* ==================== Mobile styles start ==================== */
@media (max-width: 980px) {
  .home-events__inner {
    width: min(362px, calc(100% - 40px));
    padding: 29px 0 28px;
  }

  .home-events__title {
    justify-items: center;
    margin-bottom: 30px;
    text-align: center;
  }

  .home-events__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .event-card picture {
    aspect-ratio: 362 / 169;
    border-radius: 20px;
  }

  .event-card__meta {
    gap: 6px;
    margin: 0 0 8px 8px;
  }

  .event-card__meta span {
    min-height: 31px;
    padding: 4px 16px;
    font-size: 16px;
  }

  .event-card h3 {
    max-width: 300px;
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.25;
  }

  .event-card h3::after {
    content: "";
    display: block;
    width: min(246px, 100%);
    height: 4px;
    margin-top: 7px;
    background: linear-gradient(96.43deg, #cea360 2.64%, #fdf9d7 18.93%, #f5cc83 31.93%, #c69d5b 52.42%, #fdf9ca 70.99%, #bf9756 92.1%);
  }

  .event-card p {
    max-width: 310px;
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.33;
  }
}
/* ===================== Mobile styles end ===================== */

/* ==================== Tablet mobile styles start ==================== */
@media (max-width: 980px) and (min-width: 700px) {
  .home-events__inner {
    width: min(700px, calc(100% - 64px));
  }

  .home-events__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* ===================== Tablet mobile styles end ===================== */

.gallery-page {
  position: relative;
  background: #fff;
}

.gallery-page__inner {
  width: min(1751px, calc(100% - 154px));
  margin: 0 auto;
  padding: 112px 0 106px;
}

.gallery-page__title {
  margin-bottom: 58px;
}

.gallery-page__title h1 {
  max-width: none;
  color: #000;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.25;
}

.gallery-page__lead {
  max-width: 1631px;
  color: #000;
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.35;
}

.gallery-page__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 569px));
  gap: 22px;
  justify-content: space-between;
  margin-top: 73px;
}

.gallery-page__item {
  min-width: 0;
  margin: 0;
  aspect-ratio: 569 / 537;
  overflow: hidden;
  border: 0.5px solid #fff;
  border-radius: 36px;
  box-shadow: var(--section-shadow);
}

.gallery-page__item--large {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: 1158 / 1093;
}

.gallery-page__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1540px) and (min-width: 981px) {
  .gallery-page__inner {
    width: min(1320px, calc(100% - 56px));
    padding-top: 86px;
  }

  .gallery-page__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .gallery-page__inner {
    width: min(367px, calc(100% - 34px));
    padding: 25px 0 38px;
  }

  .gallery-page__title {
    grid-template-columns: 1fr;
    gap: 17px;
    margin-bottom: 17px;
  }

  .gallery-page__title span {
    order: 2;
  }

  .gallery-page__title h1 {
    order: 1;
    font-size: 20px;
    line-height: 1.25;
  }

  .gallery-page__lead {
    font-size: 14px;
    line-height: 1.36;
  }

  .gallery-page__grid {
    width: min(362px, 100%);
    margin: 26px auto 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px 8px;
  }

  .gallery-page__item {
    aspect-ratio: 177 / 169;
    border-radius: 20px;
  }

  .gallery-page__item--large {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 177 / 169;
  }
}

@media (max-width: 980px) and (min-width: 700px) {
  .gallery-page__inner {
    width: min(700px, calc(100% - 64px));
  }
}

.home-gallery {
  background: #fff;
}

.home-gallery__inner {
  width: min(1756px, calc(100% - 154px));
  margin: 0 auto;
  padding: 82px 0 106px;
}

.home-gallery__title {
  margin-bottom: 95px;
}

.home-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 569px));
  justify-content: space-between;
  gap: 26px 22px;
}

.home-gallery picture {
  display: block;
  aspect-ratio: 569 / 537;
  overflow: hidden;
  border: 0.5px solid #fff;
  border-radius: 36px;
  box-shadow: var(--section-shadow);
}

.home-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1540px) and (min-width: 981px) {
  .home-gallery__inner {
    width: min(1320px, calc(100% - 56px));
  }
}

/* ==================== Mobile styles start ==================== */
@media (max-width: 980px) {
  .home-gallery__inner {
    width: min(362px, calc(100% - 40px));
    padding: 29px 0 28px;
  }

  .home-gallery__title {
    justify-items: center;
    margin-bottom: 30px;
    text-align: center;
  }

  .home-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px 8px;
  }

  .home-gallery picture {
    aspect-ratio: 177 / 169;
    border-radius: 20px;
  }
}
/* ===================== Mobile styles end ===================== */

/* ==================== Tablet mobile styles start ==================== */
@media (max-width: 980px) and (min-width: 700px) {
  .home-gallery__inner {
    width: min(700px, calc(100% - 64px));
  }
}
/* ===================== Tablet mobile styles end ===================== */

.hero-section {
  --hero-visual-width: min(72vw, 1340px);
  position: relative;
  min-height: clamp(760px, 55vw, 1059px);
  padding-top: var(--header-height);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--section-shadow);
}

.hero-section__visual {
  position: absolute;
  top: calc(var(--header-height) + ((100% - var(--header-height)) / 2));
  left: 50%;
  width: var(--hero-visual-width);
  aspect-ratio: 1119 / 944;
  transform: translate(-50%, -50%);
}

.hero-section__visual picture,
.hero-section__visual img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-section__visual img {
  object-fit: contain;
}

@media (max-width: 1540px) and (min-width: 981px) {
  .hero-section {
    --hero-visual-width: min(76vw, 1120px);
    min-height: clamp(700px, 58vw, 920px);
  }
}

/* ==================== Mobile styles start ==================== */
@media (max-width: 980px) {
  .hero-section {
    --hero-visual-width: min(520px, 116vw);
    min-height: clamp(430px, 116vw, 520px);
    aspect-ratio: auto;
    padding-top: var(--header-height);
  }

  .hero-section__visual {
    top: calc(var(--header-height) + ((100% - var(--header-height)) / 2));
    left: 50%;
    width: var(--hero-visual-width);
  }
}
/* ===================== Mobile styles end ===================== */

.price-page {
  position: relative;
  background: #fff;
}

.price-page__inner {
  width: min(1831px, calc(100% - 98px));
  margin: 0 auto;
  padding: 96px 0 64px;
}

.price-page__title {
  margin-bottom: 36px;
}

.price-page__title h1 {
  min-width: 0;
  color: #000;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.25;
}

.price-page__tabs {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 18px 24px;
  margin-bottom: 35px;
  padding-left: 200px;
}

.price-page__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 0.5px solid transparent;
  border-radius: 8px;
  color: #000;
  background: transparent;
  box-shadow: none;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.375;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.price-page__tab--active {
  border-color: rgba(255, 255, 255, 0.8);
  background: linear-gradient(99.09deg, rgba(254, 244, 178, 0.92) 4.15%, rgba(255, 249, 196, 0.96) 19.12%, rgba(253, 221, 134, 0.92) 31.07%, rgba(240, 197, 102, 0.88) 49.89%, rgba(252, 244, 179, 0.95) 66.96%, rgba(234, 196, 116, 0.88) 86.36%);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.22), inset 0 0 4px rgba(255, 255, 255, 0.35);
}

.price-page__board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "rental vocal"
    "guitar vocal"
    "guitar bayan";
  align-items: start;
  gap: 41px 37px;
  padding: 33px 49px 61px;
  background: var(--home-section-bg);
  box-shadow: var(--section-shadow);
}

.price-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 671px;
  padding: 32px 62px 35px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.4);
  box-shadow: var(--soft-card-shadow);
  backdrop-filter: blur(15px);
  overflow: hidden;
}

.price-panel--tall {
  min-height: 1044px;
}

.price-panel:first-child {
  grid-area: rental;
}

.price-panel:nth-child(2) {
  grid-area: vocal;
}

.price-panel:nth-child(3) {
  grid-area: guitar;
  background: #f5f5f5 url(/assets/images/price-guitar-decor.svg) no-repeat left 120% / 80%;
}

.price-panel:nth-child(4) {
  grid-area: bayan;
}

.price-panel h2 {
  margin: 0 0 34px;
  color: #000;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
}

.price-panel__list {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-panel__list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 24px;
  align-items: start;
}

.price-panel__list span,
.price-panel__list strong,
.price-panel__list small {
  color: #000;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.35;
}

.price-panel__list strong {
  text-align: right;
  white-space: nowrap;
}

.price-panel__list small {
  grid-column: 1 / 2;
  color: rgba(0, 0, 0, 0.61);
}

.price-panel__action {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(464px, 100%);
  min-height: 69px;
  margin: auto auto 0;
  padding: 16px 32px;
  border: 0.5px solid #fff;
  border-radius: 40px;
  color: #fff;
  background: var(--gold-gradient);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.35), inset 0 0 4px rgba(0, 0, 0, 0.25);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.39;
  text-align: center;
  text-decoration: none;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.85);
  text-transform: uppercase;
}

.price-panel__decor {
  position: absolute;
  left: 0;
  bottom: -116px;
  width: min(768px, 86%);
  margin: 0;
  pointer-events: none;
  z-index: 0;
}

.price-panel__decor img {
  display: block;
  width: 100%;
  height: auto;
}

.price-panel--guitar h2,
.price-panel--guitar .price-panel__list,
.price-panel--vocal h2,
.price-panel--vocal .price-panel__list,
.price-panel--bayan h2,
.price-panel--bayan .price-panel__list {
  position: relative;
  z-index: 1;
}

@media (max-width: 1540px) and (min-width: 1101px) {
  .price-page__inner {
    width: min(1320px, calc(100% - 56px));
    padding: 84px 0 52px;
  }

  .price-page__tabs {
    gap: 14px;
    padding-left: 168px;
  }

  .price-page__board {
    gap: 28px;
    padding: 28px;
  }

  .price-panel {
    padding: 28px 32px 32px;
  }

  .price-panel__decor {
    bottom: -84px;
    width: 78%;
  }
}

@media (max-width: 1100px) {
  .price-page__inner {
    width: min(700px, calc(100% - 64px));
    padding: 34px 0 28px;
  }

  .price-page__title {
    display: grid;
    justify-items: center;
    gap: 12px;
    margin-bottom: 22px;
    text-align: center;
  }

  .price-page__title span {
    order: 2;
    width: 229px;
  }

  .price-page__title h1 {
    order: 1;
    font-size: 20px;
    line-height: 1.25;
    text-align: center;
  }

  .price-page__tabs {
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 20px;
    padding-left: 0;
  }

  .price-page__tab {
    min-height: 32px;
    padding: 0 10px;
    font-size: 12px;
    line-height: 1.33;
    white-space: normal;
    flex: 1 1 0;
    min-width: 0;
  }

  .price-page__tab--active {
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.2), inset 0 0 4px rgba(255, 255, 255, 0.3);
  }

  .price-page__board {
    grid-template-columns: 1fr;
    grid-template-areas:
      "rental"
      "vocal"
      "guitar"
      "bayan";
    gap: 16px;
    padding: 20px;
  }

  .price-panel,
  .price-panel--tall {
    min-height: auto;
    padding: 24px 22px 22px;
    border-radius: 20px;
  }

  .price-panel h2 {
    margin-bottom: 22px;
    font-size: 20px;
    text-align: left;
  }

  .price-panel__list {
    gap: 18px;
  }

  .price-panel__list li {
    gap: 2px 10px;
  }

  .price-panel__list span,
  .price-panel__list strong,
  .price-panel__list small {
    font-size: 14px;
    line-height: 1.36;
  }

  .price-panel__action {
    width: 275px;
    min-height: 51px;
    margin-top: 22px;
    padding: 12px 18px;
    border-radius: 40px;
    font-size: 15px;
    line-height: 20px;
  }

  .price-panel__decor {
    width: min(320px, 92%);
    bottom: -42px;
  }
}

@media (max-width: 699px) {
  .price-page__inner {
    width: min(361px, calc(100% - 40px));
    padding: 48px 0 26px;
  }

  .price-page__title {
    margin-bottom: 26px;
    width: 100%;
    max-width: 361px;
  }

  .price-page__tabs {
    margin-bottom: 29px;
  }

  .price-page__tab {
    min-height: 28px;
    padding: 0 6px;
    line-height: 16px;
  }

  .price-page__board {
    gap: 11px;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .price-panel,
  .price-panel--tall {
    min-height: 480px;
    padding: 19px 19px 28px;
    border-radius: 20px;
  }

  .price-panel h2 {
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
  }

  .price-panel__list {
    gap: 11px;
  }

  .price-panel__list li {
    gap: 2px 12px;
  }

  .price-panel__list span,
  .price-panel__list strong,
  .price-panel__list small {
    font-size: 14px;
    line-height: 19px;
  }

  .price-panel__action {
    width: min(275px, 100%);
    min-height: 51px;
    margin: auto auto 0;
    padding: 12px 24px;
    border-radius: 40px;
    font-size: 15px;
    line-height: 20px;
  }

  .price-panel__decor {
    display: none;
  }
}

.home-pricing {
  position: relative;
  overflow: hidden;
  background: var(--home-section-bg);
  box-shadow: var(--section-shadow);
}

.home-pricing__inner {
  position: relative;
  z-index: 1;
  width: min(1756px, calc(100% - 154px));
  margin: 0 auto;
  padding: 65px 0 95px;
}

.home-pricing__title {
  margin-bottom: 68px;
}

.home-pricing__grid {
  display: grid;
  grid-template-columns: minmax(0, 965px) minmax(360px, 522px);
  width: min(1490px, 100%);
  margin: 0 auto;
  gap: 22px;
}

.pricing-card,
.pricing-offer {
  min-height: 323px;
  padding: 38px 36px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.4);
  box-shadow: var(--soft-card-shadow);
  backdrop-filter: blur(15px);
}

.pricing-offer {
  grid-column: 1 / -1;
  min-height: 190px;
}

.pricing-card h3,
.pricing-offer h3 {
  color: #000;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.25;
}

.pricing-card__rows {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1.3fr 0.8fr;
  gap: 18px 26px;
  margin-top: 38px;
  color: #000;
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.35;
}

.pricing-card__rows--two {
  grid-template-columns: 1fr 0.8fr;
}

.pricing-card strong {
  font-weight: 400;
}

.pricing-offer p {
  margin-top: 18px;
  color: #000;
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.35;
}

.home-pricing__decor {
  position: absolute;
  right: -40px;
  bottom: -90px;
  width: 574px;
  pointer-events: none;
}

.home-pricing__decor img {
  width: 100%;
  height: auto;
}

@media (max-width: 1540px) and (min-width: 981px) {
  .home-pricing__inner {
    width: min(1320px, calc(100% - 56px));
  }
}

@media (max-width: 1100px) {
  .home-pricing__decor {
    display: none;
  }
}

/* ==================== Mobile styles start ==================== */
@media (max-width: 980px) {
  .home-pricing__inner {
    width: min(362px, calc(100% - 40px));
    padding: 26px 0 31px;
  }

  .home-pricing__title {
    justify-items: center;
    margin-bottom: 40px;
    text-align: center;
  }

  .home-pricing__title h2 {
    max-width: 362px;
    font-size: 20px;
    line-height: 1.25;
  }

  .home-pricing__grid {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 16px;
  }

  .pricing-card,
  .pricing-offer {
    min-height: auto;
    padding: 26px 14px;
    border-radius: 20px;
  }

  .pricing-card h3,
  .pricing-offer h3 {
    font-size: 18px;
    line-height: 1.25;
  }

  .pricing-card__rows {
    grid-template-columns: minmax(0, 1fr) auto;
    margin-top: 24px;
    font-size: 14px;
    line-height: 1.36;
  }

  .pricing-card__rows strong {
    text-align: right;
  }

  .pricing-offer p {
    font-size: 14px;
    line-height: 1.36;
  }

}
/* ===================== Mobile styles end ===================== */

/* ==================== Tablet mobile styles start ==================== */
@media (max-width: 980px) and (min-width: 700px) {
  .home-pricing__inner {
    width: min(700px, calc(100% - 64px));
  }
}
/* ===================== Tablet mobile styles end ===================== */

.home-services {
  position: relative;
  min-height: 1207px;
  overflow: hidden;
  background: var(--home-section-bg);
  box-shadow: var(--section-shadow);
}

.home-services__inner {
  position: relative;
  z-index: 1;
  width: min(1756px, calc(100% - 154px));
  margin: 0 auto;
  padding: 48px 0 88px;
}

.home-services__title {
  margin-bottom: 59px;
}

.home-services__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 861px));
  gap: 22px;
}

.service-tile {
  display: grid;
  align-content: start;
  min-height: 309px;
  padding: 34px 32px 25px;
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.4);
  box-shadow: var(--soft-card-shadow);
  backdrop-filter: blur(15px);
}

.service-tile h3 {
  width: max-content;
  max-width: 100%;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  color: transparent;
  background: var(--gold-text-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.25;
  text-transform: uppercase;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.service-tile p {
  max-width: 805px;
  color: #000;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.35;
}

.service-tile a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  width: min(371px, 100%);
  min-height: 69px;
  margin-top: 27px;
  padding: 17px 44px;
  border: 0.5px solid #fff;
  border-radius: 40px;
  color: #fff;
  background: var(--gold-gradient);
  box-shadow: var(--gold-button-shadow);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.39;
  text-align: center;
  text-decoration: none;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.85);
  text-transform: uppercase;
  transition: filter 160ms ease, transform 160ms ease;
}

.service-tile a:hover {
  filter: saturate(1.08);
  transform: translateY(-2px);
}

.home-services__decor {
  position: absolute;
  right: -14px;
  bottom: 0;
  z-index: 0;
  display: block;
  width: 582px;
  height: 880px;
  pointer-events: none;
}

.home-services__decor img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scaleX(-1);
}

@media (max-width: 1540px) and (min-width: 981px) {
  .home-services {
    min-height: 1040px;
  }

  .home-services__inner {
    width: min(1320px, calc(100% - 56px));
    padding: 44px 0 72px;
  }

  .home-services__title {
    margin-bottom: 46px;
  }

  .home-services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .service-tile {
    min-height: 282px;
    padding: 30px 28px 24px;
  }

  .service-tile h3 {
    margin-bottom: 22px;
    font-size: 27px;
  }

  .service-tile p {
    font-size: 18px;
  }

  .service-tile a {
    width: min(330px, 100%);
    min-height: 62px;
    margin-top: 24px;
    font-size: 16px;
  }

  .home-services__decor {
    right: -70px;
    width: 480px;
    height: 726px;
  }
}

@media (max-width: 1100px) {
  .home-services__decor {
    display: none;
  }
}

/* ==================== Mobile styles start ==================== */
@media (max-width: 980px) {
  .home-services {
    min-height: auto;
  }

  .home-services__inner {
    width: min(362px, calc(100% - 40px));
    padding: 20px 0 28px;
  }

  .home-services__title {
    justify-items: center;
    margin-bottom: 30px;
    text-align: center;
  }

  .home-services__grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .service-tile {
    justify-items: center;
    min-height: 232px;
    padding: 24px 16px 22px;
    border-radius: 36px;
    text-align: center;
  }

  .service-tile h3 {
    width: auto;
    margin-bottom: 17px;
    font-size: 20px;
    line-height: 1.25;
  }

  .service-tile p {
    max-width: 329px;
    font-size: 12px;
    line-height: 1.33;
  }

  .service-tile a {
    justify-self: center;
    width: min(275px, 100%);
    min-height: 51px;
    margin-top: 18px;
    padding: 14px 20px;
    font-size: 13px;
  }

}
/* ===================== Mobile styles end ===================== */

/* ==================== Tablet mobile styles start ==================== */
@media (max-width: 980px) and (min-width: 700px) {
  .home-services__inner {
    width: min(720px, calc(100% - 64px));
  }

  .home-services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* ===================== Tablet mobile styles end ===================== */

.home-team {
  position: relative;
  background: #fff;
}

.home-team__inner {
  width: min(1756px, calc(100% - 154px));
  margin: 0 auto;
  padding: 47px 0 112px;
}

.home-team__title {
  margin-bottom: 96px;
}

.home-team__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 461px));
  justify-content: space-between;
  gap: 114px 72px;
}

.team-person {
  display: grid;
  justify-items: center;
  min-width: 0;
  text-align: center;
}

.team-person picture {
  display: block;
  width: min(461px, 100%);
  max-width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 0.5px solid #fff;
  border-radius: 50%;
  box-shadow: var(--section-shadow);
}

.team-person img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-person h3 {
  min-width: 0;
  max-width: 438px;
  margin-top: 34px;
  color: #000;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.25;
}

.team-person p {
  margin-top: 14px;
  color: rgba(0, 0, 0, 0.64);
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.35;
}

@media (max-width: 1540px) and (min-width: 981px) {
  .home-team__inner {
    width: min(1320px, calc(100% - 56px));
    padding-bottom: 88px;
  }

  .home-team__grid {
    grid-template-columns: repeat(3, minmax(0, 360px));
    gap: 76px 48px;
  }

  .team-person picture {
    width: min(360px, 100%);
  }

  .team-person h3 {
    font-size: 25px;
  }
}

/* ==================== Mobile styles start ==================== */
@media (max-width: 980px) {
  .home-team__inner {
    width: min(324px, calc(100% - 40px));
    padding: 30px 0 28px;
  }

  .home-team__title {
    justify-items: center;
    margin-bottom: 28px;
    text-align: center;
  }

  .home-team__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .team-person picture {
    width: min(324px, 100%);
  }

  .team-person h3 {
    max-width: 219px;
    margin-top: 21px;
    font-size: 16px;
    line-height: 1.25;
  }

  .team-person p {
    margin-top: 8px;
    font-size: 16px;
    line-height: 1.38;
  }
}
/* ===================== Mobile styles end ===================== */

/* ==================== Tablet mobile styles start ==================== */
@media (max-width: 980px) and (min-width: 700px) {
  .home-team__inner {
    width: min(700px, calc(100% - 64px));
  }

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

  .team-person picture {
    width: min(300px, 100%);
  }
}
/* ===================== Tablet mobile styles end ===================== */

.trial-section {
  position: relative;
  min-height: 916px;
  overflow: hidden;
  background: #fff;
}

.trial-section__inner {
  position: relative;
  z-index: 1;
  width: min(1920px, 100%);
  height: 916px;
  margin: 0 auto;
}

.trial-section__decor {
  position: absolute;
  display: block;
  top: 0;
  left: calc(50% - 960px + 40px);
  width: 960px;
  aspect-ratio: 1 / 1;
  pointer-events: none;
}

.trial-section__decor img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.trial-section__content {
  position: static;
}

.trial-section__content h2 {
  position: absolute;
  top: 211px;
  left: calc(50% - 960px + 252px);
  display: flex;
  align-items: center;
  width: 396px;
  min-height: 129px;
  max-width: 396px;
  color: #000;
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 600;
  line-height: 55px;
}

.trial-section__note {
  position: absolute;
  top: 162px;
  left: calc(50% - 960px + 631px);
  width: 104px;
  height: 103px;
}

.trial-section__note img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.trial-section__signature {
  position: absolute;
  top: 293px;
  left: calc(50% - 960px + 450px);
  display: block;
  width: 378.6px;
  height: auto;
  margin: 0;
}

.trial-section__content p {
  position: absolute;
  top: 509px;
  left: calc(50% - 960px + 249px);
  width: 661px;
  max-width: 661px;
  min-height: 101px;
  margin: 0;
  color: #000;
  font-family: var(--font-body);
  font-size: 25px;
  font-weight: 400;
  line-height: 34px;
}

.trial-form {
  position: absolute;
  top: 150px;
  left: calc(50% - 960px + 1002px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  width: 747px;
  min-height: 601px;
  padding: 63px 85px 19px 58px;
  border: 1px solid rgba(239, 239, 239, 0.996);
  border-radius: 40px;
  background: var(--gold-gradient);
  box-shadow: var(--soft-card-shadow);
  backdrop-filter: blur(10px);
}

.trial-form h2 {
  max-width: 327px;
  color: #000;
  font-family: var(--font-heading);
  font-size: clamp(26px, 1.56vw, 30px);
  font-weight: 600;
  line-height: 1.24;
  text-align: center;
}

.trial-form p {
  /* max-width: 394px; */
  color: #000;
  font-family: var(--font-body);
  font-size: clamp(18px, 1.04vw, 20px);
  line-height: 1.35;
  text-align: center;
}

.trial-form input {
  width: min(594px, 100%);
  min-height: 80px;
  padding: 0 34px;
  border: 1px solid #c7c7c7;
  border-radius: 50px;
  background: #fff;
  margin-bottom:10px;
  box-shadow: var(--input-shadow);
  color: #000;
  font-family: var(--font-body);
  font-size: 16px;
  letter-spacing: 0.02em;
  text-align: center;
}

.trial-form input::placeholder {
  color: #5b5b5b;
  opacity: 1;
}

.trial-form input[type="submit"] {
  width: min(586px, 100%);
  min-height: 89px;
  border: 1px solid #fff;
  border-radius: 60px;
  color: #fff;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(102, 102, 102, 0) 100%), #4c9dc4;
  box-shadow: 0px 0px 15px 0px #00000059;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.39;
  text-align: center;
  text-shadow: 2px 2px 4px #00000073;
  text-transform: uppercase;
  transition: transform 160ms ease, filter 160ms ease;
}

.trial-form button:hover {
  filter: saturate(1.08);
  transform: translateY(-2px);
}

.trial-form small {
  max-width: 472px;
  color: #2c2c2c;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.38;
  text-align: center;
}

@media (max-width: 1540px) and (min-width: 1101px) {
  .trial-section {
    min-height: 748px;
  }

  .trial-section__inner {
    height: 748px;
  }

  .trial-section__decor {
    left: -120px;
    width: 800px;
  }

  .trial-section__note {
    top: 134px;
    left: calc(50% - 660px + 455px);
    width: 88px;
    height: 88px;
  }

  .trial-section__content h2 {
    top: 181px;
    left: calc(50% - 660px + 110px);
    width: 350px;
    min-height: 112px;
    font-size: 38px;
    line-height: 48px;
  }

  .trial-section__signature {
    top: 258px;
    left: calc(50% - 660px + 285px);
    width: 320px;
  }

  .trial-section__content p {
    top: 442px;
    left: calc(50% - 660px + 108px);
    width: 560px;
    font-size: 22px;
    line-height: 30px;
  }

  .trial-form {
    top: 122px;
    left: calc(50% - 660px + 690px);
    width: 590px;
    min-height: 540px;
    padding: 44px 38px 24px;
  }
}

@media (max-width: 1100px) and (min-width: 981px) {
  .trial-section {
    min-height: auto;
  }

  .trial-section__inner {
    width: min(620px, calc(100% - 48px));
    height: auto;
    padding: 32px 0 54px;
  }

  .trial-section__decor,
  .trial-section__content {
    display: none;
  }

  .trial-form {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    min-height: auto;
    padding: 44px 38px 28px;
  }
}

@media (max-width: 980px) and (min-width: 700px) {
  .trial-section {
    min-height: auto;
  }

  .trial-section__inner {
    width: min(520px, calc(100% - 64px));
    height: auto;
    padding: 28px 0 52px;
  }

  .trial-section__decor,
  .trial-section__content {
    display: none;
  }

  .trial-form {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    min-height: auto;
    gap: 6px;
    padding: 21px clamp(22px, 8vw, 58px) 19px;
    border-radius: 20px;
  }

  .trial-form h2 {
    max-width: 218px;
    font-size: 20px;
    line-height: 1.25;
  }

  .trial-form p {
    max-width: 317px;
    font-size: 16px;
    line-height: 1.38;
  }

  .trial-form input {
    width: min(316px, 100%);
    min-height: 48px;
    padding: 0 18px;
    font-size: 14px;
  }

  .trial-form button {
    width: min(312px, 100%);
    min-height: 54px;
    font-size: 14px;
  }

  .trial-form small {
    max-width: 313px;
    font-size: 10px;
    line-height: 1.4;
  }
}

@media (max-width: 699px) {
  .trial-section {
    min-height: auto;
  }

  .trial-section__inner {
    width: min(361px, calc(100% - 40px));
    height: auto;
    padding: 18px 0 40px;
  }

  .trial-section__decor {
    display: none;
  }

  .trial-section__content {
    display: none;
  }

  .trial-form {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    min-height: 364px;
    margin-top: 0;
    gap: 6px;
    padding: 21px clamp(22px, 8vw, 58px) 19px;
    border-radius: 20px;
  }

  .trial-form h2 {
    max-width: 218px;
    font-size: 20px;
    line-height: 1.25;
  }

  .trial-form p {
    max-width: 317px;
    font-size: 16px;
    line-height: 1.38;
  }

  .trial-form input {
    width: min(316px, 100%);
    min-height: 48px;
    padding: 0 18px;
    font-size: 14px;
  }

  .trial-form button {
    width: min(312px, 100%);
    min-height: 54px;
    font-size: 14px;
  }

  .trial-form small {
    max-width: 313px;
    font-size: 10px;
    line-height: 1.4;
  }
}

.home-why {
  position: relative;
  overflow: hidden;
  background: var(--home-section-bg);
  box-shadow: var(--section-shadow);
}

.home-why__inner {
  position: relative;
  z-index: 1;
  width: min(1756px, calc(100% - 154px));
  margin: 0 auto;
  padding: 72px 0 90px;
}

.home-why__title {
  margin-bottom: 116px;
}

.home-why__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 371px));
  justify-content: space-between;
  width: min(1360px, 100%);
  margin: 0 auto;
  gap: 54px;
}

.home-why__grid article {
  display: grid;
  grid-template-columns: 9px 1fr;
  grid-template-rows: auto 1fr;
  gap: 34px;
  row-gap: 16px;
  align-items: start;
}

.home-why__grid article > span {
  grid-row: 1 / 3;
  width: 9px;
  height: 194px;
  border-radius: 999px;
  background: linear-gradient(97.21deg, #f0c566 -68.66%, #fef4b2 -42.45%, #fddd86 -21.52%, #cd9f48 11.45%, #fcf4b3 41.33%, #caa04a 75.3%);
}

.home-why h3 {
  min-height: 80px;
  color: #000;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.25;
  text-transform: uppercase;
}

.home-why p {
  grid-column: 2;
  color: #000;
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.35;
}

.home-why__decor {
  position: absolute;
  left: -80px;
  bottom: -360px;
  width: 560px;
  height: 900px;
  pointer-events: none;
  transform: scaleX(-1) rotate(-90deg);
}

.home-why__decor img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 1540px) and (min-width: 981px) {
  .home-why__inner {
    width: min(1320px, calc(100% - 56px));
  }

  .home-why__grid {
    width: min(1180px, 100%);
  }

  .home-why__grid article > span {
    height: 216px;
  }

  .home-why__decor {
    left: -80px;
    bottom: -380px;
    width: 520px;
    height: 836px;
  }

  .home-why h3 {
    font-size: 26px;
  }
}

@media (max-width: 1100px) {
  .home-why__decor {
    display: none;
  }
}

/* ==================== Mobile styles start ==================== */
@media (max-width: 980px) {
  .home-why__inner {
    width: min(362px, calc(100% - 40px));
    padding: 16px 0 22px;
  }

  .home-why__title {
    justify-items: center;
    margin-bottom: 26px;
    text-align: center;
  }

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

  .home-why__grid article {
    grid-template-columns: 6px 1fr;
    gap: 16px;
    row-gap: 6px;
  }

  .home-why__grid article > span {
    height: 59px;
  }

  .home-why h3 {
    min-height: auto;
    font-size: 16px;
    line-height: 1.25;
  }

  .home-why p {
    font-size: 12px;
    line-height: 1.33;
  }

}
/* ===================== Mobile styles end ===================== */

/* ==================== Tablet mobile styles start ==================== */
@media (max-width: 980px) and (min-width: 700px) {
  .home-why__inner {
    width: min(700px, calc(100% - 64px));
  }
}
/* ===================== Tablet mobile styles end ===================== */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.page-breadcrumbs-wrap {
  display: block;
  position: relative;
  top: 0;
  left: auto;
  z-index: 1;
  width: 100%;
  max-width: calc(100% - 80px);
  padding-top: 140px;
  background: #fff;
}

.page-breadcrumbs {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #000;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  white-space: nowrap;
}

.page-breadcrumbs a {
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease;
}

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

.page-breadcrumbs__current {
  color: inherit;
}

.page-breadcrumbs__separator {
  color: inherit;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  color: var(--muted);
}

.feature-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.price-card {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.price-card strong {
  color: var(--accent);
  font-size: 34px;
}

.price-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.event-date {
  display: inline-flex;
  width: max-content;
  padding: 7px 10px;
  border-radius: var(--radius);
  color: var(--accent-dark);
  background: var(--accent-soft);
  font-weight: 900;
}

.team-role {
  color: var(--accent);
  font-weight: 900;
}

.contacts-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(320px, 0.55fr);
  gap: 28px;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.contact-item {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.contact-item strong {
  display: block;
  margin-bottom: 6px;
}

.map-placeholder {
  display: grid;
  min-height: 360px;
  place-items: center;
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--surface-soft);
}

@media (max-width: 980px) {
  .page-breadcrumbs-wrap {
    top: 12px;
    left: 20px;
    max-width: calc(100% - 40px);
  }

  .page-breadcrumbs {
    gap: 6px;
    font-size: 14px;
    line-height: 19px;
  }

  .split,
  .contacts-layout {
    grid-template-columns: 1fr;
  }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  color: #fff;
  background: var(--accent);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.button--ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}

.button--ghost:hover {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}

.card__body {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.card p {
  color: var(--muted);
}

.media-placeholder {
  display: grid;
  place-items: center;
  min-height: 220px;
  color: rgba(255, 255, 255, 0.82);
  background:
    linear-gradient(135deg, rgba(40, 79, 99, 0.92), rgba(178, 69, 45, 0.78)),
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(255, 255, 255, 0.16) 34px 36px);
  font-size: 48px;
  font-weight: 900;
}

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

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

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head p {
  color: var(--muted);
  font-size: 18px;
}

.home-section-title {
  display: grid;
  grid-template-columns: 229px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.home-section-title span {
  width: 229px;
  height: 2px;
  background: var(--gold-line-gradient);
}

.home-section-title h2 {
  min-width: 0;
  color: #000;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.25;
}

.form-card {
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.form-card h2,
.form-card h3 {
  font-size: 28px;
}

.form-card p,
.form-card small {
  color: var(--muted);
}

.form-card small {
  font-size: 12px;
}

.form-card input,
.form-card textarea,
.form-card select {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}

.form-card textarea {
  min-height: 116px;
  padding-top: 14px;
  resize: vertical;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stat {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.stat strong {
  display: block;
  color: var(--accent);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

.success-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(23, 21, 20, 0.58);
}

.success-modal.is-visible {
  display: grid;
}

.success-modal__content {
  width: min(460px, 100%);
  padding: 32px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.success-modal__content p {
  margin: 12px 0 22px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .grid,
  .grid--two,
  .stats-grid,
  .section-head,
  .home-section-title {
    grid-template-columns: 1fr;
  }

  header.home-section-title {
    gap: 14px;
    justify-items: start;
    text-align: left;
  }

  header.home-section-title span {
    order: 2;
    width: 100%;
    max-width: none;
  }

  header.home-section-title h2 {
    order: 1;
    width: 100%;
  }
}

.site-footer {
  position: relative;
  z-index: 2;
  min-height: 205px;
  border-bottom: 0.5px solid #fef6f1;
  background: #fff;
  box-shadow: 4px 4px 45px 0px #00000026;
  color: #000;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 400px minmax(540px, 1fr) 26px 400px;
  grid-template-areas:
    "brand nav note connect"
    "bottom bottom bottom bottom";
  gap: clamp(34px, 4.4vw, 84px);
  align-items: start;
  width: min(1840px, calc(100% - 150px));
  min-height: 205px;
  margin: 0 auto;
  padding: 17px 0 12px;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.site-footer a:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

.site-footer__brand {
  grid-area: brand;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 31px;
  align-items: start;
  min-width: 0;
}

.footer-brand {
  position: relative;
  display: inline-grid;
  width: 94px;
  min-height: 86px;
  text-decoration: none;
}

.footer-brand__mark {
  position: absolute;
  top: 0;
  left: 4px;
  width: 86px;
  height: 86px;
  object-fit: contain;
}

.footer-brand__logo {
  position: absolute;
  top: 19px;
  left: 0;
  width: 94px;
  height: auto;
  object-fit: contain;
}

.site-footer__brand p {
  width: min(203px, 100%);
  padding-top: 14px;
  color: #000;
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.35;
  font-weight: 400;
}

.site-footer__nav ul {
  grid-area: nav;
  display: grid;
  list-style:none;
  padding:0;
  grid-template-columns: 76px 94px 94px 133px;
  gap: 16px clamp(54px, 4.4vw, 79px);
  align-items: start;
  padding-top: 0px;
}

.site-footer__nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: #000;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
}

.site-footer__services::after {
  content: "";
  width: 5px;
  height: 5px;
  margin-left: 10px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.site-footer__note {
  grid-area: note;
  padding-top: 16px;
}

.site-footer__note img {
  width: 22px;
  height: 23px;
  object-fit: contain;
}

.site-footer__connect {
  grid-area: connect;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  grid-template-areas:
    "social phone"
    "social mail";
  gap: 2px 18px;
  align-items: start;
  justify-self: end;
  width: auto;
  padding-top: 15px;
}

.site-footer__social {
  grid-area: social;
  display: flex;
  gap: 14px;
  align-items: center;
  padding-top: 1px;
}

.site-footer__social a {
  display: inline-flex;
  width: 33px;
  height: 33px;
}

.site-footer__social img {
  width: 33px;
  height: 33px;
}

.site-footer__phone,
.site-footer__mail {
  justify-self: end;
  color: #000;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
  text-align: right;
  white-space: nowrap;
}

.site-footer__phone {
  grid-area: phone;
  font-size: clamp(23px, 1.56vw, 30px);
  line-height: 1.35;
  font-weight: 600;
  text-transform: uppercase;
}

.site-footer__mail {
  grid-area: mail;
  font-size: 15px;
  line-height: 20px;
  font-weight: 400;
  text-decoration: underline;
}

.site-footer__bottom {
  grid-area: bottom;
  display: grid;
  grid-template-columns: 457px 1fr 359px;
  gap: clamp(34px, 3.3vw, 63px);
  align-items: center;
  margin-top: 30px;
  color: #000;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
}

.site-footer__bottom a:last-child {
  justify-self: end;
  text-align: right;
  letter-spacing: 0.02em;
}

@media (max-width: 1540px) and (min-width: 1101px) {
  .site-footer__inner {
    grid-template-columns: 330px minmax(450px, 1fr) 22px 300px;
    gap: 30px;
    width: min(100% - 40px, 1460px);
    min-height: 180px;
  }

  .site-footer__brand {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 22px;
  }

  .footer-brand {
    width: 82px;
    min-height: 76px;
  }

  .footer-brand__mark {
    width: 76px;
    height: 76px;
  }

  .footer-brand__logo {
    top: 17px;
    width: 82px;
  }

  .site-footer__brand p {
    font-size: 17px;
  }

  .site-footer__nav {
    grid-template-columns: 64px 80px 80px 118px;
    gap: 14px clamp(26px, 2.5vw, 42px);
  }

  .site-footer__nav a {
    font-size: 14px;
  }

  .site-footer__connect {
    grid-template-columns: 72px minmax(0, 1fr);
    width: 300px;
    gap: 2px 12px;
  }

  .site-footer__phone {
    font-size: 22px;
  }

  .site-footer__mail {
    font-size: 13px;
  }

  .site-footer__bottom {
    grid-template-columns: 360px 1fr 300px;
    gap: 28px;
    margin-top: 18px;
    font-size: 14px;
  }
}

@media (max-width: 1100px) and (min-width: 981px) {
  .site-footer__note {
    display: none;
  }

  .site-footer__bottom a:last-child {
    justify-self: center;
    text-align: center;
  }

  .site-footer__inner {
    grid-template-columns: minmax(0, 1fr) 286px;
    grid-template-areas:
      "brand connect"
      "nav nav"
      "bottom bottom";
    width: min(984px, calc(100% - 40px));
    gap: 20px 28px;
  }

  .site-footer__nav {
    grid-template-columns: repeat(4, auto);
    justify-content: start;
    gap: 14px 36px;
  }

  .site-footer__bottom {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 980px) {
  .site-footer {
    min-height: 371px;
  }

  .site-footer__inner {
    position: relative;
    display: block;
    width: min(399px, 100%);
    height: 371px;
    min-height: 371px;
    padding: 0;
  }

  .site-footer__brand {
    position: absolute;
    top: 20px;
    left: 20px;
    display: block;
    width: 133px;
    min-height: 133px;
  }

  .footer-brand {
    position: absolute;
    top: 0;
    left: 0;
    width: 102px;
    min-height: 86px;
  }

  .footer-brand__mark {
    left: 4px;
    width: 86px;
    height: 86px;
  }

  .footer-brand__logo {
    z-index: 2;
    top: 20%;
    left: 4px;
    width: 94px;
  }

  .site-footer__brand p {
    position: absolute;
    top: 95px;
    left: -19px;
    width: 133px;
    padding: 0;
    font-size: 14px;
    line-height: 19px;
    text-align: center;
    white-space: nowrap;
  }

  .site-footer__nav {
    position: absolute;
    top: 20px;
    left: 163px;
    display: grid;
    grid-template-columns: 70px 117px;
    gap: 17px clamp(24px, 8.7vw, 35px);
    width: calc(100% - 176px);
    padding-top: 0;
  }

  .site-footer__nav a {
    font-size: 14px;
    line-height: 19px;
  }

  .site-footer__nav a:nth-child(1),
  .site-footer__nav a:nth-child(3) {
    grid-row: 1;
  }

  .site-footer__nav a:nth-child(5),
  .site-footer__nav a:nth-child(7) {
    grid-row: 2;
  }

  .site-footer__nav a:nth-child(2),
  .site-footer__nav a:nth-child(4) {
    grid-row: 3;
  }

  .site-footer__nav a:nth-child(6),
  .site-footer__nav a:nth-child(8) {
    grid-row: 4;
  }

  .site-footer__nav a:nth-child(1),
  .site-footer__nav a:nth-child(2),
  .site-footer__nav a:nth-child(5),
  .site-footer__nav a:nth-child(6) {
    grid-column: 1;
  }

  .site-footer__nav a:nth-child(3),
  .site-footer__nav a:nth-child(4),
  .site-footer__nav a:nth-child(7),
  .site-footer__nav a:nth-child(8) {
    grid-column: 2;
  }

  .site-footer__services::after {
    display: none;
  }

  .site-footer__connect {
    position: absolute;
    top: 182px;
    left: 50%;
    transform: translateX(-50%);
    grid-template-columns: 1fr;
    grid-template-areas:
      "social"
      "phone"
      "mail";
    justify-items: center;
    width: 145px;
    margin: 0;
    padding-top: 0;
    gap: 0;
  }

  .site-footer__social {
    justify-content: center;
    gap: 13px;
    padding-top: 0;
    margin-bottom: 10px;
  }

  .site-footer__social a,
  .site-footer__social img {
    width: 30px;
    height: 30px;
  }

  .site-footer__phone,
  .site-footer__mail {
    justify-self: center;
    text-align: center;
  }

  .site-footer__phone {
    font-size: 16px;
    line-height: 22px;
  }

  .site-footer__mail {
    font-size: 14px;
    line-height: 19px;
  }

  .site-footer__bottom {
    position: absolute;
    top: 295px;
    left: 50%;
    transform: translateX(-50%);
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 7px;
    width: min(343px, calc(100% - 26px));
    margin-top: 0;
    font-size: 12px;
    line-height: 16px;
    text-align: center;
  }
}

@media (max-width: 980px) and (min-width: 700px) {
  .site-footer__inner {
    width: min(520px, 100%);
  }
}

@media (max-width: 360px) {
  .site-footer__nav {
    left: 137px;
    grid-template-columns: 61px 105px;
    column-gap: 12px;
    width: calc(100% - 144px);
  }

  .site-footer__nav a {
    font-size: 13px;
  }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header-height);
  border-bottom: 0.5px solid #fef6f1;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: grid;
  grid-template-columns: 258px minmax(0, 1fr) 340px;
  gap: clamp(28px, 3.4vw, 65px);
  align-items: center;
  width: min(1840px, calc(100% - 80px));
  height: 100%;
}

.brand {
  display: grid;
  grid-template-columns: 54px 148px;
  gap: 12px;
  align-items: center;
  width: 258px;
  min-width: 0;
  text-decoration: none;
}

.brand__mark {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.25));
}

.brand__logo {
  width: 148px;
  height: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: clamp(28px, 3.33vw, 64px);
  min-width: 0;
  white-space: nowrap;
}

.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  color: #000;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

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

.nav a[aria-current="page"] {
  color: #000;
  min-width: clamp(112px, 6.77vw, 130px);
  height: clamp(40px, 2.4vw, 46px);
  padding: 0 18px;
  border-radius: 8px;
  background: linear-gradient(99.09deg, rgba(240, 197, 102, 0.57) 4.15%, rgba(254, 244, 178, 0.57) 19.12%, rgba(253, 221, 134, 0.57) 31.07%, rgba(205, 159, 72, 0.57) 49.89%, rgba(252, 244, 179, 0.57) 66.96%, rgba(202, 160, 74, 0.57) 86.36%);
  box-shadow: 2px 4px 20px rgba(0, 0, 0, 0.25);
}

.nav a[href="services.html"]::after {
  content: "";
  width: 5px;
  height: 5px;
  margin-left: 10px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.header-actions {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  justify-self: end;
  width: 340px;
}

.social-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-link {
  display: inline-flex;
  width: 33px;
  height: 33px;
  transition: transform 160ms ease, filter 160ms ease;
}

.social-link:hover {
  filter: saturate(1.1);
  transform: translateY(-1px);
}

.header-contact {
  display: grid;
  justify-items: end;
  gap: 2px;
}

.phone-link,
.mail-link {
  color: #000;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
  text-align: right;
  text-decoration: none;
  white-space: nowrap;
}

.phone-link {
  font-size: clamp(22px, 1.42vw, 22px);
  line-height: 1.35;
  font-weight: 600;
  text-transform: uppercase;
}

.mail-link {
  font-size: 15px;
  line-height: 20px;
  text-decoration: underline;
}

.menu-toggle {
  display: none;
}

.mobile-header__tagline,
.mobile-header__legal {
  display: none;
}

@media (max-width: 1540px) and (min-width: 981px) {
  .site-header__inner {
    grid-template-columns: 214px minmax(0, 1fr) 286px;
    gap: 26px;
    width: min(100% - 40px, 1460px);
  }

  .brand {
    grid-template-columns: 48px 132px;
    width: 214px;
    gap: 10px;
  }

  .brand__mark {
    width: 48px;
    height: 48px;
  }

  .brand__logo {
    width: 132px;
  }

  .nav {
    gap: clamp(16px, 1.7vw, 26px);
  }

  .nav a {
    font-size: 14px;
    min-height: 40px;
  }

  .nav a[aria-current="page"] {
    min-width: 104px;
    height: 40px;
    padding: 0 14px;
  }

  .header-actions {
    grid-template-columns: 70px minmax(0, 1fr);
    width: 286px;
    gap: 12px;
  }

  .phone-link {
    font-size: 20px;
  }

  .mail-link {
    font-size: 13px;
  }
}

/* ==================== Compact header styles start ==================== */
@media (max-width: 1100px) {
  .site-header {
    height: 64px;
    overflow: visible;
    background: #fff;
    backdrop-filter: none;
  }

  .site-header__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 44px;
    align-items: center;
    width: min(100%, 402px);
    padding: 0 13px;
  }

  .brand {
    grid-template-columns: 38px 74px;
    gap: 8px;
    width: 120px;
  }

  .brand__mark {
    width: 38px;
    height: 38px;
  }

  .brand__logo {
    width: 74px;
  }

  .nav,
  .header-actions,
  .mobile-header__tagline,
  .mobile-header__legal {
    display: none;
  }

  .menu-toggle {
    display: grid;
    place-content: center;
    gap: 5px;
    justify-self: end;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    border-radius: 999px;
    background: var(--gold-line-gradient);
    transition: transform 160ms ease, opacity 160ms ease;
  }

  .site-header.is-menu-open {
    height: auto;
    min-height: 569px;
    border-bottom: 0.5px solid #fef6f1;
    box-shadow: 4px 4px 45px rgba(0, 0, 0, 0.15);
  }

  .site-header.is-menu-open .site-header__inner {
    grid-template-columns: 1fr;
    align-content: start;
    justify-items: center;
    gap: 0;
    min-height: 569px;
    padding: 46px 13px 24px;
  }

  .site-header.is-menu-open .brand {
    position: relative;
    display: block;
    width: 102px;
    height: 94px;
  }

  .site-header.is-menu-open .brand__mark {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    width: 86px;
    height: 86px;
  }

  .site-header.is-menu-open .brand__logo {
    position: absolute;
    z-index: 2;
    top: 20%;
    left: 50%;
    width: 94px;
    transform: translateX(-50%);
  }

  .site-header.is-menu-open .mobile-header__tagline {
    display: block;
    margin-top: 6px;
    color: #000;
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 19px;
    text-align: center;
  }

  .site-header.is-menu-open .nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(4, auto);
    grid-auto-flow: column;
    gap: 12px 24px;
    width: 100%;
    margin-top: 29px;
  }

  .site-header.is-menu-open .nav a {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    min-height: 19px;
    height: auto;
    width: 100%;
    min-width: 0;
    padding: 0 0 11px;
    border: 0;
    border-radius: 0;
    color: #000;
    background: transparent;
    box-shadow: none;
    font-size: 14px;
    line-height: 19px;
    font-weight: 600;
  }

  .site-header.is-menu-open .nav a::before {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    bottom: 0;
    height: 2px;
    background: var(--gold-line-gradient);
  }

  .site-header.is-menu-open .nav a[href="services.html"]::after {
    display: none;
  }

  .site-header.is-menu-open .header-actions {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 8px;
    width: 100%;
    margin-top: 30px;
  }

  .site-header.is-menu-open .social-actions {
    gap: 13px;
  }

  .site-header.is-menu-open .social-link {
    width: 30px;
    height: 30px;
  }

  .site-header.is-menu-open .header-contact {
    justify-items: center;
    gap: 0;
    margin-top: 0;
  }

  .site-header.is-menu-open .phone-link {
    font-size: 16px;
    line-height: 22px;
  }

  .site-header.is-menu-open .mail-link {
    font-size: 14px;
    line-height: 19px;
  }

  .site-header.is-menu-open .mobile-header__legal {
    display: grid;
    justify-items: center;
    gap: 7px;
    width: 100%;
    margin-top: 43px;
    color: #000;
    font-family: var(--font-body);
    font-size: 12px;
    line-height: 16px;
    text-align: center;
  }

  .site-header.is-menu-open .mobile-header__legal a {
    text-decoration: none;
  }

  .site-header.is-menu-open .menu-toggle {
    position: absolute;
    top: 10px;
    right: 18px;
  }

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

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

  .site-header.is-menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}
/* ===================== Compact header styles end ===================== */

/* ==================== Tablet mobile header styles start ==================== */
@media (max-width: 1100px) and (min-width: 700px) {
  .site-header__inner {
    width: min(100% - 48px, 820px);
  }
}
/* ===================== Tablet mobile header styles end ===================== */

ul#menu-glavnoe-menyu {
    display: flex;
    list-style: none;
    justify-content: space-between;
    width: 100%;
}
nav.page-breadcrumbs-wrap+.home-contacts {
    background: white;
}

h1 {
  min-width: 0;
  color: #000;
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 600;
  line-height: 1.25;
}

.text-page .about-section__inner {
    background: white;
    display: block;
}

section.who-we .container {
    width: auto;
}

section.text-page {
    background:white;
    padding:30px 0
}
section.text-page p {
    margin-bottom:10px
}

section.text-page h1 {
    margin-bottom: 20px;
}

section.text-page table {
    margin: 20px 0;
    border-collapse: collapse;
}

section.text-page table td {
    border: 1px solid #ddd;
    padding: 10px;
}

.wpcf7 form.sent .wpcf7-response-output {
	border-radius: 20px;
	border-color: #46b450; /* Green */
	background: #46b450;
	color: white;
}