/* =====================================================================
   ФЛОРИДИЗ · NOIR BOTANIQUE
   Тёмный люкс: near-black charcoal, ivory/cream текст, champagne-gold
   акценты, deep emerald. Display: Cormorant Garamond. Body: Jost.
===================================================================== */

/* ----------------------------- Tokens ----------------------------- */
:root {
  /* Палитра */
  --bg:          #16140F;   /* near-black charcoal */
  --bg-2:        #1B1814;   /* чуть светлее панель */
  --bg-3:        #211E18;   /* карточки / поля */
  --ink:         #ECE6D9;   /* ivory/cream текст */
  --ink-dim:     #B7AF9F;   /* приглушённый текст */
  --ink-faint:   #847C6C;   /* очень тихий */
  --gold:        #C8A86A;   /* champagne-gold акцент */
  --gold-soft:   #DCC392;   /* светлое золото для hover */
  --emerald:     #2E3A2C;   /* deep forest secondary */
  --emerald-2:   #3A4936;
  --line:        rgba(200,168,106,0.28); /* золотые хэйрлайны */
  --line-faint:  rgba(236,230,217,0.10);

  /* Типографика */
  --serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sans:  "Jost", "Manrope", system-ui, -apple-system, sans-serif;

  /* Раскладка */
  --container: 1240px;
  --pad: clamp(20px, 5vw, 64px);
  --radius: 2px;

  /* Движение */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.7s;

  --header-h: 84px;
}

/* ----------------------------- Reset ------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--sans);
  font-weight: 300;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; padding: 0; }

/* фокус-состояния */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

::selection { background: var(--gold); color: var(--bg); }

.skip-link {
  position: absolute; left: 50%; top: -100px; transform: translateX(-50%);
  background: var(--gold); color: var(--bg); padding: 10px 20px; z-index: 2000;
  border-radius: var(--radius); transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ----------------------------- Layout ----------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--pad);
}
.section { padding-block: clamp(70px, 11vw, 140px); }

/* --------------------------- Typography --------------------------- */
.eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.9em;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 1px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow-light { color: var(--gold-soft); }

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: 0.005em;
  color: var(--ink);
}
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-intro {
  margin-top: 1.5rem;
  color: var(--ink-dim);
  font-size: 1.05rem;
  max-width: 56ch;
}

/* ----------------------------- Buttons ---------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1.05em 2.2em;
  border-radius: var(--radius);
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease),
              border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.btn-gold {
  background: var(--gold);
  color: #16140F;
}
.btn-gold:hover { background: var(--gold-soft); transform: translateY(-2px); }

.btn-line {
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn-line:hover { border-color: var(--gold); color: var(--gold-soft); }

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 0.85em 1.6em;
  font-size: 0.72rem;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ============================ HEADER ============================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease),
              backdrop-filter 0.4s var(--ease), height 0.4s var(--ease);
}
.site-header.scrolled {
  background: rgba(22, 20, 15, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-faint);
  height: 70px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 44px; height: 44px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.brand-sub {
  font-size: 0.6rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 4px;
}

.nav { display: flex; align-items: center; gap: 36px; }
.nav-list { display: flex; gap: 30px; }
.nav-list a {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  position: relative;
  padding-block: 6px;
  transition: color 0.3s var(--ease);
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}
.nav-list a:hover { color: var(--ink); }
.nav-list a:hover::after { width: 100%; }

/* ----------------------------- Burger ----------------------------- */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px; height: 44px;
  z-index: 1200;
}
.burger span {
  display: block;
  width: 26px; height: 1.5px;
  background: var(--ink);
  margin-inline: auto;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease), background-color 0.3s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ----------------------- Mobile menu overlay ---------------------- */
/* ВАЖНО: full-screen, inset:0, width:100% — закрытое меню полностью
   уезжает за правый край (translateX(100%)) и не «проступает» сбоку. */
.mobile-menu {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1100;
  background: var(--bg-2);
  background-image:
    radial-gradient(120% 80% at 100% 0%, rgba(46,58,44,0.5), transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--pad);
  transform: translateX(100%);
  transition: transform 0.55s var(--ease);
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
}
.mobile-nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav > a {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 8vw, 2.6rem);
  font-weight: 500;
  color: var(--ink);
  padding: 0.35em 0;
  border-bottom: 1px solid var(--line-faint);
  display: flex;
  align-items: baseline;
  gap: 0.7em;
  transition: color 0.3s, padding-left 0.3s var(--ease);
}
.mobile-nav > a:hover { color: var(--gold); padding-left: 0.4em; }
.m-num {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.mobile-cta {
  margin-top: 28px;
  align-self: flex-start;
  font-family: var(--sans);
  border-bottom: none !important;
}
.mobile-foot {
  margin-top: auto;
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-foot a { color: var(--ink-dim); font-size: 0.95rem; letter-spacing: 0.04em; }
.mobile-foot a:hover { color: var(--gold); }

.menu-backdrop {
  position: fixed; inset: 0;
  background: rgba(10,9,7,0.5);
  z-index: 1050;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.menu-backdrop.show { opacity: 1; }

body.menu-locked { overflow: hidden; }

/* ============================== HERO ============================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: var(--bg);
}
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.6s var(--ease), transform 7s linear;
}
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}
/* скрытый img только для приоритетной загрузки LCP */
.hero-lcp {
  position: absolute; width: 1px; height: 1px;
  opacity: 0; pointer-events: none; z-index: -1;
}
.hero-veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(15,14,10,0.72) 0%, rgba(15,14,10,0.34) 35%, rgba(15,14,10,0.55) 70%, rgba(15,14,10,0.92) 100%),
    radial-gradient(110% 90% at 20% 80%, rgba(22,20,15,0.6), transparent 60%);
}

/* тонкая золотая рамка поверх героя */
.hero-frame {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 24px) 0 clamp(70px, 12vh, 130px);
}
.hero-frame::before {
  content: "";
  position: absolute;
  inset: clamp(16px, 3vw, 38px);
  border: 1px solid rgba(200,168,106,0.45);
  pointer-events: none;
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; max-width: 900px; }

.hero-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.7rem, 8.5vw, 6.6rem);
  line-height: 0.98;
  letter-spacing: 0.004em;
  color: var(--ink);
  text-shadow: 0 2px 40px rgba(0,0,0,0.5);
}
.hero-title em {
  font-style: italic;
  color: var(--gold-soft);
}
.hero-sub {
  margin-top: 1.8rem;
  max-width: 52ch;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  color: var(--ink-dim);
  line-height: 1.7;
}
.hero-actions {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-scroll {
  position: absolute;
  right: clamp(20px, 5vw, 64px);
  bottom: clamp(28px, 5vh, 56px);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-dim);
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollPulse 2.4s var(--ease) infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.4; }
  50%      { transform: scaleY(1);   transform-origin: top; opacity: 1; }
}

/* ========================== MANIFESTO ========================== */
.manifesto {
  background: var(--emerald);
  border-block: 1px solid var(--line);
  padding-block: clamp(40px, 7vw, 80px);
}
.manifesto-line {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  text-align: center;
  font-size: clamp(1.4rem, 4vw, 2.8rem);
  line-height: 1.25;
  color: var(--ink);
  max-width: 22ch;
  margin-inline: auto;
  padding-inline: var(--pad);
}
.manifesto-line .gold { color: var(--gold-soft); font-style: normal; }

/* ============================ ABOUT ============================ */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}
.about-visual { position: relative; }
.frame-num {
  position: absolute;
  top: -28px; left: -12px;
  font-family: var(--serif);
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 1;
  color: rgba(200,168,106,0.16);
  z-index: 0;
  pointer-events: none;
}
.about-photo { position: relative; z-index: 1; overflow: hidden; border-radius: var(--radius); }
.about-photo img { width: 100%; transition: transform 1s var(--ease); }
.about-photo:hover img { transform: scale(1.05); }
.about-photo-main {
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(0,0,0,0.5);
}
.about-photo-main::after {
  content: ""; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(236,230,217,0.06);
  pointer-events: none;
}
.about-photo-sub {
  position: absolute;
  right: clamp(-12px, -2vw, -36px);
  bottom: clamp(-20px, -4vw, -52px);
  width: 46%;
  border: 4px solid var(--bg);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  z-index: 2;
}

.about-text .lead {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.4;
  color: var(--ink);
  margin: 1.4rem 0;
}
.about-text p { color: var(--ink-dim); margin-bottom: 1.1rem; }
.signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--gold-soft) !important;
  margin-top: 1.6rem;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 3rem;
  padding-top: 2.4rem;
  border-top: 1px solid var(--line);
}
.stats li { text-align: left; }
.stat-num {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1;
  color: var(--gold);
}
.stat-label {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ============================ SERVICES ============================ */
.services { background: var(--bg-2); }
.service-list { border-top: 1px solid var(--line); }
.service-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: clamp(20px, 4vw, 56px);
  align-items: start;
  padding-block: clamp(32px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background-color 0.5s var(--ease);
}
.service-item::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--pad)); right: calc(-1 * var(--pad));
  top: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(200,168,106,0.06), transparent 55%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  z-index: -1;
}
.service-item:hover::before { opacity: 1; }
.service-num {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--gold);
  line-height: 1;
  letter-spacing: 0.05em;
}
.service-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 0.9rem;
  transition: color 0.4s var(--ease);
}
.service-item:hover .service-title { color: var(--gold-soft); }
.service-desc { color: var(--ink-dim); max-width: 62ch; }
.service-extra {
  margin-top: 1rem;
  font-size: 0.92rem;
  color: var(--ink-faint);
  font-style: italic;
  max-width: 62ch;
  padding-left: 1.1rem;
  border-left: 1px solid var(--line);
}

/* ============================ PORTFOLIO ============================ */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.filter {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
  padding: 0.7em 1.4em;
  border: 1px solid var(--line-faint);
  border-radius: var(--radius);
  transition: color 0.3s, border-color 0.3s, background-color 0.3s;
}
.filter:hover { color: var(--ink); border-color: var(--line); }
.filter.is-active {
  color: var(--bg);
  background: var(--gold);
  border-color: var(--gold);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(10px, 1.4vw, 18px);
}
.gallery-item { overflow: hidden; }
.gallery-item.is-hidden { display: none; }
.gallery-btn {
  display: block;
  width: 100%;
  position: relative;
  overflow: hidden;
  background: var(--bg-3);
  border-radius: var(--radius);
}
.gallery-btn img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.6s var(--ease);
  filter: saturate(0.92) brightness(0.92);
}
.gallery-btn::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(15,14,10,0.85));
  opacity: 0.55;
  transition: opacity 0.5s var(--ease);
}
.gallery-btn:hover img { transform: scale(1.07); filter: saturate(1.05) brightness(1); }
.gallery-btn:hover::after { opacity: 0.85; }
.gallery-btn figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 18px;
  text-align: left;
  font-family: var(--serif);
  font-size: 1.12rem;
  color: var(--ink);
  transform: translateY(8px);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}
.gallery-btn:hover figcaption { transform: translateY(0); opacity: 1; }
.cap-cat {
  display: block;
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 5px;
}

/* ============================ PROCESS ============================ */
.process { background: var(--bg-2); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
.step {
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  position: relative;
}
.step-num {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.step h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--ink);
  margin: 0.7rem 0 0.6rem;
  line-height: 1.15;
}
.step p { font-size: 0.92rem; color: var(--ink-dim); }

/* ============================== ECO ============================== */
.eco-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
.eco-item {
  background: var(--bg-3);
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line-faint);
  border-radius: var(--radius);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.eco-item:hover { border-color: var(--line); transform: translateY(-4px); }
.eco-line {
  display: block;
  width: 38px; height: 2px;
  background: var(--gold);
  margin-bottom: 1.4rem;
}
.eco-item h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--ink);
  margin-bottom: 0.6rem;
  line-height: 1.2;
}
.eco-item p { font-size: 0.95rem; color: var(--ink-dim); }

/* ============================ REVIEWS ============================ */
.reviews { background: var(--emerald); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
.review {
  position: relative;
  padding: clamp(28px, 3vw, 44px);
  background: rgba(22,20,15,0.5);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.quote-mark {
  font-family: var(--serif);
  font-size: 5rem;
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.5;
  display: block;
  height: 0.5em;
}
.review blockquote {
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.45;
  color: var(--ink);
  margin: 1rem 0 1.6rem;
}
.review figcaption { display: flex; flex-direction: column; gap: 3px; }
.r-name { font-size: 0.92rem; color: var(--ink); letter-spacing: 0.04em; }
.r-meta {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

/* ============================ CONTACT ============================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.contact-lead { margin-top: 1.4rem; color: var(--ink-dim); max-width: 44ch; }
.contact-list {
  margin-top: 2.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--line-faint);
}
.c-label {
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.contact-list a, .contact-list span:not(.c-label):not(.c-note) {
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--ink);
  transition: color 0.3s;
}
.contact-list a:hover { color: var(--gold-soft); }
.c-note { font-size: 0.72rem; color: var(--ink-faint); font-style: italic; }
.socials { margin-top: 2rem; display: flex; gap: 22px; }
.socials a {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--ink-dim);
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
  transition: color 0.3s, border-color 0.3s;
}
.socials a:hover { color: var(--gold); border-color: var(--gold); }

/* ----------------------------- Form ------------------------------ */
.contact-form {
  background: var(--bg-2);
  border: 1px solid var(--line-faint);
  border-radius: var(--radius);
  padding: clamp(24px, 3.5vw, 44px);
}
.field { margin-bottom: 1.3rem; display: flex; flex-direction: column; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.field-row .field { margin-bottom: 1.3rem; }
.field label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 0.6rem;
}
.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg-3);
  border: 1px solid var(--line-faint);
  border-radius: var(--radius);
  padding: 0.9em 1em;
  transition: border-color 0.3s, background-color 0.3s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 100px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-faint); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  background: var(--bg);
  outline: none;
}
.field select { appearance: none; cursor: pointer; }
.field select option { background: var(--bg-2); color: var(--ink); }
/* date input — поправим контраст индикатора */
.field input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(0.8) sepia(0.5); }

.err {
  font-size: 0.78rem;
  color: #E0A38A;
  margin-top: 0.4rem;
  min-height: 1em;
  letter-spacing: 0.02em;
}
.field.invalid input,
.field.invalid select { border-color: #B5705C; }

.form-submit { width: 100%; margin-top: 0.4rem; }
.form-status {
  margin-top: 1rem;
  font-size: 0.92rem;
  color: var(--gold-soft);
  letter-spacing: 0.04em;
  min-height: 1.2em;
}
.form-status.success {
  color: var(--gold-soft);
  display: flex; align-items: center; gap: 0.5em;
}
.form-note { margin-top: 1rem; font-size: 0.72rem; color: var(--ink-faint); }

/* ============================ FOOTER ============================ */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding-top: clamp(50px, 6vw, 80px);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: clamp(40px, 5vw, 60px);
}
.footer-brand { display: flex; gap: 18px; align-items: flex-start; }
.footer-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--ink-dim);
}
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { color: var(--ink-dim); font-size: 0.92rem; transition: color 0.3s; }
.footer-nav a:hover { color: var(--gold); }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact a, .footer-contact span {
  color: var(--ink-dim);
  font-size: 0.92rem;
  transition: color 0.3s;
}
.footer-contact a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-block: 26px;
  border-top: 1px solid var(--line-faint);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
}
.footer-credit { color: var(--gold); letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.64rem; }

/* ============================ LIGHTBOX ============================ */
.lightbox {
  position: fixed; inset: 0;
  z-index: 2000;
  background: rgba(10,9,7,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 5vw, 60px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb-figure {
  max-width: min(90vw, 1000px);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.lb-figure img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border: 1px solid var(--line);
  box-shadow: 0 30px 90px rgba(0,0,0,0.7);
  border-radius: var(--radius);
}
#lb-caption {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--ink);
  text-align: center;
  letter-spacing: 0.02em;
}
.lb-close {
  position: absolute;
  top: clamp(16px, 3vw, 32px);
  right: clamp(16px, 3vw, 32px);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--ink-dim);
  width: 48px; height: 48px;
  transition: color 0.3s, transform 0.3s;
}
.lb-close:hover { color: var(--gold); transform: rotate(90deg); }
.lb-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  font-size: 3rem;
  line-height: 1;
  color: var(--ink-dim);
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  transition: color 0.3s;
}
.lb-nav:hover { color: var(--gold); }
.lb-prev { left: clamp(4px, 2vw, 24px); }
.lb-next { right: clamp(4px, 2vw, 24px); }

/* ======================= REVEAL ANIMATIONS ======================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* =========================== RESPONSIVE =========================== */
@media (max-width: 1100px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .eco-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-list, .nav-cta { display: none; }
  .nav { gap: 0; }
  .burger { display: flex; }

  .about-grid { grid-template-columns: 1fr; gap: 80px; }
  .about-photo-sub { width: 42%; right: 0; }
  .about-visual { max-width: 520px; }

  .contact-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  :root { --header-h: 70px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .eco-grid { grid-template-columns: 1fr; }
  .service-item { grid-template-columns: 1fr; gap: 12px; }
  .service-num { font-size: 1.4rem; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .stats { gap: 14px; }
  .hero-frame::before { inset: 12px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .hero-scroll { display: none; }
  .gallery-btn figcaption { opacity: 1; transform: none; font-size: 0.95rem; padding: 12px; }
  .gallery-btn::after { opacity: 0.75; }
}

@media (max-width: 420px) {
  .gallery { grid-template-columns: 1fr; }
}

/* ===================== REDUCED MOTION ===================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-slide { transition: opacity 0.4s linear; transform: none !important; }
  .hero-slide.is-active { transform: none !important; }
  .scroll-line { animation: none; }
}
