@property --scroll-progress {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}

html {
  --scroll-progress: 0;
}

@media (min-width: 992px) {
  #mainNav,
  #mainNav.navbar-scrolled {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, calc(0.15 * var(--scroll-progress)));
    background-color: rgba(
      calc(255 * var(--scroll-progress)),
      calc(255 * var(--scroll-progress)),
      calc(255 * var(--scroll-progress)),
      calc(0.2 + (0.5 * var(--scroll-progress)))
    );
    transition: none;
  }

  #mainNav .navbar-brand,
  #mainNav.navbar-scrolled .navbar-brand,
  #mainNav .navbar-nav .nav-item .nav-link,
  #mainNav.navbar-scrolled .navbar-nav .nav-item .nav-link {
    color: rgba(
      calc(255 - (222 * var(--scroll-progress))),
      calc(255 - (222 * var(--scroll-progress))),
      calc(255 - (222 * var(--scroll-progress))),
      calc(0.7 + (0.3 * var(--scroll-progress)))
    );
  }
}

#myVideo {
  opacity: calc(0.85 - (0.7 * var(--scroll-progress)));
}

#mainNav .video-toggle {
  cursor: pointer;
  background-color: transparent;
  border: 0;
}

/* Decorative reading path: original geometric author marks, not an alphabet. */
.reading-path {
  position: fixed;
  z-index: 1031;
  top: 50%;
  right: clamp(0.7rem, 1.8vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0.55rem 0.4rem;
  border: 1px solid rgba(205, 185, 255, 0.12);
  border-radius: 999px;
  background: rgba(10, 7, 31, 0.22);
  backdrop-filter: blur(4px);
  transform: translateY(-50%);
  pointer-events: auto;
}

.reading-path__glyph {
  display: grid;
  width: 1.7rem;
  height: 1.7rem;
  place-items: center;
  color: rgba(196, 187, 226, 0.3);
  cursor: pointer;
  filter: saturate(0.65);
  text-decoration: none;
  transition: color 700ms ease, filter 700ms ease, opacity 700ms ease, transform 700ms ease;
}

.reading-path__glyph svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.15;
}

.reading-path__glyph.is-seen {
  color: rgba(187, 145, 240, 0.72);
  filter: saturate(1);
}

.reading-path__glyph.is-current {
  color: rgb(245, 180, 93);
  filter: drop-shadow(0 0 0.45rem rgba(177, 102, 255, 0.76));
  transform: scale(1.14);
}

.reading-path__glyph:hover {
  color: rgba(255, 222, 161, 0.96);
  filter: drop-shadow(0 0 0.36rem rgba(177, 102, 255, 0.7));
}

.reading-path__glyph:focus-visible {
  outline: 2px solid rgba(255, 214, 142, 0.95);
  outline-offset: 0.2rem;
  border-radius: 0.4rem;
}

/* Decorative eye carousel */
.eye-carousel {
  position: relative;
  min-height: clamp(34rem, 78vh, 58rem);
  min-height: clamp(34rem, 78svh, 58rem);
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(
    to bottom,
    rgba(26, 18, 64, 0.92) 0%,
    #090718 12%,
    #090718 88%,
    rgba(82, 28, 145, 0.9) 100%
  );
}

.eye-carousel__frames,
.eye-carousel__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.eye-carousel__frame {
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 4s ease-in-out;
  will-change: opacity;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.eye-carousel:not(.is-ready) .eye-carousel__frame[data-eye-frame="02"],
.eye-carousel__frame.is-active {
  opacity: 1;
}

.eye-carousel::before,
.eye-carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.eye-carousel::before {
  z-index: 2;
  background:
    radial-gradient(circle at 50% 46%, transparent 20%, rgba(20, 10, 50, 0.22) 52%, rgba(4, 5, 20, 0.88) 100%),
    linear-gradient(180deg, rgba(15, 10, 43, 0.4), transparent 20%, transparent 80%, rgba(37, 12, 74, 0.34));
}

.eye-carousel::after {
  z-index: 3;
  background:
    radial-gradient(circle at 66% 34%, rgba(223, 133, 58, 0.14), transparent 34%),
    linear-gradient(118deg, rgba(72, 33, 104, 0.3), rgba(188, 88, 62, 0.12) 56%, rgba(24, 26, 82, 0.34));
  mix-blend-mode: soft-light;
}

@media screen and (max-width: 768px) {
  .reading-path {
    top: auto;
    right: auto;
    bottom: max(0.65rem, env(safe-area-inset-bottom));
    left: 50%;
    flex-direction: row;
    gap: 0.26rem;
    padding: 0.3rem 0.48rem;
    transform: translateX(-50%);
  }

  .reading-path__glyph {
    width: 1.32rem;
    height: 1.32rem;
  }

  .eye-carousel {
    min-height: clamp(31rem, 72vh, 46rem);
    min-height: clamp(31rem, 72svh, 46rem);
  }

  .eye-carousel:not(.is-ready) .eye-carousel__frame[data-eye-frame="02"] {
    opacity: 0;
  }

  .eye-carousel:not(.is-ready) .eye-carousel__frame[data-eye-frame="04"] {
    opacity: 1;
  }
}

/* First visual-system layer: dark, warm, and intentionally reversible. */
:root {
  --su-ink: #090718;
  --su-ink-soft: #120c2a;
  --su-violet: #5b2d95;
  --su-violet-light: #b68cff;
  --su-amber: #f1ae61;
  --su-text: #f5f0ff;
  --su-text-muted: rgba(232, 222, 255, 0.72);
  --su-panel: rgba(14, 9, 35, 0.78);
  --su-panel-strong: rgba(10, 7, 27, 0.9);
  --su-radius: 1.25rem;
  --su-focus-ring: 0 0 0 0.22rem rgba(241, 174, 97, 0.42);
}

body {
  color: var(--su-text);
  background-color: var(--su-ink);
}

header.masthead {
  background-image:
    linear-gradient(135deg, rgba(9, 7, 24, 0.54), rgba(50, 20, 87, 0.38) 52%, rgba(116, 55, 34, 0.3)),
    linear-gradient(to bottom, rgba(7, 5, 20, 0.12), rgba(7, 5, 20, 0.68)),
    url("../assets/img/bg-masthead.jpg");
}

#mainNav {
  border-bottom: 1px solid rgba(216, 197, 255, 0.14);
  background-color: rgba(10, 7, 28, 0.62);
  backdrop-filter: blur(14px) saturate(1.08);
}

#mainNav .navbar-brand,
#mainNav .navbar-nav .nav-item .nav-link,
#mainNav .video-toggle {
  color: rgba(250, 246, 255, 0.92);
}

#mainNav .navbar-brand:hover,
#mainNav .navbar-nav .nav-item .nav-link:hover,
#mainNav .navbar-nav .nav-item .nav-link:active,
#mainNav .navbar-nav .nav-item .nav-link.active,
#mainNav .video-toggle:hover {
  color: var(--su-amber) !important;
}

#mainNav .navbar-toggler {
  border-color: rgba(237, 227, 255, 0.42);
}

#mainNav .navbar-toggler-icon {
  filter: invert(1) brightness(2);
}

.page-section > .container h2,
.page-section > .container h3,
.page-section > .container h5 {
  color: var(--su-text);
}

hr.divider {
  border-color: var(--su-amber);
  box-shadow: 0 0 1rem rgba(241, 174, 97, 0.22);
}

#offer.page-section,
#client-feedback.page-section,
#order.page-section {
  background-color: var(--su-ink-soft) !important;
  background-image:
    radial-gradient(circle at 12% 12%, rgba(119, 61, 178, 0.33), transparent 38%),
    radial-gradient(circle at 88% 86%, rgba(199, 98, 49, 0.2), transparent 40%),
    linear-gradient(140deg, rgba(10, 7, 30, 0.98), rgba(30, 16, 60, 0.96)) !important;
}

#services {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--su-ink-soft);
}

/* Decorative personal-practice imagery: the content stays in the foreground. */
.practice-carousel,
.practice-carousel__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.practice-carousel {
  z-index: 0;
  overflow: hidden;
  background: var(--su-ink-soft);
}

.practice-carousel__frame {
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 4s ease-in-out;
  will-change: opacity;
}

.practice-carousel:not(.is-ready) .practice-carousel__frame[data-practice-frame="01"],
.practice-carousel__frame.is-active {
  opacity: 1;
}

.practice-carousel::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(110deg, rgba(8, 6, 22, 0.94) 0%, rgba(13, 8, 34, 0.86) 44%, rgba(30, 12, 36, 0.76) 100%),
    linear-gradient(0deg, rgba(7, 5, 19, 0.68), rgba(7, 5, 19, 0.34));
}

#services .container {
  position: relative;
  z-index: 1;
}

#services .text-muted {
  color: var(--su-text-muted) !important;
}

/* Program cards keep the image atmospheric without sacrificing reading comfort. */
#services .row > [class*="col-"] > .mt-5 {
  height: calc(100% - 3rem);
  margin-top: 3rem !important;
  padding: clamp(1.35rem, 3vw, 2rem) clamp(1rem, 2.4vw, 1.55rem);
  border: 1px solid rgba(221, 204, 255, 0.16);
  border-radius: var(--su-radius);
  background:
    linear-gradient(145deg, rgba(31, 19, 65, 0.84), rgba(9, 7, 25, 0.9)),
    rgba(11, 8, 29, 0.86);
  box-shadow: 0 1rem 2.4rem rgba(3, 2, 13, 0.3);
  backdrop-filter: blur(8px) saturate(0.92);
}

#services .row > [class*="col-"] > .mt-5 .text-primary {
  color: var(--su-amber) !important;
  text-shadow: 0 0 1.25rem rgba(241, 174, 97, 0.28);
}

#services .row > [class*="col-"] > .mt-5 h3 {
  color: var(--su-text);
}

#services .row > [class*="col-"] > .mt-5 a[style] {
  color: #f0b7a6 !important;
}

#client-feedback {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--su-text);
}

#client-feedback::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 50% 8%, rgba(212, 139, 75, 0.13), transparent 31%),
    linear-gradient(90deg, rgba(92, 44, 150, 0.09), transparent 32%, transparent 68%, rgba(199, 98, 49, 0.09));
  pointer-events: none;
}

#client-feedback > .row {
  margin-right: 0;
  margin-left: 0;
}

/* The legacy feedback is plain inline text, so its column doubles as its reading panel. */
#client-feedback > .row > .col-lg-8 {
  max-width: min(54rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(1.65rem, 4.5vw, 3.35rem) clamp(1.1rem, 4vw, 3rem);
  border: 1px solid rgba(230, 211, 255, 0.2);
  border-top-color: rgba(241, 174, 97, 0.56);
  border-radius: var(--su-radius);
  background:
    linear-gradient(145deg, rgba(39, 23, 76, 0.76), rgba(10, 7, 28, 0.88)),
    var(--su-panel);
  box-shadow:
    0 1.3rem 3.6rem rgba(3, 2, 14, 0.38),
    inset 0 1px 0 rgba(255, 239, 215, 0.08);
  line-height: 1.72;
  text-shadow: 0 1px 0 rgba(2, 1, 10, 0.4);
  backdrop-filter: blur(10px) saturate(0.9);
}

#client-feedback h5 {
  margin-bottom: 0;
  color: var(--su-text);
  font-size: clamp(1.3rem, 2.6vw, 1.65rem);
  letter-spacing: 0.045em;
}

#client-feedback .divider {
  width: min(5.5rem, 36%);
  margin-right: auto;
  margin-left: auto;
}

#client-feedback p {
  margin: 1.8rem auto 0;
  max-width: 43rem;
  color: var(--su-text-muted);
  line-height: 1.68;
}

#client-feedback .btn-light {
  color: #190e1e;
  border-color: rgba(255, 237, 213, 0.44);
  background: linear-gradient(125deg, #f4bd70, #e98b6c 54%, #c074bd);
  box-shadow: 0 0.7rem 1.7rem rgba(77, 32, 107, 0.34);
}

#client-feedback .btn-light:hover,
#client-feedback .btn-light:focus {
  color: #190e1e;
  border-color: rgba(255, 237, 213, 0.62);
  background: linear-gradient(125deg, #ffd08a, #f09b78 54%, #ce84ca);
}

/* The legacy enrolment block is text-heavy, so it receives a quiet reading surface. */
#order {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--su-text);
}

#order::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(143, 83, 209, 0.2), transparent 33%),
    radial-gradient(circle at 84% 76%, rgba(232, 139, 73, 0.16), transparent 35%),
    linear-gradient(150deg, rgba(8, 6, 25, 0.22), rgba(36, 17, 67, 0.12));
  pointer-events: none;
}

#order > .container:first-child {
  position: relative;
  z-index: 1;
}

#order h2 {
  max-width: 43rem;
  margin-right: auto;
  margin-left: auto;
  color: var(--su-text);
  text-shadow: 0 0.15rem 1.3rem rgba(13, 7, 31, 0.46);
}

#order > div:not(.container) > .container {
  position: relative;
  z-index: 1;
  max-width: min(62rem, calc(100% - 2rem));
}

#order .form-group {
  margin-bottom: 0;
}

#order .card.bg-light {
  overflow: hidden;
  border: 1px solid rgba(228, 209, 255, 0.2);
  border-top-color: rgba(241, 174, 97, 0.58);
  border-radius: var(--su-radius);
  color: var(--su-text) !important;
  background:
    linear-gradient(145deg, rgba(47, 26, 85, 0.9), rgba(11, 8, 30, 0.96)),
    var(--su-panel) !important;
  box-shadow:
    0 1.35rem 3.8rem rgba(3, 2, 14, 0.42),
    inset 0 1px 0 rgba(255, 239, 215, 0.08);
}

#order .card-body {
  padding: clamp(1.35rem, 4vw, 2.7rem);
  font-family: inherit !important;
  font-size: clamp(0.98rem, 1.7vw, 1.08rem);
  line-height: 1.72;
  text-align: left;
}

#order .card-body b {
  color: #fff3df;
}

#order .card-body a {
  color: #f5bd78;
  font-weight: 600;
  text-decoration-color: rgba(245, 189, 120, 0.52);
  text-underline-offset: 0.2em;
}

#order .card-body a:hover,
#order .card-body a:focus {
  color: #ffd69c;
  text-decoration-color: currentColor;
}

.btn-info,
#sa_tbutton {
  color: #1a0d1b;
  border-color: transparent;
  background: linear-gradient(125deg, #f4bd70, #e77d65 52%, #b664b8);
  box-shadow: 0 0.65rem 1.5rem rgba(103, 45, 126, 0.28);
  transition: transform 260ms ease, box-shadow 260ms ease, filter 260ms ease;
}

.btn-info:hover,
.btn-info:focus,
#sa_tbutton:hover,
#sa_tbutton:focus {
  color: #120915;
  background: linear-gradient(125deg, #ffd08a, #ef926f 52%, #cd83cb);
  box-shadow: 0 0.8rem 1.8rem rgba(167, 78, 141, 0.38);
  filter: saturate(1.08);
  transform: translateY(-1px);
}

.btn:focus,
.btn.focus,
#sa_tbutton:focus {
  box-shadow: var(--su-focus-ring);
}

/* Gallery: retain the existing video-and-photo grid while bringing its surfaces into the dark palette. */
#portfolio {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(0.55rem, 1.5vw, 1rem) 0;
  background:
    radial-gradient(circle at 14% 18%, rgba(124, 74, 184, 0.22), transparent 31%),
    radial-gradient(circle at 86% 76%, rgba(226, 133, 73, 0.16), transparent 34%),
    linear-gradient(145deg, #09061d, #171033 48%, #0b071e);
}

#portfolio::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 3, 15, 0.26), transparent 30%, transparent 70%, rgba(4, 3, 15, 0.26));
  pointer-events: none;
}

/* Direct iframe children are the video gallery; the following container remains the photo gallery. */
#portfolio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.4rem, 1vw, 0.85rem);
  align-items: stretch;
}

#portfolio > iframe {
  position: static;
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  min-width: 0;
  border: 1px solid rgba(225, 205, 255, 0.18);
  border-radius: calc(var(--su-radius) - 0.2rem);
  background: #0b071e;
  box-shadow: 0 0.85rem 2.2rem rgba(3, 2, 13, 0.3);
}

#portfolio .container-fluid {
  grid-column: 1 / -1;
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: clamp(1rem, 2.8vw, 2.25rem);
  padding: clamp(1rem, 2.1vw, 1.65rem) 0 0 !important;
  border-top: 1px solid rgba(225, 205, 255, 0.18);
}

#portfolio .portfolio-box {
  overflow: hidden;
  margin: 0.3rem;
  border: 1px solid rgba(225, 205, 255, 0.16);
  border-radius: calc(var(--su-radius) - 0.15rem);
  background: #110a29;
  box-shadow: 0 0.85rem 2.25rem rgba(3, 2, 13, 0.28);
  transition: border-color 320ms ease, box-shadow 320ms ease, transform 320ms ease;
}

#portfolio .portfolio-box > img {
  width: 100%;
  transition: transform 520ms ease, filter 520ms ease;
}

#portfolio .portfolio-box .portfolio-box-caption {
  background:
    linear-gradient(155deg, rgba(113, 62, 164, 0.9), rgba(40, 22, 79, 0.92) 54%, rgba(141, 68, 54, 0.9));
  backdrop-filter: blur(5px) saturate(0.9);
}

#portfolio .portfolio-box .project-category {
  color: rgba(255, 232, 205, 0.76) !important;
  letter-spacing: 0.07em;
}

#portfolio .portfolio-box .project-name {
  color: #fff7ec;
  text-shadow: 0 1px 0 rgba(18, 7, 31, 0.45);
}

#portfolio .portfolio-box:hover,
#portfolio .portfolio-box:focus-visible {
  border-color: rgba(244, 188, 112, 0.72);
  box-shadow: 0 1.05rem 2.75rem rgba(74, 32, 105, 0.44);
  transform: translateY(-2px);
}

#portfolio .portfolio-box:hover > img,
#portfolio .portfolio-box:focus-visible > img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.025);
}

#portfolio .portfolio-box:focus-visible {
  outline: none;
  box-shadow: var(--su-focus-ring), 0 1.05rem 2.75rem rgba(74, 32, 105, 0.44);
}

@media screen and (max-width: 991px) {
  #mainNav,
  #mainNav.navbar-scrolled {
    background-color: rgba(10, 7, 28, calc(0.36 + (0.52 * var(--scroll-progress))));
  }

  #mainNav .navbar-collapse.show {
    margin-top: 0.65rem;
    padding: 0.55rem 0.8rem;
    border: 1px solid rgba(216, 197, 255, 0.14);
    border-radius: var(--su-radius);
    background: rgba(16, 10, 39, 0.74);
  }

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

@media screen and (max-width: 768px) {
  #services {
    background-color: var(--su-ink-soft);
  }

  .practice-carousel__frame {
    object-position: center 42%;
  }

  .practice-carousel::after {
    background:
      linear-gradient(180deg, rgba(8, 6, 22, 0.88), rgba(13, 8, 34, 0.92) 54%, rgba(7, 5, 19, 0.98)),
      linear-gradient(105deg, rgba(10, 6, 28, 0.54), rgba(42, 16, 53, 0.2));
  }

  #services .row > [class*="col-"] > .mt-5 {
    height: auto;
    margin-top: 2rem !important;
  }

  #client-feedback > .row > .col-lg-8 {
    max-width: calc(100% - 1.25rem);
    padding: 1.5rem 1rem 1.7rem;
    line-height: 1.62;
  }

  #client-feedback p {
    margin-top: 1.45rem;
    line-height: 1.58;
  }

  #portfolio {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.65rem;
  }

  #portfolio .container-fluid {
    margin-top: 1.25rem;
    padding-top: 1.15rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .eye-carousel__frame {
    transition: none;
    transform: none;
    will-change: auto;
  }

  .practice-carousel__frame {
    transition: none;
    will-change: auto;
  }

  .reading-path__glyph {
    transition: none;
  }

  .btn-info,
  #sa_tbutton,
  #portfolio .portfolio-box,
  #portfolio .portfolio-box > img {
    transition: none;
  }

  #portfolio .portfolio-box:hover,
  #portfolio .portfolio-box:focus-visible,
  #portfolio .portfolio-box:hover > img,
  #portfolio .portfolio-box:focus-visible > img {
    transform: none;
  }
}

/* Contact and footer: retain the legacy content, but give it the same calm, warm night surface. */
#contact.karkas-razdela {
  position: relative;
  overflow: hidden;
  color: var(--su-text);
  background:
    radial-gradient(circle at 88% 8%, rgba(126, 61, 173, 0.3), transparent 34%),
    radial-gradient(circle at 10% 94%, rgba(208, 111, 67, 0.16), transparent 36%),
    linear-gradient(145deg, #100929 0%, #0b071e 54%, #160a22 100%);
}

#contact.karkas-razdela::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 234, 203, 0.035), transparent 28%, transparent 72%, rgba(202, 161, 255, 0.05));
}

#contact .container,
#contact .karkas-content {
  position: relative;
  z-index: 1;
}

#contact .karkas-cta {
  border-color: rgba(228, 205, 255, 0.16);
}

#contact .singulon-kudesa {
  min-height: 4.4rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(224, 202, 255, 0.14);
  border-radius: calc(var(--su-radius) - 0.35rem);
  background: linear-gradient(135deg, rgba(47, 26, 84, 0.5), rgba(11, 8, 30, 0.48));
}

#contact .singulon-kudesa i {
  width: 2.25rem;
  margin: 0;
  color: var(--su-amber);
  font-size: 1.45rem;
  line-height: 2.1rem;
  text-align: center;
  text-shadow: 0 0 1.2rem rgba(241, 174, 97, 0.25);
}

#contact .opisaniye_teksta {
  width: calc(100% - 2.55rem);
  padding-left: 0.8rem;
  vertical-align: top;
}

#contact .opisaniye_teksta h5,
#contact .karkas-widget-heading h4,
#contact .karkas-content h6 {
  color: var(--su-text);
}

#contact .opisaniye_teksta a,
#contact .karkas-widget a {
  color: #f5c585;
  text-decoration: underline;
  text-decoration-color: rgba(245, 197, 133, 0.48);
  text-underline-offset: 0.22em;
}

#contact .opisaniye_teksta a:not([href]) {
  color: var(--su-text-muted);
  text-decoration: none;
}

#contact .karkas-text p {
  max-width: 27rem;
  color: var(--su-text-muted);
  line-height: 1.72;
}

#contact .karkas-logo img {
  border: 1px solid rgba(234, 211, 255, 0.2);
  border-radius: 50%;
  box-shadow: 0 0.6rem 1.8rem rgba(4, 2, 14, 0.34);
}

#contact .karkas-widget-heading h4::before {
  background: linear-gradient(90deg, var(--su-amber), rgba(182, 140, 255, 0.55));
}

#contact a:focus-visible,
.copyright-area a:focus-visible {
  outline: none;
  border-radius: 0.2rem;
  box-shadow: var(--su-focus-ring);
}

#contact .karkas-widget ul li {
  float: none;
  width: auto;
}

#contact .karkas-widget ul li a img {
  width: auto;
  max-width: 7.5rem;
  padding: 0.35rem;
  border: 1px solid rgba(224, 202, 255, 0.16);
  border-radius: 0.7rem;
  background: rgba(8, 5, 22, 0.52);
}

.copyright-area {
  border-top: 1px solid rgba(223, 198, 255, 0.14);
  background: #080514;
}

.avtorskiye-teksty p,
.karkas-navigatsiya li a {
  color: rgba(231, 220, 251, 0.72);
}

.avtorskiye-teksty p a,
.karkas-navigatsiya li a:hover {
  color: #f5c585;
}

@media screen and (max-width: 767px) {
  #contact .karkas-cta,
  #contact .karkas-content {
    padding-top: 2.25rem !important;
    padding-bottom: 2.25rem !important;
  }

  #contact .singulon-kudesa {
    min-height: 0;
  }

  #contact .karkas-text p {
    max-width: none;
  }
}
