/* ============================================================
   Arina Kniazeva — Alpha Key Real Estate
   Art direction: MODERN / BOLD — oversized type, full-bleed
   imagery, a gold statement block, numbered rows, high contrast.
   Light base + .dark / .gold section modifiers (same tokens).
   ============================================================ */

:root {
  --ink:        #1e1b16;
  --forest:     #0c0a08;
  --black:      #0d0b09;
  --brass:      #c9a12e;   /* yellow-gold */
  --brass-600:  #9c7c1e;   /* deeper gold (labels on light) */
  --gold-soft:  #ecd45c;
  --cream:      #f6f1e7;   /* warm ivory (light sections) */
  --sand:       #eee5d3;
  --white:      #ffffff;
  --muted:      #5c584f;
  --line:       #e6ddc9;

  --radius:     14px;
  --shadow:     0 26px 60px -30px rgba(17,17,17,.28);
  --shadow-lg:  0 40px 90px -40px rgba(0,0,0,.55);

  --font-head:  "Fraunces", Georgia, serif;
  --font-body:  "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --maxw:       1200px;
}

/* Dark band */
.dark {
  --ink:#f2ecdf; --brass:#dcc04a; --brass-600:#d9c157;
  --cream:#131110; --sand:#1b1813; --white:#211d17;
  --muted:#a79e8d; --line:#332c22;
  --shadow: 0 30px 70px -34px rgba(0,0,0,.8);
  background: var(--cream); color: var(--ink);
}
/* Gold statement band */
.gold {
  --ink:#171308; --muted:#4c4020; --line:rgba(0,0,0,.16);
  color:#171308;
  background: linear-gradient(135deg, #e6c657 0%, #cda638 55%, #b8912c 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,h2,h3 { font-family: var(--font-head); font-weight: 500; line-height: 1.02; margin: 0; letter-spacing: -.02em; }
p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px, 5vw, 56px); }

/* kicker / eyebrow */
.kicker {
  display: inline-flex; align-items: center; gap: .7em;
  font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--brass-600); margin: 0 0 1.2rem;
}
.kicker::before { content: ""; width: 34px; height: 2px; background: currentColor; display: inline-block; }
.lead { font-size: 1.14rem; color: var(--muted); max-width: 46ch; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-body); font-weight: 700; font-size: .82rem;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 1.05em 1.9em; border-radius: 2px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .18s ease, background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: .7em 1.2em; font-size: .74rem; }
.btn-gold { background: var(--brass); color: #16130a; }
.btn-gold:hover { background: var(--gold-soft); }
.btn-outline { background: transparent; color: var(--ink); border-color: currentColor; }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-block { width: 100%; }

/* ---------------- Nav ---------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(19,17,16,.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-inner { display: flex; align-items: center; gap: 1.5rem; height: 84px; }
.nav-logo img { height: 50px; width: auto; }
.nav-links { display: flex; gap: 2rem; margin-left: auto; }
.nav-links a {
  font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink); position: relative; padding: .3em 0; opacity: .85;
}
.nav-links a::after { content:""; position:absolute; left:0; bottom:-3px; width:0; height:2px; background: var(--brass); transition: width .25s; }
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 1rem; }

.lang-toggle {
  display: inline-flex; align-items: center; gap: .3em;
  background: transparent; border: 1px solid rgba(255,255,255,.22); border-radius: 2px;
  padding: .5em .7em; font-family: var(--font-body); font-weight: 700; font-size: .72rem;
  letter-spacing: .08em; color: var(--muted); cursor: pointer; transition: border-color .2s;
}
.lang-toggle:hover { border-color: var(--brass); }
.lang-opt.active { color: var(--brass); }
.lang-sep { opacity: .4; }

.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-burger span { width: 26px; height: 2px; background: var(--ink); transition: transform .25s, opacity .2s; }
.nav-burger[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ---------------- Hero ---------------- */
.hero { position: relative; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch;
  min-height: calc(100vh - 84px);
}
.hero-text { align-self: center; padding: clamp(2rem,6vw,5rem) clamp(2rem,5vw,4.5rem) clamp(2rem,6vw,5rem) 0; }
.hero-title {
  font-size: clamp(2.9rem, 7.5vw, 6rem);
  line-height: .96; margin: 0 0 1.4rem; font-weight: 500;
}
.hero-title .em { font-style: italic; color: var(--brass); }
.hero-lead { margin-bottom: 2.2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hero-photo::after { /* gold seam on the inner edge */
  content:""; position:absolute; top:0; bottom:0; left:0; width:4px; background: var(--brass);
}
.hero-tag {
  position: absolute; left: 10px; bottom: 1.8rem;
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: .68rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--brass);
  opacity: .7;
}

/* ---------------- Stats (gold block) ---------------- */
.stats { }
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding-block: clamp(2.4rem, 5vw, 3.4rem);
}
.stat { text-align: center; padding-inline: 1rem; border-left: 1px solid rgba(0,0,0,.16); }
.stat:first-child { border-left: none; }
.stat-num { display: block; font-family: var(--font-head); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 500; line-height: 1; }
.stat-label { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .72; }

/* ---------------- Section basics ---------------- */
.section { padding-block: clamp(4.5rem, 9vw, 8rem); }
.section-title { font-size: clamp(2rem, 4.6vw, 3.4rem); max-width: 18ch; }
.section-title + p { margin-top: 1.3rem; }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

/* ---------------- Services (bold numbered rows) ---------------- */
.svc-list { border-top: 1px solid var(--line); }
.svc {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(1rem,4vw,3rem);
  padding: clamp(1.6rem, 3.5vw, 2.6rem) 0; border-bottom: 1px solid var(--line);
  transition: padding-left .3s ease;
}
.svc:hover { padding-left: 1.2rem; }
.svc-num { font-family: var(--font-head); font-size: clamp(1.6rem,3vw,2.4rem); color: var(--brass); font-weight: 500; }
.svc-body h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: .4rem; }
.svc-body p { color: var(--muted); margin: 0; max-width: 60ch; }
.svc-arrow { font-size: 1.6rem; color: var(--brass); opacity: 0; transform: translateX(-8px); transition: .3s; }
.svc:hover .svc-arrow { opacity: 1; transform: none; }

/* ---------------- Process (how it works) ---------------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.4rem, 2.6vw, 2.4rem); }
.step { border-top: 2px solid var(--brass); padding-top: 1.3rem; }
.step-num { font-family: var(--font-head); font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--brass); font-weight: 500; display: block; line-height: 1; }
.step h3 { font-size: 1.2rem; margin: .7rem 0 .5rem; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Inline stat figures inside About */
.about-stats { display: flex; flex-wrap: wrap; gap: 1.6rem 2.6rem; margin-top: 2.2rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.about-stats .fig b { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.6rem, 2.4vw, 2rem); color: var(--brass-600); display: block; line-height: 1; }
.about-stats .fig span { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* ---------------- About (full-bleed split, light) ---------------- */
.section-about { overflow: hidden; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; min-height: 620px; }
.about-photo { position: relative; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.about-text { align-self: center; padding: clamp(2.5rem,6vw,5rem) clamp(20px,5vw,56px); }
.container-narrow { max-width: 540px; }
.about-text h2 { margin-bottom: 1.4rem; }
.about-text p { color: var(--muted); }
.pillars { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 1.8rem; }
.pillars li { position: relative; padding-left: 1.5rem; }
.pillars li::before { content:""; position:absolute; left:0; top:.45em; width:9px; height:9px; background: var(--brass); }
.pillars strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; }
.pillars span { font-size: .92rem; color: var(--muted); }

/* ---------------- Listings (dark CTA band) ---------------- */
.listings { text-align: center; }
.listings-inner { max-width: 900px; margin-inline: auto; }
.listings-title {
  font-size: clamp(2.1rem, 5vw, 4.2rem); line-height: 1.04; margin: 0 0 1.6rem;
  color: var(--ink);
}
.listings .lead { margin: 0 auto 2.2rem; text-align: center; }
.listings-cta { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ---------------- Testimonials (dark, big quotes) ---------------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem,3vw,2.4rem); }
.quote { position: relative; padding-top: 2.6rem; }
.quote::before { content: "\201C"; position: absolute; top: -.4rem; left: -.2rem; font-family: var(--font-head); font-size: 5rem; line-height: 1; color: var(--brass); opacity: .55; }
.quote p { font-size: 1.12rem; font-family: var(--font-head); font-weight: 500; line-height: 1.4; }
.quote footer { color: var(--brass); font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.quote .stars { color: var(--brass); letter-spacing: 3px; font-size: 1rem; margin-bottom: .7rem; }
.quote .q-src { color: var(--muted); font-weight: 500; letter-spacing: 0; text-transform: none; }
.quote .q-src a { border-bottom: 1px solid var(--brass); }
.quote .q-src a:hover { color: var(--brass); }

/* ---------------- Contact (light) ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem,5vw,4.5rem); align-items: start; }
.contact-info { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.2rem; }
.contact-info li { display: flex; flex-direction: column; gap: .15rem; }
.ci-label { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-600); }
.contact-info a, .contact-info li > span:last-child { font-size: 1.1rem; }
.contact-info a:hover { color: var(--brass-600); }

.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem,3vw,2.4rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; display: flex; flex-direction: column; gap: .4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; padding: .85em .95em;
  border: 1.5px solid var(--line); border-radius: 6px; background: var(--cream); color: var(--ink);
  transition: border-color .18s, background .18s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brass); background: var(--white); }
.field input::placeholder, .field textarea::placeholder { color: #9a9384; }
.field textarea { resize: vertical; }
.form-note { margin: 1rem 0 0; font-size: .9rem; color: var(--brass-600); background: rgba(201,161,46,.12); border: 1px solid rgba(201,161,46,.3); border-radius: 6px; padding: .8em 1em; }
.form-note--error { color: #8a1f1f; background: #f7e4e1; border-color: rgba(180,80,70,.3); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ---------------- Footer ---------------- */
.footer { padding-block: clamp(3rem,6vw,4.5rem); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; align-items: center; }
.footer-word { font-family: var(--font-head); font-size: clamp(2rem,5vw,3.4rem); font-weight: 500; letter-spacing: -.02em; }
.footer-word span { color: var(--brass); }
.footer-links { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.footer-links a { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .8; transition: opacity .2s, color .2s; }
.footer-links a:hover { opacity: 1; color: var(--brass); }
.footer-legal { margin: 2.4rem 0 0; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .8rem; opacity: .6; display: flex; gap: .5rem; flex-wrap: wrap; }

/* ---------------- Reveal ---------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------------- Responsive ---------------- */
@media (max-width: 960px) {
  .nav-links {
    position: fixed; inset: 84px 0 auto 0; flex-direction: column; gap: 0;
    background: rgba(19,17,16,.98); padding: .5rem clamp(20px,5vw,56px) 1.4rem;
    transform: translateY(-130%); transition: transform .3s ease; box-shadow: var(--shadow-lg);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 1em 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-links a::after { display: none; }
  .nav-burger { display: flex; }

  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-text { padding: clamp(2.5rem,8vw,4rem) 0; order: 2; }
  .hero-photo { order: 1; height: 60vh; min-height: 380px; }
  .hero-photo::after { left: 0; right: 0; bottom: auto; top: 0; width: auto; height: 4px; }
  .hero-tag { display: none; }

  .about-grid { grid-template-columns: 1fr; min-height: 0; }
  .about-photo { height: 60vh; min-height: 360px; }
  .about-text { padding: clamp(2.5rem,8vw,3.5rem) 0 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 2.2rem 2rem; }
}
@media (max-width: 620px) {
  .process-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; gap: 2rem 0; }
  .stat:nth-child(-n+2) { border-bottom: 0; }
  .stat:nth-child(odd) { border-left: none; }
  .stat:nth-child(even) { border-left: 1px solid rgba(0,0,0,.16); }
  .quotes { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .svc { grid-template-columns: auto 1fr; }
  .svc-arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .svc:hover { transform: none; padding-left: 0; }
}
