/* ==========================================================================
   Meskhishvili & Partners — Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Georgian:wght@400;500;600;700;800&family=Noto+Sans+Georgian:wght@300;400;500;600;700&display=swap');

:root{
  --black:      #14120f;
  --black-2:    #1e1b16;
  --gold:       #b6903c;
  --gold-light: #d9b978;
  --gold-dark:  #8c6a26;
  --cream:      #faf6ee;
  --cream-2:    #f0e8d6;
  --cream-3:    #e8ddc2;
  --ink:        #201d18;
  --ink-muted:  #6f6656;
  --white:      #ffffff;

  --font-display: 'Noto Serif Georgian', 'Playfair Display', serif;
  --font-body:    'Noto Sans Georgian', 'Inter', sans-serif;

  --radius-s:  10px;
  --radius-m:  20px;
  --radius-l:  32px;
  --radius-arch: 999px 999px 20px 20px;

  --shadow-soft: 0 20px 45px -20px rgba(20, 18, 15, .25);
  --shadow-card: 0 10px 30px -12px rgba(20, 18, 15, .18);

  --container: 1240px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: opacity .18s ease;
}
body.lang-fade{ opacity: .35; }

img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family: inherit; cursor:pointer; }
h1,h2,h3,h4{ font-family: var(--font-display); margin:0; line-height:1.15; font-weight:700; }
p{ margin:0; }

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color: var(--gold-dark);
  font-weight:600;
  margin-bottom:14px;
}
.eyebrow::before{
  content:"";
  width:22px; height:1px;
  background: var(--gold);
}

.section{ padding: 110px 0; }
.section--tight{ padding: 70px 0; }
.section--dark{ background: var(--black); color: var(--cream); }
.section--alt{ background: var(--cream-2); }

.section-head{
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size: clamp(30px, 4vw, 44px); }
.section-head p{ margin-top:16px; color: var(--ink-muted); font-size:17px; line-height:1.7; }
.section--dark .section-head p{ color: #cfc7b6; }

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-weight:600;
  font-size:15px;
  border: 1px solid transparent;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
  white-space: nowrap;
}
.btn-primary{
  background: var(--black);
  color: var(--cream);
}
.btn-primary:hover{ background: var(--gold-dark); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn-ghost{
  background: transparent;
  color: var(--ink);
  border-color: rgba(32,29,24,.2);
}
.btn-ghost:hover{ border-color: var(--ink); transform: translateY(-2px); }
.btn-gold{
  background: var(--gold);
  color: var(--black);
}
.btn-gold:hover{ background: var(--gold-dark); color: var(--white); transform: translateY(-2px); }
.btn-sm{ padding: 10px 18px; font-size: 13px; }
.btn svg{ width:16px; height:16px; transition: transform .25s ease; }
.btn:hover svg{ transform: translate(3px,-3px); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header{
  position: sticky;
  top:0;
  z-index: 100;
  background: rgba(250,246,238,.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(32,29,24,.08);
  transition: box-shadow .3s ease;
}
.site-header.is-scrolled{ box-shadow: 0 8px 30px -18px rgba(20,18,15,.35); }
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 18px 32px;
  max-width: var(--container);
  margin: 0 auto;
  gap: 18px;
}
.brand{ display:flex; flex-direction:column; gap:2px; }
.brand-mark{
  font-family: var(--font-display);
  font-size: 20px;
  font-weight:700;
  letter-spacing:.01em;
  color: var(--ink);
  white-space:nowrap;
}
.brand-mark span{ color: var(--gold); }
.brand-tag{
  font-size: 10.5px;
  letter-spacing:.03em;
  text-transform:uppercase;
  color: var(--ink-muted);
}

.main-nav{ display:flex; align-items:center; gap:20px; flex-shrink:0; }
.main-nav a{
  font-size:13.5px;
  font-weight:500;
  color: var(--ink);
  position:relative;
  padding: 6px 2px;
  white-space:nowrap;
}
.main-nav a::after{
  content:"";
  position:absolute; left:0; right:100%; bottom:0;
  height:2px; background: var(--gold);
  transition: right .25s ease;
}
.main-nav a:hover::after{ right:0; }

.header-actions{ display:flex; align-items:center; gap:12px; }

.lang-toggle{
  position: relative;
  display:flex;
  align-items:center;
  background: var(--cream-3);
  border-radius: 999px;
  padding: 4px;
  width: 100px;
  height: 38px;
  flex-shrink:0;
}
.lang-thumb{
  position:absolute;
  top:4px; left:4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background: var(--black);
  border-radius: 999px;
  transition: transform .32s cubic-bezier(.65,0,.35,1);
  z-index:1;
}
.lang-toggle button{
  position:relative;
  z-index:2;
  flex:1;
  border:none;
  background:transparent;
  height:100%;
  font-size:12.5px;
  font-weight:700;
  letter-spacing:.04em;
  color: var(--ink-muted);
  transition: color .3s ease;
  border-radius: 999px;
}
.lang-toggle button.is-active{ color: var(--cream); }

.menu-toggle{
  display:none;
  width:42px; height:42px;
  border-radius:50%;
  border:1px solid rgba(32,29,24,.15);
  background:transparent;
  align-items:center;
  justify-content:center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after{
  content:""; display:block; width:18px; height:2px; background:var(--ink); position:relative; transition:.25s;
}
.menu-toggle span::before{ position:absolute; top:-6px; }
.menu-toggle span::after{ position:absolute; top:6px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{ position:relative; padding: 90px 0 60px; overflow:hidden; }
.hero-decor{
  position:absolute; inset:0; z-index:0; pointer-events:none;
}
.hero-decor svg{ position:absolute; opacity:.5; }
.hero-grid{
  position:relative; z-index:1;
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items:center;
}
.hero-title{
  font-size: clamp(38px, 4.6vw, 60px);
  letter-spacing:-.01em;
}
.hero-title .accent{ color: var(--gold-dark); }
.hero-title .muted{ color: var(--ink-muted); }
.hero-sub{
  margin-top:22px;
  font-size:17px;
  line-height:1.75;
  color: var(--ink-muted);
  max-width: 480px;
}
.hero-cta{ display:flex; align-items:center; gap:22px; margin-top:36px; flex-wrap:wrap; }
.hero-link{ font-weight:600; font-size:15px; border-bottom:1.5px solid var(--gold); padding-bottom:2px; }

.hero-socials{ display:flex; gap:10px; margin-top:48px; }
.hero-socials a{
  width:40px; height:40px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background: var(--white);
  border: 1px solid rgba(32,29,24,.1);
  transition: .25s;
}
.hero-socials a:hover{ background: var(--black); color: var(--cream); transform: translateY(-3px); }
.hero-socials svg{ width:16px; height:16px; }

.hero-visual{ position:relative; }
.hero-blob{
  position:relative;
  border-radius: 50% 50% 46% 54% / 54% 46% 54% 46%;
  background: var(--cream);
  aspect-ratio: 1/1;
  display:flex; align-items:center; justify-content:center;
  box-shadow: inset 0 0 0 1px rgba(182,144,60,.25);
  perspective: 1200px;
}
.hero-blob svg{ width:62%; height:62%; }
.hero-blob .logo-mark{
  width: 58%;
  height: auto;
  filter:
    drop-shadow(0 30px 40px rgba(20,18,15,.22))
    drop-shadow(0 10px 16px rgba(182,144,60,.28));
  transform: rotateY(-10deg) rotateX(5deg) translateY(0);
  transform-style: preserve-3d;
  animation: heroLogoFloat 6s ease-in-out infinite;
  transition: transform .6s cubic-bezier(.25,.8,.35,1);
  will-change: transform;
}
.hero-blob:hover .logo-mark{
  transform: rotateY(0deg) rotateX(0deg) translateY(-10px);
}
@keyframes heroLogoFloat{
  0%, 100%{ transform: rotateY(-10deg) rotateX(5deg) translateY(0); }
  50%{ transform: rotateY(-10deg) rotateX(5deg) translateY(-16px); }
}
@media (prefers-reduced-motion: reduce){
  .hero-blob .logo-mark{ animation: none; }
}

.hero-floaters{ position:absolute; inset:0; pointer-events:none; }
.hero-stat-card{
  position:absolute;
  background: var(--white);
  border-radius: var(--radius-m);
  padding: 16px 18px;
  box-shadow: var(--shadow-card);
  display:flex; align-items:center; gap:12px;
  max-width: 230px;
}
.hero-stat-card.top{ top:0; right:-4%; }
.hero-stat-card.bottom{ bottom:4%; left:-8%; }
.hero-stat-card .icon{
  width:40px; height:40px; border-radius:50%;
  background: var(--cream-2);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.hero-stat-card .icon svg{ width:20px; height:20px; color: var(--gold-dark); }
.hero-stat-card .num{ font-family: var(--font-display); font-weight:700; font-size:19px; color: var(--ink); }
.hero-stat-card .label{ font-size:12px; color: var(--ink-muted); }

/* ==========================================================================
   Trust bar
   ========================================================================== */
.trust-bar{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 46px 0;
  border-top: 1px solid rgba(32,29,24,.1);
  border-bottom: 1px solid rgba(32,29,24,.1);
}
.trust-item{ text-align:center; padding: 0 12px; }
.trust-item .num{
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight:700;
  color: var(--gold-dark);
}
.trust-item .label{ margin-top:6px; font-size:13.5px; color: var(--ink-muted); }

/* ==========================================================================
   About
   ========================================================================== */
.about-grid{
  display:grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 70px;
  align-items:center;
}
.about-media{
  position:relative;
  border-radius: var(--radius-l);
  overflow:hidden;
  aspect-ratio: 1/1;
  background: var(--cream);
  box-shadow: inset 0 0 0 1px rgba(182,144,60,.25);
  display:flex; align-items:center; justify-content:center;
  padding: 60px;
}
.about-media svg{ width:46%; opacity:.9; }
.about-media::after{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(circle at 50% 50%, rgba(182,144,60,.16), transparent 65%);
  pointer-events:none;
}
.about-logo{
  position:relative;
  z-index:1;
  width: 82%;
  max-width: 420px;
  height:auto;
  filter: drop-shadow(0 24px 34px rgba(20,18,15,.18));
}
.about-list{ margin-top:28px; display:flex; flex-direction:column; gap:18px; }
.about-list li{ display:flex; gap:14px; align-items:flex-start; }
.about-list .check{
  width:26px; height:26px; border-radius:50%;
  background: var(--gold); color:var(--black);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0; margin-top:2px;
}
.about-list .check svg{ width:14px; height:14px; }
.about-list-text b{ display:block; font-weight:600; margin-bottom:2px; }
.about-list-text span{ color: var(--ink-muted); font-size:14.5px; line-height:1.6; }

/* ==========================================================================
   Practice Areas
   ========================================================================== */
.services-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items:end;
}
.service-card{
  position:relative;
  background: linear-gradient(165deg, var(--cream-3), var(--cream-2));
  border-radius: 130px 130px 20px 20px;
  padding: 84px 22px 26px;
  min-height: 300px;
  display:flex; flex-direction:column;
  overflow:hidden;
  box-shadow: inset 0 0 0 1px rgba(182,144,60,.18);
  transition: transform .3s ease, box-shadow .3s ease;
}
.service-card:nth-child(4n+1), .service-card:nth-child(4n+3){ min-height: 360px; }
.service-card::before{
  content:"";
  position:absolute; left:22px; right:22px; bottom:60px; height:16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16'%3E%3Cpath d='M0 8 Q 12 0 24 8 T 48 8 T 72 8 T 96 8 T 120 8 T 144 8 T 168 8 T 192 8 T 216 8' stroke='%23b6903c' stroke-width='1.4' fill='none' opacity='0.45'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-size:100% 100%;
  pointer-events:none;
}
.service-card:hover{ transform: translateY(-8px); box-shadow: inset 0 0 0 1px rgba(182,144,60,.35), var(--shadow-card); }
.service-icon{
  position:absolute; top:24px; right:24px;
  width:48px; height:48px; border-radius:50%;
  background: var(--white);
  display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow-card);
}
.service-icon svg{ width:22px; height:22px; color: var(--gold-dark); }
.service-card h3{ font-size:18px; margin-bottom:10px; padding-right:56px; }
.service-card p{ color: var(--ink-muted); font-size:13.5px; line-height:1.6; margin-bottom:0; }
.service-more{
  position:relative; z-index:1;
  display:inline-flex; align-items:center; gap:10px;
  font-weight:600; font-size:13.5px; color: var(--ink);
  margin-top:auto; padding-top:18px;
}
.service-more .circle{
  width:32px; height:32px; border-radius:50%; flex-shrink:0;
  background: var(--black); color: var(--cream);
  display:flex; align-items:center; justify-content:center;
  transition: transform .3s ease, background .3s ease;
}
.service-more svg{ width:13px; height:13px; }
.service-card:hover .service-more .circle{ background: var(--gold-dark); transform: rotate(45deg); }

.practice-more-note{
  margin-top: 44px;
  text-align: center;
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.7;
}
.practice-more-note a{
  color: var(--gold-dark);
  font-weight: 600;
  border-bottom: 1.5px solid var(--gold);
}

/* ==========================================================================
   Team
   ========================================================================== */
.team-grid{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.team-card{
  background: var(--white);
  border-radius: var(--radius-l);
  overflow:hidden;
  box-shadow: var(--shadow-card);
  transition: transform .3s ease, box-shadow .3s ease;
  display:flex; flex-direction:column;
}
.team-card:hover{ transform: translateY(-8px); box-shadow: var(--shadow-soft); }
.team-photo{
  position:relative;
  aspect-ratio: 3/3.6;
  background: var(--cream-2);
  overflow:hidden;
}
.team-photo img{ width:100%; height:100%; object-fit:cover; object-position: top center; }
.team-photo .avatar-fallback{
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-display);
  font-size: 40px; font-weight:700; color: var(--gold-dark);
  background: linear-gradient(160deg, var(--cream-3), var(--cream-2));
}
.team-body{ padding: 22px 22px 26px; display:flex; flex-direction:column; gap:6px; flex:1; }
.team-body h3{ font-size:18.5px; }
.team-role{ color: var(--gold-dark); font-size:13px; font-weight:600; letter-spacing:.02em; }
.team-blurb{ color: var(--ink-muted); font-size:13.5px; line-height:1.6; margin-top:4px; flex:1; }
.team-more{
  margin-top:16px;
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(32,29,24,.15);
  font-size:13.5px; font-weight:600;
  transition: .25s;
}
.team-more:hover{ background: var(--black); color: var(--cream); border-color: var(--black); }
.team-more svg{ width:14px; height:14px; }

/* ==========================================================================
   Partners marquee
   ========================================================================== */
.partners-marquee{
  position:relative;
  overflow:hidden;
  padding: 34px 0 10px;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.partners-track{
  display:flex;
  align-items:center;
  width: max-content;
  animation: partnersScroll 34s linear infinite;
}
.partners-marquee:hover .partners-track{ animation-play-state: paused; }
.partner-logo{
  flex-shrink:0;
  width:180px; height:100px;
  margin: 0 18px;
  background: var(--white);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-card);
  display:flex; align-items:center; justify-content:center;
  padding: 16px 22px;
}
.partner-logo img{
  max-width:100%; max-height:100%;
  width:auto; height:auto;
  object-fit:contain;
  filter: grayscale(100%);
  opacity:.65;
  transition: filter .3s ease, opacity .3s ease, transform .3s ease;
}
.partner-logo:hover img{
  filter:grayscale(0%);
  opacity:1;
  transform: scale(1.06);
}
@keyframes partnersScroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce){
  .partners-track{ animation: none; }
}
.partners-more{
  text-align:center;
  margin-top: 30px;
}
.partners-more .btn svg{ width:14px; height:14px; }

/* ==========================================================================
   Stats CTA strip
   ========================================================================== */
.cta-strip{
  border-radius: var(--radius-l);
  background: var(--black);
  color: var(--cream);
  padding: 56px 60px;
  display:flex; align-items:center; justify-content:space-between;
  gap: 30px;
  flex-wrap:wrap;
  position:relative;
  overflow:hidden;
}
.cta-strip::before{
  content:"";
  position:absolute; top:-40%; right:-6%;
  width:340px; height:340px; border-radius:50%;
  background: radial-gradient(circle, rgba(182,144,60,.35), transparent 70%);
}
.cta-strip h3{ font-size: clamp(24px,3vw,32px); max-width:480px; position:relative; z-index:1; }
.cta-strip-actions{ display:flex; gap:16px; position:relative; z-index:1; flex-wrap:wrap; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid{
  display:grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 60px;
}
.contact-info{
  position:relative;
  overflow:hidden;
  display:flex; flex-direction:column; gap:32px;
  background: linear-gradient(165deg, var(--black), var(--black-2));
  border-radius: var(--radius-l);
  padding: 46px 40px;
  color: var(--cream);
  box-shadow: var(--shadow-soft);
}
.contact-info-top, .contact-items, .contact-socials{ position:relative; z-index:1; }
.contact-brand{ font-size:22px; color: var(--cream); }
.contact-brand span{ color: var(--gold); }
.contact-info-lede{ margin-top:14px; color:#cfc7b6; font-size:14.5px; line-height:1.7; max-width:340px; }
.contact-items{ display:flex; flex-direction:column; gap:0; border-top:1px solid rgba(255,255,255,.1); }
.contact-item{
  display:flex; gap:16px; align-items:flex-start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.contact-item > div{ min-width:0; flex:1; }
.contact-item .icon{
  width:42px; height:42px; border-radius:50%;
  background: rgba(182,144,60,.16);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.contact-item .icon svg{ width:19px; height:19px; color: var(--gold-light); }
.contact-item b{ display:block; font-size:13px; font-weight:600; letter-spacing:.03em; text-transform:uppercase; color: var(--gold-light); margin-bottom:5px; }
.contact-item span{ color: #e8e2d3; font-size:14.5px; line-height:1.6; overflow-wrap:anywhere; }
.contact-item a{ transition: color .2s ease; }
.contact-item a:hover{ color: var(--gold-light); }
.contact-socials{ display:flex; gap:10px; margin-top:auto; }
.contact-socials a{
  width:38px; height:38px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  border: 1px solid rgba(255,255,255,.18);
  color: var(--cream);
  transition: .25s ease;
}
.contact-socials a:hover{ background: var(--gold); border-color: var(--gold); color: var(--black); }
.contact-socials svg{ width:15px; height:15px; }

.contact-form{
  background: var(--white);
  border-radius: var(--radius-l);
  padding: 40px;
  box-shadow: var(--shadow-card);
}
.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap:18px; margin-bottom:18px; }
.field{ display:flex; flex-direction:column; gap:8px; margin-bottom:18px; }
.field label{ font-size:13px; font-weight:600; color: var(--ink-muted); }
.field input, .field textarea{
  border: 1px solid rgba(32,29,24,.15);
  border-radius: var(--radius-s);
  padding: 13px 16px;
  font-family: inherit;
  font-size:14.5px;
  background: var(--cream);
  transition: border-color .25s ease;
}
.field input:focus, .field textarea:focus{ outline:none; border-color: var(--gold); }
.field textarea{ resize:vertical; min-height:120px; }
.field-check{ display:flex; align-items:center; gap:10px; margin-bottom:22px; font-size:13.5px; color: var(--ink-muted); }
.field-check input{ width:16px; height:16px; accent-color: var(--gold-dark); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{ background: var(--black); color: #cfc7b6; padding: 70px 0 28px; }
.footer-top{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .brand-mark{ color: var(--cream); }
.footer-brand p{ margin-top:16px; font-size:14px; line-height:1.7; color: #a89f8c; max-width: 300px; }
.footer-col h4{ color: var(--cream); font-family: var(--font-body); font-size:14.5px; font-weight:700; margin-bottom:18px; letter-spacing:.03em; text-transform:uppercase; }
.footer-col ul{ display:flex; flex-direction:column; gap:12px; }
.footer-col a{ font-size:14px; color:#a89f8c; transition:.2s; }
.footer-col a:hover{ color: var(--gold-light); }
.footer-social{ display:flex; gap:10px; margin-top:6px; }
.footer-social a{
  width:36px; height:36px; border-radius:50%; border:1px solid rgba(255,255,255,.15);
  display:flex; align-items:center; justify-content:center; transition:.25s;
}
.footer-social a:hover{ background: var(--gold); border-color: var(--gold); color: var(--black); }
.footer-social svg{ width:15px; height:15px; }
.footer-bottom{
  display:flex; align-items:center; justify-content:space-between;
  padding-top: 26px; font-size:13px; color:#8b8371; flex-wrap:wrap; gap:12px;
}

/* ==========================================================================
   Inner pages (lawyer / practice-area)
   ========================================================================== */
.page-hero{
  padding: 60px 0 50px;
  background: var(--cream-2);
  position:relative;
  overflow:hidden;
}
.breadcrumb{ display:flex; align-items:center; gap:8px; font-size:13.5px; color: var(--ink-muted); margin-bottom:22px; }
.breadcrumb a{ color: var(--ink-muted); }
.breadcrumb a:hover{ color: var(--gold-dark); }
.breadcrumb .sep{ opacity:.5; }
.breadcrumb .current{ color: var(--ink); font-weight:600; }

.lawyer-hero{ display:grid; grid-template-columns: 300px 1fr; gap: 46px; align-items:center; }
.lawyer-photo{
  width:100%; aspect-ratio: 3/3.7; border-radius: var(--radius-l);
  overflow:hidden; box-shadow: var(--shadow-soft); position:relative; background: var(--cream-3);
}
.lawyer-photo img{ width:100%; height:100%; object-fit:cover; object-position: top center; }
.lawyer-photo .avatar-fallback{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  font-family: var(--font-display); font-size:64px; font-weight:700; color: var(--gold-dark);
}
.lawyer-name{ font-size: clamp(30px, 4vw, 44px); }
.lawyer-role{ margin-top:10px; color: var(--gold-dark); font-weight:600; font-size:16px; }
.lawyer-langs{ display:flex; gap:10px; margin-top:22px; flex-wrap:wrap; }
.tag-pill{
  padding: 8px 16px; border-radius: 999px; background: var(--white);
  font-size:13px; font-weight:600; border: 1px solid rgba(32,29,24,.1);
}

.lawyer-bio{ padding: 70px 0 100px; }
.bio-grid{
  display:grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 60px;
  align-items:start;
}
.bio-content{ max-width: 720px; }
.bio-content p{ color: var(--ink-muted); font-size:16.5px; line-height:1.9; margin-bottom:22px; }
.bio-content p:first-child{
  position:relative;
  font-size:21px;
  line-height:1.6;
  color: var(--ink);
  font-weight:500;
  font-style:italic;
  padding-left:28px;
  border-left:3px solid var(--gold);
  margin-bottom:32px;
}

.lawyer-side{
  background: var(--white);
  border-radius: var(--radius-l);
  padding: 34px;
  box-shadow: var(--shadow-card);
  position:sticky; top:110px;
  display:flex; flex-direction:column; gap:30px;
}
.lawyer-side h4{
  font-family: var(--font-body);
  font-size:13px; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  color: var(--ink-muted); margin-bottom:18px;
}
.credential-list{ display:flex; flex-direction:column; gap:16px; }
.credential-item{ display:flex; gap:12px; align-items:flex-start; }
.credential-item .icon{
  width:32px; height:32px; border-radius:50%; background: var(--cream-2);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.credential-item .icon svg{ width:16px; height:16px; color: var(--gold-dark); }
.credential-item span{ font-size:14px; color: var(--ink); line-height:1.55; padding-top:6px; }
.lawyer-side hr{ border:none; border-top:1px solid rgba(32,29,24,.08); margin:0; }
.related-areas{ display:flex; flex-wrap:wrap; gap:8px; }
.related-areas a.tag-pill{ transition: .2s ease; }
.related-areas a.tag-pill:hover{ background: var(--black); color: var(--cream); border-color: var(--black); }

@media (max-width: 1080px){
  .bio-grid{ grid-template-columns:1fr; }
  .lawyer-side{ position:static; }
}

.partners-directory-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.partner-card{
  position:relative;
  background: var(--white);
  border-radius: var(--radius-l);
  padding: 30px 28px;
  box-shadow: var(--shadow-card);
  transition: transform .3s ease, box-shadow .3s ease;
}
.partner-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.partner-index{
  display:flex; align-items:center; justify-content:center;
  width:42px; height:42px;
  border-radius:50%;
  background: var(--cream-2);
  color: var(--gold-dark);
  font-family: var(--font-display);
  font-weight:700;
  font-size:15px;
  margin-bottom:18px;
}
.partner-card h3{
  font-size:17px;
  line-height:1.5;
  font-weight:600;
}
@media (max-width: 1080px){
  .partners-directory-grid{ grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 620px){
  .partners-directory-grid{ grid-template-columns: 1fr; }
}

.area-hero{ display:flex; flex-direction:column; gap:18px; max-width: 760px; }
.area-icon-lg{
  width:76px; height:76px; border-radius:22px; background: var(--white);
  display:flex; align-items:center; justify-content:center; box-shadow: var(--shadow-card);
}
.area-icon-lg svg{ width:38px; height:38px; color: var(--gold-dark); }
.area-title{ font-size: clamp(30px, 4vw, 46px); }
.area-lede{ font-size:17.5px; color: var(--ink-muted); line-height:1.8; }

.area-body{ padding: 70px 0 100px; }
.area-content{ display:grid; grid-template-columns: 1.3fr .9fr; gap:60px; }
.area-content p{ color: var(--ink-muted); font-size:16px; line-height:1.85; margin-bottom:22px; }
.area-list{ display:flex; flex-direction:column; gap:16px; margin-top:8px; }
.area-list li{ display:flex; gap:14px; align-items:flex-start; }
.area-list .check{
  width:24px; height:24px; border-radius:50%; background: var(--gold); color:var(--black);
  display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-top:2px;
}
.area-list .check svg{ width:12px; height:12px; }
.area-list span{ font-size:15px; color: var(--ink); line-height:1.6; }
.area-side{
  background: var(--white); border-radius: var(--radius-l); padding: 34px;
  box-shadow: var(--shadow-card); align-self:start; position:sticky; top:110px;
}
.area-side h4{ font-size:19px; margin-bottom:14px; }
.area-side p{ color: var(--ink-muted); font-size:14.5px; line-height:1.7; margin-bottom:22px; }

/* ==========================================================================
   Utilities & responsive
   ========================================================================== */
.back-link{ display:inline-flex; align-items:center; gap:8px; font-weight:600; font-size:14px; }
.back-link svg{ width:15px; height:15px; }

@media (max-width: 1080px){
  .about-grid{ grid-template-columns:1fr; }
  .about-media{ max-width:420px; aspect-ratio: 16/10; }
  .services-grid{ grid-template-columns: repeat(2,1fr); }
  .team-grid{ grid-template-columns: repeat(3,1fr); }
  .hero-grid{ grid-template-columns:1fr; }
  .hero-visual{ order:-1; max-width:420px; margin:0 auto; }
  .contact-grid{ grid-template-columns:1fr; }
  .area-content{ grid-template-columns:1fr; }
  .area-side{ position:static; }
}

@media (max-width: 1140px){
  .main-nav{
    display:none;
    position:absolute; top:100%; left:0; right:0;
    background: var(--cream); flex-direction:column; align-items:flex-start;
    gap:0; padding: 10px 20px 20px; border-bottom: 1px solid rgba(32,29,24,.08);
    box-shadow: var(--shadow-card);
  }
  .main-nav.is-open{ display:flex; }
  .main-nav a{ width:100%; padding:12px 0; border-bottom:1px solid rgba(32,29,24,.06); }
  .menu-toggle{ display:flex; }
}

@media (max-width: 880px){
  .trust-bar{ grid-template-columns: repeat(2,1fr); }
  .footer-top{ grid-template-columns: 1fr 1fr; }
  .lawyer-hero{ grid-template-columns:1fr; }
  .lawyer-photo{ max-width:280px; }
  .team-grid{ grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 620px){
  .container{ padding: 0 20px; }
  .section{ padding: 44px 0; }
  .section-head{ margin-bottom:32px; }
  .section-head p{ font-size:15px; margin-top:10px; }

  /* Practice area cards: compact, no more full-screen arches */
  .services-grid{ grid-template-columns:1fr; gap:14px; }
  .service-card,
  .service-card:nth-child(4n+1),
  .service-card:nth-child(4n+3){
    border-radius: 20px;
    padding: 20px 18px 18px;
    min-height:auto;
  }
  .service-icon{
    position:static;
    width:38px; height:38px;
    margin-bottom:12px;
  }
  .service-icon svg{ width:18px; height:18px; }
  .service-card h3{ padding-right:0; font-size:16.5px; margin-bottom:6px; }
  .service-card p{ font-size:13px; line-height:1.55; }
  .service-card::before{ display:none; }
  .service-more{ padding-top:12px; font-size:13px; }
  .service-more .circle{ width:28px; height:28px; }

  /* Team grid: compact 2-up cards instead of one giant photo per screen */
  .team-grid{ grid-template-columns: repeat(2,1fr); gap:12px; }
  .team-photo{ aspect-ratio: 3/3.3; }
  .team-body{ padding: 14px 14px 16px; gap:4px; }
  .team-body h3{ font-size:14.5px; }
  .team-role{ font-size:11px; }
  .team-blurb{
    font-size:12px; line-height:1.5;
    display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden;
  }
  .team-more{ padding:9px 12px; font-size:12px; margin-top:12px; }

  /* Lawyer profile: small avatar beside name, not a full-screen portrait */
  .page-hero{ padding: 32px 0 26px; }
  .lawyer-hero{ display:flex; flex-direction:row; align-items:flex-start; gap:14px; }
  .lawyer-photo{ max-width:96px; flex-shrink:0; border-radius: var(--radius-m); box-shadow:none; }
  .lawyer-name{ font-size:20px; }
  .lawyer-role{ font-size:12.5px; margin-top:4px; }
  .lawyer-langs{ margin-top:8px; gap:6px; }
  .tag-pill{ padding:5px 10px; font-size:10.5px; }
  .lawyer-bio{ padding: 40px 0 60px; }
  .bio-content p:first-child{ font-size:17px; padding-left:18px; margin-bottom:22px; }
  .bio-content p{ font-size:15px; margin-bottom:16px; }
  .lawyer-side{ padding:24px; }

  .form-row{ grid-template-columns:1fr; }
  .cta-strip{ padding: 36px 24px; }
  .cta-strip h3{ font-size:22px; }
  .cta-strip-actions{ flex-direction:column; align-items:stretch; width:100%; gap:12px; }
  .cta-strip-actions .btn{ width:100%; text-align:center; }
  .footer-top{ grid-template-columns:1fr; }
  .header-inner{ padding: 14px 20px; }
  .contact-form{ padding: 26px; }
}

@media (max-width: 400px){
  .team-grid{ grid-template-columns: 1fr 1fr; gap:10px; }
  .lawyer-photo{ max-width:84px; }
}

@media (max-width: 640px){
  .header-inner{ gap:10px; }
  .brand-mark{ font-size:17px; }
  .brand-tag{ display:none; }
  .header-actions{ gap:8px; }
  .header-actions .btn-primary{ display:none; }
  .lang-toggle{ width:88px; height:34px; }
  .menu-toggle{ width:36px; height:36px; }
}
