/* ============================================================
   ОренРемСервис: marble & brass
   Cormorant Garamond · Manrope · warm ivory · brass
   ============================================================ */

:root {
  --bg: #f4f0e8;
  --surface: #ebe5da;
  --surface-2: #e0d8cb;
  --ink: #141414;
  --muted: #6b655d;
  --accent: #b08d57;
  --accent-text: #7c5e33;
  --accent-ink: #141414;
  --line: rgba(20, 20, 20, 0.14);
  --field-1: #141414;
  --field-1-ink: #f4f0e8;
  --field-2: #ebe5da;
  --field-2-ink: #141414;
  --header-bg: rgba(244, 240, 232, 0.94);
  --error: #a33a2a;

  --step-small: 13px;
  --step-body: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --step-head: clamp(2.2rem, 1.5rem + 3vw, 4rem);
  --step-display: clamp(3rem, 1.4rem + 6vw, 7rem);

  --page-pad: clamp(18px, 3vw, 40px);
  --gap: 12px;
  --section-pad: clamp(80px, 11vw, 170px);
  --radius: 0px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="dark"] {
  --bg: #141414;
  --surface: #1b1917;
  --surface-2: #262320;
  --ink: #f2eee7;
  --muted: #a39c91;
  --accent: #c9a96e;
  --accent-text: #d9bd8a;
  --accent-ink: #141414;
  --line: rgba(242, 238, 231, 0.16);
  --field-1: #f2eee7;
  --field-1-ink: #141414;
  --field-2: #1c1e23;
  --field-2-ink: #f2eee7;
  --header-bg: rgba(20, 20, 20, 0.94);
  --error: #e07866;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: var(--step-body);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
}

h1,
h2,
h3,
p,
dl,
dd,
figure {
  margin: 0;
}

h1,
h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 0.98;
}

h1 {
  font-size: var(--step-display);
}

h2 {
  font-size: var(--step-head);
  line-height: 1.02;
}

h3 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.125rem, 1rem + 0.4vw, 1.375rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 12px 18px;
  z-index: 200;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

.wrap {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--page-pad);
}

.section {
  padding: var(--section-pad) 0;
  scroll-margin-top: 84px;
}

/* ============================================================
   HEADER
   ============================================================ */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  background: transparent;
  color: #fff;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.site-header.scrolled {
  background: var(--header-bg);
  color: var(--ink);
}

.site-header.scrolled .nav a {
  color: var(--muted);
}

.site-header.scrolled .nav a:hover,
.site-header.scrolled .nav a:focus-visible {
  color: var(--ink);
}

.site-header:not(.scrolled) .icon-btn {
  color: #fff;
}

.site-header.scrolled .icon-btn {
  color: var(--ink);
}

.nav a.is-active {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 6px;
}

.site-header.scrolled .nav a.is-active {
  color: var(--ink);
}

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--page-pad);
  height: 64px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.wordmark-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.wordmark-text {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.nav a {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.74);
  transition: color 0.2s var(--ease);
}

.nav a:hover,
.nav a:focus-visible {
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.nav + .header-actions {
  margin-left: 0;
}

.header-phone {
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}

.icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--ink);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.icon-btn:hover {
  background: var(--surface-2);
}

.icon-btn svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[data-theme="light"] .icon-moon,
[data-theme="dark"] .icon-sun {
  display: none;
}

.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  padding: 11px 9px;
  flex-direction: column;
  justify-content: space-between;
}

.menu-btn span {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

body.menu-open .menu-btn span:first-child {
  transform: translateY(8px) rotate(45deg);
}
body.menu-open .menu-btn span:last-child {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 64px 0 0 0;
  z-index: 70;
  background: var(--bg);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px var(--page-pad) 32px;
  transform: translateY(-100%);
  visibility: hidden;
  overflow-y: auto;
  transition: transform 0.45s var(--ease), visibility 0s linear 0.45s;
}

body.menu-open .mobile-menu {
  transform: translateY(0);
  visibility: visible;
  transition: transform 0.45s var(--ease), visibility 0s;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-menu nav a {
  font-size: clamp(2rem, 9vw, 3.2rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  padding: 8px 0;
}

.mobile-menu-foot {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-menu-foot p {
  font-size: 16px;
  color: var(--muted);
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  background: transparent;
  color: var(--ink);
  text-align: center;
  transition: transform 0.18s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

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

.btn:active {
  transform: translateY(0) scale(0.99);
}

.btn-accent {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-accent:hover {
  background: var(--ink);
  color: var(--bg);
}

.btn-outline {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--bg);
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  min-height: 100svh;
  padding-top: 64px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background: #05070a;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 18s var(--ease) forwards;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  /* taste-skill-ignore: neutral scrim under text on the hero photograph */
  background:
    linear-gradient(180deg, rgba(5, 7, 10, 0.58) 0%, rgba(5, 7, 10, 0.08) 36%, rgba(5, 7, 10, 0.92) 100%), /* taste-skill-ignore */
    linear-gradient(90deg, rgba(5, 7, 10, 0.62) 0%, rgba(5, 7, 10, 0) 60%); /* taste-skill-ignore */
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  padding-top: 180px;
  padding-bottom: 88px;
}

.hero-copy {
  max-width: 820px;
}

.hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.2rem, 7vw, 8rem);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 24px;
}

.hero-lead {
  font-size: var(--step-body);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.74);
  max-width: 42ch;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.hero-price-inline {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--accent);
  white-space: nowrap;
  line-height: 1;
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-left: 26px;
  flex: 0 0 auto;
  padding-bottom: 6px;
}

.hero-stat span {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 2.8vw, 2.8rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  color: #fff;
}

.hero-stat p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

/* ============================================================
   SERVICES
   ============================================================ */

.services {
  background: var(--bg);
}

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

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 28px;
  align-items: start;
}

.service-group h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 26px;
  font-weight: 500;
  padding-bottom: 14px;
  margin-bottom: 8px;
  color: var(--ink);
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.service-item {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 7px 0;
  font-size: 16px;
  line-height: 1.3;
  color: var(--muted);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.service-item:hover,
.service-item:focus-visible {
  color: var(--ink);
  transform: translateX(3px);
}

.service-item small {
  display: none;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  padding-top: 4px;
}

.service-preview {
  grid-column: 4;
  grid-row: 1 / span 3;
  align-self: start;
  position: sticky;
  top: 100px;
  min-height: 160px;
  background: var(--surface);
  padding: 24px;
}

.service-preview p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.55;
}

.service-preview strong {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}

.services-note {
  margin-top: 48px;
  max-width: 52ch;
  font-size: 16px;
  color: var(--muted);
}

/* ============================================================
   WORKS
   ============================================================ */

.works {
  background: var(--surface);
}

.works-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 44px;
}

.works-intro {
  font-size: 16px;
  color: var(--muted);
  max-width: 46ch;
  justify-self: end;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filter-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 6px 0;
  margin-right: 24px;
  font-size: 13px;
  transition: color 0.2s var(--ease);
}

.filter-btn:hover {
  color: var(--ink);
}

.filter-btn.is-active {
  background: transparent;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 5px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 28px;
}

.work {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
}

.work-featured {
  grid-column: 1 / -1;
}

.work-featured .work-media {
  aspect-ratio: 16 / 7;
}

.work-featured .work-title {
  font-size: clamp(2rem, 3.4vw, 3.2rem);
}

.work-media {
  position: relative;
  overflow: hidden;
  background: var(--surface-2);
  aspect-ratio: 4 / 3;
}

.work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease), filter 0.4s var(--ease);
}

.work-meta {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.35;
}

.work:hover .work-media img,
.work:focus-visible .work-media img {
  transform: scale(1.045);
}

.work-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink);
  transition: color 0.2s var(--ease);
}

.work-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 44ch;
}

.work:hover .work-title {
  color: var(--accent-text);
}

.gallery-more {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

/* ============================================================
   PROCESS
   ============================================================ */

.process {
  background: var(--bg);
  overflow: hidden;
}

.process-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.process-head .section-head {
  margin-bottom: 0;
}

.process-nav {
  display: flex;
  gap: 8px;
}

.process-nav button {
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--surface-2);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.process-nav button:hover {
  background: var(--ink);
  color: var(--bg);
}

.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  align-items: stretch;
}

.process-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  background: transparent;
}

.process-mark {
  display: block;
  width: 9px;
  height: 9px;
  background: var(--accent);
  margin-bottom: 10px;
}

.process-card h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.1;
}

.process-card p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.55;
}

/* ============================================================
   REVIEWS
   ============================================================ */

.reviews {
  background: var(--surface);
}

.reviews-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
}

.reviews-featured {
  padding-top: 6px;
}

.reviews-featured .review-photos {
  margin-top: 22px;
}

.reviews-featured .review-photos img {
  width: 80px;
  height: 80px;
}

.reviews-featured blockquote {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 32ch;
}

.reviews-author {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 22px;
}

.reviews-author-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
  font-weight: 500;
}

.reviews-author-date {
  font-size: 13px;
  color: var(--muted);
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-card {
  background: var(--bg);
  padding: 22px;
}

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

.review-card-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 21px;
  font-weight: 500;
}

.review-card-date {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}

.review-card p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}

/* legacy table styles kept for admin previews */
.reviews-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.reviews-table th {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  padding: 0 18px 14px 0;
  text-align: left;
  vertical-align: bottom;
}

.reviews-table td {
  padding: 22px 18px 22px 0;
  vertical-align: top;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
}

.reviews-table tbody tr {
  background: transparent;
}

.reviews-table tbody tr:nth-child(even) {
  background: var(--bg);
}

.reviews-table tbody tr:hover {
  background: var(--surface-2);
}

.review-name {
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
}

.review-date {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 4px;
}

.review-score {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ink);
  font-size: 14px;
  white-space: nowrap;
}

.review-score svg {
  width: 14px;
  height: 14px;
  fill: var(--accent);
  flex: 0 0 14px;
}

.review-text {
  max-width: 62ch;
}

.review-photos {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.review-photos img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  transition: transform 0.3s var(--ease);
}

.review-photos img:hover {
  transform: scale(1.06);
}

.reviews-source {
  margin-top: 32px;
  font-size: 13px;
  color: var(--muted);
}

.reviews-source a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}

/* ============================================================
   STATS
   ============================================================ */

.stats {
  background: var(--bg);
}

.stats-wrap {
  display: grid;
  grid-template-columns: 1fr 1.35fr 0.65fr;
  gap: 60px;
  align-items: start;
}

.stats-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  margin-top: 80px;
  background: var(--surface-2);
}

.stats-copy h2 {
  margin-top: 0;
}

.stats-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.stats-row {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 24px;
  align-items: baseline;
}

.stats-row dt {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 44px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-align: right;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.stats-row dd {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.45;
  max-width: 40ch;
}

/* ============================================================
   PRICES
   ============================================================ */

.prices {
  background: var(--surface);
}

.prices-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 48px;
}

.prices-intro {
  font-size: 16px;
  color: var(--muted);
  max-width: 46ch;
  justify-self: end;
}

.price-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.price-table th {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  padding: 0 16px 14px 0;
  text-align: left;
}

.price-table th:last-child,
.price-table td:last-child {
  text-align: right;
  padding-right: 0;
}

.price-table td {
  padding: 15px 16px 15px 0;
  font-size: 16px;
  vertical-align: baseline;
  border-top: 1px solid var(--line);
}

.price-table .price-group td {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-text);
  padding-top: 34px;
  padding-bottom: 8px;
  border-top: 0;
}

.price-name {
  font-weight: 500;
}

.price-unit {
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

.price-value {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.price-note {
  display: block;
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
}

.estimates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 64px;
}

.estimate-card {
  background: var(--bg);
  padding: clamp(22px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.estimate-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.estimate-card h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.1;
  max-width: 24ch;
}

.estimate-total {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.2rem, 3.4vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--accent-text);
  white-space: nowrap;
  line-height: 1;
}

.estimate-subtitle {
  font-size: 16px;
  color: var(--muted);
}

.estimate-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.estimate-items li {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.4;
  display: flex;
  gap: 10px;
}

.estimate-items li::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--accent);
  flex: 0 0 5px;
  margin-top: 8px;
}

.estimate-note {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin-top: auto;
  padding-top: 14px;
}

/* ============================================================
   FAQ
   ============================================================ */

.faq {
  background: var(--bg);
}

.faq-wrap {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}

.faq-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--surface);
  padding: 0 24px;
  border: 0;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: "Manrope", sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  color: var(--accent-text);
  flex: 0 0 auto;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 0 22px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 70ch;
}

/* ============================================================
   CONTACTS
   ============================================================ */

.contacts {
  background: #141414;
  color: #f4f0e8;
}

.contacts-wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: start;
}

.contacts-copy h2 {
  margin-bottom: 24px;
}

.contacts-lead {
  font-size: 16px;
  color: rgba(244, 240, 232, 0.72);
  max-width: 38ch;
  margin-bottom: 28px;
}

.contacts-phone {
  display: inline-block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--accent);
  margin-bottom: 22px;
  transition: opacity 0.2s var(--ease);
}

.contacts-phone:hover {
  opacity: 0.8;
}

.contacts-links {
  display: flex;
  gap: 20px;
  margin-bottom: 26px;
}

.contacts-links a {
  font-size: 16px;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
  padding-bottom: 2px;
}

.contacts-meta {
  font-size: 13px;
  color: rgba(244, 240, 232, 0.58);
}

.lead-form {
  background: #1f1c18;
  color: #f4f0e8;
  padding: clamp(22px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lead-form h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 4px;
}

.lead-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
}

.lead-form label span {
  color: rgba(244, 240, 232, 0.62);
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(244, 240, 232, 0.22);
  background: transparent;
  color: #f4f0e8;
  padding: 12px 14px;
  font-size: 16px;
  border-radius: 0;
  transition: border-color 0.2s var(--ease);
}

.lead-form input:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.lead-form textarea {
  resize: vertical;
  min-height: 84px;
}

.lead-form .btn {
  width: 100%;
  margin-top: 4px;
}

.form-note {
  font-size: 13px;
  line-height: 1.4;
  opacity: 0.55;
}

.form-status {
  font-size: 13px;
  min-height: 18px;
}

.form-status.is-error {
  color: var(--error);
}

.form-status.is-success {
  color: var(--accent);
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--surface);
  color: var(--muted);
  padding: 40px 0 30px;
}

.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--page-pad);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  font-size: 13px;
}

.footer-inner nav {
  display: flex;
  gap: 24px;
  justify-content: center;
}

.footer-inner nav a {
  color: var(--ink);
  transition: color 0.2s var(--ease);
}

.footer-inner nav a:hover {
  color: var(--accent-text);
}

.footer-inner p:last-child {
  text-align: right;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(5, 7, 10, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 92vw;
}

.lightbox-figure img {
  max-width: 92vw;
  max-height: 78svh;
  object-fit: contain;
}

.lightbox-figure figcaption {
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  text-align: center;
  max-width: 70ch;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 20px;
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 34px;
  line-height: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  transition: background-color 0.2s var(--ease);
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.12);
}

.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }

/* ============================================================
   REVEAL / MOTION
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: calc(var(--d, 0) * 70ms);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.theme-anim,
.theme-anim *,
.theme-anim *::before,
.theme-anim *::after {
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), fill 0.35s var(--ease), stroke 0.35s var(--ease) !important;
}

@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;
    transform: none;
  }
  .hero-bg {
    animation: none;
    transform: none;
  }
}

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

@media (max-width: 1100px) {
  .nav {
    gap: 18px;
  }
  .stats-wrap {
    grid-template-columns: 1fr 1.2fr;
  }
  .stats-photo {
    display: none;
  }
  .process-track {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-preview {
    display: none;
  }
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
  .faq-wrap {
    grid-template-columns: 1fr 2fr;
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }
  .menu-btn {
    display: flex;
  }
  .header-actions {
    margin-left: auto;
  }
  .header-phone {
    display: none;
  }
  .hero {
    min-height: 100svh;
    padding-top: 58px;
  }
  .hero-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    padding-top: 130px;
    padding-bottom: 64px;
  }
  .hero-copy {
    max-width: 100%;
  }
  .hero-side {
    display: none;
  }
  .works-head,
  .prices-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .works-intro,
  .prices-intro {
    justify-self: start;
  }
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-track {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    overflow: visible;
  }
  .process-card {
    flex: none;
  }
  .process-nav {
    display: none;
  }
  .stats-wrap,
  .contacts-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .reviews-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .stats-list {
    max-width: 560px;
  }
  .faq-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .faq-text {
    columns: 1;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 14px;
  }
  .footer-inner nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .footer-inner p:last-child {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .header-inner {
    height: 58px;
  }
  .mobile-menu {
    inset: 58px 0 0 0;
  }
  .hero {
    min-height: 100svh;
    padding-top: 58px;
  }
  .hero-content {
    padding-top: 110px;
    padding-bottom: 44px;
    gap: 26px;
  }
  .hero h1 {
    font-size: clamp(2.5rem, 11vw, 3.6rem);
  }
  .hero-lead {
    font-size: 16px;
    margin-bottom: 24px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-side {
    justify-content: space-between;
    gap: 16px;
  }
  .hero-stat span {
    font-size: 1.35rem;
  }
  .section {
    padding: 64px 0;
  }
  .section-head {
    margin-bottom: 36px;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .service-item {
    padding: 9px 0;
    font-size: 18px;
  }
  .service-item small {
    display: block;
  }
  .gallery {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .work-featured .work-media {
    aspect-ratio: 4 / 3;
  }
  .work-title {
    font-size: 24px;
  }
  .work-desc {
    font-size: 16px;
  }
  .process-card {
    flex-basis: 78vw;
  }
  .process-track {
    grid-template-columns: 1fr;
  }
  .reviews-table thead {
    display: none;
  }
  .reviews-table,
  .reviews-table tbody,
  .reviews-table tr,
  .reviews-table td {
    display: block;
    width: 100%;
  }
  .reviews-table tbody tr {
    padding: 22px 0;
    background: transparent !important;
  }
  .reviews-table td {
    padding: 0 0 10px;
  }
  .review-name {
    white-space: normal;
  }
  .review-photos img {
    width: 52px;
    height: 52px;
  }
  .stats-row {
    grid-template-columns: 88px 1fr;
    gap: 16px;
  }
  .stats-row dt {
    font-size: 24px;
  }
  .price-table td {
    font-size: 16px;
    padding: 13px 10px 13px 0;
  }
  .price-table .price-group td {
    padding-top: 28px;
  }
  .estimates {
    grid-template-columns: 1fr;
    margin-top: 44px;
  }
  .estimate-top {
    flex-direction: column;
    gap: 8px;
  }
  .contacts-phone {
    font-size: 1.8rem;
  }
  .lightbox {
    padding: 16px;
  }
  .lightbox-nav {
    width: 44px;
    height: 44px;
    font-size: 24px;
  }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
}
