/* ================================================
   РЕМОНТ И ТОЧКА — Design System
   ================================================ */

/* === VARIABLES === */
:root {
  --gold: #C9A84C;
  --gold-dim: rgba(201, 168, 76, 0.12);
  --dark: #0c0c0c;
  --surface: #141414;
  --surface-2: #1c1c1c;
  --text: #ede8df;
  --muted: #a09890;
  --border: #242424;
  --font-display: 'Cormorant Garant', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; border: none; cursor: pointer; }
.hidden { display: none !important; }

/* === BASE === */
body {
  background-color: var(--dark);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* === GRAIN OVERLAY === */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.35;
}

/* === NAVIGATION === */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.75rem 2.5rem;
  transition: background 0.45s, border-color 0.45s;
  border-bottom: 1px solid transparent;
}

.site-nav.scrolled {
  background: rgba(12,12,12,0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1.1rem 2.5rem;
  border-bottom-color: var(--border);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text);
}

.nav-logo-mark {
  height: 32px;
  width: auto;
  display: block;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1;
  padding-left: 0.8rem;
  border-left: 1px solid var(--gold);
}

@media (max-width: 600px) {
  .nav-logo-mark { height: 28px; }
  .nav-logo-text { font-size: 0.8rem; letter-spacing: 0.14em; padding-left: 0.6rem; }
  .nav-logo { gap: 0.6rem; }
}

.nav-actions { display: flex; align-items: center; gap: 2.5rem; }

.nav-phone {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  transition: color 0.2s;
}
.nav-phone:hover { color: var(--text); }

.nav-cta {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid rgba(201,168,76,0.5);
  color: var(--gold);
  padding: 0.6rem 1.6rem;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.nav-cta:hover {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}

@media (max-width: 640px) {
  .nav-phone { display: none; }
  .site-nav { padding: 1.25rem 1.25rem; }
  .site-nav.scrolled { padding: 1rem 1.25rem; }
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--surface);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(12,12,12,0.25) 0%,
    rgba(12,12,12,0.55) 50%,
    rgba(12,12,12,0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.hero-location {
  font-size: 0.68rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.hero-location::before,
.hero-location::after {
  content: '';
  width: 2.5rem;
  height: 1px;
  background: var(--gold);
  opacity: 0.45;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 13vw, 10rem);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1.75rem;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 400;
  max-width: 26rem;
  margin: 0 auto 3rem;
  line-height: 1.75;
}

.hero-stats {
  display: inline-flex;
  border: 1px solid rgba(201,168,76,0.18);
  margin-bottom: 3rem;
}

.stat { padding: 1.25rem 2.25rem; text-align: center; }

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.stat-divider {
  width: 1px;
  background: rgba(201,168,76,0.18);
  align-self: stretch;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold);
  opacity: 0.5;
  animation: bounce 2.5s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 0.8; }
}

/* === SECTIONS === */
.section { padding: 8rem 1.5rem; }
.section-alt { background-color: var(--surface); }

.container { max-width: 1280px; margin: 0 auto; }
.container-sm { max-width: 700px; margin: 0 auto; }

.section-header { margin-bottom: 5rem; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.65rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.section-label::before {
  content: '';
  width: 2rem;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--text);
  letter-spacing: -0.01em;
}

/* === FADE UP === */
body.js-ready .fade-up {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
body.js-ready .fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === PORTFOLIO === */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

@media (max-width: 900px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .portfolio-grid { grid-template-columns: 1fr; } }

.portfolio-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-item:hover img { transform: scale(1.07); }

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12,12,12,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.portfolio-overlay span {
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid rgba(201,168,76,0.5);
  padding-bottom: 3px;
}

/* === LIGHTBOX === */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.96);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  overscroll-behavior: contain;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 92vw; max-height: 92vh; object-fit: contain; }
.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  font-size: 2rem;
  color: var(--muted);
  background: none;
  line-height: 1;
  transition: color 0.2s;
}
.lightbox-close:hover { color: var(--text); }

/* === FOR WHOM === */
.for-whom-text {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  font-weight: 400;
  line-height: 1.8;
  max-width: 34rem;
  margin: 0 auto 2.5rem;
}

.price-box {
  display: inline-block;
  border: 1px solid rgba(201,168,76,0.25);
  padding: 2rem 3.5rem;
  text-align: center;
}

.price-label {
  font-size: 0.63rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.price-value {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 300;
  color: var(--text);
}

.price-value span { color: var(--gold); }

/* === ADVANTAGES === */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
}

@media (max-width: 900px) { .advantages-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .advantages-grid { grid-template-columns: 1fr; } }

.advantage-card {
  padding: 2.75rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.35s;
  position: relative;
  overflow: hidden;
}

.advantage-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 2px; height: 100%;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s ease;
}

.advantage-card:hover { background: var(--surface-2); }
.advantage-card:hover::before { transform: scaleY(1); }

.advantage-num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 300;
  color: rgba(201,168,76,0.45);
  line-height: 1;
  margin-bottom: 1.75rem;
  transition: color 0.35s;
}
.advantage-card:hover .advantage-num { color: rgba(201,168,76,0.70); }

.advantage-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.75rem;
  letter-spacing: 0.01em;
}

.advantage-text {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.8;
}

/* === PROCESS === */
.process-list { display: flex; flex-direction: column; max-width: 680px; }

.process-item {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 0 2.5rem;
  padding-bottom: 3.5rem;
  position: relative;
}

.process-item:last-child { padding-bottom: 0; }

.process-item::after {
  content: '';
  position: absolute;
  left: 1.1rem;
  top: 2rem;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.process-item:last-child::after { display: none; }

.process-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--gold);
  text-align: right;
  padding-top: 0.1rem;
  position: relative;
  z-index: 1;
}

.process-body { padding-bottom: 0; }

.process-title {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.process-desc {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.8;
}

/* === QUIZ === */
#form { background-color: var(--surface); }

.quiz-wrap {
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
}

.quiz-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 300;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.quiz-sub {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 3rem;
}

.quiz-progress { display: flex; gap: 6px; margin-bottom: 3rem; }

.quiz-bar {
  height: 2px;
  flex: 1;
  border-radius: 1px;
  background: var(--border);
  transition: background 0.45s ease;
}

.quiz-question {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 300;
  color: var(--text);
  margin-bottom: 2rem;
}

.quiz-options-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.quiz-options-4 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.quiz-options-1 { display: flex; flex-direction: column; gap: 0.75rem; text-align: left; }

.quiz-option {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 1.5rem;
  text-align: left;
  transition: border-color 0.25s, background 0.25s;
}

.quiz-option:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.04);
}

/* --- Шаг 1: SVG иконки (план квартиры / дома) --- */
.quiz-option--type {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2rem 1.75rem 1.75rem;
  min-height: 200px;
}

.quiz-opt-svg {
  color: rgba(201,168,76,0.65);
  transition: color 0.28s ease;
  flex-shrink: 0;
}
.quiz-option--type:hover .quiz-opt-svg { color: var(--gold); }

.quiz-opt-sep {
  display: block;
  width: 1.5rem;
  height: 1px;
  background: rgba(201,168,76,0.3);
  margin: 1.25rem 0 0.9rem;
  transition: width 0.35s ease, background 0.25s;
}
.quiz-option--type:hover .quiz-opt-sep {
  width: 2.5rem;
  background: rgba(201,168,76,0.65);
}

/* --- Шаг 2: шкала площади --- */
.quiz-option--area {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.75rem 1.25rem 1.5rem;
}

.quiz-opt-bar {
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(201,168,76,0.25);
  margin-bottom: 1.25rem;
  transform: scaleX(var(--bar-s, 0.5));
  transform-origin: left;
  transition: background 0.25s;
}
.quiz-option--area:hover .quiz-opt-bar { background: rgba(201,168,76,0.7); }

/* --- Шаг 3: нумерованные варианты --- */
.quiz-option--timing {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.35rem 1.5rem;
}

.quiz-opt-num {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 300;
  color: rgba(201,168,76,0.4);
  min-width: 2rem;
  line-height: 1;
  transition: color 0.25s;
}
.quiz-option--timing:hover .quiz-opt-num { color: var(--gold); }

.quiz-opt-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-align: left;
}

/* --- Общие элементы опций --- */
.quiz-opt-title { display: block; font-size: 0.95rem; font-weight: 500; }
.quiz-opt-val { display: block; font-family: var(--font-display); font-size: 1.65rem; font-weight: 300; color: var(--gold); line-height: 1.1; margin-bottom: 0.2rem; }
.quiz-opt-unit { display: block; font-size: 0.7rem; letter-spacing: 0.1em; color: var(--muted); }
.quiz-opt-sub { display: block; font-size: 0.8rem; color: var(--muted); }


.quiz-input {
  width: 100%;
  background: transparent;
  border: 1px solid var(--border);
  padding: 1rem 1.25rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.25s;
  margin-bottom: 0.75rem;
  display: block;
}
.quiz-input:focus { border-color: var(--gold); }
.quiz-input:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.quiz-input.error { border-color: #ef4444; }

/* === SERVICES === */
.services-section {
  padding: 7rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.services-strip {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr 1px 1fr;
  gap: 0 3rem;
  align-items: start;
}

@media (max-width: 960px) {
  .services-strip {
    grid-template-columns: 1fr 1fr;
    gap: 3rem 2.5rem;
  }
  .service-divider { display: none; }
}

@media (max-width: 560px) {
  .services-strip { grid-template-columns: 1fr; gap: 2.5rem; }
}

.service-divider {
  background: var(--border);
  align-self: stretch;
}

.service-item { display: flex; flex-direction: column; }

.service-icon {
  color: rgba(201,168,76,0.55);
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

.service-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.65rem;
  letter-spacing: 0.01em;
}

.service-desc {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.75;
}

/* === CAPTURE FORM === */
.capture-section {
  padding: 6rem 1.5rem;
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.capture-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

@media (max-width: 860px) {
  .capture-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

.capture-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 1rem;
  text-wrap: balance;
}

.capture-title em {
  font-style: italic;
  color: var(--gold);
}

.capture-sub {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.75;
  max-width: 26rem;
}

.capture-form { width: 100%; }

.portfolio-cta {
  margin-top: 5rem;
  padding-top: 4.5rem;
  border-top: 1px solid var(--border);
}

/* === CARE (соседи / чистота) === */
.care-lead {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 3rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.care-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
}

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

.care-item {
  padding: 2.75rem 2.25rem;
  border-right: 1px solid var(--border);
}

.care-item:last-child { border-right: none; }

@media (max-width: 860px) {
  .care-item { border-right: none; border-bottom: 1px solid var(--border); }
  .care-item:last-child { border-bottom: none; }
}

.care-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text);
  position: relative;
  padding-top: 1.25rem;
  margin-bottom: 0.85rem;
}

.care-title::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--gold);
}

.care-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}

/* === EXCURSION === */
.excursion-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 860px) {
  .excursion-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .excursion-media { order: -1; }
}

.excursion-lead {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.8;
  margin: 1.25rem 0 1.75rem;
  max-width: 32rem;
}

.excursion-points {
  list-style: none;
  padding: 0;
  margin: 0 0 2.25rem;
  display: grid;
  gap: 0.9rem;
}

.excursion-points li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
}

.excursion-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
}

.excursion-media {
  display: flex;
  justify-content: center;
}

.excursion-media img {
  height: 620px;
  width: auto;
  max-width: 100%;
  object-fit: cover;
  filter: brightness(0.83);
  border: 1px solid var(--border);
  display: block;
}

@media (max-width: 860px) {
  .excursion-media img { height: 480px; }
}

/* === FILE UPLOAD === */
.quiz-upload {
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px dashed rgba(201,168,76,0.28);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
}
.quiz-upload:hover {
  border-color: rgba(201,168,76,0.6);
  background: rgba(201,168,76,0.04);
}
.quiz-upload.has-file {
  border-color: rgba(201,168,76,0.55);
  border-style: solid;
}

.quiz-upload-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.quiz-upload-icon {
  color: rgba(201,168,76,0.55);
  flex-shrink: 0;
  transition: color 0.25s;
}
.quiz-upload:hover .quiz-upload-icon,
.quiz-upload.has-file .quiz-upload-icon { color: var(--gold); }

.quiz-upload-title {
  display: block;
  font-size: 0.88rem;
  color: var(--text);
}
.quiz-upload-hint {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.quiz-upload-name {
  font-size: 0.78rem;
  color: var(--gold);
  text-align: left;
  padding: 0 0 0.75rem;
  letter-spacing: 0.02em;
}

/* === BUTTON === */
.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  cursor: pointer;
  border: none;
  transition: background 0.25s, color 0.25s;
  width: 100%;
  text-align: center;
}
.btn-gold:hover { background: var(--text); color: var(--dark); }
.btn-gold:disabled { opacity: 0.45; cursor: not-allowed; }

/* === SUCCESS === */
#quiz-success { padding: 4rem 0; }
.success-icon { font-size: 2.5rem; color: var(--gold); margin-bottom: 1.5rem; }
.success-title { font-family: var(--font-display); font-size: 2.5rem; font-weight: 300; color: var(--text); margin-bottom: 0.75rem; }
.success-text { font-size: 0.9rem; color: var(--muted); }

/* === FOOTER === */
.site-footer {
  padding: 2.5rem 1.5rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy { font-size: 0.78rem; color: var(--muted); }
.footer-phone { font-size: 0.78rem; color: var(--gold); letter-spacing: 0.05em; transition: color 0.2s; }
.footer-phone:hover { color: var(--text); }

/* === MISC === */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; }
::placeholder { color: var(--muted); opacity: 1; }
#form-message { font-size: 0.85rem; margin-top: 1rem; }

/* === HERO RINGS (concentric breathing circles) === */
.hero-rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.07);
  animation: ring-breathe 14s ease-in-out infinite;
}

.ring-1 { width: 200px;  height: 200px;  animation-delay: 0s; }
.ring-2 { width: 420px;  height: 420px;  animation-delay: -2.8s; }
.ring-3 { width: 640px;  height: 640px;  animation-delay: -5.6s; border-color: rgba(201,168,76,0.05); }
.ring-4 { width: 900px;  height: 900px;  animation-delay: -8.4s; border-color: rgba(201,168,76,0.035); }
.ring-5 { width: 1200px; height: 1200px; animation-delay: -11.2s; border-color: rgba(201,168,76,0.02); }

@keyframes ring-breathe {
  0%, 100% { opacity: 0.4; transform: scale(0.975); }
  50%       { opacity: 1;   transform: scale(1.025); }
}

/* === HERO CONTENT STAGGER REVEAL === */
.hero-location { animation: hero-up 1.1s cubic-bezier(0.16,1,0.3,1) both; animation-delay: 0.15s; }
.hero-title    { animation: hero-up 1.1s cubic-bezier(0.16,1,0.3,1) both; animation-delay: 0.35s; }
.hero-sub      { animation: hero-up 1.1s cubic-bezier(0.16,1,0.3,1) both; animation-delay: 0.52s; }
.hero-stats    { animation: hero-up 1.1s cubic-bezier(0.16,1,0.3,1) both; animation-delay: 0.70s; }
.hero-content > .btn-gold { animation: hero-up 1.1s cubic-bezier(0.16,1,0.3,1) both; animation-delay: 0.88s; }

@keyframes hero-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* === PORTFOLIO CORNER BRACKETS (architectural precision hover) === */
.portfolio-item::before,
.portfolio-item::after {
  content: '';
  position: absolute;
  width: 16px; height: 16px;
  border-color: transparent;
  border-style: solid;
  z-index: 3;
  transition: border-color 0.38s ease, opacity 0.38s ease;
  opacity: 0;
}
.portfolio-item::before {
  top: 10px; left: 10px;
  border-width: 1px 0 0 1px;
}
.portfolio-item::after {
  bottom: 10px; right: 10px;
  border-width: 0 1px 1px 0;
}
.portfolio-item:hover::before,
.portfolio-item:hover::after {
  border-color: rgba(201,168,76,0.7);
  opacity: 1;
}

@media (max-width: 640px) {
  .section { padding: 5rem 1.25rem; }
  .hero-stats { display: none; }
  .price-box { padding: 1.75rem 2rem; }
  .advantage-card { padding: 2rem; }
}

/* === HERO GRID OVERLAY === */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(201,168,76,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.028) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 50%, transparent 25%, black 75%);
  mask-image: radial-gradient(ellipse 85% 75% at 50% 50%, transparent 25%, black 75%);
}

/* === HERO COORDINATES === */
.hero-footer {
  position: absolute;
  bottom: 2.5rem;
  left: 0; right: 0;
  padding: 0 2.5rem;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
}

.hero-coord {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.38);
  font-family: var(--font-body);
  animation: hero-up 1.1s cubic-bezier(0.16,1,0.3,1) both;
  animation-delay: 1.1s;
}

@media (max-width: 640px) { .hero-footer { display: none; } }

/* === ADVANTAGE CARDS STAGGER === */
body.js-ready .advantages-grid .advantage-card:nth-child(2) { transition-delay: 80ms; }
body.js-ready .advantages-grid .advantage-card:nth-child(3) { transition-delay: 160ms; }
body.js-ready .advantages-grid .advantage-card:nth-child(4) { transition-delay: 60ms; }
body.js-ready .advantages-grid .advantage-card:nth-child(5) { transition-delay: 140ms; }
body.js-ready .advantages-grid .advantage-card:nth-child(6) { transition-delay: 220ms; }

/* === SERVICE ITEMS STAGGER & HOVER === */
body.js-ready .services-strip .service-item:nth-child(3) { transition-delay: 100ms; }
body.js-ready .services-strip .service-item:nth-child(5) { transition-delay: 200ms; }
body.js-ready .services-strip .service-item:nth-child(7) { transition-delay: 300ms; }

.service-icon { transition: color 0.3s ease, transform 0.35s ease; }
.service-title { transition: color 0.25s ease; }
.service-item:hover .service-icon { color: var(--gold); transform: translateY(-3px); }
.service-item:hover .service-title { color: var(--gold); }

/* === PROCESS TIMELINE DOT === */
.process-item::before {
  content: '';
  position: absolute;
  left: calc(1.1rem - 3px);
  top: 0.55rem;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  z-index: 2;
  box-shadow: 0 0 8px rgba(201,168,76,0.4);
}

/* === FOOTER BRAND === */
.footer-brand {
  text-align: center;
  padding: 4rem 1.5rem 3rem;
  border-bottom: 1px solid var(--border);
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 300;
  color: var(--text);
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
}

.footer-brand-name em {
  color: var(--gold);
  font-style: italic;
}

.footer-brand-tag {
  font-size: 0.62rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--muted);
}

/* === TYPOGRAPHY REFINEMENTS === */
.hero-title, .section-title, .quiz-title, .quiz-question,
.advantage-title, .process-title { text-wrap: balance; }

/* === TOUCH & INTERACTION === */
.btn-gold, .quiz-option, .nav-cta, .portfolio-item, .lightbox-close {
  touch-action: manipulation;
}

/* === SCREEN READER ONLY === */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.modal-box {
  background: var(--surface);
  border: 1px solid var(--border);
  max-width: 480px;
  width: 100%;
  padding: 3rem 2.5rem 2.5rem;
  position: relative;
  transform: translateY(24px);
  transition: transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
}
.modal-overlay.active .modal-box {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--text); }
.modal-label {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.modal-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 300;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.modal-title em { color: var(--gold); font-style: italic; }
.modal-sub {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 2rem;
}
.modal-form { display: flex; flex-direction: column; gap: 1rem; }
.modal-field input {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.875rem 1rem;
  font-size: 0.9rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.modal-field input:focus { border-color: var(--gold); }
.modal-field input.error { border-color: #ef4444; }
.modal-submit { width: 100%; padding: 1rem; font-size: 0.75rem; }
.modal-privacy {
  font-size: 0.7rem;
  color: rgba(160,152,144,0.6);
  text-align: center;
  line-height: 1.5;
}
@media (max-width: 560px) {
  .modal-box { padding: 2.5rem 1.5rem 2rem; }
}
