/* ===== VARIABLES ===== */
:root {
  --dark: #0e2d3e;
  --navy: #17435a;
  --gold: #c9a96e;
  --gold-light: #e8c98a;
  --cream: #f8f6f1;
  --white: #ffffff;
  --gray: #6b7280;
  --light-gray: #f1f0ed;
  --border: #e5e0d8;
  --text: #1f2937;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.14);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s ease;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== UTILITY ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,169,110,0.12);
  border: 1px solid rgba(201,169,110,0.3);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.section-header h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 700; color: var(--navy); line-height: 1.2; }
.section-header p { margin-top: 12px; color: var(--gray); font-size: 17px; max-width: 560px; margin-left: auto; margin-right: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,169,110,0.4); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-ghost:hover { background: var(--light-gray); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(14,45,62,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,169,110,0.15);
  transition: var(--transition);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo { display: flex; align-items: center; }
.nav-logo-full-img {
  height: 48px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.92;
  transition: opacity 0.3s ease;
}
.nav-logo:hover .nav-logo-full-img { opacity: 1; }
.nav-logo-img { height: 46px; width: auto; display: block; flex-shrink: 0; }
.nav-logo-text { display: flex; flex-direction: column; }
.logo-text { font-size: 22px; font-weight: 800; color: var(--gold); letter-spacing: 1px; line-height: 1; }
.logo-sub { font-size: 10px; color: rgba(255,255,255,0.5); letter-spacing: 0.5px; margin-top: 2px; }
.nav-links { display: flex; gap: 8px; }
.nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--gold); background: rgba(201,169,110,0.08); }
.nav-cta { padding: 10px 20px !important; background: var(--gold) !important; color: var(--navy) !important; font-weight: 700 !important; border-radius: 8px !important; }
.nav-cta:hover { background: var(--gold-light) !important; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--dark) 0%, var(--navy) 60%, #081e2b 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80vw;
  height: 80vw;
  background: radial-gradient(circle, rgba(201,169,110,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero-content { max-width: 1200px; margin: 0 auto; width: 100%; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero-tag::before { content: ''; display: block; width: 32px; height: 2px; background: var(--gold); }
.hero h1 {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}
.hero h1 span { color: var(--gold); }
.hero-desc { font-size: clamp(16px, 2vw, 20px); color: rgba(255,255,255,0.65); max-width: 600px; margin-bottom: 40px; line-height: 1.7; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 72px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  max-width: 640px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  border: 1px solid rgba(201,169,110,0.2);
  overflow: hidden;
}
.stat { padding: 20px 24px; text-align: center; }
.stat:not(:last-child) { border-right: 1px solid rgba(201,169,110,0.15); }
.stat-num { display: block; font-size: 28px; font-weight: 800; color: var(--gold); line-height: 1; }
.stat-label { display: block; font-size: 11px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 1px; margin-top: 6px; }

/* ===== ABOUT ===== */
.about { padding: 100px 0; background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-text p { color: var(--gray); font-size: 17px; line-height: 1.8; margin-bottom: 20px; }
.about-list { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.about-list li { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 500; color: var(--navy); }
.about-image { position: relative; }
.about-card {
  background: var(--navy);
  color: white;
  padding: 40px;
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
}
.about-card h3 { font-size: 22px; color: var(--gold); margin-bottom: 16px; }
.about-card p { color: rgba(255,255,255,0.75); line-height: 1.8; }
.about-badge {
  position: absolute;
  top: -20px; right: -20px;
  background: var(--gold);
  color: var(--navy);
  padding: 16px;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  text-align: center;
  line-height: 1.2;
  box-shadow: var(--shadow-lg);
}

/* ===== SERVICES ===== */
.services { padding: 100px 0; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
  cursor: default;
}
.service-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow); }
.service-icon { font-size: 36px; margin-bottom: 16px; }
.service-card h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.service-card p { color: var(--gray); font-size: 14px; line-height: 1.7; }

/* ===== LAWYERS ===== */
.lawyers { padding: 100px 0; background: var(--cream); }
.lawyers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.lawyer-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}
.lawyer-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.lawyer-card:hover .lawyer-avatar { transform: scale(1.05); }
.lawyer-avatar-wrap { padding: 28px 28px 0; display: flex; justify-content: center; }
.lawyer-avatar {
  width: 110px;
  height: 130px;
  border-radius: 55px 55px 16px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 800;
  color: white;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  flex-shrink: 0;
  overflow: hidden;
}
.lawyer-avatar-photo {
  background: #111 !important;
}
.lawyer-avatar-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  display: block;
}
.lawyer-info { padding: 20px 24px 28px; text-align: center; }
.lawyer-info h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 4px; line-height: 1.3; }
.lawyer-title { font-size: 13px; color: var(--gold); font-weight: 600; margin-bottom: 14px; }
.lawyer-specs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 20px; }
.spec-tag {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--light-gray);
  color: var(--gray);
  font-weight: 500;
  border: 1px solid var(--border);
}
.lawyer-meta { display: flex; justify-content: center; gap: 24px; font-size: 13px; color: var(--gray); border-top: 1px solid var(--border); padding-top: 16px; }
.lawyer-meta span { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.lawyer-meta strong { font-size: 15px; color: var(--navy); font-weight: 700; }
.lawyer-card-btn {
  position: absolute;
  bottom: -44px;
  left: 0; right: 0;
  background: var(--gold);
  color: var(--navy);
  text-align: center;
  font-weight: 700;
  font-size: 13px;
  padding: 12px;
  transition: var(--transition);
}
.lawyer-card:hover .lawyer-card-btn { bottom: 0; }

/* ===== CONTACT ===== */
.contact { padding: 100px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon { font-size: 20px; width: 44px; height: 44px; background: var(--light-gray); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); font-weight: 700; margin-bottom: 4px; }
.contact-item p { color: var(--gray); font-size: 15px; line-height: 1.6; }
.social-links { display: flex; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.contact-info .social-icon-btn { color: var(--navy); }
.contact-info .social-icon-btn:hover { color: var(--gold); }
.social-btn { padding: 10px 20px; background: var(--navy); color: white; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; transition: var(--transition); }
.social-btn:hover { background: var(--gold); color: var(--navy); transform: translateY(-2px); }

/* Social icon buttons */
.social-icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: transparent;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}
.social-icon-btn svg { width: 22px; height: 22px; }
.social-icon-btn:hover { color: var(--gold); transform: translateY(-3px); }
.social-tg, .social-ig, .social-fb, .social-yt { background: transparent; }

/* Footer social row */
.footer-social { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }

/* Full logo in footer */
.footer-logo-full {
  max-width: 220px; width: 100%; height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.88;
}

.contact-form { background: var(--light-gray); padding: 40px; border-radius: var(--radius); }
.contact-form h3 { font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 24px; }
.contact-form form { display: flex; flex-direction: column; gap: 14px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font);
  background: var(--white);
  color: var(--text);
  transition: var(--transition);
  outline: none;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,169,110,0.12); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.form-success { background: #d1fae5; color: #065f46; padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; display: none; }

/* ===== FOOTER ===== */
.footer { background: var(--dark); color: rgba(255,255,255,0.65); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer p { margin-bottom: 0; font-size: 14px; line-height: 1.6; }
.footer h4 { color: var(--gold); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700; margin-bottom: 18px; }
.footer ul { display: flex; flex-direction: column; gap: 8px; }
.footer ul li { font-size: 14px; transition: var(--transition); }
.footer ul li a { color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer ul li a:hover { color: var(--gold); padding-left: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; text-align: center; font-size: 13px; color: rgba(255,255,255,0.4); }

/* ===== LAWYER PAGE ===== */
.lawyer-page { padding-top: 72px; }
.back-bar { background: var(--cream); border-bottom: 1px solid var(--border); padding: 14px 0; }
.back-btn { display: inline-flex; align-items: center; gap: 8px; color: var(--gray); font-size: 14px; font-weight: 500; transition: var(--transition); cursor: pointer; }
.back-btn:hover { color: var(--gold); }
.back-btn svg { width: 16px; height: 16px; }

.lawyer-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--navy) 100%);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.lawyer-hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(201,169,110,0.07) 0%, transparent 70%);
}
.lawyer-hero-inner { display: flex; align-items: center; gap: 48px; position: relative; }
.lawyer-hero-avatar {
  width: 170px;
  height: 200px;
  border-radius: 85px 85px 20px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
  border: 3px solid rgba(201,169,110,0.35);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  overflow: hidden;
}
.lawyer-hero-avatar.lawyer-avatar-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 10%;
  display: block;
}
.lawyer-hero-info { flex: 1; }
.lawyer-hero-tag { font-size: 12px; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; font-weight: 600; margin-bottom: 12px; }
.lawyer-hero-info h1 { font-size: clamp(24px, 4vw, 40px); font-weight: 800; color: white; margin-bottom: 8px; line-height: 1.2; }
.lawyer-hero-info .title { font-size: 17px; color: rgba(255,255,255,0.6); margin-bottom: 20px; }
.lawyer-specs-hero { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.spec-tag-hero { font-size: 12px; padding: 6px 14px; border-radius: 20px; background: rgba(201,169,110,0.15); color: var(--gold); font-weight: 600; border: 1px solid rgba(201,169,110,0.3); }
.lawyer-hero-meta { display: flex; gap: 32px; flex-wrap: wrap; }
.hero-meta-item { display: flex; flex-direction: column; }
.hero-meta-item span:first-child { font-size: 24px; font-weight: 800; color: var(--gold); }
.hero-meta-item span:last-child { font-size: 12px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 1px; }

.lawyer-body { padding: 72px 0; }
.lawyer-body-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 64px; align-items: start; }
.lawyer-section { margin-bottom: 48px; }
.lawyer-section h2 { font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--gold); display: inline-block; }
.lawyer-section p { color: var(--gray); line-height: 1.8; font-size: 16px; margin-bottom: 12px; }
.services-list { display: flex; flex-direction: column; gap: 10px; }
.service-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--light-gray); border-radius: var(--radius-sm); font-size: 14px; color: var(--text); border-left: 3px solid var(--gold); }
.service-item::before { content: '✓'; color: var(--gold); font-weight: 800; flex-shrink: 0; }

.lawyer-sidebar { position: sticky; top: 100px; }
.sidebar-card { background: var(--navy); color: white; padding: 32px; border-radius: var(--radius); margin-bottom: 24px; }
.sidebar-card h3 { font-size: 17px; font-weight: 700; color: var(--gold); margin-bottom: 20px; }
.sidebar-contact { display: flex; flex-direction: column; gap: 14px; }
.sidebar-contact a { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.8); font-size: 14px; transition: var(--transition); }
.sidebar-contact a:hover { color: var(--gold); }
.sidebar-card .btn { width: 100%; text-align: center; justify-content: center; margin-top: 16px; }
.sidebar-info { background: var(--light-gray); padding: 24px; border-radius: var(--radius); }
.sidebar-info h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.info-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.info-row:last-child { border-bottom: none; }
.info-row span:first-child { color: var(--gray); }
.info-row span:last-child { font-weight: 600; color: var(--navy); }

/* ===== BLOG ===== */
.blog-section { padding: 72px 0; background: var(--cream); }
.blog-section .section-header { text-align: left; margin-bottom: 40px; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.blog-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: var(--transition); }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.blog-card-top { height: 6px; }
.blog-card-body { padding: 28px; }
.blog-tag { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.blog-card h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.4; }
.blog-card p { color: var(--gray); font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.blog-card-footer { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--gray); }
.blog-read-more { color: var(--gold); font-weight: 600; font-size: 13px; transition: var(--transition); cursor: pointer; }
.blog-read-more:hover { color: var(--dark); }

/* ===== MOBILE ===== */
@media (max-width: 900px) {
  .nav-logo-full-img { height: 36px; }
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: rgba(10,32,48,0.98); backdrop-filter: blur(16px);
    padding: 8px 12px 16px; gap: 2px; z-index: 999;
    border-bottom: 1px solid rgba(201,169,110,0.2);
    animation: menuSlide 0.22s ease;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 13px 16px; font-size: 15px; border-radius: 8px;
    color: rgba(255,255,255,0.8); border-left: 2px solid transparent;
  }
  .nav-links a:hover { border-left-color: var(--gold); background: rgba(201,169,110,0.06); }
  .nav-cta { border-left: none !important; margin-top: 8px; text-align: center; justify-content: center; }
  .nav-toggle { display: flex; }
  @keyframes menuSlide { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat:not(:last-child) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid rgba(201,169,110,0.15); }
  .stat:nth-child(1), .stat:nth-child(3) { border-right: 1px solid rgba(201,169,110,0.15); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .lawyer-hero-inner { flex-direction: column; text-align: center; gap: 32px; }
  .lawyer-hero-meta { justify-content: center; }
  .lawyer-body-grid { grid-template-columns: 1fr; }
  .lawyer-sidebar { position: static; }
}
@media (max-width: 600px) {
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { justify-content: center; }
  .hero-stats { grid-template-columns: 1fr 1fr; max-width: 100%; }
  .lawyers-grid, .services-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.animate { animation: fadeUp 0.6s ease forwards; }
.animate-delay-1 { animation-delay: 0.1s; opacity: 0; }
.animate-delay-2 { animation-delay: 0.2s; opacity: 0; }
.animate-delay-3 { animation-delay: 0.3s; opacity: 0; }

/* ===== LANG SWITCHER ===== */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-right: 12px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 3px;
}
.lang-btn {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.45);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 5px 9px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.lang-btn:hover { color: rgba(255,255,255,0.85); }
.lang-btn.active { background: var(--gold); color: var(--navy); }

/* ===== EXT BADGE (external link lawyers) ===== */
.lawyer-avatar-wrap { position: relative; }
.ext-badge {
  position: absolute;
  top: 0; right: 0;
  background: var(--gold);
  color: var(--navy);
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* ===== CASES SECTION ===== */
.cases-section { padding: 100px 0; background: var(--navy); }
.cases-section .section-tag { background: rgba(201,169,110,0.15); }
.cases-section .section-header h2 { color: var(--white); }
.cases-section .section-header p { color: rgba(255,255,255,0.6); }
.cases-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.case-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.case-card:hover { border-color: rgba(201,169,110,0.4); transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.3); }
.case-top { height: 5px; }
.case-body { padding: 28px; }
.case-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.case-icon { font-size: 26px; }
.case-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; }
.case-card h3 { font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 10px; line-height: 1.4; }
.case-card p { color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.case-footer { display: flex; align-items: flex-start; gap: 16px; flex-direction: column; }
.case-result {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700;
  padding: 8px 16px;
  border-radius: 6px;
  border: 1.5px solid;
  background: rgba(255,255,255,0.04);
}
.case-meta { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: rgba(255,255,255,0.4); }

/* ===== NEWS SECTION ===== */
.news-section { padding: 100px 0; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: block;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.news-card-top { height: 5px; }
.news-card-body { padding: 24px; }
.news-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; gap: 8px; flex-wrap: wrap; }
.news-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
  padding: 4px 10px; border-radius: 20px; border: 1px solid;
  text-transform: uppercase; white-space: nowrap;
}
.news-date { font-size: 12px; color: var(--gray); white-space: nowrap; }
.news-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.4; }
.news-card p { color: var(--gray); font-size: 14px; line-height: 1.7; margin-bottom: 16px; }
.news-footer { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.news-source { color: var(--gray); display: flex; align-items: center; gap: 4px; }
.news-read { color: var(--gold); font-weight: 600; cursor: pointer; transition: var(--transition); }
.news-read:hover { color: var(--dark); }

/* ===== MOBILE ADDITIONS ===== */
@media (max-width: 900px) {
  .lang-switcher { margin-right: 8px; }
  .cases-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .lang-btn { padding: 4px 8px; font-size: 10px; }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate { animation: fadeUp 0.55s ease both; }
.animate-left { animation: fadeLeft 0.55s ease both; }
.animate-right { animation: fadeRight 0.55s ease both; }
.animate-scale { animation: scaleIn 0.5s ease both; }

/* stagger delays for grid children */
.service-card:nth-child(1),.lawyer-card:nth-child(1),.case-card:nth-child(1),.news-card:nth-child(1),.metric-card:nth-child(1),.partner-card:nth-child(1) { animation-delay: 0s; }
.service-card:nth-child(2),.lawyer-card:nth-child(2),.case-card:nth-child(2),.news-card:nth-child(2),.metric-card:nth-child(2),.partner-card:nth-child(2) { animation-delay: 0.07s; }
.service-card:nth-child(3),.lawyer-card:nth-child(3),.case-card:nth-child(3),.news-card:nth-child(3),.metric-card:nth-child(3),.partner-card:nth-child(3) { animation-delay: 0.14s; }
.service-card:nth-child(4),.lawyer-card:nth-child(4),.case-card:nth-child(4),.news-card:nth-child(4),.metric-card:nth-child(4),.partner-card:nth-child(4) { animation-delay: 0.21s; }
.service-card:nth-child(5),.lawyer-card:nth-child(5),.case-card:nth-child(5),.news-card:nth-child(5),.metric-card:nth-child(5),.partner-card:nth-child(5) { animation-delay: 0.28s; }
.service-card:nth-child(6),.lawyer-card:nth-child(6),.case-card:nth-child(6),.news-card:nth-child(6),.metric-card:nth-child(6) { animation-delay: 0.35s; }
.metric-card:nth-child(7) { animation-delay: 0.42s; }
.metric-card:nth-child(8) { animation-delay: 0.49s; }
.metric-card:nth-child(9) { animation-delay: 0.56s; }
.metric-card:nth-child(10) { animation-delay: 0.63s; }

/* ===== METRICS SECTION ===== */
.metrics-section { padding: 100px 0; background: var(--cream); }
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.metric-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 24px;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.metric-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--navy));
}
.metric-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.10); }
.metric-icon { font-size: 32px; margin-bottom: 12px; display: block; }
.metric-num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -1px;
  display: block;
  line-height: 1;
  animation: countUp 0.6s ease both;
}
.metric-label { font-size: 13px; color: var(--muted); margin-top: 8px; font-weight: 500; display: block; }

/* ===== KEY PARTNERS SECTION ===== */
/* ===== KEY PARTNERS — FUTURISTIC DARK ===== */
.partners-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #080f1a 0%, #0d1f30 55%, #091520 100%);
  position: relative;
  overflow: hidden;
}
.partners-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,169,110,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,169,110,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.partners-section::after {
  content: '';
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(201,169,110,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.partners-section .section-tag { color: var(--gold); border-color: rgba(201,169,110,0.3); background: rgba(201,169,110,0.08); }
.partners-section .section-header h2 { color: #fff; }
.partners-section .section-header p { color: rgba(255,255,255,0.5); }
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.partner-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,169,110,0.15);
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.partner-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
  opacity: 0.5;
  transition: opacity 0.3s ease;
  z-index: 2;
}
.partner-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201,169,110,0.4);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 40px rgba(201,169,110,0.07);
}
.partner-card:hover::before { opacity: 1; }

/* Photo area */
.partner-photo-area {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #050d17;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.partner-photo-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  display: block;
  transition: transform 0.4s ease;
}
.partner-card:hover .partner-photo-area img { transform: scale(1.04); }
.partner-photo-area::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, rgba(8,15,26,0.95));
  pointer-events: none;
}
.partner-photo-initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(255,255,255,0.6);
  letter-spacing: 2px;
}

/* Card body */
.partner-card-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.partner-name { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 3px; line-height: 1.3; }
.partner-title { font-size: 12px; color: var(--gold); font-weight: 600; margin-bottom: 12px; letter-spacing: 0.3px; }
.partner-specs {
  display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 14px;
}
.partner-specs .spec-tag {
  font-size: 10px; padding: 3px 9px; border-radius: 20px;
  background: rgba(201,169,110,0.1); color: rgba(201,169,110,0.85);
  border: 1px solid rgba(201,169,110,0.2); font-weight: 600;
}
.partner-bio { font-size: 12px; color: rgba(255,255,255,0.45); line-height: 1.65; flex: 1; }
.partner-card-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  gap: 0;
}
.partner-stat { flex: 1; text-align: center; padding: 0 8px; }
.partner-stat:not(:last-child) { border-right: 1px solid rgba(255,255,255,0.07); }
.partner-stat strong { display: block; font-size: 15px; font-weight: 800; color: var(--gold); margin-bottom: 2px; }
.partner-stat span { font-size: 10px; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 0.5px; }

/* ===== CASES PAGE ===== */
.cases-page .cases-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--navy) 100%);
  padding: 140px 0 80px;
  text-align: center;
  color: var(--white);
}
.cases-hero-inner .section-tag { display: inline-block; margin-bottom: 16px; }
.cases-hero-inner h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; margin-bottom: 16px; }
.cases-hero-inner p { font-size: 1.1rem; color: rgba(255,255,255,0.7); margin-bottom: 40px; }
.cases-hero-stats {
  display: flex; justify-content: center; gap: 48px; flex-wrap: wrap;
  margin-top: 40px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.15);
}
.cases-hero-stat { text-align: center; }
.cases-hero-stat strong { display: block; font-size: 2rem; font-weight: 800; color: var(--gold); }
.cases-hero-stat span { font-size: 13px; color: rgba(255,255,255,0.6); }

.cases-filter-bar { background: var(--white); border-bottom: 1px solid var(--border); padding: 16px 0; position: sticky; top: 70px; z-index: 100; }
.cases-filters { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-btn {
  padding: 8px 18px; border-radius: 20px; border: 1px solid var(--border);
  background: transparent; color: var(--muted); cursor: pointer;
  font-size: 13px; font-weight: 500; transition: all 0.2s;
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: var(--white); }

.cases-detail-section { padding: 72px 0; background: var(--cream); }
.cases-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
  gap: 28px;
}
.case-detail-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.case-detail-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.10); }
.case-detail-card.hidden { display: none; }
.case-detail-top { height: 6px; }
.case-detail-body { padding: 32px; }
.case-detail-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.case-detail-icon { font-size: 1.8rem; }
.case-detail-tag {
  display: inline-block; padding: 4px 12px; border-radius: 20px;
  font-size: 12px; font-weight: 600; border: 1px solid transparent;
}
.case-detail-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; line-height: 1.4; }
.case-detail-meta {
  display: flex; gap: 20px; flex-wrap: wrap;
  padding: 16px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  margin: 20px 0;
}
.case-detail-meta-item { display: flex; flex-direction: column; gap: 2px; }
.case-detail-meta-item .meta-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
.case-detail-meta-item .meta-val { font-size: 13px; font-weight: 600; color: var(--navy); }
.case-detail-sections { display: flex; flex-direction: column; gap: 16px; }
.case-detail-section-block h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.8px; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.case-detail-section-block p { font-size: 14px; color: var(--text); line-height: 1.6; }
.case-detail-result {
  margin-top: 20px; padding: 14px 20px;
  border-radius: 10px; display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 15px;
}

.cases-cta { padding: 80px 0; background: var(--navy); text-align: center; }
.cases-cta-inner h2 { font-size: 2rem; color: var(--white); margin-bottom: 12px; }
.cases-cta-inner p { color: rgba(255,255,255,0.7); margin-bottom: 28px; }

/* ===== LAWYER PAGE — EDUCATION / ACHIEVEMENTS / PUBLICATIONS ===== */
.education-timeline { display: flex; flex-direction: column; gap: 0; }
.edu-item {
  display: flex; gap: 20px; position: relative; padding-bottom: 24px;
}
.edu-item:last-child { padding-bottom: 0; }
.edu-item:last-child .edu-line { display: none; }
.edu-dot-wrap { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.edu-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--gold); border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold);
  margin-top: 4px; flex-shrink: 0;
}
.edu-line { width: 2px; flex: 1; background: var(--border); margin: 4px 0; min-height: 20px; }
.edu-content { padding-bottom: 4px; }
.edu-year { font-size: 12px; font-weight: 700; color: var(--gold); margin-bottom: 3px; }
.edu-degree { font-size: 14px; font-weight: 700; color: var(--navy); }
.edu-institution { font-size: 13px; color: var(--muted); margin-top: 2px; }

.achievements-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.achievements-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px; background: var(--cream); border-radius: 10px;
  font-size: 14px; color: var(--text); line-height: 1.5;
  border-left: 3px solid var(--gold);
}
.achievements-list li::before { content: '★'; color: var(--gold); flex-shrink: 0; font-size: 13px; margin-top: 1px; }

.publications-list { display: flex; flex-direction: column; gap: 16px; }
.pub-item {
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pub-item:hover { transform: translateX(4px); box-shadow: 0 4px 16px rgba(0,0,0,0.07); }
.pub-item-link { display: block; text-decoration: none; cursor: pointer; border-left: 3px solid var(--gold); }
.pub-item-link:hover { transform: translateX(6px); box-shadow: 0 6px 20px rgba(0,0,0,0.1); border-left-color: var(--navy); }
.pub-title { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 6px; line-height: 1.4; }
.pub-item-link .pub-title { color: var(--navy); }
.pub-meta { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.pub-journal { font-size: 12px; color: var(--muted); }
.pub-year { font-size: 12px; font-weight: 700; color: var(--gold); }
.pub-link { font-size: 12px; font-weight: 700; color: var(--gold); margin-left: auto; }

/* ===== RESPONSIVE ADDITIONS ===== */
@media (max-width: 1100px) {
  .cases-detail-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (max-width: 900px) {
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .cases-hero-stats { gap: 28px; }
}
@media (max-width: 600px) {
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: 1fr; }
  .cases-hero-stats { flex-direction: column; gap: 16px; }
  .cases-detail-grid { grid-template-columns: 1fr; }
}

/* ===== MOBILE FIXES ===== */
@media (max-width: 900px) {
  .hero-stats { max-width: 100%; }
  .about { padding: 72px 0; }
  .services { padding: 72px 0; }
  .metrics-section { padding: 72px 0; }
  .cases-section { padding: 72px 0; }
  .lawyers { padding: 72px 0; }
  .news-section { padding: 72px 0; }
  .contact { padding: 72px 0; }
  .partners-section { padding: 72px 0; }
  .blog-section { padding: 72px 0; }
  .about-badge { top: -10px; right: -10px; width: 68px; height: 68px; font-size: 12px; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .section-header h2 { font-size: 24px; }
  .section-header p { font-size: 15px; }
  .hero { padding: 100px 16px 60px; }
  .hero h1 { font-size: clamp(28px, 8vw, 42px); }
  .hero-desc { font-size: 15px; }
  .hero-btns { gap: 10px; }
  .about { padding: 56px 0; }
  .services { padding: 56px 0; }
  .metrics-section { padding: 56px 0; }
  .cases-section { padding: 56px 0; }
  .lawyers { padding: 56px 0; }
  .news-section { padding: 56px 0; }
  .contact { padding: 56px 0; }
  .partners-section { padding: 56px 0; }
  .blog-section { padding: 56px 0; }
  .service-card { padding: 24px; }
  .metric-card { padding: 20px 12px; }
  .metric-num { font-size: 28px; }
  .footer-grid { gap: 24px; }
  .footer { padding: 48px 0 24px; }
  .sidebar-card { padding: 24px; }
  .sidebar-contact a { font-size: 14px; }
  .lawyer-hero { padding: 40px 0; }
  .back-bar { padding: 10px 0; }
  .lang-switcher { margin-right: 6px; padding: 2px; }
  .lang-btn { padding: 4px 7px; font-size: 10px; }
  .nav-logo-full-img { height: 30px; }
  .about-badge { display: none; }
}
@media (max-width: 380px) {
  .lang-btn { padding: 3px 6px; font-size: 9px; }
  .nav-logo-full-img { height: 26px; }
}
