:root {
  --ink: #1c2422;
  --muted: #68716d;
  --line: #d8ded8;
  --paper: #f7f5ef;
  --white: #ffffff;
  --steel: #34444c;
  --clay: #b5683f;
  --moss: #5f735d;
  --gold: #d7a84e;
  --shadow: 0 18px 45px rgba(28, 36, 34, 0.16);
  --logo-scale: 1.16;
  --logo-scale-mobile: 0.96;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(247, 245, 239, 0.94);
  border-bottom: 1px solid rgba(216, 222, 216, 0.85);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-zone {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.logo-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  max-width: calc(178px * var(--logo-scale));
  overflow: hidden;
  flex-shrink: 0;
}

.logo-brand img {
  width: calc(178px * var(--logo-scale));
  height: auto;
  max-height: 128px;
  object-fit: contain;
  display: block;
  transition: transform 220ms ease;
}

.logo-brand:hover img {
  transform: scale(1.04);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social-links a {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 17px;
  color: var(--steel);
  background: rgba(255, 255, 255, 0.58);
}

.social-links svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.social-links a:hover {
  border-color: var(--clay);
  color: var(--clay);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--steel), var(--clay));
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  padding: 10px 13px;
  border-radius: 7px;
  color: #36413e;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a.active {
  background: #e9e4d9;
}

.main-nav .nav-cta {
  color: var(--white);
  background: var(--clay);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero,
.page-hero {
  position: relative;
  min-height: calc(100vh - 75px);
  overflow: hidden;
  color: var(--white);
}

.compact-hero {
  min-height: 430px;
  display: grid;
  align-items: end;
  padding: 120px clamp(18px, 7vw, 90px) 70px;
  background-image: linear-gradient(90deg, rgba(18, 26, 25, 0.82), rgba(18, 26, 25, 0.22)), var(--bg);
  background-size: cover;
  background-position: center;
}

.compact-hero > div {
  max-width: 760px;
}

.hero-slider,
.slide {
  min-height: calc(100vh - 75px);
}

.slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  padding: 90px clamp(18px, 7vw, 90px);
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity 650ms ease, transform 900ms ease;
  background-image: linear-gradient(90deg, rgba(18, 26, 25, 0.83), rgba(18, 26, 25, 0.24)), var(--bg);
  background-size: cover;
  background-position: center;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  line-height: 0.98;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.08;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.18rem;
}

.hero-content p:not(.eyebrow),
.compact-hero p:not(.eyebrow) {
  max-width: 620px;
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  font-weight: 800;
}

.button.primary {
  color: var(--white);
  background: var(--clay);
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.button.outline {
  color: var(--steel);
  background: transparent;
  border: 1px solid var(--steel);
}

.text-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 12px;
  color: var(--gold);
  font-weight: 900;
}

.scroll-home {
  position: relative;
  min-height: 390vh;
  color: var(--white);
  background: #111816;
}

.scroll-visual {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.scroll-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 20, 19, 0.82), rgba(13, 20, 19, 0.12)),
    linear-gradient(0deg, rgba(13, 20, 19, 0.38), transparent 38%);
}

.scroll-visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 650ms ease, transform 900ms ease;
}

.scroll-visual-img.active {
  opacity: 1;
  transform: scale(1);
}

.scroll-stage {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 120px clamp(18px, 7vw, 90px);
  margin-top: -100vh;
}

.scroll-stage + .scroll-stage {
  margin-top: 0;
}

.stage-card {
  max-width: 680px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(15, 22, 21, 0.54);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
  opacity: 0.38;
  transform: translateY(28px);
  transition: opacity 450ms ease, transform 450ms ease;
}

.scroll-stage.active .stage-card {
  opacity: 1;
  transform: translateY(0);
}

.right-card {
  justify-self: end;
}

.stage-card h1 {
  max-width: 820px;
}

.stage-card p:not(.eyebrow) {
  color: #eef1ee;
  font-size: 1.08rem;
}

.slider-controls {
  position: absolute;
  right: clamp(18px, 6vw, 80px);
  bottom: 34px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 13px;
}

.slider-controls button,
.slider-dots button {
  border: 1px solid rgba(255, 255, 255, 0.46);
  color: var(--white);
  background: rgba(18, 26, 25, 0.38);
  cursor: pointer;
}

.slider-controls > button {
  width: 42px;
  height: 42px;
  border-radius: 7px;
  font-size: 1.8rem;
}

.slider-dots {
  display: flex;
  gap: 7px;
}

.slider-dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border-radius: 999px;
}

.slider-dots button.active {
  background: var(--gold);
}

.section {
  padding: 78px clamp(18px, 6vw, 80px);
}

.about-strip,
.contact-banner {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(280px, 1.2fr);
  gap: 36px;
  align-items: center;
  background: var(--white);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.split-heading {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.quick-services {
  background: #ece7dc;
}

.service-preview-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  grid-auto-rows: 230px;
  gap: 16px;
}

.service-preview {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 230px;
  padding: 22px;
  border-radius: 8px;
  color: var(--white);
  isolation: isolate;
  background-image: linear-gradient(180deg, rgba(18, 26, 25, 0.18), rgba(18, 26, 25, 0.74)), var(--bg);
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 38px rgba(28, 36, 34, 0.14);
}

.service-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(181, 104, 63, 0);
  transition: background 260ms ease;
}

.service-preview:hover::before {
  background: rgba(181, 104, 63, 0.22);
}

.service-preview:hover {
  transform: translateY(-4px);
}

.service-preview.tall {
  grid-row: span 2;
}

.service-preview.wide {
  grid-column: span 2;
}

.service-preview span {
  width: fit-content;
  padding: 7px 9px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 900;
}

.service-preview h3 {
  max-width: 360px;
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.45rem);
  line-height: 1.02;
}

.feature-showcase {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(360px, 1.22fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  background: var(--steel);
  color: var(--white);
}

.feature-copy p:not(.eyebrow) {
  color: #d9dedb;
}

.feature-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.feature-points span {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 7px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.spotlight-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px;
  gap: 14px;
}

.spotlight-main {
  width: 100%;
  aspect-ratio: 1.28;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.spotlight-thumbs {
  display: grid;
  gap: 12px;
}

.spotlight-thumbs button {
  padding: 0;
  overflow: hidden;
  border: 3px solid transparent;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.spotlight-thumbs button.active {
  border-color: var(--gold);
}

.spotlight-thumbs img {
  width: 100%;
  height: 100%;
  min-height: 92px;
  object-fit: cover;
}

.project-grid,
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.project-empty-state {
  margin: 16px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.project-card,
.info-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(28, 36, 34, 0.08);
}

.project-card-media {
  width: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f0ebe0, #ece7dc);
  color: var(--steel);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.project-card-media-empty {
  min-height: 140px;
}

.project-card-images {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px;
  scroll-snap-type: x proximity;
}

.project-card-images img {
  flex: 0 0 120px;
  width: 120px;
  height: 92px;
  object-fit: cover;
  border-radius: 6px;
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.project-card:hover .project-card-images img {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(28, 36, 34, 0.12);
}

.project-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 12, 12, 0.86);
}

.project-lightbox[hidden] {
  display: none;
}

.project-lightbox-dialog {
  position: relative;
  max-width: min(92vw, 1100px);
  max-height: 92vh;
}

.project-lightbox img {
  display: block;
  max-width: 100%;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.project-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: rgba(18, 26, 25, 0.74);
  cursor: pointer;
  font-size: 1.6rem;
}

.project-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: rgba(18, 26, 25, 0.74);
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
}

.project-lightbox-nav-prev {
  left: 12px;
}

.project-lightbox-nav-next {
  right: 12px;
}

body.no-scroll {
  overflow: hidden;
}

.project-card div,
.info-grid article {
  padding: 22px;
}

.project-card span {
  color: var(--moss);
  font-weight: 800;
  font-size: 0.86rem;
}

.project-card p,
.info-grid p,
.panel-copy p,
.contact-section p,
.terms-accordion p {
  color: var(--muted);
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--steel);
}

.stats-band div {
  min-height: 160px;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 30px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.stats-band strong {
  font-size: 3.3rem;
  line-height: 1;
}

.stats-band span {
  color: #d9dedb;
  font-weight: 700;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(300px, 1.05fr);
  gap: 34px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.contact-list.inline {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.contact-list a {
  width: fit-content;
  padding: 10px 12px;
  border-radius: 7px;
  color: var(--steel);
  background: #e9e4d9;
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fbfaf7;
}

/* Проста проверка за реален човек - обикновен чекбокс */
.form-check {
  display: flex !important;
  flex-direction: row-reverse;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.form-check input {
  width: auto;
}

/* Honeypot поле - невидимо за реални посетители, само за ботове */
.form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--moss);
  font-weight: 800;
}

.services-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.services-sidebar {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(52, 68, 76, 0.12);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(247, 245, 239, 0.94));
  box-shadow: 0 18px 40px rgba(28, 36, 34, 0.08);
  overflow: hidden;
}

.services-toolbar-copy {
  max-width: 100%;
  min-width: 0;
}

.services-toolbar-copy h2 {
  margin-bottom: 8px;
  font-size: clamp(1.2rem, 2.1vw, 1.7rem);
  line-height: 1.2;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.services-toolbar-copy p:last-child {
  margin: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.service-tabs {
  display: grid;
  gap: 10px;
}

.service-tabs button {
  position: relative;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(52, 68, 76, 0.14);
  border-radius: 14px;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
  text-align: left;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(28, 36, 34, 0.04);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.service-tabs button:hover,
.service-tabs button:focus-visible {
  transform: translateX(3px);
  border-color: rgba(181, 104, 63, 0.3);
  box-shadow: 0 12px 24px rgba(181, 104, 63, 0.15);
}

.service-tabs button.active {
  color: var(--white);
  border-color: transparent;
  background: linear-gradient(135deg, var(--clay), #d49052);
  box-shadow: 0 16px 28px rgba(181, 104, 63, 0.23);
}

.service-cta {
  justify-content: center;
  width: 100%;
}

.service-panels {
  display: grid;
  gap: 18px;
}

.service-panel {
  display: none;
  gap: 26px;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  align-items: start;
  padding: 24px;
  border: 1px solid rgba(52, 68, 76, 0.12);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(247, 245, 239, 0.94));
  box-shadow: 0 20px 45px rgba(28, 36, 34, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-panel.active {
  display: grid;
}

.service-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(181, 104, 63, 0.22);
  box-shadow: 0 24px 50px rgba(28, 36, 34, 0.12);
}

.panel-copy {
  display: grid;
  gap: 10px;
  padding: 6px 0;
}

.service-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.service-highlights span {
  padding: 8px 12px;
  border: 1px solid rgba(215, 168, 78, 0.22);
  border-radius: 999px;
  background: rgba(215, 168, 78, 0.12);
  color: var(--steel);
  font-size: 0.9rem;
  font-weight: 800;
}

.service-highlights span:nth-child(2n) {
  background: rgba(95, 115, 93, 0.12);
  border-color: rgba(95, 115, 93, 0.2);
}

.gallery {
  display: grid;
  gap: 12px;
}

.gallery-main,
.thumbs button {
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: transparent;
  cursor: pointer;
}

.gallery-main {
  position: relative;
  box-shadow: 0 18px 40px rgba(28, 36, 34, 0.16);
}

.gallery-main.active {
  outline: 3px solid rgba(181, 104, 63, 0.28);
  outline-offset: 4px;
}

.gallery-main.active .gallery-badge {
  opacity: 1;
  transform: translateY(0);
}

.gallery-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(12, 16, 15, 0.74);
  color: var(--white);
  backdrop-filter: blur(8px);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.gallery-main:hover .gallery-badge,
.gallery-main:focus-visible .gallery-badge {
  opacity: 1;
  transform: translateY(0);
}

.gallery-main img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
  transition: transform 320ms ease, filter 320ms ease;
}

.gallery-main:hover img,
.gallery-main:focus-visible img {
  transform: scale(1.04);
  filter: saturate(1.05);
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.thumbs img {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
  transition: transform 220ms ease;
}

.thumbs button {
  border: 2px solid transparent;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.thumbs button:hover,
.thumbs button:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(181, 104, 63, 0.34);
  box-shadow: 0 12px 20px rgba(28, 36, 34, 0.12);
}

.thumbs button:hover img,
.thumbs button:focus-visible img {
  transform: scale(1.05);
}

.thumbs button.active {
  border-color: var(--clay);
  box-shadow: 0 0 0 2px rgba(181, 104, 63, 0.16), 0 10px 18px rgba(181, 104, 63, 0.14);
}

.services-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 24px;
  align-items: end;
  padding: 110px clamp(18px, 7vw, 90px) 70px;
}

.services-hero-copy {
  max-width: 760px;
}

.services-hero-copy h1 {
  max-width: 720px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-pills span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  font-size: 0.92rem;
  font-weight: 700;
}

.services-hero-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  background: rgba(12, 16, 15, 0.58);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
}

.services-hero-card h3 {
  margin-bottom: 12px;
}

.services-hero-card ul {
  display: grid;
  gap: 8px;
  padding-left: 18px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.86);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 12, 12, 0.82);
}

.lightbox[hidden] {
  display: none;
}

/* Рамка, която се свива точно до размера на показаната снимка -
   стрелките се позиционират спрямо нея, затова остават центрирани
   на самата снимка, а не на целия екран. */
.lightbox-frame {
  position: relative;
  display: inline-block;
  max-width: min(100%, 1120px);
  max-height: 84vh;
  line-height: 0;
}

.lightbox-frame img {
  display: block;
  max-height: 84vh;
  max-width: 100%;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: rgba(12, 16, 15, 0.8);
  cursor: pointer;
  font-size: 1.7rem;
  backdrop-filter: blur(8px);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: rgba(12, 16, 15, 0.8);
  cursor: pointer;
  font-size: 2rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.lightbox-nav-prev {
  left: 12px;
}

.lightbox-nav-next {
  right: 12px;
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  background: rgba(181, 104, 63, 0.92);
}

.terms-accordion {
  background: var(--white);
}

.accordion-item {
  border-top: 1px solid var(--line);
}

.accordion-item button {
  width: 100%;
  padding: 22px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-size: 1.12rem;
  font-weight: 900;
}

.accordion-item button::after {
  content: "+";
  float: right;
  color: var(--clay);
}

.accordion-item.open button::after {
  content: "-";
}

.accordion-item div {
  display: none;
  max-width: 820px;
  padding-bottom: 22px;
}

.accordion-item.open div {
  display: block;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(18px, 6vw, 80px);
  color: #d9dedb;
  background: #17201e;
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  gap: 16px;
}

.site-footer a {
  color: var(--gold);
}

.form-captcha {
  display: grid;
  gap: 6px;
}

.captcha-number {
  display: inline-block;
  padding: 6px 14px;
  margin-left: 6px;
  border-radius: 6px;
  background: #ece7dc;
  color: var(--steel);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: 5px;
  transform: skewX(-7deg) rotate(-1deg);
  user-select: none;
}

@media (max-width: 900px) {
  .services-shell {
    grid-template-columns: 1fr;
}
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 75px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    color: var(--ink);
  }

  .brand-zone {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .logo-brand {
    max-width: calc(178px * var(--logo-scale-mobile));
  }

  .logo-brand img {
    width: calc(178px * var(--logo-scale-mobile));
    max-height: 92px;
  }

  .social-links {
    max-width: 240px;
  }

  .about-strip,
  .contact-section,
  .contact-banner,
  .service-panel,
  .feature-showcase {
    grid-template-columns: 1fr;
  }

  .split-heading {
    align-items: start;
    flex-direction: column;
  }

  .service-preview-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-preview.tall,
  .service-preview.wide {
    grid-column: auto;
    grid-row: auto;
  }

  .services-hero {
    grid-template-columns: 1fr;
    padding: 90px 18px 64px;
  }

  .services-sidebar {
    position: static;
  }

  .service-tabs {
    width: 100%;
  }

  .service-panel {
    padding: 18px;
    grid-template-columns: 1fr;
  }

  .project-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .contact-list.inline {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-inline: 14px;
  }

  .social-links a {
    width: 34px;
    height: 34px;
  }

  .scroll-stage {
    padding: 115px 18px 64px;
  }

  .stage-card {
    padding: 22px;
  }

  .hero,
  .hero-slider,
  .slide {
    min-height: 650px;
  }

  h1 {
    font-size: 2.55rem;
  }

  .slider-controls {
    left: 18px;
    right: auto;
  }

  .section {
    padding: 54px 18px;
  }

  .stats-band,
  .service-tabs,
  .service-preview-grid,
  .spotlight-gallery {
    grid-template-columns: 1fr;
  }

  .service-preview {
    min-height: 205px;
  }

  .site-footer {
    flex-direction: column;
  }
}
