/* ============================================================
   Dr. Evdokimova — shared design system
   Cool pearl stone + wine accent (Bordeaux), not cream/terracotta
   ============================================================ */

:root {
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Outfit", "Avenir Next", "Century Gothic", sans-serif;

  --pearl: #F2F1EF;
  --pearl-deep: #E6E5E1;
  --mist: #DCE1DE;
  --ink: #1A1A18;
  --ink-mid: #4A4744;
  --ink-soft: #7A7570;
  --wine: #6E3A45;
  --wine-soft: #8B5560;
  --wine-pale: #E8D6D9;
  --sage: #7A8B7E;
  --surface: #FAFAF8;
  --white: #FFFFFF;

  /* Legacy aliases so existing page markup keeps working */
  --cream: var(--pearl-deep);
  --warm-white: var(--surface);
  --blush-light: var(--wine-pale);
  --blush: #C9A8AE;
  --blush-mid: var(--wine-soft);
  --blush-deep: var(--wine);
  --sage-light: var(--mist);
  --charcoal: var(--ink);
  --charcoal-mid: var(--ink-mid);
  --charcoal-light: var(--ink-soft);
  --gold: var(--wine);
  --gold-light: var(--wine-soft);
  --gold-pale: var(--wine-pale);

  --section-v: clamp(3.5rem, 8vw, 7rem);
  --section-h: clamp(1.25rem, 5vw, 5rem);
  --nav-h: 108px;
  --max-w: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(220, 225, 222, 0.55), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(232, 214, 217, 0.35), transparent 50%),
    var(--surface);
  color: var(--ink);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font: inherit; }
ul { list-style: none; }

/* ---- Nav ---- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 var(--section-h);
  background: rgba(250, 250, 248, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(110, 58, 69, 0.12);
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: 88px;
  max-width: 340px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2.25rem);
}

.nav-links a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mid);
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.nav-links a:hover,
.nav-links a.nav-active {
  color: var(--wine);
  border-bottom-color: var(--wine);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.7rem 1.35rem;
  border: 1px solid var(--wine);
  color: var(--wine);
  background: transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--wine);
  color: var(--white);
}

.nav-cta-current,
.nav-cta.nav-cta-current {
  background: var(--wine);
  color: var(--white);
}

.nav-cta-mobile-li { display: none; }
.nav-cta-mobile { display: none; }

.page-body { padding-top: var(--nav-h); }

/* ---- Type ---- */
.label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wine);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.25rem;
}

.label::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--wine);
  flex-shrink: 0;
}

.display-xl {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 5.25rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.display-lg {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
}

.display-md {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.65rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
}

em.italic {
  font-style: italic;
  color: var(--wine);
  font-weight: 400;
}

.body-text {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--ink-mid);
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-style: italic;
  color: var(--ink-mid);
  line-height: 1.4;
  margin-top: 1rem;
}

.divider {
  width: 40px;
  height: 1px;
  background: var(--wine-soft);
  margin: 1.5rem 0;
  border: 0;
}

/* ---- Buttons ---- */
.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.95rem 1.75rem;
  background: var(--ink);
  color: var(--white);
  border: none;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn-dark:hover { background: var(--wine); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.9rem 1.65rem;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--white);
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mid);
  background: none;
  border: none;
  transition: color 0.2s var(--ease);
}

.btn-text::after {
  content: "→";
  font-size: 14px;
  transition: transform 0.2s var(--ease);
}

.btn-text:hover { color: var(--wine); }
.btn-text:hover::after { transform: translateX(4px); }

.mt-md { margin-top: 2rem; }
.mt-lg { margin-top: 3rem; }
.mb-md { margin-bottom: 2rem; }

/* ---- Sections ---- */
.section {
  padding: var(--section-v) var(--section-h);
}

.section-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: var(--section-v) var(--section-h);
}

.page-hero {
  background:
    linear-gradient(160deg, var(--pearl) 0%, var(--pearl-deep) 55%, var(--mist) 100%);
  padding: clamp(3rem, 8vw, 5.5rem) var(--section-h) clamp(2.5rem, 6vw, 4.5rem);
  border-bottom: 1px solid rgba(110, 58, 69, 0.1);
}

/* ---- Home hero (full-bleed) ---- */
.home-hero {
  position: relative;
  min-height: calc(100svh - var(--nav-h));
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #0a0909;
}

.home-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.home-hero-media img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  width: clamp(420px, 58vw, 900px);
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 55% 12%;
  opacity: 1;
  filter: saturate(1.06) contrast(1.05) brightness(1.02);
  animation: heroReveal 1.1s var(--ease) both;
}

.home-hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 45% 60% at 78% 40%, rgba(110, 58, 69, 0.16), transparent 70%);
  mix-blend-mode: soft-light;
}

.home-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      #0a0909 0%,
      #0a0909 28%,
      rgba(10, 9, 9, 0.72) 42%,
      rgba(10, 9, 9, 0.2) 58%,
      transparent 72%
    ),
    linear-gradient(
      to top,
      rgba(8, 7, 7, 0.45) 0%,
      transparent 35%
    );
}

.home-hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(2.5rem, 7vw, 5.5rem) var(--section-h);
  max-width: min(34rem, 46vw);
  color: var(--white);
  animation: riseIn 0.9s var(--ease) 0.2s both;
}

.home-hero .label {
  color: var(--wine-pale);
}

.home-hero .label::before {
  background: var(--wine-pale);
}

.brand-hero {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.home-hero .brand-hero {
  color: var(--white);
}

.home-hero .display-xl {
  color: var(--white);
}

.home-hero .display-xl em.italic {
  color: #E8D0D4;
}

.home-hero .hero-subtitle {
  color: rgba(250, 250, 248, 0.78);
  max-width: 28rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
}

.home-hero .btn-dark {
  background: var(--white);
  color: var(--ink);
}

.home-hero .btn-dark:hover {
  background: var(--wine-pale);
  color: var(--wine);
}

.home-hero .btn-text {
  color: rgba(250, 250, 248, 0.8);
}

.home-hero .btn-text:hover {
  color: var(--white);
}

/* Keep legacy columns if present, restyled */
.home-hero-left,
.home-hero-right { display: contents; }

/* ---- About visual ---- */
.about-visual {
  position: relative;
  min-height: 420px;
  height: clamp(320px, 50vw, 560px);
}

.about-img-main {
  position: absolute;
  left: 0;
  top: 0;
  width: 78%;
  height: 86%;
  overflow: hidden;
  background: var(--mist);
}

.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.about-img-accent {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48%;
  height: 52%;
  overflow: hidden;
  outline: 6px solid var(--surface);
  z-index: 1;
}

.about-img-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-vertical-label {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  background: var(--ink);
  color: var(--pearl);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1.1rem 0.65rem;
  z-index: 2;
}

.credentials {
  margin-top: 2rem;
  border-top: 1px solid rgba(110, 58, 69, 0.15);
}

.credential-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(110, 58, 69, 0.12);
  font-size: 0.9rem;
  color: var(--ink-mid);
}

.cred-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--wine);
  flex-shrink: 0;
  margin-top: 0.45em;
}

/* ---- Services ---- */
.home-services {
  background: var(--pearl);
  padding: var(--section-v) var(--section-h);
}

.services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(110, 58, 69, 0.18);
}

.service-card {
  display: block;
  padding: clamp(1.75rem, 3vw, 2.75rem) clamp(1.25rem, 2.5vw, 2rem);
  border-right: 1px solid rgba(110, 58, 69, 0.12);
  background: transparent;
  transition: background 0.3s var(--ease);
}

.service-card:last-child { border-right: 0; }

.service-card:hover { background: rgba(255, 255, 255, 0.55); }

.service-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: rgba(110, 58, 69, 0.18);
  line-height: 1;
  margin-bottom: 1rem;
}

.service-icon { display: none; }

.service-name {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  color: var(--ink);
  margin-bottom: 0.85rem;
  line-height: 1.2;
}

.service-desc {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--ink-mid);
  margin-bottom: 1.5rem;
}

/* ---- Quote ---- */
.quote-block {
  background: var(--ink);
  padding: clamp(3rem, 7vw, 5.5rem) var(--section-h);
  text-align: left;
  position: relative;
  overflow: hidden;
}

.quote-block::before { display: none; }

.quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 2.25rem);
  font-style: italic;
  color: var(--pearl);
  max-width: 40rem;
  line-height: 1.4;
  margin-bottom: 1.25rem;
}

.quote-author {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wine-pale);
}

/* ---- CTA band ---- */
.cta-band {
  background: var(--pearl-deep);
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--section-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-band-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-phone-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 4px;
}

.cta-phone-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
}

.cta-center {
  background: var(--pearl);
  padding: clamp(3rem, 6vw, 4.5rem) var(--section-h);
  text-align: center;
}

.cta-center .label { justify-content: center; }

/* ---- Treatment strip (replaces marquee) ---- */
.treatment-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.5rem;
  justify-content: center;
  padding: 1.15rem var(--section-h);
  background: var(--ink);
  color: rgba(242, 241, 239, 0.72);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.treatment-strip span + span::before {
  content: "·";
  margin-right: 1.5rem;
  color: var(--wine-soft);
}

/* legacy marquee → calm strip */
.marquee-strip {
  background: var(--ink);
  padding: 1.15rem var(--section-h);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  justify-content: center;
  width: 100%;
  animation: none;
}

.marquee-item {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(242, 241, 239, 0.7);
  white-space: nowrap;
  padding: 0;
}

.marquee-item::after { display: none; }

/* ---- Forms ---- */
.form-field { margin-bottom: 1.5rem; }

.form-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mid);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid rgba(110, 58, 69, 0.35);
  background: transparent;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}

.form-input:focus { border-bottom-color: var(--wine); }
.form-input::placeholder { color: var(--ink-soft); }
textarea.form-input { resize: vertical; min-height: 100px; }

/* ---- Images ---- */
.img-box {
  position: relative;
  overflow: hidden;
  background: var(--mist);
}

.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-box-pattern { position: absolute; inset: 0; overflow: hidden; }

/* ---- Footer ---- */
.site-footer {
  background: var(--ink);
  padding: clamp(2.5rem, 5vw, 4rem) var(--section-h) 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(242, 241, 239, 0.1);
}

.footer-logo { margin-bottom: 1rem; }

.footer-brand-logo {
  display: block;
  width: clamp(130px, 16vw, 170px);
  height: auto;
  opacity: 0.92;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(242, 241, 239, 0.45);
  line-height: 1.7;
  max-width: 260px;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(242, 241, 239, 0.38);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links a {
  font-size: 13px;
  color: rgba(242, 241, 239, 0.58);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--wine-pale); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding-top: 1.5rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 11px;
  color: rgba(242, 241, 239, 0.32);
  letter-spacing: 0.04em;
}

.footer-credit {
  font-size: 11px;
  color: rgba(242, 241, 239, 0.32);
  letter-spacing: 0.04em;
}

.footer-credit-name {
  color: rgba(242, 241, 239, 0.55);
  transition: color 0.2s var(--ease);
}

a.footer-credit:hover .footer-credit-name {
  color: var(--wine-pale);
}

/* ---- Motion ---- */
@keyframes heroReveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@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;
  }
}

/* ---- Focus ---- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 3px;
}
