﻿:root {
  --bg-dark: #161617;
  --bg-deep: #0f0f10;
  --bg-soft: #f3f1ed;
  --surface: #ffffff;
  --surface-soft: #f7f5f1;
  --text: #1f1f21;
  --text-light: #e9e5dd;
  --muted: #66615a;
  --line: #d8d0c4;
  --line-strong: #b8ad9d;
  --accent: #9f7a4f;
  --accent-strong: #7e5f3d;
  --max: 1180px;
  --radius: 18px;
  --shadow-soft: 0 16px 34px rgba(16, 13, 9, 0.08);
  --shadow-strong: 0 24px 44px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Avenir Next", "Avenir", "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #f8f7f4 0%, #f3f1ed 100%);
  color: var(--text);
  scroll-behavior: smooth;
}

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

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

.container {
  width: min(92%, var(--max));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(24, 24, 25, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.nav {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.logo {
  width: clamp(150px, 22vw, 250px);
  height: auto;
}

.menu {
  display: flex;
  gap: 18px;
  color: #ece8df;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.menu a {
  position: relative;
  opacity: 0.86;
  transition: opacity 0.2s ease;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.menu a:hover {
  opacity: 1;
}

.menu a:hover::after {
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.btn-primary {
  color: #f8f4ec;
  background: linear-gradient(135deg, #9b784f, #705435);
  box-shadow: 0 12px 24px rgba(126, 95, 61, 0.34);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.36);
  color: #f1ece2;
}

.btn-ghost:hover {
  border-color: var(--accent);
}

.hero {
  padding: 84px 0 66px;
  color: var(--text-light);
  background:
    radial-gradient(1300px 620px at 0% 0%, rgba(159, 122, 79, 0.18), transparent 60%),
    radial-gradient(900px 460px at 100% 100%, rgba(255, 255, 255, 0.06), transparent 65%),
    linear-gradient(135deg, #111112 0%, #1a1a1c 52%, #191412 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  align-items: stretch;
}

.hero-copy {
  display: grid;
  align-content: start;
  gap: 16px;
}

.eyebrow {
  margin: 0;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #b5a896;
  font-weight: 700;
}

h1,
h2,
h3 {
  font-family: "Bodoni MT", "Didot", "Times New Roman", serif;
  letter-spacing: 0.01em;
}

h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4.6vw, 3.5rem);
  line-height: 1.05;
  max-width: 13ch;
}

.lead {
  margin: 0;
  line-height: 1.72;
  color: #d8d0c4;
  max-width: 58ch;
}

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

.trust-list {
  margin: 2px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  color: #d2c8bb;
}

.hero-figure {
  margin: 0;
  height: 100%;
  min-height: 360px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-strong);
  background: #0f0f10;
}

.hero-figure img,
.hero-figure video {
  width: 100%;
  height: calc(100% - 48px);
  min-height: 300px;
  object-fit: cover;
}

.hero-figure figcaption {
  padding: 13px 14px;
  font-size: 0.9rem;
  color: #e2d9cc;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-empty {
  border: 1px dashed rgba(255, 255, 255, 0.45);
  border-radius: var(--radius);
  padding: 20px;
  color: #ece2d5;
}

.section {
  padding: 72px 0;
}

.section-soft {
  background: var(--bg-soft);
  color: var(--text);
}

.section-head {
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 10px 0 10px;
  font-size: clamp(1.9rem, 2.9vw, 2.6rem);
  line-height: 1.12;
}

.section-head p {
  margin: 0;
  line-height: 1.65;
  max-width: 68ch;
  color: #514a42;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.4rem;
}

.card p {
  margin: 0;
  color: #595249;
  line-height: 1.62;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  border: 1px solid #c9bfaf;
  border-radius: 999px;
  padding: 8px 14px;
  color: #4f463c;
  background: linear-gradient(135deg, #f5efe7, #ece5da);
}

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

.kpi {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 22px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.kpi strong {
  display: block;
  font-size: 2.1rem;
  color: #2d241a;
  font-family: "Bodoni MT", "Didot", "Times New Roman", serif;
}

.kpi span {
  color: #665f56;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 18px;
}

.project-link {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #c7bba9;
  background: #f7f2ea;
  color: #4c4339;
  font-size: 0.9rem;
  transition: border-color 0.2s ease;
}

.project-link:hover {
  border-color: var(--accent);
}

.project-list {
  display: grid;
  gap: 20px;
}

.project-card {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(160deg, rgba(26, 26, 28, 0.95), rgba(19, 19, 21, 0.95));
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22);
}

.project-head {
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.project-head h3 {
  margin: 0;
  font-size: 1.45rem;
  color: #f0e8db;
}

.project-head span {
  color: #b4a997;
  font-size: 0.88rem;
}

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

.media-item {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0d0d0e;
}

.media-item img,
.media-item video {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.media-item:hover img,
.media-item:hover video {
  transform: scale(1.04);
}

.media-item img.js-lightbox-trigger {
  cursor: zoom-in;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(12, 11, 11, 0.94);
}

.lightbox-stage {
  width: min(96vw, 1200px);
  height: min(92vh, 860px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 10px;
}

.lightbox-toolbar {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.lightbox-btn {
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(18, 18, 19, 0.9);
  color: #ece4d8;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.95rem;
  cursor: pointer;
}

.lightbox-btn:hover {
  border-color: var(--accent);
}

.lightbox-close {
  background: rgba(139, 40, 30, 0.32);
}

.lightbox.zoom-disabled [data-lightbox-action="zoom-in"],
.lightbox.zoom-disabled [data-lightbox-action="zoom-out"],
.lightbox.zoom-disabled [data-lightbox-action="reset"] {
  display: none;
}

.lightbox-viewport {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: #0b0b0c;
  display: grid;
  place-items: center;
  touch-action: none;
  cursor: zoom-out;
}

.lightbox-viewport.is-zoomed {
  cursor: grab;
}

.lightbox-viewport.is-dragging {
  cursor: grabbing;
}

.lightbox-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: center center;
  transition: transform 0.12s ease;
  pointer-events: none;
  user-select: none;
}

.lightbox-caption {
  margin: 0;
  color: #d6ccbf;
  font-size: 0.92rem;
  text-align: center;
}

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

.step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: #2b2a29;
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.step span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #ece3d7;
  color: #71553a;
  font-weight: 700;
}

.step h3 {
  margin: 10px 0 8px;
  font-size: 1.25rem;
}

.step p {
  margin: 0;
  color: #5f584f;
}

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 14px;
  background: rgba(18, 18, 19, 0.86);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: #efe4d5;
}

.faq p {
  margin: 8px 0 0;
  color: #cdc2b2;
  line-height: 1.55;
}

.empty-message {
  border: 1px dashed rgba(255, 255, 255, 0.42);
  border-radius: 14px;
  padding: 20px;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(900px 340px at 4% 0%, rgba(159, 122, 79, 0.14), transparent 60%),
    #111112;
}

.footer-content {
  padding: 28px 0 22px;
  color: #d7cebf;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 20px;
  align-items: start;
}

.footer-brand strong {
  font-size: 1.14rem;
}

.footer-brand p {
  margin: 8px 0 0;
  max-width: 44ch;
  color: #b7ad9f;
}

.footer-contact h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: #f3ebde;
}

.footer-content p {
  margin: 6px 0;
}

.footer-actions {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-actions a {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.03);
  color: #dec09a;
  font-weight: 600;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

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

.footer-copy {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #9f9485;
  font-size: 0.88rem;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js-reveal-ready .reveal {
  opacity: 0;
  transition:
    opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.88s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.js-reveal-ready .reveal-up {
  transform: translate3d(0, 34px, 0);
}

.js-reveal-ready .reveal-left {
  transform: translate3d(-30px, 0, 0);
}

.js-reveal-ready .reveal-right {
  transform: translate3d(30px, 0, 0);
}

.js-reveal-ready .reveal-zoom {
  transform: scale(0.92);
}

.js-reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js-reveal-ready .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (max-width: 1080px) {
  .menu {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .cards-3,
  .kpis,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 780px) {
  .section {
    padding: 56px 0;
  }

  .hero {
    padding-top: 56px;
  }

  .cards-3,
  .kpis,
  .steps,
  .media-grid {
    grid-template-columns: 1fr;
  }

  .media-item img,
  .media-item video {
    height: auto;
    max-height: 340px;
  }

  .hero-figure img,
  .hero-figure video {
    height: auto;
    min-height: 200px;
  }

  .lightbox {
    padding: 12px;
  }

  .lightbox-stage {
    width: 100%;
    height: min(92vh, 760px);
  }

  .lightbox-toolbar {
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-actions a {
    width: 100%;
    justify-content: center;
  }
}
