@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

* {
  box-sizing: border-box;
}

.desk-br { display: block; }
@media (max-width: 700px) {
  .desk-br { display: none; }
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
  background: #fff;
}

/* =====================
   StartPage
   ===================== */

.sp-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  width: 100%;
  overflow: visible;
  background: #ffffff;
  z-index: 1;
}

/* Сетка скрыта */
.sp-grid {
  display: none;
}

/* Тёмная панель — строго в рамках секции */
.sp-dark-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 5px;
  left: 50%;
  background: #2a2a2a;
  z-index: 0;
}

/* Фото — крупнее панелей, вылезает за края */
.sp-image {
  position: absolute;
  top: -45%;
  right: -22%;
  bottom: -21%;
  left: 22%;
  background-image: url("images/start-page.png");
  background-size: 90%;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 2;
}

/* Контейнер по сетке — как у других секций */
.sp-inner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: 1400px;
  margin: 0 auto;
  z-index: 3;
  pointer-events: none;
}

/* Логотип — левый верхний угол */
.sp-logo {
  position: absolute;
  top: 60px;
  left: 60px;
  pointer-events: all;
}

.sp-logo-img {
  max-height: 37px;
  width: 88px;
  display: block;
}

/* Контент — левый нижний угол */
.sp-content {
  position: absolute;
  left: 32px;
  right: 50%;
  bottom: 7%;
  display: flex;
  flex-direction: column;
  pointer-events: all;
}

.sp-title {
  font-size: 64px;
  line-height: 1.0;
  letter-spacing: 0px;
  font-weight: 500;
  color: #111111;
  margin: 0 0 clamp(10px, 1.2vw, 18px);
  text-transform: uppercase;
}

.sp-subtitle {
  font-size: 20px;
  color: #444444;
  width: 485px;
  line-height: 1.6;
  margin: 0 0 clamp(16px, 2vw, 28px);
  font-weight: 500;
}

.sp-subtitle strong {
  font-weight: 700;
  font-family: 'Inter';
  color: #231F20
}

.sp-btn {
  background-color: #414042;
  color: #ffffff;
  font-family: "Inter";
  border: none;
  padding: 0 clamp(16px, 1.8vw, 26px);
  font-size: 16px;
  width: 200px;
  height: 40px;
  font-weight: 400;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sp-btn:hover  { background-color: #2a2a2a; }
.sp-btn:active { background-color: #000000; }

/* Подпись автора — правый нижний угол */
.sp-author {
  position: absolute;
  bottom: 24px;
  right: 32px;
  pointer-events: all;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.sp-author-label {
  font-size: 12px;
  color: #414042;
  letter-spacing: 0.02em;
}

.sp-author-name {
  font-size: 20px;
  font-weight: 400;
  opacity: 50%;
  color: #231F20;
  letter-spacing: 0.01em;
}

section[id] {
  scroll-margin-top: 64px;
}

/* ---- Mobile-only line breaks ---- */
.mob-br { display: none; }
@media (max-width: 700px) {
  .mob-br { display: block; }
}

/* ---- Адаптив ---- */
@media (max-width: 700px) {
  .hd-inner {
    height: 64px;
  }

  .sp-section {
    position: relative;
    height: 100svh;
    min-height: 580px;
    overflow: hidden;
    display: block;
  }

  .sp-dark-panel {
    display: none;
  }

  .sp-logo {
    display: none;
  }

  .sp-image {
    position: absolute;
    top: 20px;
    right: 0;
    left: 0;
    bottom: 20%;
    background-size: 150%;
    background-position: left top;
    background-repeat: no-repeat;
    z-index: 2;
  }

  .sp-content {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 116px;
    bottom: 4%;
    display: flex;
    flex-direction: column;
    pointer-events: all;
  }

  .sp-title {
    font-size: 32px;
    font-weight: 500;
  }

  .sp-subtitle {
    margin-top: auto;
    width: auto;
    font-size: 20px;
    max-width: 343px;
    line-height: 1.3;
    margin-bottom: 32px;
  }

  .sp-author {
    display: none;
  }
}
/* =====================
   Header
   ===================== */

.hd-header {
  font-family: "Inter", sans-serif;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid #E9E9E9;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, background 0.25s, box-shadow 0.25s;
}

.hd-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px 0 80px;
  height: 64px;
  display: flex;
  align-items: center;
}

.hd-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.hd-right {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: 60px;
  margin-right: 60px;
}

.hd-logo-img {
  max-height: 32px;
  width: auto;
  display: block;
}

.hd-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.hd-nav-link {
  font-size: 16px;
  font-weight: 400;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}

.hd-nav-link:hover {
  color: #111;
}

.hd-nav-link--active {
  font-weight: 600;
  color: #111;
}

.hd-cta {
  background: #414042;
  color: #fff;
  border: none;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  height: 40px;
  padding: 0 28px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.hd-cta:hover {
  background: #333;
}

.hd-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  justify-content: center;
}

.hd-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #231F20;
  transition:
    transform 0.2s,
    opacity 0.2s;
}

.hd-mobile-menu {
  display: none;
  position: fixed;
  top: clamp(48px, 5vw, 64px);
  left: 0;
  right: 0;
  background: #fff;
  padding: 8px 20px 20px;
  flex-direction: column;
  gap: 0;
  z-index: 99;
  border-top: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.hd-mobile-menu.is-open {
  display: flex;
}

.hd-mobile-link {
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  color: #231F20;
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.hd-mobile-link:last-of-type {
  border-bottom: none;
}

.hd-mobile-cta {
  margin-top: 16px;
  background: #111;
  color: #fff;
  border: none;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  height: 40px;
  padding: 0 20px;
  cursor: pointer;
  width: 100%;
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hd-nav {
    display: none;
  }
  .hd-cta {
    display: none;
  }
  .hd-burger {
    display: flex;
  }
  .hd-right {
    margin-left: auto;
    margin-right: 0;
  }
}

@media (max-width: 700px) {
  .hd-inner {
    padding: 0 20px 0 30px;
  }
}

/* =====================
   ServicesSection
   ===================== */

.sv-section {
  font-family: "Inter", sans-serif;
  background: #fff;
  padding: 140px 32px 0 32px;
  margin: 0 auto;
  max-width: 1400px;
}

@media (max-width: 700px) {
  .sv-section {
    padding: 28px 20px;
  }
}

.sv-title {
  font-size: 64px;
  font-weight: 500;
  margin: 0 0 50px;
  color: #231F20;
  font-family: "Inter";
  text-transform: uppercase;
}

@media (max-width: 700px) {
  .sv-title {
    font-size: 36px;
  }
}

.sv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

@media (max-width: 900px) {
  .sv-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .sv-grid {
    grid-template-columns: 1fr;
  }
}

.sv-card {
  background: #414042;
  padding: 20px 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 175px;
}

.sv-number {
  font-size: 20px;
  color: #FFFFFF;
  opacity: 0.5;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  margin-bottom: 24px;
  display: block;
}

.sv-label {
  font-size: 18px;
  color: #fff;
  line-height: 1.5;
  margin: 0;
  font-weight: 400;
}

/* =====================
   ImageSlider
   ===================== */

.comparisonWrapper {
  padding: 30px 32px;
  max-width: 1400px;
  margin: 0 auto;
}

@media (max-width: 700px) {
  .comparisonWrapper {
    padding: 28px 0;
    overflow: hidden;
  }
  .comparisonContainer {
    aspect-ratio: unset;
    height: 400px;
    overflow: hidden;
    isolation: isolate;
  }
  .afterImage,
  .beforeImage {
    object-fit: cover;
    object-position: center center;
    transform: none;
    width: 100%;
    height: 100%;
  }
}

.comparisonContainer {
  position: relative;
  width: 100%;
  overflow: hidden;
  cursor: col-resize;
  user-select: none;
  background: #d9d9d9;
  aspect-ratio: 16 / 9;
}

.afterImage,
.beforeImage {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.afterImage {
  left: 0;
  z-index: 1;
}

.beforeImage {
  left: 0;
  z-index: 1;
}

.slider {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  transform: translateX(-50%);
  cursor: col-resize;
  z-index: 2;
}

.sliderLine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background-color: white;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
  transform: translateX(-50%);
}

.sliderHandle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  background-color: transparent;
}

.sliderHandle::before,
.sliderHandle::after {
  content: "";
  width: 2px;
  height: 30px;
  background-color: white;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.7);
  border-radius: 1px;
}

/* =====================
   ProjectsSection
   ===================== */

.pp-section {
  font-family: "Inter", sans-serif;
  background: #fff;
  padding: 10px 32px 50px 32px;
  margin: 0 auto;
  max-width: 1400px;
}

@media (max-width: 700px) {
  .pp-section {
    padding: 28px 20px;
  }
}

.pp-title {
  font-size: 64px;
  font-weight: 500;
  margin: 0 0 50px;
  color: #231F20;
  font-family: 'Inter';
  text-transform: uppercase;
  line-height: 1;
}

@media (max-width: 700px) {
  .pp-title {
    font-size: 32px;
    margin: 0 0 32px;
  }
}

.pp-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.pp-desc {
  font-size: 20px;
  font-weight: 400;
  color: #231F20;
  line-height: 1.2;
  margin: 0;
  max-width: 670px;
}

.pp-all-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: #414042;
  border: none;
  width: 200px;
  height: 40px;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  margin-right: 280px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
  box-sizing: border-box;
}

.pp-all-btn:hover {
  background: #f5f5f5;
  border-color: #999;
}

.pp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px 16px;
}

@media (max-width: 800px) {
  .pp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .pp-grid {
    grid-template-columns: 1fr;
  }
}

.pp-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.pp-card:hover .pp-card-img img {
  transform: scale(1.03);
}

.pp-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-left: 1px solid #231F20;
  background: transparent;
  overflow: hidden;
  margin-bottom: 24px;
}

.pp-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  display: block;
}

.pp-card-badge {
  position: absolute;
  left: 10px;
  font-size: 16px;
  color: #414042;
  padding: 0 8px;
  z-index: 1;
}

@media (max-width: 700px) {
  .pp-card-badge {
    top: 10px;
    left: 0;
    padding: 0;
  }
}

.pp-card-client {
  font-size: 20px;
  color: #231F20;
  font-family: 'Inter';
  margin: 0 0 10px;
  opacity: 0.5;
}

.pp-card-name {
  font-size: 32px;
  font-weight: 500;
  color: #231F20;
  font-family: 'Inter';
  line-height: 1;
  margin: 0;
}

@media (max-width: 700px) {
  .pp-card {
    border-top: 1px solid #231F20;
    padding-bottom: 12px;
  }
  .pp-card-img {
    border-left: none;
    background: #fff;
    aspect-ratio: 4 / 3;
    margin-bottom: 16px;
  }
  .pp-card-img img {
    object-fit: contain;
    padding: 12px;
  }
  .pp-card-client {
    font-size: 20px;
    margin: 0 0 14px;
  }
  .pp-card-name {
    font-size: 32px;
    line-height: 1.2;
  }
}

/* =====================
   CalculateSection
   ===================== */

.calc-section {
  font-family: "Inter", sans-serif;
  background: #414042;
  padding: 50px 32px;
  width: 100%;
}

@media (max-width: 700px) {
  .calc-section {
    padding: 28px 20px;
  }
}

.calc-title {
  font-size: 64px;
  font-weight: 500;
  margin: 0 auto 34px;
  padding-left: 28px;
  color: #FFFFFF;
  text-transform: uppercase;
  max-width: 1400px;
}

.calc-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
}

@media (max-width: 700px) {
  .calc-body {
    grid-template-columns: 1fr;
    gap: 32px 0;
  }
}

.calc-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  margin-left: 32px;
}

.calc-desc {
  font-size: 20px;
  color: #FFFFFF;
  width: 540px;
  font-weight: 400;
  line-height: 1.3;
  margin: 0 0 auto;
}

.calc-desc strong {
  font-weight: 700;
}

.calc-contact {
  margin-top: 48px;
}

.calc-address-hint {
  font-size: 20px;
  opacity: 0.5;
  color: #FFFFFF;
  font-weight: 400;
  width: 425px;
  line-height: 1.3;
  margin: 0 0 8px;
}

.calc-address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
}

.calc-address p {
  margin: 0;
  font-size: 20px;
  color: #FFFFFF;
  line-height: 1.5;
}

.calc-form {
  display: flex;
  flex-direction: column;
}

form .error {
  border-bottom: 1px solid red;
}

.calc-field {
  border: none;
  padding: 0 28px 0 0;
}

.calc-input,
.calc-textarea {
  width: 100%;
  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.35);
  font-family: "Inter", sans-serif;
  font-size: 20px;
  color: #fff;
  background: transparent;
  padding: 16px 0 0;  
}

.calc-input::placeholder,
.calc-textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.calc-input:focus,
.calc-textarea:focus {
  border-bottom-color: #fff;
}

.calc-textarea {
  resize: none;
  height: 52px;
}

.calc-hint {
  font-size: 16px;
  color: #FFFFFF;
  margin: 24px 0 0px;
}

.calc-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  margin: 24px 0 16px;
}

.calc-checkbox-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: #fff;
  cursor: pointer;
  margin-top: 1px;
  position: relative;
}

.calc-checkbox-label input[type="checkbox"]:checked {
  background: #fff;
  border-color: #fff;
}

.calc-checkbox-label input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 9px;
  border-right: 2px solid #111;
  border-bottom: 2px solid #111;
  transform: translate(-50%, -60%) rotate(45deg);
}

.calc-checkbox-label a {
  color: #fff;
  text-decoration: underline;
}

.calc-submit {
  background: #fff;
  color: #222;
  border: none;
  margin-top: 16px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  height: 40px;
  padding: 0 24px;
  cursor: pointer;
  align-self: flex-start;
}

.calc-submit:hover {
  background: rgba(255, 255, 255, 0.85);
}

@media (max-width: 700px) {
  .calc-title {
    font-size: 32px;
    padding-left: 0;
    margin-bottom: 32x;
  }
  .calc-left {
    margin-left: 0;
  }
  .calc-desc {
    font-size: 20px;
    width: auto;
    margin: 0 0 12px;
  }
  .calc-contact {
    margin-top: 24px;
  }
  .calc-address-hint {
    font-size: 20px;
    width: auto;
  }
  .calc-address p {
    font-size: 20px;
  }
  .calc-field {
    padding: 0;

  }
  .calc-input,
  .calc-textarea {
    font-size: 20px;
    padding: 14px 0 0 ;
  }
  .calc-submit {
    align-self: stretch;
    width: 100%;
  }
}

/* =====================
   ClientsSection
   ===================== */

.cl-section {
  font-family: "Inter", sans-serif;
  background: #fff;
  padding: 0 32px;
  margin: 0 auto;
  margin-bottom: 130px;
  max-width: 1400px;
}

@media (max-width: 700px) {
  .cl-section {
    padding: 28px 20px;
    margin-bottom: 40px;
  }
}

.cl-title {
  font-size: 64px;
  font-weight: 500;
  line-height: 1;
  margin: 0 0 50px;
  color: #231F20;
  text-transform: uppercase;
}

.cl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.cl-col {
  border-top: 1px solid #231F20;
  padding: 16px 32px 40px 0;
  margin-right: 24px;
  display: flex;
  flex-direction: column;
}

.cl-col:last-child {
  padding-right: 0;
}

.cl-name {
  font-size: 20px;
  opacity: 0.5;
  color: #231F20;
  margin-top: 30px;
  margin-bottom: 20px;
}

.cl-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 160px;
}

.cl-logo img {
  max-width: 100%;
  max-height: 160px;
  object-fit: contain;
  transition: opacity 0.2s;
}

.cl-logo img:hover {
  opacity: 0.8;
}

@media (max-width: 700px) {
  .cl-title {
    font-size: 32px;
    margin: 0 0 32px;
  }
  .cl-grid {
    grid-template-columns: 1fr;
  }
  .cl-col {
    padding: 16px 0 32px;
    margin-right: 0;
  }
  .cl-name {
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 16px;
  }
  .cl-logo {
    min-height: 150px;
  }
  .cl-logo img {
    max-height: 150px;
  }
}

/* =====================
   ConsultationSection (prefix cs-consult-)
   ===================== */

.cs-consult-section {
  font-family: "Inter";
  background: #414042;
  padding: 50px 32px;
  width: 100%;
}

@media (max-width: 700px) {
  .cs-consult-section {
    padding: 28px 20px;
  }
}

.cs-consult-title {
  font-size: 64px;
  font-weight: 500;
  margin: 0 auto 34px;
  padding-left: 28px;
  color: #FFFFFF;
  text-transform: uppercase;
  max-width: 1400px;
}

.cs-consult-divider {
  border: none;
  border-top: 1px solid #ddd;
  margin: 0 auto 32px;
  max-width: 1400px;
}

.cs-consult-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
}

@media (max-width: 700px) {
  .cs-consult-body {
    grid-template-columns: 1fr;
    gap: 32px 0;
  }
}

.cs-consult-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.cs-consult-desc {
  font-size: 20px;
  color: #FFFFFF;
  font-weight: 400;
  margin: 16px 0px 195px 28px;
  width: 540px;
}

.cs-consult-address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0 0 0 28px;
}

.cs-consult-address-hint {
  font-size: 20px;
  color: #FFFFFF;
  font-weight: 400;
  opacity: 0.5;
  
}

.cs-consult-address p {
  margin: 0;
  font-size: 20px;
  color: #FFFFFF;
  line-height: 1.5;
}

.cs-consult-form {
  display: flex;
  flex-direction: column;
}

.cs-consult-field {
  border: none;
  padding: 0 28px 0 0;
}

.cs-consult-input,
.cs-consult-textarea {
  width: 100%;
  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.35);
  font-family: "Inter", sans-serif;
  font-size: 20px;
  color: #fff;
  background: transparent;
  padding: 16px 0 0;  
}

.cs-consult-input::placeholder,
.cs-consult-textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.cs-consult-input:focus,
.cs-consult-textarea:focus {
  border-bottom-color: #fff;
}

.cs-consult-textarea {
  resize: none;
  height: 52px;
}

.cs-consult-hint {
  font-size: 16px;
  color: #FFFFFF;
  margin: 24px 0 0px;
}

.cs-consult-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  margin: 24px 0 16px;
}

.cs-consult-checkbox-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: #fff;
  cursor: pointer;
  margin-top: 1px;
  position: relative;
}

.cs-consult-checkbox-label input[type="checkbox"]:checked {
  background: #fff;
  border-color: #fff;
}

.cs-consult-checkbox-label input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 9px;
  border-right: 2px solid #111;
  border-bottom: 2px solid #111;
  transform: translate(-50%, -60%) rotate(45deg);
}

.cs-consult-checkbox-label a {
  color: #fff;
  text-decoration: underline;
}

.cs-consult-submit {
  background: #fff;
  color: #222;
  border: none;
  margin-top: 16px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  height: 40px;
  padding: 0 24px;
  cursor: pointer;
  align-self: flex-start;
}

.cs-consult-submit:hover {
  background: rgba(255, 255, 255, 0.85);
}

@media (max-width: 700px) {
  .cs-consult-title {
    font-size: 32px;
    padding-left: 0;
    margin-bottom: 32px;
  }
  .cs-consult-desc {
    font-size: 20px;
    width: auto;
    margin: 0 0 48px 0;
  }
  .cs-consult-address {
    margin: 0;
  }
  .cs-consult-address-hint {
    font-size: 20px;
  }
  .cs-consult-address p {
    font-size: 20px;
  }
  .cs-consult-field {
    padding: 0;
  }
  .cs-consult-input,
  .cs-consult-textarea {
    font-size: 20px;
  }
  .cs-consult-submit {
    align-self: stretch;
    width: 100%;
  }
}

/* =====================
   FaqSection
   ===================== */

.faq-section {
  font-family: "Inter", sans-serif;
  background: #fff;
  padding: 140px 32px;
  margin: 0 auto;
  max-width: 1400px;
}

@media (max-width: 700px) {
  .faq-section {
    padding: 28px 20px;
  }
}

.faq-title {
  font-size: 64px;
  font-weight: 500;
  line-height: 1;
  color: #231F20;
  margin-top: 0;
  font-family: 'Inter';
  text-transform: uppercase;
  border-bottom: 1px solid #231F20;
  padding-bottom: 50px;
  margin-bottom: 0;
}

.faq-item {
  border-bottom: 1px solid #231F20;
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 16px 0;
  cursor: pointer;
  text-align: left;
}

.faq-trigger:hover .faq-question {
  color: #555;
}

.faq-question {
  font-size: 20px;
  font-weight: 400;
  color: #231F20;
  line-height: 1;
  font-family: 'Inter';
  margin: 0;
  transition: color 0.2s, font-weight 0s;
}

.faq-trigger[aria-expanded="true"] .faq-question {
  font-weight: 700;
}

.faq-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  position: relative;
  color: #111;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 1px;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.faq-icon::before {
  width: 24px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 2px;
  height: 24px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon.is-open::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-body {
  overflow: hidden;
  max-height: 0;
  padding: 0 240px;
}

.faq-body.is-open {
  max-height: 400px;
  padding: 0 0 24px;
}

.faq-answer {
  font-size: 20px;
  font-weight: 400;
  font-family: 'Inter';
  color: #231F20;
  line-height: 1,2;
  margin: 0;
}

@media (max-width: 700px) {
  .faq-title {
    font-size: 32px;
    padding-bottom: 32px;
  }
  .faq-question {
    font-size: 20px;
    line-height: 1.3;
  }
  .faq-icon {
    width: 40px;
    height: 40px;
  }
  .faq-icon::before {
    width: 20px;
  }
  .faq-icon::after {
    height: 20px;
  }
  .faq-answer {
    font-size: 20px;
  }
}

/* =====================
   ContactSection (prefix csc-)
   ===================== */

.csc-section {
  font-family: "Inter", sans-serif;
  background: #fff;
  padding: 60px 48px;
  width: 100%;
  margin: 0 auto;
  max-width: 1400px;
}

@media (max-width: 560px) {
  .csc-section {
    padding: 40px 20px;
  }
}

.csc-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 0 0 24px;
  color: #111;
  text-transform: uppercase;
}

.csc-divider {
  border: none;
  border-top: 1px solid #ddd;
  margin: 0 0 32px;
}

.csc-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
  align-items: start;
}

@media (max-width: 700px) {
  .csc-body {
    grid-template-columns: 1fr;
    gap: 32px 0;
  }
}

.csc-desc {
  font-size: 13px;
  color: #444;
  line-height: 1.65;
  margin: 0 0 32px;
}

.csc-address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.csc-address p {
  margin: 0;
  font-size: 13px;
  color: #222;
  line-height: 1.8;
}

.csc-form {
  display: flex;
  flex-direction: column;
}
.csc-field {
  border: none;
  padding: 0;
  margin: 0 0 4px;
}

.field-error {
  border-bottom: 1px solid red;
}

.csc-input,
.csc-textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #232323;
  outline: none;
  font-family: "Inter", sans-serif;
  font-size: 20px;
  color: #111;
  background: transparent;
  padding: 10px 0;
  transition: border-color 0.2s;
}

.csc-input::placeholder,
.csc-textarea::placeholder {
  color: #999;
}

.csc-input:focus,
.csc-textarea:focus {
  border-bottom-color: #111;
}

.csc-textarea {
  resize: none;
  height: 58px;
  line-height: 1.5;
}

.csc-hint {
  font-size: 16px;
  color: #888;
  line-height: 1.3;
  margin: 6px 0 8px;
}

.csc-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  cursor: pointer;
  font-size: 12px;
  color: #555;
  line-height: 1.5;
  margin: 32px 0 32px;
}

.csc-checkbox-label input {
  margin: 2px 0 0;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background: #fff;
  border: 1.5px solid #111;
  border-radius: 3px;
  position: relative;
  transition: background 0.2s;
}

.csc-checkbox-label input:checked {
  background: #fff;
  border-color: #111;
}

.csc-checkbox-label input:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 9px;
  border-right: 2px solid #111;
  border-bottom: 2px solid #111;
  transform: translate(-50%, -60%) rotate(45deg);
}

.csc-checkbox-label a {
  color: #111;
}

.csc-submit {
  background: #111;
  color: #fff;
  border: none;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  height: 40px;
  padding: 0 24px;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.2s;
}

.csc-submit:hover {
  background: #333;
}

/* =====================
   Footer
   ===================== */

.ft-footer {
  font-family: "Inter", sans-serif;
  background: #fff;
  width: 100%;
}

.ft-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 180px 35px 40px;
}

.ft-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 2fr;
  gap: 0 55px;
  padding-bottom: 30px;
  align-items: start;
}

.ft-col {
  display: flex;
  flex-direction: column;
}

.ft-heading {
  font-size: 20px;
  font-weight: 700;
  color: #231F20;
  margin: 0 0 30px;
}

.ft-text {
  font-size: 20px;
  color: #231F20;
  margin: 0 0 30px;
  line-height: 1;
  font-weight: 400;
}

.ft-link {
  text-decoration: none;
  color: #231F20;
}

.ft-link:hover {
  opacity: 0.7;
}

.ft-privacy {
  text-decoration: underline;
  text-underline-offset: 5px;
  color: #231F20;
}

.ft-privacy:hover {
  opacity: 0.7;
}

.ft-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 30px;
}

.ft-copy {
  grid-column: 2;
  text-align: center;
  font-size: 20px;
  color: #231F20;
  margin: 0;
}

.ft-top-link {
  font-size: 20px;
  font-weight: 700;
  color: #231F20;
  text-decoration: none;
  justify-self: end;
}

.ft-top-link:hover {
  opacity: 0.7;
}

@media (max-width: 900px) {
  .ft-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 40px;
  }
}

@media (max-width: 700px) {
  .ft-inner {
    padding: 40px 20px 32px;
  }
  .ft-grid {
    grid-template-columns: 1fr;
    gap: 28px 0;
  }
  .ft-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .ft-copy {
    grid-column: unset;
  }
  .ft-top-link {
    justify-self: unset;
  }
}

/* =====================
   WhatIsAGR (prefix md-)
   ===================== */

.md-section {
  font-family: "Inter", sans-serif;
  padding: 150px 32px 0;
  max-width: 1400px;
  margin: 0 auto;
}

@media (max-width: 700px) {
  .md-section {
    padding: 100px 20px 0;
  }
}

.md-title {
  font-size: 64px;
  font-weight: 500;
  line-height: 1;
  margin: 0 0 50px;
  color: #231F20;
  text-transform: uppercase;
}

@media (max-width: 700px) {
  .md-title {
    font-size: 32px;
    margin: 28px 0 32px;
  }
}

@media (max-width: 700px) {
  .md-block-title {
    font-size: 24px;
    margin: 0 0 24px;
  }
  .md-block-text,
  .md-block-text-last {
    font-size: 14px;
    width: auto;
    margin-bottom: 12px;
  }
  .md-block {
    padding: 0 0 16px;
  }
  .md-section {
    padding: 60px 20px 0;
  }
  .md-content {
    order: 1;
  }
  .md-image-col {
    order: 2;
    margin-left: -20px;
    margin-right: -20px;
    margin-bottom: 0;
  }
  .md-image {
    height: 100vw;
  }
}

.md-divider {
  border: none;
  border-top: 1px solid #ddd;
  margin: 0 0 32px;
}

.md-body {
  display: grid;
  grid-template-columns: 640px 1fr;
  gap: 0 24px;
  align-items: start;
}

@media (max-width: 800px) {
  .md-body {
    grid-template-columns: 1fr;
  }
}

.md-image-col {
  align-self: stretch;
}

@media (max-width: 800px) {
  .md-image-col {
    position: static;
    margin-top: 32px;
    margin-bottom: 24px;
  }
}

.md-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 800px) {
  .md-image {
    height: auto;
  }
}

.md-content {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.md-block {
  padding: 0 0 26px;
}

.md-block:last-child {
  padding-bottom: 0;
}

.md-block-title {
  font-size: 32px;
  font-weight: 500;
  font-family: "Inter", sans-serif;
  color: #231F20;
  margin: 0 0 24px;
}

@media (max-width: 700px) {
  .md-block-title {
    font-size: 24px;
    margin: 0 0 24px;
  }
}

.md-block-text {
  font-size: 20px;
  color: #231F20;
  font-weight: 400;
  width: 648px;
  font-family: "Inter", sans-serif;
  margin: 0 0 24px;
}

.md-block-text-last{
  font-size: 20px;
  color: #231F20;
  font-weight: 400;
  font-family: "Inter", sans-serif;
  margin-bottom: 0;
}

@media (max-width: 700px) {
  .md-block-text {
    font-size: 20px;
    width: auto;
    margin-bottom: 12px;
  }
  .md-block-text-last {
    font-size: 20px;
    width: auto;
  }
}

/* =====================
   WhyWe (prefix wy-)
   ===================== */

.wy-section {
  font-family: "Inter", sans-serif;
  background: #fff;
  padding: 140px 32px 140px;
  margin: 0 auto;
  max-width: 1400px;
}

@media (max-width: 700px) {
  .wy-section {
    padding: 40px 14px;
  }
}

.wy-header {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 70px;
}

@media (max-width: 700px) {
  .wy-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
  }
}

.wy-title {
  font-size: 64px;
  font-weight: 500;
  font-family: "Inter";
  color: #231F20;
  text-transform: uppercase;
  margin: 0;
  white-space: nowrap;
  line-height: 1;
}

.wy-header-sep {
  width: 1px;
  height: 47px;
  background: #231F20;
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .wy-header-sep {
    display: none;
  }
}

.wy-desc {
  font-size: 20px;
  font-weight: 700;
  color: #231F20;
  margin: 0;
  max-width: 485px;
}

.wy-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
}

@media (max-width: 700px) {
  .wy-stats {
    grid-template-columns: 1fr;
  }
}

.wy-col {
  border-left: 1px solid #231F20;
  padding: 0px 0px 0px 24px;
  display: flex;
  flex-direction: column;
}

@media (max-width: 700px) {
  .wy-col {
    border-left: none;
    border-top: 1px solid #231F20;
    padding: 24px 0;
  }
  .wy-col:first-child {
    border-top: 1px solid #231F20;
    padding-top: 24px;
  }
}

@media (max-width: 700px) {
  .wy-title {
    font-size: 32px;
  }
  .wy-desc {
    font-size: 20px;
  }
  .wy-stat {
    margin-bottom: 48px;
    align-items: baseline;
  }
  .wy-number {
    font-size: 64px;
  }
  .wy-unit {
    font-size: 20px;
  }
  .wy-label {
    font-size: 20px;
    margin: 0;
  }
}

.wy-stat {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 96px;
}

@media (max-width: 700px) {
  .wy-stat {
    margin-bottom: 48px;
  }
}

.wy-number {
  font-size: 64px;
  line-height: 1;
  font-weight: 500;
  color: #231F20;
  font-family: 'Inter';
}

.wy-unit {
  font-size: 20px;
  color: #231F20;

  font-weight: 700;
  font-family: 'Inter','Bold';
}

.wy-label {
  font-size: 20px;
  color: #231F20;
  margin: auto 0 0;
}

/* =====================
   WorkStages (prefix ws-)
   ===================== */

.ws-section {
  font-family: "Inter", sans-serif;
  background: #fff;
  padding: 110px 32px;
  margin: 0 auto;
  max-width: 1400px;
}

@media (max-width: 700px) {
  .ws-section {
    padding: 28px 20px;
  }
}

.ws-title {
  font-size: 64px;
  font-weight: 500;
  font-family: 'Inter';
  margin: 0 0 50px;
  color: #231F20;
  text-transform: uppercase;
}

@media (max-width: 700px) {
  .ws-title {
    font-size: 32px;
    margin: 0 0 32px;
  }
}

.ws-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 50px;
}

@media (max-width: 700px) {
  .ws-grid {
    grid-template-columns: 1fr;
  }
}

.ws-card {
  border-top: 1px solid #231F20;
  padding: 14px 0 50px;
  display: flex;
  flex-direction: column;
}

@media (max-width: 700px) {
  .ws-card {
    padding-bottom: 32px;
  }
}

.ws-number {
  font-size: 64px;
  font-weight: 500;
  color: #231F20;
  opacity: 0.5;
  font-family: 'Inter';
  line-height: 1;
  user-select: none;
  margin-bottom: 30px;
}

@media (max-width: 700px) {
  .ws-number {
    font-size: 64px;
  }
}

.ws-heading {
  font-size: 32px;
  font-weight: 500;
  color: #111;
  font-family: 'Inter';
  margin: 0 0 20px;
  line-height: 1;
}

@media (max-width: 700px) {
  .ws-heading {
    font-size: 24px;
  }
}

.ws-desc {
  font-size: 20px;
  color: #231F20;
  line-height: 1,2;
  margin: 0;
}
/* =====================
   Modal
   ===================== */

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(2px);
}

.modal-overlay.is-open {
  display: flex;
}

.modal-window {
  background: #414042;
  width: 100%;
  max-width: 1250px;
  max-height: 100%;
  overflow-y: auto;
  padding: 40px 48px;
  position: relative;
  animation: modalIn 0.22s ease;
  font-family: "Inter", sans-serif;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  font-size: 20px;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color 0.2s;
}

.modal-close:hover {
  color: #fff;
}

.modal-title {
  font-size: 64px;
  font-weight: 500;
  line-height: 1;
  margin: 0 0 40px;
  color: #fff;
  text-transform: uppercase;
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 64px;
  align-items: start;
}

.modal-left {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.modal-desc {
  font-size: 20px;
  color: #fff;
  line-height: 1.3;
  width: 540px;
  margin: 0 0 auto;
}

.modal-desc strong {
  font-weight: 700;
}

.modal-contact {
  margin-top: 48px;
}

.modal-address-hint {
  font-size: 20px;
  color: #FFFFFF;
  opacity: 0.5;
  line-height: 1.3;
  width: 430px;
  margin: 0 0 8px;
}

.modal-address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.modal-address p {
  margin: 0;
  font-size: 20px;
  color: #fff;
  line-height: 1.6;
}

.modal-form {
  display: flex;
  flex-direction: column;
}

@media (max-width: 700px) {
  .modal-overlay {
    padding: 0;
    align-items: flex-start;
  }
  .modal-window {
    padding: 28px 20px 40px;
    min-height: 100dvh;
    overflow-y: auto;
  }
  .modal-body {
    grid-template-columns: 1fr;
    gap: 32px 0;
  }
  .modal-close {
    top: 28px;
    right: 20px;
  }
  .modal-title {
    font-size: 32px;
    margin: 0 0 32px;
    padding-right: 32px;
  }
  .modal-desc {
    width: auto;
    font-size: 20px;
    margin: 0 0 12px;
  }
  .modal-contact {
    margin-top: 24px;
  }
  .modal-address-hint {
    width: auto;
    font-size: 20px;
  }
  .modal-address p {
    font-size: 20px;
  }
}

/* =====================
   Consent Modal
   ===================== */

/* consent styles moved to legal.css */

/* =====================
   Viewer
   ===================== */

.viewer-wrapper {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  padding: 0 32px;
  justify-content: center;
  align-items: center;
}

@media (max-width: 700px) {
  .viewer-wrapper {
    padding: 0;
  }
}

.viewer-container {
  position: relative;
  width: 100%;

  height: 600px;
  margin: 0 auto;
  overflow: hidden;
}

.viewer-container.fullscreen {
  max-width: 100%;
  box-shadow: none;
  border-radius: 0;
}

@media (max-width: 700px) {
  .viewer-container {
    height: 480px;
  }
}

.viewer-canvas {
  width: 100%;
  height: 100%;
}

.viewer-overlay-left {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 1px;
  pointer-events: none;
}

.viewer-title {
  padding: 8px 16px;
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  background: transparent;
  font-family: "Inter", sans-serif;
}

.viewer-subtitle {
  padding: 6px 14px;
  backdrop-filter: blur(4px);
  color: #8a8a8a;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.3px;
  display: inline-block;
  align-self: flex-start;
  background: transparent;
  font-family: "Inter", sans-serif;
}

@media (max-width: 700px) {
  .viewer-subtitle {
    display: none;
  }
}

.viewer-toggle-wrap {
  margin-top: 5px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  background: transparent;
  pointer-events: all;
}

.viewer-toggle-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.viewer-toggle-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.viewer-toggle-track {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
  border-radius: 24px;
  border: 1px solid #666;
  transition: background-color 0.3s ease;
  background-color: #bcbcbc;
  flex-shrink: 0;
}

.viewer-toggle-track.active {
  background-color: #000;
}

.viewer-toggle-thumb {
  position: absolute;
  height: 20px;
  width: 20px;
  bottom: 1px;
  left: 2px;
  background-color: #fff;
  border-radius: 50%;
  transition: left 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.viewer-toggle-thumb.active {
  left: 26px;
}

@media (max-width: 700px) {
  .viewer-title {
    padding-left: 5px;
  }
  .viewer-toggle-wrap {
    padding: 4px 10px 4px 5px;
    gap: 6px;
  }
  .viewer-toggle-track {
    width: 50px;
    height: 24px;
    border-radius: 24px;
  }
  .viewer-toggle-thumb {
    height: 20px;
    width: 20px;
    bottom: 1px;
    left: 2px;
  }
  .viewer-toggle-thumb.active {
    left: 26px;
  }
  .viewer-toggle-text {
    font-size: 14px;
  }
}

.viewer-toggle-text {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  font-family: "Inter", sans-serif;
}

.viewer-fullscreen-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  color: #fff;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  outline: none;
  font-family: "Inter", sans-serif;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.viewer-fullscreen-btn:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

.viewer-fullscreen-icon {
  font-size: 18px;
}

.viewer-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 16px;
  z-index: 100;
  border: 1px solid #4488ff;
  text-align: center;
  font-family: "Inter", sans-serif;
}

.viewer-loading-progress {
  margin-top: 8px;
  font-size: 14px;
  color: #88aaff;
}

.viewer-error {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(255, 0, 0, 0.9);
  color: #fff;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 16px;
  z-index: 100;
  border: 1px solid #ff8888;
  max-width: 80%;
  text-align: center;
  font-family: "Inter", sans-serif;
}

#cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 440px;
  min-height: 170px;
  background: #fff;
  border: 1px solid #e0e0e0;
  padding: 28px 32px 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  font-family: "Inter", sans-serif;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
  display: none;
}

#cookie-banner.cookie-hidden {
  opacity: 0;
  transform: translateY(16px);
}

@media (max-width: 500px) {
  #cookie-banner {
    width: calc(100% - 32px);
    right: 16px;
    bottom: 16px;
  }
}

.cookie-title {
  font-size: 20px;
  font-weight: 700;
  color: #111;
  margin: 0;
  line-height: 1.3;
}

.cookie-text {
  font-size: 14px;
  color: #222;
  line-height: 1.55;
  margin: 0;
}

.cookie-btn {
  background: #111;
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 500;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  width: fit-content;
  transition: background 0.2s;
}

.cookie-btn:hover {
  background: #333;
}

.md-image-wrap {
  position: relative;
  display: block;
  height: 100%;
}

.md-image-caption {
  position: absolute;

  left: 16px;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 400;
}
.md-image-caption-right {
  position: absolute;
  bottom: 24px;
  right: 24px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  font-family: "Inter", sans-serif;
}

@media (max-width: 700px) {
  .md-image-caption-right {
    display: none;
  }
}

.md-caption-label {
  font-size: 12px;
  font-weight: 400;
  font-family: 'Inter';
  color: #fff;
}

.md-caption-name {
  font-size: 20px;
  font-weight: 400;
  color: #fff;
  opacity: 0.5;

}
