@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Cormorant+Garamond:wght@300;400;500;600&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
  --burgundy:     #6B1A2A;
  --burgundy-dk:  #4A0F1C;
  --burgundy-lt:  #8B2A3E;
  --gold:         #C9A84C;
  --gold-lt:      #E8C97A;
  --cream:        #F8F4EE;
  --cream-dk:     #EDE6D9;
  --charcoal:     #2C2C2C;
  --mid:          #6A6A6A;
  --white:        #FFFFFF;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.7;
  font-size: 15px;
}

/* ── HEADER ── */
header {
  background: var(--burgundy-dk);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,.4);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  background: var(--burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Placeholder SVG logo if no image */
.logo-svg {
  width: 48px;
  height: 48px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--burgundy);
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--white);
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.logo-sub {
  font-size: 9px;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}

nav { display: flex; align-items: center; gap: 4px; }

nav a {
  color: rgba(255,255,255,.82);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 3px;
  transition: color .2s, background .2s;
  position: relative;
}

nav a:hover, nav a.active {
  color: var(--gold);
  background: rgba(255,255,255,.07);
}

.nav-contacts {
  margin-left: 12px;
  background: var(--gold) !important;
  color: var(--burgundy-dk) !important;
  font-weight: 600 !important;
  padding: 8px 18px !important;
  border-radius: 3px;
}

.nav-contacts:hover {
  background: var(--gold-lt) !important;
  color: var(--burgundy-dk) !important;
}

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--burgundy-dk) 0%, var(--burgundy) 50%, var(--burgundy-lt) 100%);
  position: relative;
  overflow: hidden;
  padding: 100px 32px;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201,168,76,.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(255,255,255,.05) 0%, transparent 50%);
}

.hero::after {
  content: '§';
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Playfair Display', serif;
  font-size: 320px;
  color: rgba(255,255,255,.04);
  line-height: 1;
  user-select: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 62px);
  color: var(--white);
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 24px;
}

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

.hero-desc {
  font-size: 16px;
  color: rgba(255,255,255,.75);
  max-width: 560px;
  margin: 0 auto 40px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--burgundy-dk);
  padding: 14px 36px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  border-radius: 3px;
  transition: background .2s, transform .15s;
  display: inline-block;
}

.btn-primary:hover { background: var(--gold-lt); transform: translateY(-1px); }

.btn-outline {
  border: 1.5px solid rgba(255,255,255,.4);
  color: var(--white);
  padding: 14px 36px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  text-decoration: none;
  border-radius: 3px;
  transition: border-color .2s, background .2s;
  display: inline-block;
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,.08);
}

/* ── DIVIDER ── */
.gold-divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 16px;
}

/* ── SECTION GENERIC ── */
.section {
  padding: 80px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3.5vw, 40px);
  color: var(--burgundy-dk);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.25;
}

.section-intro {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  color: var(--mid);
  max-width: 660px;
  line-height: 1.7;
}

/* ── ABOUT STRIP ── */
.about-strip {
  background: var(--white);
  border-top: 4px solid var(--gold);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-text p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--charcoal);
  margin-bottom: 18px;
  line-height: 1.75;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.stat-box {
  background: var(--cream);
  border-left: 3px solid var(--gold);
  padding: 20px 24px;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  color: var(--burgundy);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--mid);
  text-transform: uppercase;
}

/* ── PRACTICES GRID ── */
.practices-section {
  background: var(--cream-dk);
  padding: 80px 0;
}

.practices-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.practices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.practice-card {
  background: var(--white);
  text-decoration: none;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  transition: transform .25s, box-shadow .25s;
  display: block;
  position: relative;
  border-bottom: 3px solid transparent;
}

.practice-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(107,26,42,.18);
  border-bottom-color: var(--gold);
}

.practice-img {
  height: 180px;
  background: var(--burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  position: relative;
  overflow: hidden;
}

.practice-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--burgundy-dk) 0%, var(--burgundy-lt) 100%);
  opacity: .9;
}

.practice-icon {
  position: relative;
  z-index: 1;
  font-size: 52px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.3));
}

.practice-body {
  padding: 24px;
}

.practice-tag {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 8px;
}

.practice-name {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--burgundy-dk);
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}

.practice-desc {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.6;
}

.practice-arrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--burgundy);
  font-weight: 600;
}

/* ── TEAM ── */
.team-section { background: var(--white); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.team-card {
  text-align: center;
}

.team-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--cream-dk);
  margin: 0 auto 20px;
  border: 3px solid var(--gold);
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.team-photo-placeholder {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-lt) 100%);
  margin: 0 auto 20px;
  border: 3px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  color: rgba(255,255,255,.6);
  font-family: 'Playfair Display', serif;
}

.team-name {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--burgundy-dk);
  font-weight: 600;
  margin-bottom: 6px;
}

.team-role {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
}

.team-bio {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.65;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
}

/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(135deg, var(--burgundy-dk) 0%, var(--burgundy) 100%);
  padding: 72px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '§';
  position: absolute;
  left: 4%;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Playfair Display', serif;
  font-size: 240px;
  color: rgba(255,255,255,.04);
  line-height: 1;
}

.cta-band h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 3vw, 36px);
  color: var(--white);
  margin-bottom: 14px;
  position: relative;
}

.cta-band p {
  color: rgba(255,255,255,.72);
  max-width: 520px;
  margin: 0 auto 32px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  position: relative;
}

/* ── FOOTER ── */
footer {
  background: var(--burgundy-dk);
  color: rgba(255,255,255,.7);
  padding: 60px 32px 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo-title { font-size: 20px; }

.footer-desc {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  color: rgba(255,255,255,.55);
  margin-top: 16px;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
  font-size: 13px;
  transition: color .2s;
}

.footer-col ul li a:hover { color: var(--gold); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 13px;
  color: rgba(255,255,255,.7);
}

.footer-contact-item span.icon { flex-shrink: 0; font-size: 16px; }

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-link {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(201,168,76,.4);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  transition: background .2s, border-color .2s;
}

.social-link:hover {
  background: var(--gold);
  color: var(--burgundy-dk);
  border-color: var(--gold);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,.4);
}

/* ── PRACTICE PAGE HERO ── */
.practice-hero {
  background: linear-gradient(135deg, var(--burgundy-dk) 0%, var(--burgundy) 100%);
  padding: 80px 32px;
  position: relative;
  overflow: hidden;
}

.practice-hero::after {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 220px;
  color: rgba(255,255,255,.05);
  line-height: 1;
}

.practice-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.breadcrumb {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  margin-bottom: 20px;
  letter-spacing: 0.06em;
}

.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-lt); }

.practice-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 4vw, 52px);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.practice-hero-desc {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: rgba(255,255,255,.75);
  max-width: 640px;
  line-height: 1.65;
}

/* ── PRACTICE PAGE CONTENT ── */
.practice-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 32px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  align-items: start;
}

.practice-main h2 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  color: var(--burgundy-dk);
  font-weight: 600;
  margin-bottom: 16px;
  margin-top: 40px;
}

.practice-main h2:first-child { margin-top: 0; }

.practice-main p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--charcoal);
  line-height: 1.8;
  margin-bottom: 18px;
}

.practice-main ul {
  list-style: none;
  margin-bottom: 24px;
}

.practice-main ul li {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  color: var(--charcoal);
  padding: 8px 0 8px 24px;
  border-bottom: 1px solid var(--cream-dk);
  position: relative;
  line-height: 1.6;
}

.practice-main ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 600;
}

/* ── SIDEBAR ── */
.practice-sidebar {
  position: sticky;
  top: 90px;
}

.sidebar-box {
  background: var(--burgundy-dk);
  color: var(--white);
  border-radius: 4px;
  padding: 32px;
  margin-bottom: 24px;
}

.sidebar-box h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 600;
}

.sidebar-box p {
  font-size: 14px;
  color: rgba(255,255,255,.75);
  line-height: 1.65;
  margin-bottom: 16px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
}

.sidebar-phone {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--white);
  margin: 8px 0;
}

.sidebar-box .btn-primary { width: 100%; text-align: center; margin-top: 8px; }

.other-practices h3 {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 16px;
  font-family: 'Montserrat', sans-serif;
}

.other-practices-bg {
  background: var(--white);
  border-left: 3px solid var(--burgundy);
  border-radius: 0 4px 4px 0;
  padding: 20px 24px;
}

.other-practices ul { list-style: none; }

.other-practices ul li { border-bottom: 1px solid var(--cream-dk); }

.other-practices ul li:last-child { border-bottom: none; }

.other-practices ul li a {
  display: block;
  padding: 10px 0;
  color: var(--charcoal);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color .2s, padding-left .2s;
}

.other-practices ul li a:hover {
  color: var(--burgundy);
  padding-left: 6px;
}

/* ── CONTACTS PAGE ── */
.contacts-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 32px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
}

.contact-info-block {
  margin-bottom: 32px;
}

.contact-info-block h3 {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
  font-family: 'Montserrat', sans-serif;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.contact-item .ci-icon {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item .ci-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--charcoal);
  line-height: 1.5;
}

.contact-item .ci-text a {
  color: var(--burgundy);
  text-decoration: none;
  font-weight: 600;
}

.contact-item .ci-text a:hover { color: var(--burgundy-lt); }

.map-container {
  width: 100%;
  height: 420px;
  background: var(--cream-dk);
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid var(--cream-dk);
  position: relative;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cream-dk) 0%, var(--cream) 100%);
  color: var(--mid);
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  gap: 12px;
}

.map-placeholder .map-icon { font-size: 48px; }

.contacts-form {
  background: var(--white);
  border-radius: 4px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
}

.contacts-form h2 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--burgundy-dk);
  margin-bottom: 24px;
  font-weight: 600;
}

.form-group { margin-bottom: 20px; }

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--cream-dk);
  border-radius: 3px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: var(--charcoal);
  background: var(--cream);
  transition: border-color .2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus { border-color: var(--burgundy); background: var(--white); }

.form-group textarea { height: 120px; resize: vertical; }

/* ── SOCIAL ICONS VK / MAX ── */
.soc-vk  { background: #4C75A3; }
.soc-max { background: #FF6600; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .about-grid,
  .practice-content,
  .contacts-layout,
  .footer-inner { grid-template-columns: 1fr; }

  .hero::after { display: none; }

  nav { display: none; }

  .footer-inner { gap: 32px; }
}

@media (max-width: 600px) {
  .practices-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 72px 20px; }
  .section { padding: 56px 20px; }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-inner > * {
  animation: fadeUp .7s ease both;
}

.hero-inner > *:nth-child(1) { animation-delay: .1s; }
.hero-inner > *:nth-child(2) { animation-delay: .25s; }
.hero-inner > *:nth-child(3) { animation-delay: .4s; }
.hero-inner > *:nth-child(4) { animation-delay: .55s; }
