/* =====================================================
   FREEDOM — Кухни и мебель
   CSS Design System
   ===================================================== */

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ---- CSS VARIABLES / THEME ---- */
:root {
  --gold: #C9A96E;
  --gold-light: #D4B87A;
  --gold-dim: rgba(201, 169, 110, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 4px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.2);
}

/* DARK THEME (default) */
[data-theme="dark"] {
  --bg: #0D0D0D;
  --bg-2: #141414;
  --bg-3: #1C1C1C;
  --bg-4: #242424;
  --text: #F5EFE7;
  --text-muted: rgba(245, 239, 231, 0.55);
  --text-dim: rgba(245, 239, 231, 0.35);
  --border: rgba(245, 239, 231, 0.08);
  --border-hover: rgba(201, 169, 110, 0.3);
  --card-bg: #1A1A1A;
  --card-hover: #222222;
  --header-bg: rgba(13, 13, 13, 0.85);
  --tag-bg: rgba(201, 169, 110, 0.1);
  --tag-color: var(--gold);
}

/* LIGHT THEME */
[data-theme="light"] {
  --bg: #FAFAF8;
  --bg-2: #F5F0E8;
  --bg-3: #EDE8DF;
  --bg-4: #E5E0D8;
  --text: #1A1814;
  --text-muted: rgba(26, 24, 20, 0.6);
  --text-dim: rgba(26, 24, 20, 0.35);
  --border: rgba(26, 24, 20, 0.08);
  --border-hover: rgba(201, 169, 110, 0.4);
  --card-bg: #FFFFFF;
  --card-hover: #FBF8F3;
  --header-bg: rgba(250, 250, 248, 0.88);
  --tag-bg: rgba(201, 169, 110, 0.1);
  --tag-color: #9A7A45;
}

/* ---- TYPOGRAPHY ---- */
.font-display { font-family: 'Cormorant Garamond', serif; }

h1, h2, h3 { font-family: 'Cormorant Garamond', serif; line-height: 1.15; font-weight: 400; }
h1 { font-size: clamp(2.6rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

em { font-style: italic; color: var(--gold); }
p { color: var(--text-muted); }

/* ---- LAYOUT ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 3rem);
}

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

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--gold {
  background: var(--gold);
  color: #0D0D0D;
}
.btn--gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,169,110,0.35);
}
.btn--ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.btn--outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.6rem 1.4rem;
}
.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ---- SECTION ELEMENTS ---- */
.section-tag {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--tag-bg);
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.2rem;
}
.section-title {
  color: var(--text);
  margin-bottom: 1.5rem;
}
.section-title--center { text-align: center; }

/* ---- CUSTOM CURSOR ---- */
.cursor, .cursor-follower {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: opacity 0.3s;
}
.cursor {
  width: 8px; height: 8px;
  background: var(--gold);
  top: 0; left: 0;
  transform: translate(-50%,-50%);
}
.cursor-follower {
  width: 32px; height: 32px;
  border: 1px solid rgba(201,169,110,0.4);
  top: 0; left: 0;
  transform: translate(-50%,-50%);
  transition: transform 0.12s, width 0.3s, height 0.3s, border-color 0.3s;
}
.cursor-follower.cursor--hover {
  width: 48px; height: 48px;
  border-color: var(--gold);
}
@media (hover: none) {
  .cursor, .cursor-follower { display: none; }
}

/* ---- ANIMATIONS ---- */
.reveal-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
}
.reveal-up.in-view, .reveal-right.in-view {
  opacity: 1;
  transform: none;
}
.reveal-up:nth-child(2) { transition-delay: 0.1s; }
.reveal-up:nth-child(3) { transition-delay: 0.2s; }
.reveal-up:nth-child(4) { transition-delay: 0.3s; }
.reveal-up:nth-child(5) { transition-delay: 0.4s; }

/* ================================================================
   HEADER
   ================================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
  transition: background 0.4s, border-color 0.4s, padding 0.3s;
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.header.scrolled { padding-top: 0; padding-bottom: 0; }
.header.scrolled .header__inner { padding-top: 0.7rem; padding-bottom: 0.7rem; }

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
  flex-shrink: 0;
}
.logo__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--text);
  transition: color 0.3s;
}
.logo__name:hover { color: var(--gold); }
.logo__sub {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Nav */
.nav { display: flex; gap: 0.25rem; margin-left: auto; }
.nav__link {
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.nav__link:hover { color: var(--text); background: var(--bg-3); }

.header__actions { display: flex; align-items: center; gap: 0.75rem; }

/* Theme toggle */
.theme-toggle {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  transition: var(--transition);
}
.theme-toggle:hover { border-color: var(--gold); color: var(--gold); }
.theme-toggle__icon { display: none; }
[data-theme="dark"] .theme-toggle__sun { display: block; }
[data-theme="light"] .theme-toggle__moon { display: block; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.burger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--text);
  transition: var(--transition);
}
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.mobile-nav.open { opacity: 1; pointer-events: all; }
.mobile-nav__link {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.mobile-nav__link:hover { color: var(--gold); }
.mobile-nav__link--cta {
  margin-top: 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  background: var(--gold);
  color: #0D0D0D;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 0;
  overflow: hidden;
  background: #000;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.75;
  transition: transform 8s ease;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.92) 0%,
    rgba(0,0,0,0.55) 45%,
    rgba(0,0,0,0.25) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 1;
  padding-top: 140px;
  padding-bottom: 6rem;
  color: #fff;
}
.hero__label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.hero__title {
  color: #fff;
  max-width: 740px;
  margin-bottom: 1.2rem;
}
.hero__title em { color: var(--gold); }
.hero__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,0.7);
  max-width: 500px;
  margin-bottom: 2.2rem;
  line-height: 1.7;
}
.br-desktop { display: block; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.hero__stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat__num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: #fff;
  line-height: 1;
}
.stat__plus {
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.stat__label { font-size: 0.72rem; color: rgba(255,255,255,0.5); }
.stat__text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: #fff;
  line-height: 1;
}
.stat__divider { width: 1px; height: 40px; background: rgba(255,255,255,0.15); }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  right: clamp(1rem, 5vw, 3rem);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.scroll-indicator__line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(201,169,110,0.6));
  animation: scrollLine 2s ease infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ================================================================
   ABOUT
   ================================================================ */
.about {
  padding: 7rem 0;
  background: var(--bg);
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about__desc {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}
.about__promises { display: flex; flex-direction: column; gap: 1.4rem; }
.promise {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.promise__icon {
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.promise strong {
  display: block;
  color: var(--text);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}
.promise p { font-size: 0.9rem; margin: 0; }

.about__visual { position: relative; }
.about__img-wrap { position: relative; }
.about__img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.about__badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--gold);
  color: #0D0D0D;
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius);
  text-align: center;
}
.about__badge-num {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
}
.about__badge-text {
  font-size: 0.7rem;
  font-weight: 500;
}

/* ================================================================
   FEARS
   ================================================================ */
.fears {
  padding: 6rem 0;
  background: var(--bg-2);
}
.fears__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.fear-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  cursor: default;
}
.fear-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.fear-card__num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  color: var(--gold);
  opacity: 0.45;
  line-height: 1;
  margin-bottom: 1rem;
}
.fear-card__title {
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.fear-card__text { font-size: 0.875rem; line-height: 1.6; }

/* ================================================================
   PROCESS
   ================================================================ */
.process {
  padding: 7rem 0 4rem;
  background: var(--bg);
  overflow: hidden;
}
.process .container { margin-bottom: 3rem; }

.process__track {
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 clamp(1rem, 5vw, 3rem);
  padding-bottom: 3rem;
}
.process__track::-webkit-scrollbar { display: none; }

.process__steps {
  display: flex;
  gap: 1.5rem;
  width: max-content;
}
.process-step {
  width: 280px;
  flex-shrink: 0;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: var(--transition);
}
.process-step:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}
.process-step::after {
  content: '→';
  position: absolute;
  right: -1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1.2rem;
  z-index: 1;
}
.process-step:last-child::after { display: none; }

.process-step__num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  color: var(--gold);
  opacity: 0.45;
  line-height: 1;
  margin-bottom: 1rem;
}
.process-step__content h3 {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.process-step__content p { font-size: 0.875rem; line-height: 1.6; }

/* ================================================================
   PROJECTS
   ================================================================ */
.projects {
  padding: 7rem 0;
  background: var(--bg-2);
}
.projects__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  gap: 2rem;
  flex-wrap: wrap;
}
.projects__filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 0.5rem 1.1rem;
  border-radius: 100px;
  font-size: 0.82rem;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn--active {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}

/* Masonry-style grid */
.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 1.2rem;
}
.project-card { overflow: hidden; border-radius: var(--radius-lg); position: relative; }
.project-card--tall { grid-row: span 2; }
.project-card--wide { grid-column: span 2; }

.project-card__img-wrap {
  position: relative;
  width: 100%; height: 100%;
  overflow: hidden;
}
.project-card__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.project-card:hover .project-card__img-wrap img {
  transform: scale(1.06);
}
.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: #fff;
  opacity: 0;
  transition: opacity 0.4s;
}
.project-card:hover .project-card__overlay { opacity: 1; }
.project-card__tag {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.project-card__name {
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}
.project-card__meta { font-size: 0.8rem; opacity: 0.7; }

.project-card.hidden { display: none; }

/* ================================================================
   PRODUCTION
   ================================================================ */
.production {
  padding: 7rem 0;
  background: var(--bg);
}
.production__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.production__desc {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}
.production__facts { display: flex; flex-direction: column; gap: 0.8rem; }
.production__fact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.production__fact-icon { color: var(--gold); flex-shrink: 0; }

.production__visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.6fr;
  grid-template-rows: auto;
  gap: 1rem;
  align-items: start;
}
.production__img {
  grid-column: 1 / -1;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.production__cozy img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ================================================================
   REVIEWS
   ================================================================ */
.reviews {
  padding: 7rem 0;
  background: var(--bg-2);
}
.reviews .section-title { margin-bottom: 3rem; }

.reviews__slider {
  display: flex;
  gap: 1.5rem;
  overflow: hidden;
  position: relative;
}
.review-card {
  min-width: 100%;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: none;
  flex-direction: column;
  gap: 1.5rem;
}
.review-card.active { display: flex; animation: fadeReview 0.4s ease; }
@keyframes fadeReview {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.review-card__stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 0.1em; }
.review-card__text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.65;
  color: var(--text);
  font-style: italic;
}
.review-card__author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
}
.review-card__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: #0D0D0D;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.review-card__author strong { display: block; color: var(--text); font-size: 0.9rem; }
.review-card__author span { font-size: 0.8rem; color: var(--text-muted); }

.reviews__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}
.review-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.review-btn:hover { border-color: var(--gold); color: var(--gold); }
.reviews__dots { display: flex; gap: 0.5rem; }
.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--border);
  transition: var(--transition);
  cursor: pointer;
}
.dot.active { background: var(--gold); width: 20px; border-radius: 3px; }

/* ================================================================
   FAQ
   ================================================================ */
.faq {
  padding: 7rem 0;
  background: var(--bg);
}
.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}
.faq__sub { font-size: 1rem; margin-top: 0.5rem; }

.faq__list { display: flex; flex-direction: column; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item__q {
  width: 100%;
  text-align: left;
  padding: 1.5rem 0;
  font-size: 1rem;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.25s;
}
.faq-item__q:hover { color: var(--gold); }
.faq-item__icon {
  font-size: 1.4rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.3s;
  line-height: 1;
}
.faq-item.open .faq-item__icon { transform: rotate(45deg); }
.faq-item__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}
.faq-item.open .faq-item__a { grid-template-rows: 1fr; }
.faq-item__a > p {
  overflow: hidden;
  padding-bottom: 1.5rem;
  font-size: 0.92rem;
  line-height: 1.75;
}

/* ================================================================
   CONTACT
   ================================================================ */
.contact {
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
}
.contact__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.contact__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.4;
}
.contact__overlay {
  position: absolute;
  inset: 0;
  background: var(--bg);
  opacity: 0.85;
}
.contact__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}
.contact__text .section-title { margin-bottom: 1rem; }
.contact__text > p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}
.contact__info { display: flex; flex-direction: column; gap: 0.4rem; }
.contact__phone {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: var(--text);
  transition: color 0.25s;
}
.contact__phone:hover { color: var(--gold); }
.contact__phone-note { font-size: 0.78rem; color: var(--text-dim); }
.contact__email { font-size: 0.9rem; color: var(--text-muted); transition: color 0.25s; }
.contact__email:hover { color: var(--gold); }

/* Form */
.contact-form {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.form-steps { margin-bottom: 1.5rem; }
.form-step { display: none; }
.form-step.active { display: block; }
.form__label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.form__input {
  width: 100%;
  padding: 1rem 1.2rem;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  outline: none;
  transition: border-color 0.25s;
}
.form__input:focus { border-color: var(--gold); }
.form__input::placeholder { color: var(--text-dim); }

.form__options { display: flex; flex-direction: column; gap: 0.75rem; }
.form__option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--text-muted);
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.form__option:hover { border-color: var(--gold); color: var(--text); }
.form__option input { accent-color: var(--gold); }

.form__progress {
  height: 2px;
  background: var(--border);
  border-radius: 1px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.form__progress-bar {
  height: 100%;
  background: var(--gold);
  border-radius: 1px;
  transition: width 0.4s ease;
}
.form__nav { display: flex; gap: 1rem; justify-content: flex-end; }
.form__privacy {
  margin-top: 1rem;
  font-size: 0.72rem;
  color: var(--text-dim);
  text-align: center;
}
.form__privacy a { color: var(--gold); }

.form__success {
  text-align: center;
  padding: 2rem 0;
}
.form__success-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--gold);
  color: #0D0D0D;
  font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
}
.form__success h3 {
  font-size: 1.8rem;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.form__success p { font-size: 0.95rem; }

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 5rem 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 5rem;
  padding-bottom: 4rem;
}
.footer__tagline {
  font-size: 0.95rem;
  margin: 1rem 0 1.5rem;
  max-width: 280px;
}
.footer__social { display: flex; gap: 1rem; }
.footer__social-link {
  font-size: 0.8rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  transition: var(--transition);
}
.footer__social-link:hover { border-color: var(--gold); color: var(--gold); }

.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.footer__nav-col { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__nav-col h4 {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.4rem;
}
.footer__nav-col a, .footer__nav-col p {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.25s;
  line-height: 1.5;
}
.footer__nav-col a:hover { color: var(--gold); }

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--text-dim);
}
.footer__bottom-inner a { transition: color 0.25s; }
.footer__bottom-inner a:hover { color: var(--gold); }

/* ================================================================
   BACK TO TOP
   ================================================================ */
.back-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: #0D0D0D;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(201,169,110,0.4);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 100;
}
.back-top.visible { opacity: 1; pointer-events: all; }
.back-top:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(201,169,110,0.5); }

/* ================================================================
   RESPONSIVE
   ================================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .about__grid { grid-template-columns: 1fr; gap: 3rem; }
  .about__visual { max-width: 500px; }
  .fears__grid { grid-template-columns: repeat(2, 1fr); }
  .production__grid { grid-template-columns: 1fr; gap: 3rem; }
  .production__visual { max-width: 600px; }
  .faq__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact__inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer__inner { grid-template-columns: 1fr; gap: 3rem; }
  .projects__grid { grid-template-columns: repeat(2, 1fr); }
  .project-card--wide { grid-column: span 1; }
}

/* Mobile navigation */
@media (max-width: 768px) {
  .nav, .header__cta { display: none; }
  .burger { display: flex; }

  h1 { font-size: clamp(2.2rem, 8vw, 3.5rem); }
  h2 { font-size: clamp(1.8rem, 6vw, 2.8rem); }

  .hero__stats { gap: 1rem; }
  .stat__num { font-size: 1.8rem; }
  .stat__divider { display: none; }
  .br-desktop { display: none; }

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

  .projects__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }
  .project-card--tall { grid-row: span 1; }
  .project-card--wide { grid-column: span 1; }

  .contact__inner { gap: 2rem; }
  .contact-form { padding: 1.5rem; }

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

  .footer__nav { grid-template-columns: 1fr; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }

  .about__badge { left: 0; bottom: -1rem; }

  .scroll-indicator { display: none; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__stats { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .stat { flex-direction: row; align-items: baseline; gap: 0.4rem; }
  .form__nav { flex-direction: column; }
  .form__nav .btn { width: 100%; justify-content: center; }
}

/* ================================================================
   UTILITY — Loading state
   ================================================================ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: var(--bg, #0D0D0D);
  z-index: 9998;
  opacity: 1;
  transition: opacity 0.5s 0.1s;
  pointer-events: none;
}
body.loaded::before { opacity: 0; }
