 :root {
    --gold:        #B8860B;
    --gold-light:  #D4A017;
    --gold-pale:   #F5E6C8;
    --gold-dim:    #7A5C00;
    --dark:        #0D0C0A;
    --dark-2:      #141210;
    --dark-3:      #1E1B17;
    --dark-4:      #252118;
    --text:        #E8DCC8;
    --text-muted:  #A89880;
    --white:       #FDFAF5;
    --border:      rgba(184,134,11,0.25);
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body:    'Raleway', sans-serif;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  body {
    background: var(--dark);
    color: var(--text);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    overflow-x: hidden;
  }

  /* ── CONTAINER ──────────────────────────────── */
  .container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
  }
    @media (min-width: 768px) {
       .container {
        padding-left: 40px;
        padding-right: 40px;
       }
    }

  /* ── WP-BLOCK RESETS ────────────────────────── */
  .wp-block-columns {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    flex-direction: column;
  }
  @media (min-width: 768px) {
    .wp-block-columns {
      flex-wrap: nowrap;
      flex-direction: row;
    }
  }
  .wp-block-column { min-width: 0; }
  .wp-block-heading { font-family: var(--font-display); }
  .wp-block-paragraph { font-family: var(--font-body); }

  /* ── GOLD LINE ──────────────────────────────── */
  .gold-line {
    display: inline-block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    margin-bottom: 16px;
    vertical-align: middle;
  }

  /* ══════════════════════════════════════════════
     HEADER
  ══════════════════════════════════════════════ */
  .header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(13,12,10,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0;
  }

  .header-inner {
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    padding-bottom: 18px;
    flex-wrap: nowrap;
    gap: 24px;
  }
  .header-logo {
    display: flex;
    flex-direction: column;
  }
  .header-logo .logo-name {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--gold-light);
    letter-spacing: 0.04em;
    line-height: 1.2;
  }
  .header-logo .logo-title {
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    text-transform: uppercase;
  }

  .header-nav {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
    flex: 0 0 auto;
  }
  .header-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color 0.3s;
  }
  .header-nav a:hover { color: var(--gold-light); }

  .header-cta {
    flex: 0 0 auto;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold-light);
    padding: 10px 24px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    text-decoration: none;
  }
  .header-cta:hover {
    background: var(--gold);
    color: var(--dark);
  }

  /* ══════════════════════════════════════════════
     HERO
  ══════════════════════════════════════════════ */
  .hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 80% 60% at 70% 50%, rgba(184,134,11,0.08) 0%, transparent 70%),
      linear-gradient(160deg, #0D0C0A 40%, #1a1608 100%);
  }

  .hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
      repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(184,134,11,0.04) 80px),
      repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(184,134,11,0.04) 80px);
    pointer-events: none;
  }

  .hero-seal {
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    width: 520px;
    height: 520px;
    border-radius: 50%;
    border: 1px solid rgba(184,134,11,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
  }
  .hero-seal::before {
    content: '';
    position: absolute;
    inset: 20px;
    border-radius: 50%;
    border: 1px solid rgba(184,134,11,0.08);
  }
  .hero-seal::after {
    content: '§';
    font-family: var(--font-display);
    font-size: 14rem;
    color: rgba(184,134,11,0.04);
    line-height: 1;
  }

  .hero-content {
    position: relative;
    z-index: 1;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 80px;
    gap: 60px;
  }

  .hero-text-col { flex: 0 0 55%; }
  .hero-photo-col {
    
    display: flex;
    justify-content: center;
    align-items: flex-end;
  }

  .hero__eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
  }

  .hero__title {
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    font-weight: 300;
    line-height: 1.12;
    color: var(--white);
    margin-bottom: 10px;
  }
  .hero__title em {
    font-style: italic;
    color: var(--gold-light);
  }

  .hero__name {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 600;
    color: var(--gold-light);
    letter-spacing: 0.06em;
    margin-bottom: 30px;
    display: block;
  }

  .hero__desc {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 460px;
    line-height: 1.85;
    margin-bottom: 40px;
  }

  .hero__stats {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
  }
  .hero__stat-num {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--gold-light);
    display: block;
    line-height: 1;
  }
  .hero__stat-label {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
  }

  .hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

  .btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dim));
    color: var(--dark);
    padding: 14px 36px;
    font-family: var(--font-body);
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: opacity 0.3s, transform 0.2s;
  }
  .btn-primary:hover { opacity: 0.9; transform: translateY(-2px); }

  .btn-outline {
    background: transparent;
    color: var(--gold-light);
    border: 1px solid var(--gold);
    padding: 14px 36px;
    font-family: var(--font-body);
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s, color 0.3s;
  }
  .btn-outline:hover { background: var(--gold); color: var(--dark); }

  .hero-photo-frame {
    position: relative;
    width: 340px;
    max-width: 100%;
  }
  .hero-photo-frame::before {
    content: '';
    position: absolute;
    top: -12px; left: -12px;
    right: 12px; bottom: 12px;
    border: 1px solid var(--gold);
    pointer-events: none;
    z-index: 1;
  }
  .hero-photo-frame::after {
    content: '';
    position: absolute;
    bottom: -12px; right: -12px;
    left: 12px; top: 12px;
    background: rgba(184,134,11,0.08);
    z-index: -1;
  }
  .hero-photo-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(160deg, var(--dark-3) 0%, var(--dark-4) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
  }
  .hero-photo-placeholder::before {
    content: '§';
    font-family: var(--font-display);
    font-size: 8rem;
    color: rgba(184,134,11,0.08);
    position: absolute;
  }
  .hero-photo-placeholder svg {
    width: 80px;
    height: 80px;
    fill: none;
    stroke: rgba(184,134,11,0.3);
    stroke-width: 1;
    position: relative;
    z-index: 1;
  }
  .hero-photo-placeholder span {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-dim);
    position: relative;
    z-index: 1;
  }

  /* ══════════════════════════════════════════════
     PRACTICE AREAS
  ══════════════════════════════════════════════ */
  .areas {
    background: var(--dark-2);
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
  }
  .areas::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
  }

  .label {
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
  }

  .title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    color: var(--white);
    margin-bottom: 14px;
    line-height: 1.2;
  }
  .title em {
    font-style: italic;
    color: var(--gold-light);
  }

  .intro {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 540px;
    line-height: 1.85;
    margin-bottom: 60px;
  }

  .areas-grid {
    gap: 1px;
    background: var(--border);
  }

  .area-card {
    background: var(--dark-3);
    padding: 44px 36px;
    position: relative;
    overflow: hidden;
    transition: background 0.4s;
    cursor: default;
    flex: 1 1 220px;
  }
  .area-card:hover { background: var(--dark-4); }
  .area-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
  }
  .area-card:hover::after { transform: scaleX(1); }

  .area-icon {
    font-family: var(--font-display);
    font-size: 2.8rem;
    color: rgba(184,134,11,0.25);
    line-height: 1;
    margin-bottom: 20px;
    display: block;
    transition: color 0.4s;
  }
  .area-card:hover .area-icon { color: rgba(184,134,11,0.5); }

  .area-title {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 14px;
    transition: color 0.3s;
  }
  .area-card:hover .area-title { color: var(--gold-light); }

  .area-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.75;
  }

  /* ══════════════════════════════════════════════
     ABOUT
  ══════════════════════════════════════════════ */
  .about {
    padding-top: 110px;
    padding-bottom: 110px;
    background: var(--dark);
    position: relative;
    overflow: hidden;
  }
  .about-bg-text {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-display);
    font-size: 22rem;
    font-weight: 700;
    color: rgba(184,134,11,0.03);
    line-height: 1;
    pointer-events: none;
    user-select: none;
  }

  .about-layout {
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
  }

  .about-photo-col { flex: 0 0 42%; }
  .about-text-col { flex: 1; }

  .about-photo-wrap {
    position: relative;
    padding: 20px;
  }
  .about-photo-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid var(--border);
  }
  .about-photo-inner {
    aspect-ratio: 4/5;
    background: linear-gradient(160deg, var(--dark-3), var(--dark-4));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }
  .about-photo-inner::before {
    content: 'В.П.';
    font-family: var(--font-display);
    font-size: 7rem;
    font-weight: 600;
    color: rgba(184,134,11,0.07);
    position: absolute;
  }
  .about-photo-inner svg {
    width: 90px;
    height: 90px;
    fill: none;
    stroke: rgba(184,134,11,0.2);
    stroke-width: 0.8;
    position: relative;
    z-index: 1;
  }
  .about-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: var(--gold);
    color: var(--dark);
    padding: 20px 24px;
    text-align: center;
    min-width: 130px;
  }
  .about-badge-num {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    display: block;
    line-height: 1;
  }
  .about-badge-text {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 4px;
    display: block;
  }

  .about__name {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 400;
    color: var(--white);
    margin-bottom: 6px;
  }
  .about__title {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 28px;
  }
  .about__bio {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 20px;
  }

  .about-credentials {
    margin-top: 36px;
    padding-top: 36px;
    border-top: 1px solid var(--border);
  }
  .credentials-list { gap: 0; flex-direction: column; }
  .credential-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(184,134,11,0.08);
  }
  .credential-icon {
    color: var(--gold);
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
  }
  .credential-text {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
  }
  .credential-text strong { color: var(--text); font-weight: 500; }

  /* ══════════════════════════════════════════════
     CASES
  ══════════════════════════════════════════════ */
  .cases {
    background: var(--dark-2);
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
  }
  .cases::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
  }

  .cases-header { margin-bottom: 60px; }

  .cases-grid {
    gap: 24px;
    flex-wrap: wrap;
  }

  .case-card {
    background: var(--dark-3);
    border: 1px solid var(--border);
    padding: 36px 32px;
    flex: 1 1 300px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s;
  }
  .case-card:hover { border-color: var(--gold); }
  .case-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px; height: 100%;
    background: linear-gradient(180deg, var(--gold), transparent);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s ease;
  }
  .case-card:hover::before { transform: scaleY(1); }

  .case-tag {
    display: inline-block;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid var(--gold-dim);
    padding: 4px 12px;
    margin-bottom: 20px;
  }

  .case-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.4;
  }

  .case-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 20px;
  }

  .case-result {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: var(--gold-light);
  }
  .case-result::before {
    content: '✓';
    width: 20px;
    height: 20px;
    background: rgba(184,134,11,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
  }

  /* ══════════════════════════════════════════════
     TESTIMONIALS
  ══════════════════════════════════════════════ */
  .reviews {
    background: var(--dark);
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
  }

  .reviews-header { margin-bottom: 60px; }

  .reviews-grid {
    gap: 24px;
    flex-wrap: wrap;
  }

  .review-card {
    background: var(--dark-3);
    border: 1px solid var(--border);
    padding: 40px 36px;
    flex: 1 1 300px;
    position: relative;
  }
  .review-quote {
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--gold-dim);
    line-height: 0.5;
    margin-bottom: 20px;
    display: block;
    opacity: 0.5;
  }
  .review-text {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.85;
    font-style: italic;
    margin-bottom: 28px;
  }
  .review-stars {
    color: var(--gold);
    font-size: 0.85rem;
    letter-spacing: 3px;
    margin-bottom: 16px;
    display: block;
  }
  .review-author {
    font-size: 0.88rem;
    color: var(--text);
    font-weight: 500;
  }
  .review-meta {
    font-size: 0.75rem;
    color: var(--gold-dim);
    margin-top: 4px;
  }

  /* ══════════════════════════════════════════════
     CONTACTS
  ══════════════════════════════════════════════ */
  .contacts {
    background: var(--dark-2);
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
  }
  .contacts::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
  }

  .contacts-layout {
    gap: 80px;
    align-items: flex-start;
  }
  .contacts-info-col { flex: 0 0 40%; }
  .contacts-form-col { flex: 1; }

  .contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
    align-items: flex-start;
  }
  .contact-item-icon {
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1rem;
    flex-shrink: 0;
  }
  .contact-item-label {
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-dim);
    margin-bottom: 4px;
  }
  .contact-item-value {
    font-size: 0.95rem;
    color: var(--text);
    text-decoration: none;
    display: block;
    transition: color 0.3s;
  }
  a.contact-item-value:hover { color: var(--gold-light); }

  /* Form */
  .contact-form { display: flex; flex-direction: column; gap: 16px; }

  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

  .form-field label {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-dim);
    margin-bottom: 8px;
  }
  .form-field input,
  .form-field textarea,
  .form-field select {
    width: 100%;
    background: var(--dark-3);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s;
    -webkit-appearance: none;
  }
  .form-field input::placeholder,
  .form-field textarea::placeholder { color: rgba(168,152,128,0.4); }
  .form-field input:focus,
  .form-field textarea:focus,
  .form-field select:focus { border-color: var(--gold); }
  .form-field textarea { resize: vertical; min-height: 120px; }

  .form-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.7;
  }

  /* ══════════════════════════════════════════════
     FOOTER
  ══════════════════════════════════════════════ */
  .site-footer {
    background: var(--dark);
    border-top: 1px solid var(--border);
    padding-top: 60px;
    padding-bottom: 30px;
  }

  .footer-top {
    gap: 60px;
    flex-wrap: wrap;
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid var(--border);
  }

  .footer-brand { flex: 0 0 300px; }
  .footer-logo-name {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gold-light);
    display: block;
    margin-bottom: 6px;
  }
  .footer-logo-tagline {
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 20px;
    display: block;
  }
  .footer-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.8;
  }

  .footer-col { flex: 1 1 160px; }
  .footer-col-title {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    display: block;
  }
  .footer-col ul { list-style: none; }
  .footer-col ul li { margin-bottom: 10px; }
  .footer-col ul li a {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
  }
  .footer-col ul li a:hover { color: var(--gold-light); }

  .footer-bottom {
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
  }
  .footer-copy {
    font-size: 0.78rem;
    color: rgba(168,152,128,0.5);
  }
  .footer-disclaimer {
    font-size: 0.75rem;
    color: rgba(168,152,128,0.4);
    text-align: right;
    max-width: 400px;
  }

  /* ══════════════════════════════════════════════
     UTILITIES
  ══════════════════════════════════════════════ */
  .text-gold { color: var(--gold-light); }
  .mt-0 { margin-top: 0; }

  @media (max-width: 767.99px) {

    .hero-content { flex-direction: column; padding-top: 100px; padding-bottom: 60px; }
    .hero-text-col, .hero-photo-col { flex: 1 1 100%; }
    .hero-photo-col { display: none; }
    .about-layout { flex-direction: column; gap: 40px; }
    .about-photo-col, .about-text-col { flex: 1 1 100%; }
    .about-badge { right: 10px; }
    .contacts-layout { flex-direction: column; gap: 50px; }
    .contacts-info-col, .contacts-form-col { flex: 1 1 100%; }
    .form-row { grid-template-columns: 1fr; }
    .header-nav { display: none; }
    .areas-grid { flex-direction: column; }
    .hero-seal { display: none; }
  }

  /* Scroll animations */
  .fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .fade-up.visible {
    opacity: 1;
    transform: translateY(0);
  }