

/* =========================
   THEMES
   ========================= */

/* тема по умолчанию уже задана через :root */

body.theme-noor {
  --bg: #f4efe3;
  --bg-2: #ebe3d3;
  --surface: #f8f3e8;
  --surface-2: #efe7d8;
  --surface-3: #e3d8c3;

  --line: rgba(96, 86, 61, 0.14);

  --text: #2d342d;
  --muted: #6f7368;

  --accent: #857247;
  --accent-2: #b59a63;

  --text-rgb: 45, 52, 45;
  --muted-rgb: 111, 115, 104;
  --accent-rgb: 133, 114, 71;
  --accent-2-rgb: 181, 154, 99;
  --surface-rgb: 248, 243, 232;
  --surface-2-rgb: 239, 231, 216;
  --surface-3-rgb: 227, 216, 195;

  --hero-glow:
    radial-gradient(circle at top right, rgba(181, 154, 99, 0.16), transparent 30%),
    radial-gradient(circle at left center, rgba(116, 134, 95, 0.14), transparent 24%);

  --shadow-soft: 0 20px 60px rgba(48, 40, 28, 0.12);
}

body.theme-zaytun {
  --bg: #eef0e4;
  --bg-2: #e2e7d5;
  --surface: #f5f7ee;
  --surface-2: #e9eedf;
  --surface-3: #d8e2ca;

  --line: rgba(76, 92, 62, 0.14);

  --text: #293127;
  --muted: #66705f;

  --accent: #6d774f;
  --accent-2: #9a8a57;

  --text-rgb: 41, 49, 39;
  --muted-rgb: 102, 112, 95;
  --accent-rgb: 109, 119, 79;
  --accent-2-rgb: 154, 138, 87;
  --surface-rgb: 245, 247, 238;
  --surface-2-rgb: 233, 238, 223;
  --surface-3-rgb: 216, 226, 202;

  --hero-glow:
    radial-gradient(circle at top right, rgba(154, 138, 87, 0.14), transparent 30%),
    radial-gradient(circle at left center, rgba(109, 119, 79, 0.16), transparent 24%);

  --shadow-soft: 0 20px 60px rgba(34, 44, 32, 0.10);
}

body.theme-sahar {
  --bg: #edf4ef;
  --bg-2: #e0ece4;
  --surface: #f7fbf8;
  --surface-2: #e9f3ed;
  --surface-3: #d7e7dc;

  --line: rgba(66, 95, 79, 0.14);

  --text: #24322b;
  --muted: #617167;

  --accent: #4e7a67;
  --accent-2: #9d8a5b;

  --text-rgb: 36, 50, 43;
  --muted-rgb: 97, 113, 103;
  --accent-rgb: 78, 122, 103;
  --accent-2-rgb: 157, 138, 91;
  --surface-rgb: 247, 251, 248;
  --surface-2-rgb: 233, 243, 237;
  --surface-3-rgb: 215, 231, 220;

  --hero-glow:
    radial-gradient(circle at top right, rgba(157, 138, 91, 0.13), transparent 30%),
    radial-gradient(circle at left center, rgba(78, 122, 103, 0.14), transparent 24%);

  --shadow-soft: 0 20px 60px rgba(32, 52, 44, 0.10);
}

/* кнопки выбора темы */
.theme-switch-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  cursor: pointer;
  transition: .2s ease;
}

.theme-switch-btn:hover,
.theme-switch-btn.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  border-color: transparent;
}

.theme-switcher-mobile {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}

.theme-chip {
  min-width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  background: #ddd;
}

.theme-chip[data-theme="default"] { background: linear-gradient(135deg, #0d1512, #c9ad7a); }
.theme-chip[data-theme="theme-noor"] { background: linear-gradient(135deg, #f4efe3, #b59a63); }
.theme-chip[data-theme="theme-zaytun"] { background: linear-gradient(135deg, #eef0e4, #6d774f); }
.theme-chip[data-theme="theme-sahar"] { background: linear-gradient(135deg, #edf4ef, #4e7a67); }

.theme-chip.active {
  box-shadow: 0 0 0 2px rgba(var(--accent-rgb), .35);
}

/* корректировка для светлых тем */
body.theme-noor .site-header,
body.theme-zaytun .site-header,
body.theme-sahar .site-header {
  background: rgba(255,255,255,.74);
}

body.theme-noor .nav-link,
body.theme-zaytun .nav-link,
body.theme-sahar .nav-link {
  color: rgba(var(--text-rgb), .82);
}

body.theme-noor .contact-link,
body.theme-zaytun .contact-link,
body.theme-sahar .contact-link,
body.theme-noor .btn-site-outline,
body.theme-zaytun .btn-site-outline,
body.theme-sahar .btn-site-outline,
body.theme-noor .btn-outline-soft,
body.theme-zaytun .btn-outline-soft,
body.theme-sahar .btn-outline-soft {
  background: rgba(255,255,255,.55);
}

:root {
  --bg: #0d1512;
  --bg-2: #13201b;
  --surface: #1a2b24;
  --surface-2: #21362d;
  --surface-3: #2b463a;

  --line: rgba(230, 222, 208, 0.12);

  --text: #f2eee6;
  --muted: #b8b0a1;

  --accent: #9f8456;
  --accent-2: #c9ad7a;

  --text-rgb: 242, 238, 230;
  --muted-rgb: 184, 176, 161;
  --accent-rgb: 159, 132, 86;
  --accent-2-rgb: 201, 173, 122;
  --surface-rgb: 26, 43, 36;
  --surface-2-rgb: 33, 54, 45;
  --surface-3-rgb: 43, 70, 58;

  --success-soft: rgba(159, 132, 86, 0.16);

  --hero-glow:
    radial-gradient(circle at top right, rgba(159, 132, 86, 0.16), transparent 30%),
    radial-gradient(circle at left center, rgba(58, 95, 78, 0.22), transparent 24%);

  --radius-xl: 1.5rem;
  --radius-lg: 1.125rem;
  --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.32);
}

/* =========================
   base
   ========================= */
html { scroll-behavior: smooth; }

body {
  background:
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.font-serif {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: .02em;
}

.text-muted-soft { color: var(--muted) !important; }
.text-accent { color: var(--accent-2) !important; }
.bg-surface { background-color: var(--surface) !important; }
.bg-surface-2 { background-color: var(--surface-2) !important; }
.bg-surface-3 { background-color: var(--surface-3) !important; }
.border-soft { border-color: var(--line) !important; }

/* =========================
   buttons
   ========================= */
.btn-site-primary,
.btn-accent {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 30px rgba(var(--accent-rgb), 0.22);
}

.btn-site-primary:hover,
.btn-site-primary:focus,
.btn-accent:hover,
.btn-accent:focus {
  color: #fff;
  background: linear-gradient(135deg, #ac9161, #d7b886);
}

.btn-site-outline,
.btn-outline-soft {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.btn-site-outline:hover,
.btn-site-outline:focus,
.btn-outline-soft:hover,
.btn-outline-soft:focus {
  color: var(--text);
  border-color: rgba(var(--accent-2-rgb), 0.45);
  background: rgba(var(--accent-2-rgb), 0.08);
}

/* =========================
   header
   ========================= */
.site-header {
  backdrop-filter: blur(18px);
  background: rgba(13, 21, 18, 0.82);
  border-bottom: 1px solid rgba(var(--text-rgb), 0.08);
}

.navbar-brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(var(--accent-rgb), 0.22),
    rgba(var(--accent-2-rgb), 0.08)
  );
  border: 1px solid rgba(var(--accent-2-rgb), 0.18);
  color: var(--accent-2);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
}

.brand-title {
  font-size: .82rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .15rem;
}

.brand-name {
  font-size: 1.1rem;
  line-height: 1;
  font-weight: 600;
  color: var(--text);
}

.nav-link {
  color: rgba(var(--text-rgb), .78);
  transition: color .2s ease;
}

.nav-link:hover,
.nav-link:focus,
.navbar .nav-link.active {
  color: var(--text);
}

.lang-switch {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(var(--text-rgb), .12);
  border-radius: 999px;
  padding: .25rem;
  display: inline-flex;
  gap: .25rem;
}

.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: .45rem .8rem;
  font-size: .8rem;
  line-height: 1;
}

.lang-switch button.active {
  background: linear-gradient(
    135deg,
    rgba(var(--accent-rgb), .28),
    rgba(var(--accent-2-rgb), .12)
  );
  color: var(--text);
}

/* =========================
   modal
   ========================= */
.custom-info-modal .modal-dialog {
  max-width: 760px;
}

.custom-info-modal .modal-content {
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(var(--surface-rgb), 0.98) 0%, rgba(13, 21, 18, 0.98) 100%);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-xl) + 0.15rem);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.custom-info-modal .modal-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-glow);
  pointer-events: none;
}

.custom-info-modal .modal-header,
.custom-info-modal .modal-body,
.custom-info-modal .modal-footer {
  position: relative;
  z-index: 2;
}

.custom-info-modal .modal-header {
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 1.25rem 1rem;
}

.custom-info-modal .modal-body {
  padding: 1.25rem;
}

.custom-info-modal .modal-footer {
  border-top: 1px solid var(--line);
  padding: 1rem 1.25rem 1.25rem;
}

.custom-info-modal .modal-kicker {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: rgba(var(--accent-2-rgb), 0.08);
  border: 1px solid rgba(var(--accent-2-rgb), 0.14);
}

.custom-info-modal .modal-title {
  color: var(--text);
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.15;
  margin-bottom: 0;
}

.custom-info-modal .modal-text,
.custom-info-modal .modal-body p,
.custom-info-modal .modal-body li {
  color: var(--muted);
  line-height: 1.75;
}

.custom-info-modal .modal-body ul {
  padding-left: 1.2rem;
  margin-bottom: 0;
}

.custom-info-modal .btn-close {
  filter: invert(1) grayscale(1);
  opacity: 0.8;
}

.custom-info-modal .btn-close:hover {
  opacity: 1;
}

/* =========================
   hero slider
   ========================= */
.hero-slider-section {
  position: relative;
  background: var(--bg);
}

.hero-slider-section .carousel {
  border-bottom: 1px solid var(--line);
}

.hero-slide {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  background-color: var(--bg);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 14, 12, 0.58) 0%, rgba(8, 14, 12, 0.42) 35%, rgba(8, 14, 12, 0.20) 62%, rgba(8, 14, 12, 0.08) 100%),
    linear-gradient(180deg, rgba(13, 21, 18, 0.08) 0%, rgba(13, 21, 18, 0.24) 100%),
    var(--hero-glow);
}

.hero-slide__content {
  position: relative;
  z-index: 2;
  padding: 120px 0 90px;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 40px;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-2-rgb), 0.16);
  background: rgba(var(--accent-2-rgb), 0.08);
  color: var(--accent-2);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.15rem;
}

.hero-title {
  max-width: 820px;
  color: var(--text);
  font-size: clamp(2.1rem, 5vw, 4.5rem);
  line-height: 1.04;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}

.hero-description,
.hero-lead {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.8;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  max-width: 760px;
}

.hero-meta__item,
.urgent-box,
.hero-card,
.surface-card,
.feature-card,
.service-card,
.gallery-card,
.price-card,
.contact-card,
.step-card,
.stat-card {
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.035),
    rgba(255,255,255,.015)
  );
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.hero-meta__item {
  padding: 1rem 1rem 0.95rem;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
}

.hero-meta__label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-2);
  margin-bottom: 0.35rem;
}

.hero-meta__value {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.45;
}

.hero-side-card {
  position: relative;
  z-index: 2;
  margin-left: auto;
  max-width: 380px;
  padding: 1.3rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(
    180deg,
    rgba(var(--surface-rgb), 0.82),
    rgba(13, 21, 18, 0.90)
  );
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-soft);
}

.hero-side-card__title {
  color: var(--text);
  font-size: 1.1rem;
  margin-bottom: 0.85rem;
}

.hero-side-card__text {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.hero-side-card__list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.hero-side-card__list li {
  color: var(--text);
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
}

.hero-side-card__list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.hero-slider-section .carousel-indicators {
  bottom: 28px;
  margin-bottom: 0;
  gap: 0.45rem;
}

.hero-slider-section .carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  margin: 0;
  border-radius: 50%;
  border: 0;
  opacity: 0.45;
  background-color: var(--accent-2);
}

.hero-slider-section .carousel-indicators .active {
  opacity: 1;
}

.hero-slider-section .carousel-control-prev,
.hero-slider-section .carousel-control-next {
  width: 58px;
  height: 58px;
  top: auto;
  bottom: 26px;
  border-radius: 50%;
  opacity: 1;
  background: rgba(var(--surface-rgb), 0.8);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.hero-slider-section .carousel-control-prev {
  left: auto;
  right: 108px;
}

.hero-slider-section .carousel-control-next {
  right: 36px;
}

.hero-slider-section .carousel-control-prev-icon,
.hero-slider-section .carousel-control-next-icon {
  width: 1.15rem;
  height: 1.15rem;
}

.hero-scroll-note {
  color: rgba(var(--text-rgb), 0.62);
  font-size: 0.85rem;
  margin-top: 1rem;
}

/* =========================
   classic hero / sections
   ========================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: 7rem 0 4rem;
  background:
    linear-gradient(180deg, rgba(13,21,18,.74) 0%, rgba(13,21,18,.92) 100%),
    var(--hero-glow),
    linear-gradient(135deg, var(--surface) 0%, var(--bg-2) 45%, var(--bg) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: .03;
  pointer-events: none;
}

.hero-card,
.surface-card {
  border-radius: var(--radius-xl);
}

.hero-card {
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -45% auto;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), .18), transparent 64%);
  pointer-events: none;
}

.hero-quick {
  display: grid;
  gap: .9rem;
  margin-top: 1.5rem;
}

.hero-quick-item {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  color: var(--text);
}

.hero-quick-item i {
  color: var(--accent-2);
  font-size: 1.05rem;
  margin-top: .15rem;
}

.urgent-box {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-lg);
}

.section-space {
  padding: 5rem 0;
}

.section-heading {
  max-width: 46rem;
  margin-bottom: 2.25rem;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.12;
  margin-bottom: .9rem;
}

.section-text {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 0;
}

/* =========================
   cards
   ========================= */
.feature-card,
.service-card,
.gallery-card,
.price-card,
.contact-card,
.step-card,
.stat-card {
  height: 100%;
  border-radius: var(--radius-xl);
}

.feature-card,
.service-card,
.step-card,
.price-card,
.contact-card,
.stat-card {
  padding: 1.5rem;
}

.gallery-card {
  overflow: hidden;
}

.icon-wrap {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--accent-rgb), .12);
  color: var(--accent-2);
  border: 1px solid rgba(var(--accent-2-rgb), .12);
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.feature-title,
.service-title,
.step-title,
.price-title,
.gallery-title,
.contact-title {
  font-size: 1.2rem;
  line-height: 1.3;
  margin-bottom: .7rem;
}

.feature-text,
.service-text,
.step-text,
.price-text,
.gallery-text,
.contact-text {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.gallery-thumb {
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(180deg, rgba(13,21,18,.08), rgba(13,21,18,.46)),
    radial-gradient(circle at top left, rgba(var(--accent-2-rgb), .18), transparent 35%),
    linear-gradient(135deg, var(--surface-3) 0%, var(--surface-2) 40%, var(--bg) 100%);
  border-bottom: 1px solid rgba(var(--text-rgb), .08);
  display: flex;
  align-items: end;
  padding: 1rem;
  color: rgba(255,255,255,.9);
  font-size: .95rem;
}

.gallery-card .body {
  padding: 1.4rem;
}

.service-card .thumb {
  aspect-ratio: 4 / 2.65;
  margin: -.4rem -.4rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(var(--text-rgb), .08);
  overflow: hidden;
  background: linear-gradient(135deg, var(--surface-3) 0%, var(--surface-2) 45%, var(--bg) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card .thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.step-number {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text);
  background: linear-gradient(
    135deg,
    rgba(var(--accent-rgb), .35),
    rgba(var(--accent-2-rgb), .14)
  );
  border: 1px solid rgba(var(--accent-2-rgb), .2);
  margin-bottom: 1rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .75rem;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--muted);
  line-height: 1.6;
}

.check-list li::before {
  content: "\F26E";
  font-family: bootstrap-icons;
  position: absolute;
  left: 0;
  top: .15rem;
  color: var(--accent-2);
  font-size: .95rem;
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: .9rem;
}

.price-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: .9rem;
  border-bottom: 1px solid rgba(var(--text-rgb), .08);
}

.price-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.price-list span:first-child {
  color: var(--text);
}

.price-list strong {
  color: var(--accent-2);
  font-weight: 600;
  white-space: nowrap;
}

/* =========================
   cta / contacts / footer
   ========================= */
.cta-block {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  background:
    radial-gradient(circle at top left, rgba(var(--accent-2-rgb), .14), transparent 30%),
    radial-gradient(circle at bottom right, rgba(var(--accent-rgb), .12), transparent 34%),
    linear-gradient(135deg, var(--surface) 0%, var(--bg) 100%);
  border: 1px solid rgba(var(--text-rgb), .1);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .9rem 1rem;
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(var(--text-rgb), .12);
}

.contact-link:hover {
  color: var(--text);
  background: rgba(255,255,255,.07);
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid rgba(var(--text-rgb), .08);
  background: rgba(10, 16, 14, .72);
}

.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .75rem;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(var(--text-rgb), .08);
  color: var(--muted);
  font-size: .85rem;
}

/* =========================
   rtl
   ========================= */
.rtl .display-flex-row,
[dir="rtl"] .display-flex-row {
  flex-direction: row-reverse;
}

html[dir="rtl"] .hero-side-card {
  margin-left: 0;
  margin-right: auto;
}

html[dir="rtl"] .hero-slider-section .carousel-control-prev {
  right: auto;
  left: 36px;
}

html[dir="rtl"] .hero-slider-section .carousel-control-next {
  right: auto;
  left: 108px;
}

[dir="rtl"] .check-list li {
  padding-left: 0;
  padding-right: 1.75rem;
}

[dir="rtl"] .check-list li::before {
  left: auto;
  right: 0;
}

/* =========================
   responsive
   ========================= */
@media (max-width: 991.98px) {
  .hero { padding-top: 6rem; }

  .hero-slide {
    min-height: auto;
  }

  .hero-slide__content {
    padding: 110px 0 120px;
  }

  .hero-side-card {
    max-width: 100%;
    margin-top: 1.25rem;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
	.brand-name{font-size: 12px;}
	
  .hero-card,
  .feature-card,
  .service-card,
  .gallery-card,
  .price-card,
  .contact-card,
  .step-card,
  .stat-card,
  .cta-block {
    border-radius: 1.25rem;
  }

  .section-space { padding: 4rem 0; }
  .hero-card { padding: 1.4rem; }
  .price-list li { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 575.98px) {
  .hero-slide__content {
    padding: 95px 0 110px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-description,
  .hero-lead {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-slider-section .carousel-control-prev,
  .hero-slider-section .carousel-control-next {
    width: 48px;
    height: 48px;
    bottom: 18px;
  }

  .hero-slider-section .carousel-control-prev {
    right: 78px;
  }

  .hero-slider-section .carousel-control-next {
    right: 18px;
  }
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================
   mobile header fix
   ========================= */

.site-header .container {
  flex-wrap: nowrap;
  align-items: center;
}

.site-header .navbar-brand {
  flex: 1 1 auto;
  min-width: 0;
  margin-right: .75rem !important;
}

.site-header .navbar-brand > span {
  min-width: 0;
}

.site-header .navbar-brand .gap-3 {
  gap: .75rem !important;
}

.site-header .navbar-brand-mark {
  flex: 0 0 auto;
}

.site-header .brand-title,
.site-header .brand-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-header .d-flex.align-items-center.gap-2.ms-auto.order-lg-3 {
  flex: 0 0 auto;
  gap: .5rem !important;
  margin-left: .5rem !important;
}

.site-header .lang-switch {
  flex: 0 0 auto;
  padding: .2rem;
  gap: .2rem;
}

.site-header .lang-switch button {
  padding: .42rem .7rem;
  font-size: .78rem;
}

.site-header .navbar-toggler {
  flex: 0 0 auto;
  padding: .35rem .45rem;
}

/* планшеты и телефоны */
@media (max-width: 767.98px) {
  .site-header {
    padding-top: .35rem !important;
    padding-bottom: .35rem !important;
  }

  .site-header .navbar-brand-mark {
    width: 38px;
    height: 38px;
  }

  .site-header .brand-title {
    font-size: .68rem;
    letter-spacing: .16em;
    margin-bottom: .1rem;
  }

  .site-header .brand-name {
    font-size: .95rem;
    line-height: 1.05;
  }

  .site-header .lang-switch button {
    padding: .38rem .62rem;
    font-size: .74rem;
  }
}

/* очень узкие экраны */
@media (max-width: 575.98px) {
  .site-header .container {
    gap: .35rem;
  }

  .site-header .navbar-brand {
    margin-right: .35rem !important;
  }

  .site-header .navbar-brand .gap-3 {
    gap: .5rem !important;
  }

  .site-header .navbar-brand-mark {
    width: 34px;
    height: 34px;
  }

  .site-header .brand-title {
    display: none;
  }

  .site-header .brand-name {
    font-size: .88rem;
    max-width: 150px;
  }

  .site-header .lang-switch button {
    padding: .34rem .52rem;
    font-size: .72rem;
  }

  .site-header .d-flex.align-items-center.gap-2.ms-auto.order-lg-3 {
    gap: .35rem !important;
  }

  .site-header .navbar-toggler {
    padding: .3rem .38rem;
  }
}

.header-actions {
  flex: 0 0 auto;
}

@media (max-width: 575.98px) {
  .header-actions {
    gap: .35rem !important;
    margin-left: .35rem !important;
  }
}


/* =========================
   mobile menu button as CTA
   ========================= */

.site-header .navbar-toggler {
  border: 0;
  box-shadow: none !important;
  border-radius: 999px;
  padding: .52rem .82rem;
  min-width: 48px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 10px 26px rgba(var(--accent-rgb), .28);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.site-header .navbar-toggler:hover,
.site-header .navbar-toggler:focus,
.site-header .navbar-toggler[aria-expanded="true"] {
  background: linear-gradient(135deg, #ac9161, #d7b886);
  box-shadow: 0 14px 30px rgba(var(--accent-rgb), .34);
  transform: translateY(-1px);
}

.site-header .navbar-toggler:focus {
  outline: none;
}

.site-header .navbar-toggler .navbar-toggler-icon {
  width: 1.2rem;
  height: 1.2rem;
  background-image: none;
  position: relative;
}

.site-header .navbar-toggler .navbar-toggler-icon::before,
.site-header .navbar-toggler .navbar-toggler-icon::after,
.site-header .navbar-toggler .navbar-toggler-icon {
  display: block;
  background-color: #fff;
  border-radius: 999px;
  height: 2px;
}

.site-header .navbar-toggler .navbar-toggler-icon::before,
.site-header .navbar-toggler .navbar-toggler-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
}

.site-header .navbar-toggler .navbar-toggler-icon {
  width: 18px;
  position: relative;
}

.site-header .navbar-toggler .navbar-toggler-icon::before {
  top: -6px;
}

.site-header .navbar-toggler .navbar-toggler-icon::after {
  top: 6px;
}

@media (max-width: 575.98px) {
  .site-header .navbar-toggler {
    padding: .46rem .72rem;
    min-width: 44px;
    min-height: 44px;
  }
}

/* =========================
   quick contact icon buttons
   ========================= */

.quick-contact-group {
  flex: 0 0 auto;
}

.quick-contact-btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 10px 24px rgba(var(--accent-rgb), .22);
  transition: .2s ease;
}

.quick-contact-btn:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(var(--accent-rgb), .28);
}

.quick-contact-btn i {
  font-size: 1rem;
  line-height: 1;
}

.quick-contact-btn--max img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
}

.quick-contact-group--mobile .quick-contact-btn {
  width: 46px;
  height: 46px;
}

/* =========================
   modal mini gallery
   ========================= */

.modal-mini-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin-bottom: 1rem;
}

.modal-mini-gallery__item {
  aspect-ratio: 4 / 3;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
}

.modal-mini-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* =========================
   service mini gallery
   ========================= */

.service-mini-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .9rem;
  margin-bottom: 1.25rem;
}

.service-mini-gallery__item {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
}

.service-mini-gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.service-mini-gallery__caption {
  padding: .75rem .9rem;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.4;
}
/* =========================
   goods cards
   ========================= */

.goods-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.goods-card {
  height: 100%;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.04),
    rgba(255,255,255,.02)
  );
  box-shadow: var(--shadow-soft);
}

.goods-card__media {
  height: 240px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at top right, rgba(var(--accent-2-rgb), .08), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  border-bottom: 1px solid var(--line);
}

.goods-card__media img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.goods-card__body {
  padding: 1rem;
}

.goods-card__title {
  margin: 0 0 .35rem;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--text);
}

.goods-card__text {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.55;
}

.goods-card__price {
  margin-top: .65rem;
  color: var(--accent-2);
  font-weight: 600;
  line-height: 1.2;
}

@media (max-width: 575.98px) {
  .goods-grid {
    grid-template-columns: 1fr;
  }

  .goods-card__media {
    height: 220px;
  }
}
/* =========================
   mosque modal lightbox
   ========================= */

.modal-mini-gallery__zoom {
  position: relative;
  padding: 0;
  background: none;
  cursor: zoom-in;
  transition: transform .2s ease, box-shadow .2s ease;
}

.modal-mini-gallery__zoom:hover {
  transform: translateY(-2px);
}

.modal-mini-gallery__zoom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modal-mini-gallery__icon {
  position: absolute;
  right: .55rem;
  bottom: .55rem;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(0,0,0,.42);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.site-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility 0s linear .22s;
}

.site-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity .22s ease;
}

.site-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(6, 10, 9, .82);
  backdrop-filter: blur(8px);
  cursor: zoom-out;
}

.site-lightbox__dialog {
  position: relative;
  z-index: 2;
  width: min(92vw, 1180px);
  max-height: 90vh;
  margin: 5vh auto;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 24px 80px rgba(0,0,0,.4);
  background: rgba(17, 22, 20, .96);
}

.site-lightbox__body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  max-height: 90vh;
  padding: 1rem;
}

.site-lightbox__body img {
  display: block;
  max-width: 100%;
  max-height: calc(90vh - 2rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: .8rem;
}

.site-lightbox__close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(0,0,0,.42);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
}

.site-lightbox__close:hover {
  background: rgba(0,0,0,.58);
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 575.98px) {
  .site-lightbox__dialog {
    width: calc(100vw - 1rem);
    margin: .5rem auto;
    max-height: calc(100vh - 1rem);
    border-radius: 1rem;
  }

  .site-lightbox__body {
    padding: .75rem;
    max-height: calc(100vh - 1rem);
  }

  .site-lightbox__body img {
    max-height: calc(100vh - 3rem);
  }

  .site-lightbox__close {
    top: .5rem;
    right: .5rem;
    width: 38px;
    height: 38px;
  }
}