/* ============================================================
   Alina Preston — Bilingual Real Estate Landing (EN / RU)
   Pure CSS, mobile-first, no frameworks.
   Fonts: Lora (display, Cyrillic) + Manrope (UI/body, Cyrillic)
   ============================================================ */

:root {
  color-scheme: dark;
  /* Mauve Noir — espresso background, rose-gold pink accents */
  --bg: #191316;            /* page background */
  --tint: #1F1519;          /* alternating section background */
  --surface: #22191D;       /* cards, lead form, lifted panels */
  --surface-2: #2C2126;     /* form inputs, hover, higher elevation */
  --text: #F2E9E6;          /* primary text AND headings */
  --muted: #BCA7A2;         /* secondary text */
  --accent: #E6A6A0;        /* soft pink: eyebrows, links, icons */
  --accent-strong: #E58C93; /* CTA button fills */
  --accent-hover: #DC7C83;  /* CTA hover */
  --on-accent: #191316;     /* dark text placed ON pink fills */
  --line: #382C30;          /* hairlines / borders */
  --footer-bg: #140F12;     /* footer, slightly darker than page */
  --danger: #F17E85;
  --ok: #8FCBA8;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, .35);
  --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, .55);
  --font-display: "Lora", "Georgia", serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --wrap: 1120px;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  padding-bottom: 72px; /* room for sticky mobile bar */
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.18;
  margin: 0 0 .5em;
  color: var(--text);
  text-wrap: balance;
}

h1 { font-size: clamp(1.9rem, 5.4vw, 3.1rem); letter-spacing: -.015em; }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.15rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 700; }

p { margin: 0 0 1em; }
a { color: var(--accent); }

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

.wrap {
  width: min(var(--wrap), 100% - 2.5rem);
  margin-inline: auto;
}

.section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section-tint {
  background: var(--tint);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.kicker {
  display: inline-block;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}

.section-head { max-width: 640px; margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .12s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent-strong);
  color: var(--on-accent);
}
.btn-primary:hover { background: var(--accent-hover); }

.btn-gold {
  background: var(--accent-strong);
  color: var(--on-accent);
}
.btn-gold:hover { background: var(--accent-hover); }

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover { background: var(--accent-strong); border-color: var(--accent-strong); color: var(--on-accent); }

.btn-light {
  background: var(--text);
  color: var(--on-accent);
}
.btn-light:hover { background: #fff; }

.btn-lg { padding: 1rem 2rem; font-size: 1.06rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(25, 19, 22, .88);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  color: var(--text);
  margin-right: auto;
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--accent-strong);
  color: var(--on-accent);
}
.brand-mark svg { width: 22px; height: 22px; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.15;
}
.brand-sub {
  display: block;
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav { display: none; }

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  font-size: .8rem;
  font-weight: 800;
  flex: none;
}
.lang-switch a, .lang-switch span {
  padding: .38rem .7rem;
  text-decoration: none;
  color: var(--muted);
}
.lang-switch .active {
  background: var(--accent-strong);
  color: var(--on-accent);
}

.header-cta { display: none; }

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .site-nav {
    display: flex;
    gap: 1.4rem;
    margin-right: .5rem;
  }
  .site-nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: .93rem;
  }
  .site-nav a:hover { color: var(--accent); }
  .header-cta { display: inline-flex; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(230, 166, 160, .06), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(230, 166, 160, .06), transparent 55%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  gap: 2.25rem;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.75rem, 6vw, 4.5rem);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .4rem .95rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(143, 203, 168, .18);
}

.hero-agent {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: 1.2rem;
}
.hero-agent picture { display: contents; }
.hero-agent img {
  width: 96px;
  height: 96px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 20%;
  border: 3px solid var(--surface-2);
  box-shadow: var(--shadow);
}
.hero-agent-meta {
  margin: 0;
  line-height: 1.35;
  font-weight: 800;
  font-size: 1.05rem;
}
.hero-agent-meta span {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--muted);
}

.hero-copy .lead {
  font-size: clamp(1.02rem, 2.2vw, 1.16rem);
  color: var(--muted);
  max-width: 34em;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 1.8rem;
  display: grid;
  gap: .55rem;
}
.hero-points li {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  font-weight: 600;
  font-size: .97rem;
}
.hero-points svg {
  width: 20px; height: 20px;
  flex: none;
  margin-top: 2px;
  color: var(--accent);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: .5rem;
}

.hero-note {
  font-size: .85rem;
  color: var(--muted);
}

@media (min-width: 980px) {
  .hero-inner {
    grid-template-columns: 1.08fr .92fr;
    gap: 3.5rem;
    align-items: center;
  }
}

/* ---------- Lead form card ---------- */

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.4rem, 3.5vw, 2rem);
  scroll-margin-top: 90px;
}

.form-card h2, .form-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin-bottom: .3rem;
}

.form-card .form-sub {
  color: var(--muted);
  font-size: .93rem;
  margin-bottom: 1.25rem;
}

.field { margin-bottom: .95rem; }

.field label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: .3rem;
  color: var(--text);
}
.field .req { color: var(--danger); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .78rem .9rem;
  border: 1px solid #4A3A40;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 88px; }

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 3px rgba(229, 140, 147, .25);
}

.field-row {
  display: grid;
  gap: .95rem;
}
@media (min-width: 560px) {
  .field-row { grid-template-columns: 1fr 1fr; }
}

.form-privacy {
  font-size: .78rem;
  color: var(--muted);
  margin: .8rem 0 0;
  text-align: center;
}

/* Intent radio pills */
.pill-field {
  border: 0;
  padding: 0;
  margin: 0 0 .95rem;
  min-width: 0;
}
.pill-field legend {
  padding: 0;
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: .4rem;
  color: var(--text);
}
.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.pill { position: relative; }
.pill input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.pill span {
  display: inline-block;
  padding: .55rem 1.05rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  font-size: .88rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.pill:hover span {
  border-color: var(--accent-strong);
  background: rgba(229, 140, 147, .14);
  color: var(--accent);
}
.pill input:checked + span {
  background: rgba(229, 140, 147, .14);
  border-color: var(--accent-strong);
  color: var(--accent);
}
.pill input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(229, 140, 147, .25);
}

/* ---------- Trust strip ---------- */

.trust-strip {
  background: var(--footer-bg);
  color: var(--text);
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}
.trust-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 2rem;
  justify-content: center;
  align-items: center;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
}
.trust-item svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

/* ---------- Services ---------- */

.cards-grid {
  display: grid;
  gap: 1.1rem;
}
@media (min-width: 640px) { .cards-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cards-grid { grid-template-columns: repeat(4, 1fr); } }

.svc-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  box-shadow: var(--shadow);
}
.svc-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(229, 140, 147, .14);
  color: var(--accent);
  margin-bottom: .7rem;
}
.svc-icon svg { width: 24px; height: 24px; }
.svc-card p { color: var(--muted); font-size: .93rem; flex: 1; }
.svc-card .svc-link {
  font-weight: 700;
  font-size: .92rem;
  text-decoration: none;
  color: var(--accent);
}
.svc-card .svc-link:hover { color: var(--accent-strong); }

/* ---------- Areas ---------- */

.areas-grid {
  display: grid;
  gap: .8rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 720px) { .areas-grid { grid-template-columns: repeat(4, 1fr); } }

.area-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .95rem 1.05rem;
}
.area-card strong {
  display: block;
  font-size: .98rem;
}
.area-card span {
  font-size: .8rem;
  color: var(--muted);
}

.areas-note {
  margin-top: 1.25rem;
  font-size: .92rem;
  color: var(--muted);
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}
.about-photo { max-width: 420px; }
.about-photo picture { display: contents; }
.about-photo img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 880px) {
  .about-grid {
    grid-template-columns: .8fr 1.2fr;
    gap: 3rem;
  }
}

.about-body { max-width: 780px; }

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1.1rem 0 1.4rem;
}
.badge {
  background: rgba(229, 140, 147, .14);
  color: var(--accent);
  border: 1px solid rgba(229, 140, 147, .25);
  font-size: .8rem;
  font-weight: 700;
  border-radius: 999px;
  padding: .32rem .85rem;
}

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 800px;
  display: grid;
  gap: .75rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 1.25rem;
  font-weight: 700;
  font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--accent);
  transition: transform .2s ease, background .2s ease;
}
.faq-item[open] summary::after {
  content: "−";
  background: var(--accent-strong);
  color: var(--on-accent);
  border-color: var(--accent-strong);
}
.faq-item .faq-a {
  padding: 0 1.25rem 1.2rem;
  color: var(--muted);
  font-size: .96rem;
}
.faq-item .faq-a p:last-child { margin-bottom: 0; }

/* ---------- Final CTA ---------- */

.cta-band {
  background:
    radial-gradient(900px 420px at -10% 120%, rgba(230, 166, 160, .06), transparent 55%),
    #2A1A1E;
  color: var(--text);
  text-align: center;
  padding: clamp(3rem, 8vw, 5rem) 0;
}
.cta-band h2 { color: var(--text); font-size: clamp(1.7rem, 4.5vw, 2.5rem); }
.cta-band p {
  color: var(--muted);
  max-width: 34em;
  margin: 0 auto 1.75rem;
  font-size: 1.05rem;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  justify-content: center;
}
.cta-tel {
  display: block;
  margin-top: 1.3rem;
  color: var(--muted);
  font-size: .95rem;
}
.cta-tel a { color: var(--accent); font-weight: 800; text-decoration: none; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--footer-bg);
  color: var(--muted);
  font-size: .85rem;
  padding: 2.75rem 0 2.25rem;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 780px) {
  .footer-grid { grid-template-columns: 1.4fr .6fr; }
}
.site-footer h3 {
  color: var(--text);
  font-size: .95rem;
  margin-bottom: .7rem;
}
.site-footer a { color: var(--accent); }
.site-footer a:hover { color: var(--text); }
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .45rem;
}

.footer-legal {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  display: grid;
  gap: 1rem;
}
.eho {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
}
.eho svg { width: 34px; height: 34px; flex: none; color: var(--muted); }
.footer-legal p { margin: 0; line-height: 1.55; font-size: .8rem; }

/* ---------- Sticky mobile bar ---------- */

.sticky-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
  padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(20, 15, 18, .94);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .3s ease;
}
.sticky-bar.visible { transform: translateY(0); }
.sticky-bar .btn { padding: .78rem .5rem; font-size: .93rem; }
.sticky-bar .btn-outline { background: var(--surface); }

@media (min-width: 900px) {
  .sticky-bar { display: none; }
}

/* ---------- Utility / a11y ---------- */

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

::selection { background: rgba(229, 140, 147, .30); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
