﻿:root {

  --black: #080808;

  --black-soft: #111111;

  --graphite: #1a1a1a;

  --panel: #202020;

  --gold: #d8b66a;

  --gold-bright: #f1d58c;

  --warm: #f6efe1;

  --muted: #bdb7aa;

  --line: rgba(216, 182, 106, 0.34);

  --shadow: 0 26px 80px rgba(0, 0, 0, 0.42);

  --radius: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --pattern-gold: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='24' height='24' fill='none'/%3E%3Cpath d='M0 0h1v1H0zM2 2h1v1H2zM4 4h1v1H4zM6 6h1v1H6zM8 8h1v1H8zM10 10h1v1h-1zM12 12h1v1h-1zM14 14h1v1h-1zM16 16h1v1h-1zM18 18h1v1h-1zM20 20h1v1h-1zM22 22h1v1h-1z' fill='%23d8b66a' opacity='0.4'/%3E%3Cpath d='M0 2h1v1H0zM2 0h1v1H2zM4 6h1v1H4zM6 4h1v1H6zM8 10h1v1H8zM10 8h1v1h-1zM12 14h1v1h-1zM14 12h1v1h-1zM16 18h1v1h-1zM18 16h1v1h-1zM20 22h1v1h-1zM22 20h1v1h-1z' fill='%23d8b66a' opacity='0.3'/%3E%3C/svg%3E");

  font-family: "Manrope", Arial, sans-serif;

  color: var(--warm);

  background: var(--black);

}



* {

  box-sizing: border-box;

}



html {

  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

}



body {

  margin: 0;

  background:

    linear-gradient(180deg, rgba(8, 8, 8, 0.96), #080808 50%, #111 100%);

  color: var(--warm);

  position: relative;

  z-index: 1;

}



img {

  display: block;

  max-width: 100%;

}



a {

  color: inherit;

  text-decoration: none;

}



button,

input,

textarea {

  font: inherit;

}



.site-header {

  position: fixed;

  inset: 0 0 auto;

  z-index: 9999;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 24px;

  padding: 16px clamp(18px, 4vw, 58px);

  border-bottom: 1px solid rgba(216, 182, 106, 0.22);

  background: rgba(8, 8, 8, 0.72);

  backdrop-filter: blur(18px);
  transition: padding 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;

}
.site-header.scrolled {
  padding-top: 10px;
  padding-bottom: 10px;
  background: rgba(8, 8, 8, 0.92);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}



.brand {

  display: inline-flex;

  align-items: center;

  gap: 12px;

  min-width: max-content;

}



.brand img {

  width: 48px;

  height: 48px;

  border: 1px solid var(--line);

  object-fit: cover;

}



.brand strong {

  display: block;

  font-family: "Cormorant Garamond", Georgia, serif;

  font-size: 25px;

  line-height: 0.9;

  color: var(--gold-bright);

}



.brand small {

  display: block;

  margin-top: 4px;

  color: var(--muted);

  font-size: 10px;

  letter-spacing: 0.18em;

  text-transform: uppercase;

}



.main-nav {

  display: flex;

  align-items: center;

  justify-content: center;

  gap: clamp(14px, 2vw, 30px);

  color: rgba(246, 239, 225, 0.78);

  font-size: 13px;

  letter-spacing: 0.08em;

  text-transform: uppercase;

}



.main-nav a {

  padding: 10px 0;

  transition: color 0.2s ease;
  position: relative;

}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 0; right: 0;
  height: 1.5px;
  background: var(--gold-bright);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}



.main-nav a:hover {

  color: var(--gold-bright);

}



.header-actions {

  display: flex;

  align-items: center;

  gap: 14px;

}



.phone-link {

  color: var(--gold-bright);

  font-weight: 700;

  white-space: nowrap;

}



.menu-button {

  display: none;

  width: 42px;

  height: 42px;

  padding: 0;

  border: 1px solid var(--line);

  border-radius: var(--radius);

  background: transparent;

  cursor: pointer;

}



.menu-button span {

  display: block;

  width: 18px;

  height: 2px;

  margin: 6px auto;

  background: var(--gold-bright);
  transition: transform 0.3s ease, opacity 0.3s ease;

}



.hero {

  position: relative;

  min-height: 94vh;

  display: grid;

  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);

  align-items: end;

  gap: 32px;

  padding: 140px clamp(18px, 5vw, 76px) 48px;

  overflow: hidden;

  border-bottom: 1px solid rgba(216, 182, 106, 0.24);

}



.hero-media,

.hero-overlay {

  position: absolute;

  inset: 0;

}



.hero-media img {

  width: 100%;

  height: 100%;

  object-fit: cover;

  filter: saturate(0.95) contrast(1.08);

}



.hero-overlay {

  background:

    linear-gradient(90deg, rgba(8, 8, 8, 0.95) 0%, rgba(8, 8, 8, 0.72) 45%, rgba(8, 8, 8, 0.36) 100%),

    linear-gradient(180deg, rgba(8, 8, 8, 0.25), rgba(8, 8, 8, 0.88));

}



.hero-content,

.hero-card {

  position: relative;

  z-index: 1;

}



.eyebrow,

.section-kicker {

  margin: 0 0 14px;

  color: var(--gold-bright);

  font-size: 12px;

  font-weight: 800;

  letter-spacing: 0.22em;

  text-transform: uppercase;

}



.hero h1 {

  max-width: 820px;

  margin: 0;

  color: var(--gold-bright);

  font-family: "Cormorant Garamond", Georgia, serif;

  font-size: clamp(68px, 12vw, 176px);

  font-weight: 700;

  line-height: 0.82;

  text-shadow: 0 8px 38px rgba(0, 0, 0, 0.62);

}



.hero-lead {

  max-width: 650px;

  margin: 28px 0 0;

  color: rgba(246, 239, 225, 0.86);

  font-size: clamp(18px, 2vw, 24px);

  line-height: 1.55;

}



.hero-actions {

  display: flex;

  flex-wrap: wrap;

  gap: 14px;

  margin-top: 34px;

}



.btn {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  min-height: 50px;

  padding: 0 22px;

  border: 1px solid var(--gold);

  border-radius: var(--radius);

  font-weight: 800;

  transition:

    transform 0.2s ease,

    background 0.2s ease,

    color 0.2s ease,

    border-color 0.2s ease,

    box-shadow 0.2s ease;

}



.btn:hover {

  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(216,182,106,0.15);

}
.btn:active {
  transform: translateY(0);
  box-shadow: none;
}



.btn.primary {

  background: var(--gold);

  color: #17110a;

}
.btn.primary:hover {
  background: var(--gold-bright);
  box-shadow: 0 8px 28px rgba(216,182,106,0.30);
}



.btn.secondary {

  background: rgba(8, 8, 8, 0.5);

  color: var(--gold-bright);

}
.btn.secondary:hover {
  background: rgba(216,182,106,0.12);
  border-color: var(--gold-bright);
}



.hero-card {

  display: grid;

  gap: 1px;

  border: 1px solid var(--line);

  border-radius: var(--radius);

  background: rgba(216, 182, 106, 0.2);

  box-shadow: var(--shadow);

}



.hero-card div {

  padding: 22px;

  background: rgba(12, 12, 12, 0.82);

}



.hero-card span {

  color: var(--gold);

  font-size: 12px;

  font-weight: 800;

}



.hero-card strong {

  display: block;

  margin-top: 8px;

  font-size: 18px;

}



.hero-card p {

  margin: 8px 0 0;

  color: var(--muted);

  line-height: 1.55;

}



.section {

  padding: clamp(58px, 8vw, 112px) clamp(18px, 5vw, 76px);

  scroll-margin-top: 92px;

}



.section-heading {

  display: flex;

  align-items: end;

  justify-content: space-between;

  gap: 24px;

  margin-bottom: 34px;

}



.section-heading h2,

.intro-grid h2,

.contact-panel h2 {

  margin: 0;

  font-family: "Cormorant Garamond", Georgia, serif;

  font-size: clamp(42px, 6vw, 82px);

  line-height: 0.95;

  color: var(--warm);

}



.section-heading p {

  max-width: 460px;

  margin: 0;

  color: var(--muted);

  line-height: 1.7;

}



.intro {

  background: #0d0d0d;

}



.intro-grid {

  display: grid;

  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);

  gap: clamp(30px, 6vw, 80px);

  align-items: start;

}



.intro-grid p {

  margin: 0;

  color: var(--muted);

  font-size: 18px;

  line-height: 1.8;

}



.services,

.packages,

.faq {

  background: var(--black);

}



.service-grid {

  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 16px;

}



.service-card {

  overflow: hidden;

  border: 2px solid rgba(216, 182, 106, 0.58);

  border-radius: var(--radius);

  background: var(--black-soft);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;

}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(216,182,106,0.10), 0 8px 24px rgba(0,0,0,0.4);
  border-color: rgba(216,182,106,0.8);
}



.service-card img {

  width: 100%;

  aspect-ratio: 4 / 5;

  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);

}
.service-card:hover img {
  transform: scale(1.06);
}



.service-card div {

  padding: 20px;

}



.service-card span,

.package-card span:not(.package-tag),

.promo-card span,

.project-modal span {

  color: var(--gold-bright);

  font-size: 12px;

  font-weight: 800;

  letter-spacing: 0.18em;

  text-transform: uppercase;

}

.package-card .package-tag {

  color: #000000 !important;

}



.service-card h3,

.package-card h3,

.promo-card h3,

.timeline h3 {

  margin: 10px 0;

  font-size: 22px;

  line-height: 1.2;

}



.service-card p,

.package-card p,

.promo-card p,

.timeline p,

.project-modal p {

  margin: 0;

  color: var(--muted);

  line-height: 1.65;

}



.planner {

  background:

    radial-gradient(circle at 15% 15%, rgba(216, 182, 106, 0.11), transparent 30%),

    #0d0d0d;

  padding-top: 0;

  margin-top: 100px;

}



.planner-shell {

  display: grid;

  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);

  gap: 18px;

  align-items: stretch;

  margin-top: 120px;

}



.planner-panel,

.planner-workspace {

  border: 1px solid rgba(216, 182, 106, 0.3);

  border-radius: var(--radius);

  background: rgba(17, 17, 17, 0.92);

}



.planner-panel {

  display: grid;

  align-content: start;

  gap: 20px;

  padding: 20px;

  max-height: calc(100vh - 120px);

  overflow-y: auto;

}

.planner-panel::-webkit-scrollbar {

  width: 8px;

}

.planner-panel::-webkit-scrollbar-track {

  background: var(--black-soft);

  border-radius: 4px;

}

.planner-panel::-webkit-scrollbar-thumb {

  background: var(--gold);

  border-radius: 4px;

}

.planner-panel::-webkit-scrollbar-thumb:hover {

  background: var(--gold-bright);

}

.add-items-toggle {

  width: 100%;

  min-height: 46px;

  border: 1px solid var(--gold);

  border-radius: var(--radius);

  background: rgba(216, 182, 106, 0.12);

  color: var(--gold-bright);

  font-size: 14px;

  font-weight: 800;

  cursor: pointer;

  transition: all 0.2s ease;

}

.add-items-toggle:hover {

  background: rgba(216, 182, 106, 0.24);

  border-color: var(--gold-bright);

}

.add-items-toggle:active {

  background: rgba(216, 182, 106, 0.32);

}

button[data-finish],
button[data-pattern],
button[data-tile-size],
button[data-paint-mode],
button[data-floor-finish],
button[data-furniture-material-mode],
button[data-drawer-count],
button[data-floor-pattern],
button[data-laminate-layout],
[data-drawer-count-list] button,
.finish-row button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(216, 182, 106, 0.3);
  border-radius: var(--radius);
  background: rgba(8, 8, 8, 0.74) !important;
  color: var(--gold-bright) !important;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

button[data-finish]:hover,
button[data-pattern]:hover,
button[data-tile-size]:hover,
button[data-paint-mode]:hover,
button[data-floor-finish]:hover,
button[data-furniture-material-mode]:hover,
button[data-drawer-count]:hover,
button[data-floor-pattern]:hover,
button[data-laminate-layout]:hover {
  background: var(--gold);
  color: #17110a;
  border-color: var(--gold-bright);
}

button[data-finish].active,
button[data-pattern].active,
button[data-tile-size].active,
button[data-paint-mode].active,
button[data-floor-finish].active,
button[data-furniture-material-mode].active,
button[data-drawer-count].active,
button[data-floor-pattern].active,
button[data-laminate-layout].active {
  background: var(--gold);
  color: #17110a;
  border-color: var(--gold-bright);
}

.color-row button,
.variant-row button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(216, 182, 106, 0.3);
  border-radius: var(--radius);
  background: rgba(8, 8, 8, 0.74);
  color: var(--gold-bright);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.color-row button:hover,
.variant-row button:hover {
  background: var(--gold);
  color: #17110a;
  border-color: var(--gold-bright);
}

.color-row button.active,
.variant-row button.active {
  background: var(--gold);
  color: #17110a;
  border-color: var(--gold-bright);
}

.variant-group-label {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.planner-group {

  display: grid;

  gap: 12px;

}



.planner-label {

  color: var(--gold-bright);

  font-size: 12px;

  font-weight: 800;

  letter-spacing: 0.18em;

  text-transform: uppercase;

}



.room-tabs,

.element-grid,

.swatch-grid,

.tool-mode-row,

.stepper-row {

  display: grid;

  gap: 8px;

}



.room-tabs {

  grid-template-columns: repeat(2, minmax(0, 1fr));

}



.room-tab,

.element-grid button,

.tool-mode-row button,

.delete-selected,

.stepper-row button {

  min-height: 40px;

  border: 1px solid rgba(216, 182, 106, 0.3);

  border-radius: var(--radius);

  background: rgba(255, 255, 255, 0.04);

  color: var(--warm);

  cursor: pointer;

}



.room-tab.active,

.element-grid button:hover,

.tool-mode-row button.active,

.tool-mode-row button:hover,

.delete-selected:hover,

.stepper-row button:hover {

  border-color: var(--gold);

  background: rgba(216, 182, 106, 0.16);

  color: var(--gold-bright);

}



.element-grid {

  grid-template-columns: repeat(2, minmax(0, 1fr));

}



.element-grid button {

  display: grid;

  gap: 4px;

  justify-items: start;

  min-height: 58px;

  padding: 10px;

  text-align: left;

}



.element-grid small {

  color: var(--muted);

  font-size: 11px;

}



.selected-name {

  color: var(--warm);

  font-size: 18px;

}



.tool-mode-row {

  grid-template-columns: repeat(2, minmax(0, 1fr));

}



.tool-mode-row button {

  min-height: 54px;

  padding: 0 12px;

  font-size: 14px;

  font-weight: 800;

}



.stepper-row {

  grid-template-columns: repeat(4, minmax(0, 1fr));

}



.stepper-row button {

  padding: 0;

  color: var(--gold-bright);

  font-size: 22px;

}



.delete-selected {

  width: 100%;

  min-height: 46px;

  border-color: rgba(255, 117, 91, 0.58);

  background: rgba(135, 35, 24, 0.24);

  color: #ffd5c7;

  font-weight: 900;

}



.delete-selected:disabled,

.stepper-row button:disabled {

  cursor: not-allowed;

  opacity: 0.45;

}



.swatch-grid {

  grid-template-columns: repeat(8, minmax(0, 1fr));

  max-height: 188px;

  overflow: auto;

  padding: 4px;

}



.swatch-grid button {

  position: relative;

  aspect-ratio: 1;

  border: 1px solid rgba(255, 255, 255, 0.2);

  border-radius: 50%;

  background: var(--swatch);

  cursor: pointer;

  box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.16), 0 8px 18px rgba(0, 0, 0, 0.22);

}



.swatch-grid button::after {

  position: absolute;

  inset: -4px;

  border: 1px solid transparent;

  border-radius: 50%;

  content: "";

}



.swatch-grid button.active::after {

  border-color: var(--gold-bright);

}





.swatch-grid .swatch-more {

  grid-column: 1 / -1;

  aspect-ratio: auto;

  min-height: 40px;

  border-radius: var(--radius);

  background: rgba(216, 182, 106, 0.16);

  color: var(--gold-bright);

  font-weight: 900;

}



.size-controls label {

  display: grid;

  gap: 8px;

  color: var(--muted);

  font-size: 13px;

  font-weight: 800;

  letter-spacing: 0.08em;

  text-transform: uppercase;

}



.size-controls input {

  accent-color: var(--gold);

}



.planner-actions {

  display: grid;

  gap: 10px;

}



.planner-actions .btn {

  width: 100%;

  min-height: 46px;

}



.planner-workspace {

  overflow: hidden;

}



.planner-topline,

.planner-summary {

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 16px;

  padding: 16px 18px;

}



.planner-topline {

  border-bottom: 1px solid rgba(216, 182, 106, 0.24);

}



.planner-topline span,

.planner-summary span {

  color: var(--gold-bright);

  font-size: 12px;

  font-weight: 800;

  letter-spacing: 0.16em;

  text-transform: uppercase;

}



.planner-topline strong {

  display: block;

  margin-top: 4px;

  font-size: 18px;

}



.planner-topline a {

  min-height: 40px;

  display: inline-flex;

  align-items: center;

  padding: 0 14px;

  border: 1px solid var(--line);

  border-radius: var(--radius);

  color: var(--gold-bright);

  font-weight: 800;

  white-space: nowrap;

}



.planner-view {

  position: relative;

  min-height: 560px;

  background:

    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 48%),

    #111;

}

.planner-hover-hint.visible {
  position: absolute;
  inset: 24px;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 24px;
  border: 1px solid rgba(216, 182, 106, 0.35);
  border-radius: var(--radius);
  background: rgba(8, 8, 8, 0.78);
  color: var(--gold-bright);
  text-align: center;
  font-weight: 800;
}



.planner-canvas {

  display: block;

  width: 100%;

  height: 560px;

  background: #111;

  cursor: grab;

  touch-action: none;

}



.planner-canvas:active {

  cursor: grabbing;

}



.view-controls {

  position: absolute;

  right: 16px;

  bottom: 16px;

  display: flex;

  flex-wrap: wrap;

  gap: 8px;

}



.view-controls button {

  min-height: 36px;

  padding: 0 12px;

  border: 1px solid rgba(216, 182, 106, 0.42);

  border-radius: var(--radius);

  background: rgba(8, 8, 8, 0.74);

  color: var(--gold-bright);

  cursor: pointer;

  font-weight: 800;

}



.view-controls button:hover {

  background: var(--gold);

  color: #17110a;

}



.planner-summary {

  flex-wrap: wrap;

  border-top: 1px solid rgba(216, 182, 106, 0.24);

  color: var(--muted);

}



.planner-summary strong {

  color: var(--warm);

  letter-spacing: 0;

  text-transform: none;

}



.portfolio {

  background: #151515;

}



.filter-row {

  display: flex;

  flex-wrap: wrap;

  gap: 10px;

}



.filter-button {

  min-height: 40px;

  padding: 0 16px;

  border: 1px solid rgba(216, 182, 106, 0.34);

  border-radius: var(--radius);

  background: transparent;

  color: var(--warm);

  cursor: pointer;

}



.filter-button.active,

.filter-button:hover {

  background: var(--gold);

  color: #17110a;

}



.portfolio-grid {

  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  grid-auto-rows: 260px;

  gap: 16px;

}



.project-card {

  position: relative;

  overflow: hidden;

  padding: 0;

  border: 1px solid rgba(216, 182, 106, 0.26);

  border-radius: var(--radius);

  background: var(--black-soft);

  color: var(--warm);

  cursor: pointer;

}



.project-card.large {

  grid-column: span 2;

  grid-row: span 2;

}



.project-card img {

  width: 100%;

  height: 100%;

  object-fit: cover;

  transition: transform 0.35s ease;

}



.project-card::after {

  position: absolute;

  inset: auto 0 0;

  height: 45%;

  content: "";

  background: linear-gradient(180deg, rgba(8, 8, 8, 0), rgba(8, 8, 8, 0.9));

}



.project-card span {

  position: absolute;

  left: 18px;

  right: 18px;

  bottom: 18px;

  z-index: 1;

  text-align: left;

  font-weight: 800;

  text-shadow: 0 5px 24px rgba(0, 0, 0, 0.8);

}



.project-card:hover img {

  transform: scale(1.04);

}



.project-card.hidden {

  display: none;

}



.package-grid {

  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 18px;

  align-items: stretch;

}



.package-card {

  position: relative;

  min-height: 360px;

  overflow: hidden;

  display: flex;

  flex-direction: column;

  justify-content: flex-end;

  padding: 26px;

  border: 2px solid rgba(216, 182, 106, 0.58);

  border-radius: var(--radius);

  background: var(--graphite);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);

}
.package-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 30px rgba(216,182,106,0.08);
  border-color: rgba(216,182,106,0.8);
}



.package-card.featured {

  border-color: var(--gold);

}



.package-bg {

  position: absolute;

  inset: 0;

}



.package-bg img {

  width: 100%;

  height: 100%;

  object-fit: cover;

  opacity: 0.48;

}



.package-bg::after {

  position: absolute;

  inset: 0;

  content: "";

  background: linear-gradient(180deg, rgba(8, 8, 8, 0.2), rgba(8, 8, 8, 0.94));

}



.package-card > *:not(.package-bg) {

  position: relative;

  z-index: 1;

}



.package-card a {

  align-self: flex-start;

  margin-top: 20px;

  color: var(--gold-bright);

  font-weight: 800;

}



.promo {

  overflow: hidden;

  background: #efebe5;

  color: #141414;

}



.promo .section-kicker,

.promo-card span {

  color: #8a6424;

}



.promo .section-heading h2,

.promo .section-heading p {

  color: #141414;

}



.promo-controls {

  display: flex;

  gap: 10px;

}



.promo-controls button {

  width: 42px;

  height: 42px;

  border: 1px solid #c8b48b;

  border-radius: 50%;

  background: #fff;

  color: #141414;

  font-size: 30px;

  line-height: 1;

  cursor: pointer;

}



.promo-track {

  display: grid;

  grid-template-columns: repeat(3, minmax(280px, 1fr));

  gap: 18px;

  transition: transform 0.3s ease;

}



.promo-card {

  min-height: 210px;

  padding: 24px;

  border: 1px solid #dec998;

  border-radius: var(--radius);

  background:

    linear-gradient(135deg, #ffffff 0%, #efe2c4 100%);

}



.promo-card h3 {

  max-width: 420px;

  color: #141414;

  font-size: clamp(30px, 4vw, 48px);

}



.promo-card p {

  color: #3c3831;

}



.process {

  background: #111;

}



.timeline {

  display: grid;

  grid-template-columns: repeat(5, minmax(0, 1fr));

  gap: 1px;

  padding: 1px;

  margin: 0;

  border: 1px solid rgba(216, 182, 106, 0.26);

  border-radius: var(--radius);

  list-style: none;

  background: rgba(216, 182, 106, 0.26);

}



.timeline li {

  min-height: 240px;

  padding: 24px;

  background: #151515;
  transition: background var(--transition);

}
.timeline li:hover {
  background: rgba(216,182,106,0.04);
}



.timeline span {

  color: var(--gold);

  font-weight: 800;

}
.timeline-icon {
  margin-bottom: 14px;
}
.timeline-icon svg {
  width: 42px; height: 42px;
  transition: transform var(--transition);
}
.timeline li:hover .timeline-icon svg {
  transform: scale(1.12);
}



.faq-list {

  border-top: 1px solid rgba(216, 182, 106, 0.28);

}



.faq-list details {

  border-bottom: 1px solid rgba(216, 182, 106, 0.28);
  transition: background var(--transition);

}
.faq-list details[open] {
  background: rgba(216,182,106,0.03);
}



.faq-list summary {

  position: relative;

  display: block;

  padding: 24px 58px 24px 0;

  color: var(--warm);

  font-size: 20px;

  font-weight: 700;

  cursor: pointer;
  transition: color var(--transition);

}
.faq-list summary:hover {
  color: var(--gold-bright);
}



.faq-list summary::-webkit-details-marker {

  display: none;

}



.faq-list summary::after {

  position: absolute;

  top: 50%;

  right: 0;

  width: 36px;

  height: 36px;

  display: grid;

  place-items: center;

  border: 1px solid var(--line);

  border-radius: 50%;

  content: "+";

  color: var(--gold-bright);

  transform: translateY(-50%);

}



.faq-list details[open] summary::after {

  content: "−";

}



.faq-list p {

  max-width: 780px;

  margin: 0 0 24px;

  color: var(--muted);

  line-height: 1.7;

}



.contact {

  background:

    linear-gradient(rgba(8, 8, 8, 0.7), rgba(8, 8, 8, 0.93)),

    url("./assets/images/project-wardrobe-open.jpg") center / cover;

}



.contact-panel {

  display: grid;

  grid-template-columns: minmax(0, 1fr) minmax(300px, 480px);

  gap: clamp(28px, 5vw, 70px);

  padding: clamp(28px, 5vw, 56px);

  border: 1px solid var(--line);

  border-radius: var(--radius);

  background: rgba(8, 8, 8, 0.82);

  box-shadow: var(--shadow);

}



.contact-panel p {

  max-width: 650px;

  color: var(--muted);

  font-size: 18px;

  line-height: 1.75;

}



.contact-methods {

  display: flex;

  flex-wrap: wrap;

  gap: 12px;

  margin-top: 26px;

}



.contact-methods a {

  padding: 12px 15px;

  border: 1px solid var(--line);

  border-radius: var(--radius);

  color: var(--gold-bright);

  font-weight: 800;
  transition: all var(--transition);

}
.contact-methods a:hover {
  background: rgba(216,182,106,0.12);
  border-color: var(--gold);
  transform: translateY(-2px);
}



.contact-form {

  display: grid;

  gap: 14px;

}



.contact-form label {

  display: grid;

  gap: 8px;

  color: var(--muted);

  font-size: 13px;

  font-weight: 800;

  letter-spacing: 0.08em;

  text-transform: uppercase;

}



.contact-form input,

.contact-form textarea {

  width: 100%;

  border: 1px solid rgba(216, 182, 106, 0.34);

  border-radius: var(--radius);

  background: rgba(255, 255, 255, 0.06);

  color: var(--warm);

  outline: none;

  padding: 15px 16px;

}



.contact-form input:focus,

.contact-form textarea:focus {

  border-color: var(--gold-bright);
  box-shadow: 0 0 0 3px rgba(216,182,106,0.12);

}



.form-note {

  margin: 0;

  color: var(--muted);

  font-size: 13px;

  line-height: 1.5;

}



.site-footer {

  display: flex;

  justify-content: space-between;

  gap: 16px;

  padding: 32px clamp(18px, 5vw, 76px);

  border-top: 1px solid rgba(216, 182, 106, 0.22);

  background: linear-gradient(180deg, #0a0a0a 0%, #080808 100%);

  color: var(--muted);

  font-size: 13px;

}



.site-footer span:first-child,

.site-footer a {

  color: var(--gold-bright);

  font-weight: 800;

}



.project-modal {

  width: min(960px, calc(100vw - 32px));

  padding: 0;

  overflow: hidden;

  border: 1px solid var(--gold);

  border-radius: var(--radius);

  background: #111;

  color: var(--warm);

  box-shadow: var(--shadow);

}



.project-modal::backdrop {

  background: rgba(0, 0, 0, 0.78);

}



.project-modal[open] {

  display: grid;

  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);

}



.project-modal img {

  width: 100%;

  height: 100%;

  min-height: 460px;

  object-fit: cover;

}



.project-modal div {

  display: flex;

  flex-direction: column;

  justify-content: center;

  padding: 34px;

}



.project-modal h2 {

  margin: 12px 0;

  font-family: "Cormorant Garamond", Georgia, serif;

  font-size: 48px;

  line-height: 1;

}



.project-modal .btn {

  align-self: flex-start;

  margin-top: 24px;

}



.modal-close {

  position: absolute;

  top: 12px;

  right: 12px;

  z-index: 2;

  width: 40px;

  height: 40px;

  border: 1px solid var(--line);

  border-radius: 50%;

  background: rgba(8, 8, 8, 0.74);

  color: var(--gold-bright);

  font-size: 26px;

  cursor: pointer;

}



@media (max-width: 1080px) {

  .main-nav {

    position: fixed;

    top: 81px;

    right: 18px;

    left: 18px;

    display: none;

    flex-direction: column;

    align-items: stretch;

    padding: 18px;

    border: 1px solid var(--line);

    border-radius: var(--radius);

    background: rgba(8, 8, 8, 0.96);

  }



  .site-header.menu-open .main-nav {

    display: flex;

  }



  .menu-button {

    display: block;

  }



  .hero {

    grid-template-columns: 1fr;

  }



  .hero-card {

    max-width: 720px;

  }



  .service-grid {

    grid-template-columns: repeat(2, minmax(0, 1fr));

  }



  .planner-shell {

    grid-template-columns: 1fr;

  }



  .planner-panel {

    grid-template-columns: repeat(2, minmax(0, 1fr));

  }



  .planner-actions,

  .size-controls {

    align-content: end;

  }



  .timeline {

    grid-template-columns: repeat(2, minmax(0, 1fr));

  }

}



@media (max-width: 820px) {

  .phone-link {

    display: none;

  }



  .hero {

    min-height: auto;

    padding-top: 118px;

  }



  .hero h1 {

    font-size: clamp(62px, 20vw, 104px);

  }



  .section-heading,

  .intro-grid,

  .contact-panel {

    grid-template-columns: 1fr;

  }



  .section-heading {

    display: grid;

    align-items: start;

  }



  .portfolio-grid {

    grid-template-columns: repeat(2, minmax(0, 1fr));

    grid-auto-rows: 230px;

  }



  .package-grid {

    grid-template-columns: 1fr;

  }



  .planner-panel {

    grid-template-columns: 1fr;

  }



  .planner-canvas {

    height: 430px;

  }



  .planner-view {

    min-height: 430px;

  }



  .view-controls {

    left: 12px;

    right: 12px;

  }



  .view-controls button {

    flex: 1 1 72px;

  }



  .planner-topline {

    align-items: start;

    flex-direction: column;

  }



  .promo-track {

    display: flex;

  }



  .promo-card {

    flex: 0 0 100%;

  }



  .project-modal[open] {

    grid-template-columns: 1fr;

  }



  .project-modal img {

    max-height: 48vh;

    min-height: 280px;

  }

}



@media (max-width: 620px) {

  .brand img {

    width: 42px;

    height: 42px;

  }



  .service-grid,

  .portfolio-grid,

  .timeline {

    grid-template-columns: 1fr;

  }



  .project-card.large {

    grid-column: auto;

    grid-row: auto;

  }



  .portfolio-grid {

    grid-auto-rows: 300px;

  }



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

/* ═══════════════════════════════════════════════
   NEW MULTI-PAGE STYLES
═══════════════════════════════════════════════ */

/* Brand SVG logo */
.brand-logo-svg { width: 36px; height: 36px; flex-shrink: 0; }

/* Btn sizes */
.btn.small { padding: 8px 16px; font-size: 0.78rem; }
.btn.large { padding: 18px 38px; font-size: 1.05rem; }
.btn.outline {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
}
.btn.outline:hover { background: var(--gold); color: var(--black); }

/* Hero: make only the two outline CTA buttons use the same hover glow as “Рассчитать стоимость мебели”. */
.hero-actions .btn.outline:hover {
  background: rgba(216,182,106,0.12);
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  box-shadow: 0 8px 24px rgba(216,182,106,0.15);
}


/* Mobile nav */
.mobile-nav {
  position: fixed; top: 64px; left: 0; right: 0; z-index: 900;
  background: var(--graphite);
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 0;
  transform: translateY(-110%);
  transition: transform 0.32s ease;
  pointer-events: none;
}
.mobile-nav[aria-hidden="false"] {
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-nav a {
  display: block; padding: 14px 24px;
  color: var(--warm); text-decoration: none; font-size: 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-nav a:hover { color: var(--gold); }
.menu-button.open span:first-child { transform: rotate(45deg) translate(5px, 5px); }
.menu-button.open span:last-child  { transform: rotate(-45deg) translate(5px, -5px); }

/* Scrolled header */
.site-header.scrolled {
  background: rgba(8,8,8,0.97);
  box-shadow: 0 2px 24px rgba(0,0,0,0.5);
}

/* ── HERO (logo variant) ── */
.hero--logo {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  position: relative;
  padding: 120px 7vw 80px;
  background: radial-gradient(ellipse at 60% 40%, rgba(216,182,106,0.06) 0%, transparent 70%),
              linear-gradient(160deg, #0d0c0a 0%, #080808 100%);
  overflow: hidden;
}
.hero--logo::before {
  content: '';
  position: absolute; inset: 0;
  background: url('./assets/images/download.jpg') center/cover no-repeat;
  opacity: 0.25;
  pointer-events: none;
}
.hero-logo-block {
  display: flex; align-items: center; gap: 18px; margin-bottom: 32px;
}
.hero-logo-svg { width: 88px; height: 88px; }
.hero-brand-text { display: flex; flex-direction: column; }
.hero-brand-main { font-family: 'Cormorant Garamond', serif; font-size: 3.2rem; font-weight: 700; color: var(--gold); line-height: 1; }
.hero-brand-sub  { font-size: 0.9rem; text-transform: uppercase; letter-spacing: .22em; color: var(--muted); margin-top: 4px; }
.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero-content h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.2rem, 5vw, 4rem); margin: 0 0 20px; line-height: 1.15; }
.hero-content .eyebrow { font-size: 0.8rem; text-transform: uppercase; letter-spacing: .18em; color: var(--gold); margin-bottom: 12px; }
.hero-lead { font-size: 1.1rem; color: var(--muted); margin: 0 0 36px; line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  position: relative; z-index: 1;
  display: flex; gap: 40px; flex-wrap: wrap;
  margin-top: 64px; padding-top: 40px;
  border-top: 1px solid var(--line);
  width: 100%;
}
.hero-stats > div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; color: var(--gold); line-height: 1; }
.hero-stats span { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; margin-top: 4px; }

/* ── О фабрике ── */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.intro-text h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 0 0 20px; }
.intro-text p { color: var(--muted); line-height: 1.8; margin: 0 0 16px; }
.intro-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fact-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex; flex-direction: column; gap: 6px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.fact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
  border-color: rgba(216,182,106,0.4);
}
.fact-card strong { font-size: 0.9rem; color: var(--gold); }
.fact-card span { font-size: 0.78rem; color: var(--muted); line-height: 1.5; }

/* ── Конфигуратор CTA ── */
.configurator-cta .cta-box {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(216,182,106,0.1), rgba(216,182,106,0.04));
  border: 1px solid var(--line);
  border-radius: 16px; padding: 48px 56px;
}
.cta-text { max-width: 540px; }
.cta-text h2 { font-family: 'Cormorant Garamond', serif; font-size: 2rem; margin: 0 0 12px; }
.cta-text p { color: var(--muted); margin: 0; }

/* ── Пакеты — новые стили ── */
.package-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  padding: 4px 12px; border-radius: 4px;
  margin-bottom: 12px;
}
.package-features {
  list-style: none; padding: 0; margin: 12px 0 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.package-features li { font-size: 0.85rem; color: var(--muted); padding-left: 16px; position: relative; }
.package-features li::before { content: '—'; position: absolute; left: 0; color: var(--gold); }
.package-price { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; color: var(--gold-bright); margin-bottom: 20px; text-shadow: 0 2px 12px rgba(216,182,106,0.3); }
.packages-note { text-align: center; color: var(--muted); font-size: 0.8rem; margin-top: 28px; line-height: 1.7; }
.package-tag { color: #000000 !important; }

/* ── Процесс — timeline step ── */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.timeline-step { display: flex; flex-direction: column; gap: 10px; padding: 24px 20px; background: var(--panel); border-radius: var(--radius); border: 1px solid var(--line); position: relative; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.timeline-step:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.35), 0 0 18px rgba(216,182,106,0.06); border-color: rgba(216,182,106,0.45); }
.timeline-icon { width: 48px; height: 48px; margin-bottom: 6px; }
.timeline-icon svg { width: 48px; height: 48px; }
.timeline-step > span { font-family: 'Cormorant Garamond', serif; font-size: 2rem; color: var(--gold); opacity: .5; line-height: 1; }
.timeline-step h3 { font-size: 1rem; margin: 0; color: var(--warm); }
.timeline-step p { font-size: 0.82rem; color: var(--muted); line-height: 1.6; margin: 0; }

/* ── Последние работы ── */
.works-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.work-card {
  display: block; text-decoration: none; border-radius: var(--radius); overflow: hidden;
  position: relative; aspect-ratio: 3/4;
  border: 2px solid rgba(216,182,106,0.58);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.work-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.45), 0 0 20px rgba(216,182,106,0.08);
  border-color: rgba(216,182,106,0.8);
}
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(0.4, 0, 0.2, 1); }
.work-card:hover img { transform: scale(1.06); }
.work-card-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px 18px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  display: flex; flex-direction: column; gap: 4px;
}
.work-card-info span { font-size: 0.7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); }
.work-card-info strong { font-size: 0.95rem; color: #fff; }

/* ── Форма контактов ── */
.contact-panel { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.contact-info h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; margin: 0 0 16px; }
.contact-info p { color: var(--muted); line-height: 1.8; margin: 0 0 28px; }
.contact-methods { display: flex; flex-direction: column; gap: 12px; }
.contact-methods a { color: var(--gold); text-decoration: none; font-size: 0.95rem; }
.contact-methods a:hover { color: var(--gold-bright); }
.contact-form h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; margin: 0 0 8px; }
.form-sub { color: var(--muted); font-size: 0.82rem; margin: 0 0 20px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.82rem; color: var(--muted); margin-bottom: 16px; }
.contact-form input, .contact-form textarea {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); color: var(--warm);
  padding: 12px 14px; font-size: 0.9rem; font-family: inherit;
  transition: border-color .2s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); }
.form-note { font-size: 0.82rem; margin-top: 12px; min-height: 20px; }

/* ── File Upload Button ── */
.file-upload-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 16px;
  cursor: pointer;
}

.file-upload-input {
  display: none;
}

.file-upload-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--gold);
  padding: 12px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
  text-align: center;
}

.file-upload-text:hover {
  border-color: var(--gold);
  background: rgba(216, 182, 106, 0.08);
}

.file-upload-filename {
  font-size: 0.8rem;
  color: var(--muted);
  font-style: italic;
  padding: 4px 0;
  min-height: 20px;
}

/* ── Footer ── */
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; max-width: 1280px; margin: 0 auto; padding: 32px 7vw; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand strong { display: block; font-size: 0.95rem; }
.footer-brand small { display: block; font-size: 0.72rem; color: var(--muted); }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { color: var(--muted); text-decoration: none; font-size: 0.82rem; transition: color var(--transition); position: relative; }
.footer-nav a:hover { color: var(--gold-bright); }
.footer-nav a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1px; background: var(--gold); transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.footer-nav a:hover::after { transform: scaleX(1); }
.footer-copy { font-size: 0.75rem; color: rgba(189,183,170,0.45); }

/* ── Page hero (inner pages) ── */
.page-hero {
  padding: 120px 7vw 60px;
  background: radial-gradient(ellipse at 50% 0%, rgba(216,182,106,0.07) 0%, transparent 60%);
  border-bottom: 1px solid var(--line);
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.page-hero h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 4vw, 3.2rem); margin: 12px 0 16px; }
.page-hero p { color: var(--muted); font-size: 1rem; line-height: 1.75; margin: 0; }

/* ── Portfolio page ── */
.portfolio-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.portfolio-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.portfolio-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.portfolio-card a { text-decoration: none; color: inherit; display: block; }
.portfolio-card-img { aspect-ratio: 4/3; overflow: hidden; }
.portfolio-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.portfolio-card:hover .portfolio-card-img img { transform: scale(1.06); }
.portfolio-card-body { padding: 18px 20px 22px; }
.card-tag { display: inline-block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); border: 1px solid var(--gold); border-radius: 3px; padding: 2px 8px; margin-bottom: 8px; }
.portfolio-card-body h3 { font-size: 0.95rem; margin: 0 0 10px; color: var(--warm); }
.card-desc { font-size: 0.8rem; color: var(--muted); margin: 0 0 10px; line-height: 1.5; }
.card-meta { display: flex; flex-direction: column; gap: 4px; }
.card-meta span { font-size: 0.75rem; color: var(--muted); }
.card-price { color: var(--gold) !important; font-size: 0.9rem !important; font-weight: 600; margin-top: 4px; }

/* ── CTA bottom ── */
.cta-bottom .cta-box {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: linear-gradient(135deg, var(--panel), rgba(216,182,106,0.04));
  border: 1px solid var(--line); border-radius: 16px; padding: 40px 48px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.cta-bottom .cta-box:hover {
  border-color: rgba(216,182,106,0.45);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.cta-bottom .cta-text h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; margin: 0 0 8px; }
.cta-bottom .cta-text p { color: var(--muted); margin: 0; font-size: 0.9rem; }

/* ── Contacts page ── */
.contact-links-list { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.contact-link-item {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none; color: inherit;
  padding: 14px 18px; background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: all var(--transition);
}
.contact-link-item:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.3);
  background: rgba(216,182,106,0.04);
}
.contact-link-icon { font-size: 1.4rem; }
.contact-link-item strong { display: block; font-size: 0.88rem; color: var(--warm); }
.contact-link-item span { font-size: 0.78rem; color: var(--muted); }

/* ── FAQ page ── */
.faq-page .page-hero { text-align: center; margin: 0 auto; }
.faq-page .faq-list { max-width: 800px; margin: 0 auto; text-align: center; }
.faq-page .faq-list details { text-align: left; }
.faq-page .faq-list p { text-align: left; margin: 0 auto 24px; }

/* ── Configurator full page ── */
.configurator-page { padding-top: 120px; }
.configurator-page .configurator-main { padding-top: 0; }
.configurator-page .section-heading { display: none; }

/* ── Project detail pages ── */
.project-back { padding: 80px 7vw 0; }
.project-back a { color: var(--gold); text-decoration: none; font-size: 0.85rem; }
.project-back a:hover { color: var(--gold-bright); }
.project-hero-img { width: 100%; max-width: 1100px; margin: 20px auto 0; border-radius: var(--radius); padding: 0; display: flex; align-items: center; justify-content: center; box-sizing: border-box; }
.project-hero-img img { width: auto; height: auto; max-width: 100%; max-height: 70vh; object-fit: contain; display: block; margin: 0 auto; border: 2px solid var(--gold); border-radius: var(--radius); }
.project-detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: start; }
.project-main h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin: 12px 0 20px; }
.project-main p { color: var(--muted); line-height: 1.8; margin-bottom: 28px; }
.project-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-top: 32px; }
.project-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); cursor: pointer; transition: transform 0.2s ease; }
.project-gallery img:hover { transform: scale(1.03); }
.project-sidebar { position: sticky; top: 88px; }
.project-sidebar .btn.primary { width: calc(100% - 58px); }
.project-specs { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
.spec-row { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.spec-row:last-child { border-bottom: none; }
.spec-row span { font-size: 0.78rem; color: var(--muted); }
.spec-row strong { font-size: 0.88rem; color: var(--warm); text-align: right; }

/* ── Lightbox ── */
.lightbox { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.95); overflow: auto !important; }
.lightbox.active { display: flex; }
.lightbox-content { position: relative; overflow: visible !important; display: flex; align-items: center; justify-content: center; }
.lightbox-content img { width: auto !important; height: auto !important; max-width: none !important; max-height: none !important; object-fit: none !important; display: block; }
.lightbox-close { position: absolute; top: -40px; right: 0; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: none; border: none; color: var(--gold); font-size: 32px; cursor: pointer; }
.lightbox-close:hover { color: var(--gold-bright); }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; background: rgba(216, 182, 106, 0.2); border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font-size: 24px; cursor: pointer; transition: background 0.2s ease; }
.lightbox-nav:hover { background: rgba(216, 182, 106, 0.4); }
.lightbox-prev { left: -70px; }
.lightbox-next { right: -70px; }
.lightbox-counter { position: absolute; bottom: -40px; left: 50%; transform: translateX(-50%); color: var(--muted); font-size: 14px; }

@media (max-width: 820px) {
  .lightbox-nav { width: 40px; height: 40px; font-size: 20px; }
  .lightbox-prev { left: -60px; }
  .lightbox-next { right: -60px; }
}

/* ── Portfolio page card improvements ── */
.portfolio-card {
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  border: 1px solid rgba(216,182,106,0.20);
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  position: relative;
}
.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.45), 0 0 24px rgba(216,182,106,0.08);
  border-color: rgba(216,182,106,0.45);
}
.portfolio-card-img { overflow: hidden; }
.portfolio-card-img img {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.portfolio-card:hover .portfolio-card-img img {
  transform: scale(1.06);
}

/* ── Scroll-reveal animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-hidden {
  opacity: 0;
  transform: translateY(30px);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Smooth section dividers ── */
.section + .section { border-top: 1px solid rgba(216,182,106,0.10); }

/* ── Filter buttons on portfolio page ── */
.portfolio-filter {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px;
}
.filter-btn {
  padding: 10px 20px; border: 1px solid rgba(216,182,106,0.30);
  border-radius: 100px; background: transparent;
  color: var(--warm); font-weight: 700; font-size: 0.88rem;
  cursor: pointer; transition: all var(--transition);
}
.filter-btn:hover {
  border-color: var(--gold); color: var(--gold-bright);
  background: rgba(216,182,106,0.08);
}
.filter-btn.active {
  background: var(--gold); color: #17110a;
  border-color: var(--gold);
}

.filter-btn--liked {
  margin-left: auto;
}

.filter-btn--liked.has-liked::after {
  content: attr(data-count);
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  margin-left: 8px;
  padding: 0 6px;
  border-radius: 999px;
  color: #17110a;
  background: var(--gold-bright);
  font-size: 0.72rem;
  line-height: 1;
}

/* ── Card tag badge ── */
.card-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(216,182,106,0.15);
  color: var(--gold-bright);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ── Responsive additions ── */
@media (max-width: 1100px) {
  .portfolio-cards, .works-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .hero--logo { padding: 90px 6vw 60px; }
  .hero-logo-block { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-logo-svg { width: 60px; height: 60px; }
  .hero-brand-main { font-size: 2.2rem; }
  .hero-stats { gap: 24px; }
  .intro-grid { grid-template-columns: 1fr; }
  .intro-facts { grid-template-columns: 1fr; }
  .contact-panel { grid-template-columns: 1fr; gap: 36px; }
  .configurator-cta .cta-box { flex-direction: column; padding: 32px 28px; }
  .portfolio-cards, .works-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .cta-bottom .cta-box { flex-direction: column; padding: 28px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .main-nav { display: none; }
}



.project-description-list {
  counter-reset: desc-counter;
  display: grid;
  gap: 14px;
  margin: 0 0 36px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(216,182,106,0.10), rgba(255,255,255,0.025));
  border: 1px solid rgba(216,182,106,0.28);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.05);
}
.description-item {
  counter-increment: desc-counter;
  position: relative;
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 18px;
  padding: 18px 20px 18px 58px;
  background: rgba(10,10,10,0.42);
  border: 1px solid rgba(216,182,106,0.22);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  overflow: hidden;
}
.description-item::before {
  content: counter(desc-counter);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #16110a;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  font-size: 0.72rem;
  font-weight: 800;
  box-shadow: 0 0 18px rgba(216,182,106,0.25);
}
.description-item span {
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.description-item p {
  margin: 0;
  color: var(--warm);
  line-height: 1.75;
  font-size: 0.95rem;
}
.description-item:hover {
  border-color: rgba(216,182,106,0.42);
  background: rgba(216,182,106,0.06);
}

@media (max-width: 820px) {
  .project-description-list { padding: 12px; }
  .description-item { grid-template-columns: 1fr; gap: 8px; padding: 52px 16px 16px; }
  .description-item::before { left: 16px; top: 16px; }
}

.project-hero-slider { position: relative; cursor: zoom-in; box-shadow: 0 24px 70px rgba(0,0,0,0.32); }
.project-hero-slider img { cursor: zoom-in; opacity: 1; transform: scale(1); transition: opacity 0.5s ease, transform 0.5s ease, filter 0.3s ease; }
.project-hero-slider img.is-active {
  opacity: 1;
  transform: scale(1);
}
.project-hero-slider:hover img { filter: brightness(0.9); }
















.partners-page {
  padding-top: 140px;
}
.partners-hero {
  max-width: 980px;
  margin: 0 auto 46px;
  padding: 38px clamp(22px, 5vw, 58px);
  text-align: center;
  border: 1px solid rgba(216,182,106,0.34);
  border-radius: calc(var(--radius) + 10px);
  background: radial-gradient(circle at top, rgba(216,182,106,0.16), transparent 52%), linear-gradient(135deg, rgba(255,255,255,0.045), rgba(216,182,106,0.045));
  box-shadow: 0 24px 70px rgba(0,0,0,0.32), inset 0 1px 0 rgba(255,255,255,0.06);
}
.partners-hero .eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.partners-hero h1 {
  margin: 0 0 18px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: .95;
  color: var(--gold-bright);
}
.partners-hero p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--warm);
  font-size: 1.02rem;
  line-height: 1.85;
}
.partners-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.partner-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(216,182,106,0.26);
  border-left: 4px solid var(--gold);
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(145deg, rgba(18,18,18,0.92), rgba(216,182,106,0.055));
  box-shadow: 0 18px 50px rgba(0,0,0,0.24);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35), 0 0 20px rgba(216,182,106,0.06);
  border-color: rgba(216,182,106,0.45);
}
.partner-card::before {
  content: '';
  position: absolute;
  inset: -80px -80px auto auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(216,182,106,0.08);
  pointer-events: none;
}
.partner-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}
.partner-card h2 {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  color: var(--gold-bright);
}
.partner-card p {
  margin: 0;
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.78;
}
.partner-flag {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216,182,106,0.34);
  border-radius: 50%;
  background: rgba(0,0,0,0.36);
  font-size: 1.45rem;
  box-shadow: 0 0 20px rgba(216,182,106,0.12);
}
.partner-card-premium {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(216,182,106,0.13), rgba(18,18,18,0.94));
}
@media (max-width: 820px) {
  .partners-page { padding-top: 112px; }
  .partners-grid { grid-template-columns: 1fr; }
  .partner-card-premium { grid-column: auto; }
  .partner-card { padding: 22px; }
}

/* === Калькулятор стоимости === */
.calc-wrap { max-width: 920px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }
.calc-step { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,0.02); }
.calc-step-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 24px; }
.calc-step-num { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; color: var(--gold); letter-spacing: .1em; }
.calc-step-head h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.3rem, 2.5vw, 1.7rem); margin: 0; }
.calc-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.calc-options--packages { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.calc-options--cities { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.calc-option {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; padding: 18px 14px; min-height: 72px;
  background: rgba(8,8,8,0.4); border: 1px solid var(--line); border-radius: 12px;
  color: var(--text); cursor: pointer; transition: all 0.2s ease;
  font-family: inherit; text-align: center;
}
.calc-option:hover { border-color: var(--gold); background: rgba(216,182,106,0.05); }
.calc-option.is-active { border-color: var(--gold); background: rgba(216,182,106,0.12); box-shadow: 0 0 0 1px var(--gold); }
.calc-option-title { font-weight: 600; font-size: 1rem; }
.calc-option-desc { font-size: 0.82rem; color: var(--muted); }
.calc-option.is-active .calc-option-desc { color: var(--warm); }

.calc-meters { display: flex; align-items: center; gap: 14px; max-width: 360px; }
.calc-meters input {
  flex: 1; padding: 14px 18px; font-size: 1.1rem; font-family: inherit;
  background: rgba(8,8,8,0.5); border: 1px solid var(--line); border-radius: 10px; color: var(--text);
}
.calc-meters input:focus { outline: none; border-color: var(--gold); }
.calc-meters-unit { color: var(--muted); font-size: 0.95rem; }
.calc-hint { color: var(--muted); font-size: 0.88rem; margin: 12px 0 0; }

.calc-result {
  padding: 36px; text-align: center;
  border: 1px solid rgba(216,182,106,0.4); border-radius: var(--radius);
  background: radial-gradient(ellipse at center, rgba(216,182,106,0.08) 0%, transparent 70%);
}
.calc-result-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: .2em; color: var(--gold); margin-bottom: 12px; }
.calc-result-value { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 5vw, 3.4rem); color: var(--gold); line-height: 1.1; margin-bottom: 14px; }
.calc-result-note { color: var(--muted); font-size: 0.92rem; }

.calc-form { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,0.02); }
.calc-form h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; margin: 0 0 8px; }
.calc-form-desc { color: var(--muted); margin: 0 0 24px; font-size: 0.92rem; }
.calc-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.calc-form-grid-full { grid-column: 1 / -1; }
.calc-form-grid label { display: flex; flex-direction: column; gap: 6px; }
.calc-form-grid label span { font-size: 0.82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.calc-form-grid input, .calc-form-grid textarea {
  padding: 12px 14px; font-family: inherit; font-size: 0.95rem;
  background: rgba(8,8,8,0.5); border: 1px solid var(--line); border-radius: 8px; color: var(--text);
}
.calc-form-grid input:focus, .calc-form-grid textarea:focus { outline: none; border-color: var(--gold); }
.calc-form-status { margin-top: 16px; font-size: 0.92rem; min-height: 1.4em; }
.calc-form-status.is-success { color: #7bcfa1; }
.calc-form-status.is-error { color: #e08a8a; }

@media (max-width: 720px) {
  .calc-step { padding: 22px; }
  .calc-form { padding: 22px; }
  .calc-form-grid { grid-template-columns: 1fr; }
}
.calc-step[hidden], .calc-result[hidden] { display: none !important; }
.calc-step.is-current { animation: calcStepIn 0.25s ease both; }
.calc-next-btn { margin-top: 22px; }
@keyframes calcStepIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.file-upload-wrapper { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 16px 0; }
#photo-filename { font-size: 0.85rem; color: var(--muted); font-style: italic; }

/* ══════════════════════════════════════
   MOBILE-FIRST RESPONSIVE IMPROVEMENTS
   ══════════════════════════════════════ */

/* Hide 3D configurator on mobile */
@media (max-width: 820px) {
  .mobile-nav a[href="configurator.html"] { display: none; }
  .header-actions .btn[href="configurator.html"] { display: none; }
  .configurator-cta { display: none !important; }
}

/* ── Phone screens (max-width: 480px) ── */
@media (max-width: 480px) {
  /* Hero */
  .hero--logo { padding: 80px 5vw 40px; min-height: auto; }
  .hero-logo-svg { width: 48px; height: 48px; }
  .hero-brand-main { font-size: 1.8rem; }
  .hero-brand-sub { font-size: 0.75rem; }
  .hero--logo h1 { font-size: clamp(1.4rem, 6vw, 2rem); }
  .hero-lead { font-size: 0.88rem; line-height: 1.6; }
  .eyebrow { font-size: 0.7rem; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn { width: 100%; text-align: center; padding: 14px 18px; font-size: 0.9rem; }
  .hero-stats { flex-direction: row; flex-wrap: wrap; gap: 16px; padding: 18px 0; }
  .hero-stats div { flex: 1 1 40%; text-align: center; }
  .hero-stats strong { font-size: 1.3rem; }
  .hero-stats span { font-size: 0.72rem; }

  /* Sections */
  .section { padding: 40px 5vw; }
  .page-hero { padding: 100px 5vw 30px; }
  .page-hero h1 { font-size: clamp(1.4rem, 6vw, 2rem); }
  .page-hero p { font-size: 0.88rem; }
  .section-kicker { font-size: 0.7rem; }
  .section-heading h2 { font-size: clamp(1.3rem, 5vw, 1.8rem); }
  .section-heading p { font-size: 0.88rem; }

  /* === Horizontal scroll cards === */
  .service-grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 14px; padding-bottom: 12px; -webkit-overflow-scrolling: touch;
  }
  .service-grid::-webkit-scrollbar { height: 4px; }
  .service-grid::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }
  .service-grid::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); }
  .service-card { flex: 0 0 78vw; scroll-snap-align: start; border-radius: 10px; }
  .service-card img { height: 180px; }
  .service-card div { padding: 16px; }
  .service-card h3 { font-size: 1.1rem; }
  .service-card p { font-size: 0.85rem; }

  .works-grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 14px; padding-bottom: 12px; -webkit-overflow-scrolling: touch;
  }
  .works-grid::-webkit-scrollbar { height: 4px; }
  .works-grid::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }
  .works-grid::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); }
  .work-card { flex: 0 0 75vw; scroll-snap-align: start; }
  .work-card-info { padding: 12px 14px; }
  .work-card-info strong { font-size: 0.9rem; }
  .work-card-info span { font-size: 0.72rem; }

  .package-grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 14px; padding-bottom: 12px; -webkit-overflow-scrolling: touch;
  }
  .package-grid::-webkit-scrollbar { height: 4px; }
  .package-grid::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }
  .package-grid::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); }
  .package-card { flex: 0 0 82vw; scroll-snap-align: start; }

  /* Portfolio cards on portfolio page */
  .portfolio-cards {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 14px; padding-bottom: 12px; -webkit-overflow-scrolling: touch;
  }
  .portfolio-cards::-webkit-scrollbar { height: 4px; }
  .portfolio-cards::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }
  .portfolio-cards::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); }
  .portfolio-card { flex: 0 0 78vw; scroll-snap-align: start; }
  .portfolio-card-img img { height: 200px; }
  .portfolio-card-body { padding: 14px; }
  .portfolio-card-body h3 { font-size: 1rem; }
  .card-meta { font-size: 0.78rem; flex-wrap: wrap; }
  .card-desc { font-size: 0.82rem; }

  /* Timeline / Process */
  .timeline { gap: 16px; }
  .timeline-step { padding: 20px; }
  .timeline-step h3 { font-size: 1rem; }
  .timeline-step p { font-size: 0.85rem; }

  /* Intro */
  .intro-text h2 { font-size: clamp(1.2rem, 5vw, 1.6rem); }
  .intro-text p { font-size: 0.88rem; }
  .fact-card { padding: 16px; }
  .fact-card strong { font-size: 0.9rem; }
  .fact-card span { font-size: 0.82rem; }

  /* CTA */
  .cta-box { padding: 24px 20px !important; text-align: center; }
  .cta-box h2 { font-size: 1.3rem; }
  .cta-box p { font-size: 0.88rem; }
  .cta-box .btn { width: 100%; }

  /* Contact form */
  .contact-form { padding: 20px; }
  .contact-form h2 { font-size: 1.3rem; }
  .contact-form label { font-size: 0.88rem; }
  .contact-form input,
  .contact-form textarea { font-size: 0.95rem; padding: 12px; }
  .contact-info h2 { font-size: 1.3rem; }
  .contact-link-item { padding: 12px; }
  .contact-methods { flex-direction: column; gap: 10px; }
  .contact-methods a { font-size: 0.88rem; }

  /* Project detail */
  .project-detail-grid { grid-template-columns: 1fr; gap: 24px; }
  .project-sidebar { position: static; }
  .project-main h1 { font-size: clamp(1.3rem, 5vw, 1.8rem); }
  .project-gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .project-hero-img { margin: 10px auto 0; }
  .project-hero-img img { max-height: 50vh; }
  .project-back { padding: 70px 5vw 0; }

  /* Calculator */
  .calc-step { padding: 18px; }
  .calc-step-head { flex-direction: column; gap: 8px; }
  .calc-step-head h2 { font-size: 1.1rem; }
  .calc-options { grid-template-columns: 1fr 1fr; gap: 8px; }
  .calc-option { padding: 14px 10px; min-height: 60px; }
  .calc-result { padding: 24px 16px; }
  .calc-result-value { font-size: clamp(1.6rem, 7vw, 2.4rem); }

  /* Partners */
  .partners-hero { padding: 24px 18px; }
  .partners-hero h1 { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  .partner-card { padding: 18px; }
  .partner-card h2 { font-size: clamp(1.4rem, 5vw, 2rem); }

  /* Footer */
  .footer-inner { padding: 24px 5vw; gap: 16px; }
  .footer-nav { flex-wrap: wrap; gap: 8px 16px; }
  .footer-nav a { font-size: 0.82rem; }
  .footer-copy { font-size: 0.75rem; }

  /* Lightbox */
  .lightbox-content { width: 95vw; }
  .lightbox-nav { width: 36px; height: 36px; font-size: 18px; }
  .lightbox-prev { left: 4px; }
  .lightbox-next { right: 4px; }

  /* Description items */
  .project-description-list { padding: 10px; }
  .description-item { padding: 44px 14px 14px; grid-template-columns: 1fr; gap: 6px; }
  .description-item::before { left: 14px; top: 12px; width: 22px; height: 22px; font-size: 0.65rem; }

  /* FAQ */
  .faq-item summary { font-size: 0.95rem; padding: 16px; }
  .faq-item p, .faq-item div { font-size: 0.88rem; padding: 0 16px 16px; }

  /* File upload */
  .file-upload-wrapper { margin: 12px 0; }
  .file-upload-wrapper .btn { width: 100%; }

  /* Buttons general */
  .btn { font-size: 0.88rem; padding: 12px 20px; }
  .btn.large { padding: 14px 24px; font-size: 0.95rem; }
  .btn.small { padding: 8px 14px; font-size: 0.75rem; }
}

/* ── Small tablets (481px - 820px) extra tweaks ── */
@media (min-width: 481px) and (max-width: 820px) {
  .hero-actions { flex-wrap: wrap; }
  .hero-actions .btn { flex: 1 1 45%; text-align: center; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .project-detail-grid { grid-template-columns: 1fr; gap: 28px; }
  .project-sidebar { position: static; }
  .project-gallery { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .calc-options { grid-template-columns: repeat(3, 1fr); }
}

/* ===========================================
   Premium visual refresh (global overrides)
=========================================== */
:root {
  --text: #f6efe1;
  --radius: 12px;
  --line: rgba(216, 182, 106, 0.26);
  --shadow-soft: 0 12px 34px rgba(0, 0, 0, 0.28);
  --shadow-premium: 0 24px 64px rgba(0, 0, 0, 0.42);
}

body {
  background:
    radial-gradient(circle at 8% -10%, rgba(216, 182, 106, 0.12), transparent 30%),
    radial-gradient(circle at 92% 20%, rgba(216, 182, 106, 0.07), transparent 28%),
    linear-gradient(180deg, #0a0908 0%, #080808 48%, #0e0d0c 100%);
  color: var(--text);
}

.site-header {
  border-bottom-color: rgba(216, 182, 106, 0.18);
  background: rgba(8, 8, 8, 0.64);
  box-shadow: 0 6px 34px rgba(0, 0, 0, 0.34);
}

.section {
  padding: clamp(64px, 8vw, 120px) clamp(18px, 5vw, 76px);
}

.section + .section {
  border-top: 1px solid rgba(216, 182, 106, 0.08);
}

.btn {
  min-height: 52px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-soft);
}

.btn.primary {
  background: linear-gradient(135deg, #c8a45f 0%, #f1d58c 100%);
  border-color: rgba(241, 213, 140, 0.85);
}

.btn.primary:hover {
  background: linear-gradient(135deg, #d3b06a 0%, #f7df9f 100%);
  box-shadow: 0 14px 34px rgba(216, 182, 106, 0.36);
}

.btn.secondary,
.btn.outline {
  background: rgba(20, 18, 16, 0.62);
  border-color: rgba(216, 182, 106, 0.38);
  color: var(--gold-bright);
}

.btn.secondary:hover,
.btn.outline:hover {
  background: rgba(216, 182, 106, 0.14);
}

.btn:focus-visible,
.main-nav a:focus-visible,
.mobile-nav a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(216, 182, 106, 0.25);
}

.service-card,
.package-card,
.portfolio-card,
.project-card,
.project-specs,
.contact-panel,
.timeline-step,
.calc-step,
.calc-form,
.partner-card {
  border-radius: calc(var(--radius) + 2px);
  box-shadow: var(--shadow-soft);
}

.service-card:hover,
.package-card:hover,
.project-card:hover,
.portfolio-card:hover,
.partner-card:hover,
.timeline-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-premium), 0 0 24px rgba(216, 182, 106, 0.1);
}

.project-hero-img img,
.project-gallery img,
.portfolio-card-img img,
.work-card img,
.service-card img {
  border-radius: calc(var(--radius) + 2px);
}

.project-gallery {
  gap: 14px;
}

.project-gallery img {
  transition: transform 0.24s ease, box-shadow 0.24s ease, filter 0.24s ease;
}

.project-gallery img:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  filter: saturate(1.05);
}

.planner-panel,
.planner-workspace,
.project-specs,
.contact-panel,
.calc-step,
.calc-result,
.calc-form {
  background: linear-gradient(145deg, rgba(22, 20, 18, 0.92), rgba(8, 8, 8, 0.9));
}

.footer-nav a,
.main-nav a,
.phone-link {
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-nav a:hover,
.main-nav a:hover,
.phone-link:hover {
  color: var(--gold-bright);
}

/* ===========================================
   Feature modules: language, likes, FAQ, carousel
=========================================== */
:root {
  --radius: 8px;
  --accent-green: #7f8f70;
  --accent-wine: #7a3f46;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid rgba(216, 182, 106, 0.34);
  border-radius: 999px;
  background: rgba(16, 14, 12, 0.82);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.language-switcher button {
  min-width: 38px;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  color: rgba(246, 239, 225, 0.72);
  background: transparent;
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 800;
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.language-switcher button:hover,
.language-switcher button.active {
  color: #111;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  transform: translateY(-1px);
}

.service-carousel {
  position: relative;
}

.service-carousel .service-grid {
  transition: opacity 0.26s ease, transform 0.26s ease;
}

.carousel-arrow {
  position: absolute;
  top: 48%;
  z-index: 3;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(241, 213, 140, 0.5);
  border-radius: 50%;
  color: var(--gold-bright);
  background: rgba(8, 8, 8, 0.78);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.carousel-arrow:hover {
  background: rgba(216, 182, 106, 0.18);
  border-color: rgba(241, 213, 140, 0.85);
}

.carousel-arrow:active {
  transform: translateY(-50%) scale(0.96);
}

.is-pressing:not(.carousel-arrow) {
  transform: scale(0.98);
}

.carousel-arrow--prev {
  left: -24px;
}

.carousel-arrow--next {
  right: -24px;
}

.service-card a,
.liked-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.service-card-meta {
  margin-top: 12px !important;
  color: rgba(241, 213, 140, 0.88) !important;
  font-size: 0.82rem;
}

.portfolio-card {
  position: relative;
  min-height: 100%;
}

.portfolio-card a {
  height: 100%;
  padding-bottom: 48px;
}

.favorite-button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216, 182, 106, 0.44);
  border-radius: 50%;
  color: var(--gold-bright);
  background:
    linear-gradient(145deg, rgba(20, 18, 16, 0.96), rgba(8, 8, 8, 0.86)),
    radial-gradient(circle at 30% 20%, rgba(122, 63, 70, 0.32), transparent 52%);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.34);
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.favorite-button span {
  transform: translateY(-1px);
  font-size: 1.15rem;
  line-height: 1;
}

.favorite-button:hover {
  transform: translateY(-2px) scale(1.04);
  border-color: rgba(241, 213, 140, 0.86);
}

.favorite-button.is-liked {
  color: #111;
  background: linear-gradient(135deg, #f1d58c, #d9a1a8);
  border-color: rgba(255, 238, 179, 0.95);
}

.favorite-button.is-liked span {
  animation: likePop 0.34s ease;
}

.favorite-button--card {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 4;
}

.favorite-button--detail {
  position: absolute;
  right: 0;
  bottom: 0;
}

.liked-section {
  margin-top: 42px;
  padding-top: 34px;
  border-top: 1px solid rgba(216, 182, 106, 0.22);
}

.liked-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.liked-section h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.liked-section-head span {
  min-width: 36px;
  min-height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216, 182, 106, 0.38);
  border-radius: 50%;
  color: var(--gold-bright);
}

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

.liked-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(216, 182, 106, 0.28);
  border-radius: var(--radius);
  background: rgba(20, 20, 20, 0.92);
}

.liked-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.liked-card div {
  display: grid;
  gap: 7px;
  padding: 16px 16px 62px;
}

.liked-card span {
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.liked-card strong {
  line-height: 1.25;
}

.liked-card small {
  color: var(--muted);
}

.liked-card b {
  color: var(--gold-bright);
}

.favorite-button--liked-list {
  position: absolute;
  right: 12px;
  bottom: 12px;
}

.liked-empty,
.faq-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 22px;
  border: 1px solid rgba(216, 182, 106, 0.42);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(216, 182, 106, 0.04);
}

.faq-tools {
  max-width: 960px;
  margin: 0 auto 26px;
  padding: 18px;
  border: 1px solid rgba(216, 182, 106, 0.28);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(22, 20, 18, 0.9), rgba(8, 8, 8, 0.82));
  box-shadow: var(--shadow-soft);
}

.faq-search {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.faq-search span {
  color: var(--gold-bright);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.faq-search input {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(216, 182, 106, 0.3);
  border-radius: var(--radius);
  color: var(--warm);
  background: rgba(8, 8, 8, 0.68);
  padding: 0 16px;
}

.faq-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.faq-topic {
  min-height: 40px;
  border: 1px solid rgba(216, 182, 106, 0.28);
  border-radius: 999px;
  color: rgba(246, 239, 225, 0.76);
  background: rgba(255, 255, 255, 0.03);
  padding: 0 14px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.faq-topic:hover,
.faq-topic.active {
  color: #111;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  transform: translateY(-1px);
}

.faq-count {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

@keyframes likePop {
  0% { transform: translateY(-1px) scale(0.7); }
  70% { transform: translateY(-1px) scale(1.18); }
  100% { transform: translateY(-1px) scale(1); }
}

@media (max-width: 1100px) {
  .liked-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .language-switcher button {
    min-width: 34px;
  }
}

@media (max-width: 820px) {
  .language-switcher {
    order: -1;
  }

  .carousel-arrow {
    width: 42px;
    height: 42px;
  }

  .carousel-arrow--prev {
    left: 8px;
  }

  .carousel-arrow--next {
    right: 8px;
  }

  .favorite-button--detail {
    position: static;
    margin: 12px 0 0 auto;
  }

  .project-sidebar .btn.primary {
    width: 100%;
  }

  .faq-tools {
    margin-bottom: 18px;
    padding: 14px;
  }
}

@media (max-width: 620px) {
  .header-actions {
    gap: 8px;
  }

  .language-switcher {
    padding: 2px;
  }

  .language-switcher button {
    min-width: 31px;
    min-height: 31px;
    font-size: 0.68rem;
  }

  .service-carousel .service-grid {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .service-card {
    min-width: 0;
  }

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

  .filter-btn--liked {
    margin-left: 0;
  }

  .faq-topics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-topic {
    width: 100%;
    padding: 0 10px;
    font-size: 0.78rem;
  }
}


/* === SAFE MOBILE FIX: only hide 3D configurator links/blocks on phones === */
@media (max-width: 768px) {
  a[href*="3d" i],
  a[href*="configurator" i],
  a[href*="constructor" i],
  button[data-target*="3d" i],
  button[data-target*="configurator" i],
  .nav-3d,
  .nav-configurator,
  .configurator-link,
  .configurator-button,
  .configurator-card,
  .configurator-section,
  .viewer-3d,
  .model-3d,
  .canvas-3d,
  #configurator,
  #threeD,
  #viewer3d,
  model-viewer,
  iframe[src*="3d" i],
  iframe[src*="configurator" i] {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  /* Кнопка меню всегда поверх сайта на телефоне */
  #dimax-safe-menu-button {
    position: fixed !important;
    top: 14px !important;
    right: 14px !important;
    z-index: 2147483647 !important;
    width: 48px !important;
    height: 48px !important;
    border: 1px solid rgba(214,179,99,.75) !important;
    border-radius: 14px !important;
    background: #140d07 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 10px 28px rgba(0,0,0,.35) !important;
  }

  #dimax-safe-menu-button span,
  #dimax-safe-menu-button span::before,
  #dimax-safe-menu-button span::after {
    display: block !important;
    width: 24px !important;
    height: 2px !important;
    background: #d6b363 !important;
    border-radius: 2px !important;
    content: "" !important;
    position: absolute !important;
  }

  #dimax-safe-menu-button span::before { transform: translateY(-8px) !important; }
  #dimax-safe-menu-button span::after { transform: translateY(8px) !important; }

  #dimax-safe-menu-panel {
    position: fixed !important;
    top: 72px !important;
    right: 14px !important;
    z-index: 2147483646 !important;
    min-width: 220px !important;
    max-width: calc(100vw - 28px) !important;
    background: #140d07 !important;
    border: 1px solid rgba(214,179,99,.65) !important;
    border-radius: 18px !important;
    padding: 12px !important;
    box-shadow: 0 18px 38px rgba(0,0,0,.45) !important;
    display: none !important;
  }

  #dimax-safe-menu-panel.open { display: block !important; }

  #dimax-safe-menu-panel a {
    display: block !important;
    color: #f4e3b3 !important;
    text-decoration: none !important;
    padding: 12px 14px !important;
    border-radius: 12px !important;
    font: 600 16px/1.2 system-ui,-apple-system,Segoe UI,sans-serif !important;
  }
}

@media (min-width: 769px) {
  #dimax-safe-menu-button,
  #dimax-safe-menu-panel {
    display: none !important;
  }
}

/* Partner country flags: proper visual flags in circles, without changing layout */
.partner-flag {
  position: relative !important;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  max-width: 34px !important;
  max-height: 34px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  border: 1px solid rgba(214,179,99,.55) !important;
  font-size: 0 !important;
  color: transparent !important;
}
.partner-flag::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
}
.partner-flag.flag-at::before {
  background: linear-gradient(to bottom,#ed2939 0 33.333%,#fff 33.333% 66.666%,#ed2939 66.666% 100%) !important;
}
.partner-flag.flag-it::before {
  background: linear-gradient(to right,#009246 0 33.333%,#fff 33.333% 66.666%,#ce2b37 66.666% 100%) !important;
}
.partner-flag.flag-tr::before {
  background:
    radial-gradient(circle at 40% 50%, #e30a17 0 7px, transparent 7.2px),
    radial-gradient(circle at 34% 50%, #fff 0 9px, transparent 9.2px),
    #e30a17 !important;
}
.partner-flag.flag-tr::after {
  content: "★" !important;
  position: absolute !important;
  left: 18px !important;
  top: 10px !important;
  color: #fff !important;
  font-size: 9px !important;
  line-height: 1 !important;
}
