/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #1D2D44;
  --navy-dark: #121E30;
  --navy-mid:  #243552;
  --gold:      #C9A84C;
  --gold-light:#E8C96B;
  --gold-pale: #F5EDD4;
  --white:     #FFFFFF;
  --off-white: #F8F7F3;
  --light:     #F0EDE6;
  --text:      #1a1a1a;
  --text-mid:  #444444;
  --text-light:#777777;
  --border:    #E0D9CC;
  --shadow:    rgba(29,45,68,.10);
  --shadow-md: rgba(29,45,68,.18);

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --radius:    6px;
  --radius-lg: 12px;
  --transition:.28s ease;
  --max-width: 1200px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; display: block; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
address { font-style: normal; }
ul { list-style: none; }

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

/* ===== UTILITY ===== */
.section-label {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 20px;
}
.section-title.light { color: var(--white); }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 640px;
  line-height: 1.8;
}
.section-subtitle.light { color: rgba(255,255,255,.8); }
.gold-bar {
  width: 48px; height: 3px;
  background: var(--gold);
  margin-bottom: 18px;
  border-radius: 2px;
}
.center { text-align: center; }
.center .section-subtitle { margin: 0 auto; }
.center .gold-bar { margin-left: auto; margin-right: auto; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px;
  font-size: .9rem; font-weight: 600; letter-spacing: .04em;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
}
.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,168,76,.35); }
.btn-outline {
  border: 2px solid var(--gold); color: var(--gold); background: transparent;
}
.btn-outline:hover { background: var(--gold); color: var(--navy); }
.btn-navy {
  background: var(--navy); color: var(--white);
}
.btn-navy:hover { background: var(--navy-dark); transform: translateY(-2px); }
.btn-white {
  background: var(--white); color: var(--navy);
}
.btn-white:hover { background: var(--off-white); transform: translateY(-2px); }

.icon { width: 18px; height: 18px; display: inline-block; vertical-align: middle; flex-shrink: 0; }

/* Constrain inline SVG icons everywhere they appear without an explicit class */
.btn svg,
.nav-link svg,
.topbar-contacts svg,
.footer-contact svg,
.breadcrumb svg,
.blog-read-more svg,
.card-link svg,
.post-body svg,
.article-meta svg,
.cta-actions svg { width: 18px; height: 18px; flex-shrink: 0; vertical-align: middle; }

.contact-item-icon svg { width: 22px; height: 22px; stroke: var(--gold); }
.why-feature-icon svg { width: 22px; height: 22px; }
.value-icon svg        { width: 28px; height: 28px; stroke: var(--gold); }
.pa-card-icon svg      { width: 28px; height: 28px; stroke: var(--gold); }
.practice-icon svg     { width: 26px; height: 26px; }

/* ===== TOP BAR ===== */
.topbar {
  background: var(--navy-dark);
  color: rgba(255,255,255,.75);
  font-size: .8rem;
  padding: 8px 0;
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.topbar-contacts { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar-contacts a, .topbar-contacts span {
  display: flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,.75);
}
.topbar-contacts a:hover { color: var(--gold); }
.topbar-social { display: flex; gap: 12px; }
.topbar-social .social-link { color: rgba(255,255,255,.6); transition: color var(--transition); }
.topbar-social .social-link:hover { color: var(--gold); }
.topbar-social svg { width: 15px; height: 15px; }

/* ===== HEADER / NAV ===== */
.header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px var(--shadow);
  transition: all var(--transition);
}
.header.scrolled { box-shadow: 0 4px 24px var(--shadow-md); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.nav-logo { display: flex; align-items: center; }
.logo-img { height: 52px; width: auto; object-fit: contain; }
.nav-menu {
  display: flex; align-items: center; gap: 6px;
}
.nav-link {
  padding: 8px 14px;
  font-size: .875rem; font-weight: 500;
  color: var(--navy);
  border-radius: var(--radius);
  position: relative;
  transition: all var(--transition);
}
.nav-link::after {
  content: ''; position: absolute; bottom: 2px; left: 14px; right: 14px;
  height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
  border-radius: 2px;
}
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  width: 30px; padding: 4px 0;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--navy); border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ===== PAGE HERO (shared across inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-mid) 100%);
  padding: 90px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A84C' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--white);
  position: relative;
}
.page-hero p {
  color: rgba(255,255,255,.7);
  margin-top: 12px;
  font-size: 1.05rem;
  position: relative;
}
.breadcrumb {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 20px; font-size: .85rem; color: rgba(255,255,255,.55);
  position: relative;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { color: var(--gold-light); }

/* ===== HOME: HERO ===== */
.hero {
  min-height: 92vh;
  display: flex; align-items: center;
  background:
    linear-gradient(120deg, rgba(12,22,36,.88) 0%, rgba(29,45,68,.78) 50%, rgba(29,45,68,.60) 100%),
    url('images/home%20hero%20bg.jpeg') center center/cover no-repeat;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 65% 50%, rgba(201,168,76,.07) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  opacity: .4;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 55% 45%; gap: 48px; align-items: center;
  padding: 80px 0;
}
.hero-tag {
  display: inline-block;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,.4);
  padding: 6px 16px; border-radius: 20px;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 22px;
}
.hero-title span { color: var(--gold); }
.hero-desc {
  color: rgba(255,255,255,.75);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-visual {
  display: flex; flex-direction: column; gap: 16px;
  justify-content: center; align-items: stretch;
}
.hero-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.13);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  backdrop-filter: blur(12px);
  transition: all var(--transition);
  display: flex; gap: 18px; align-items: flex-start;
}
.hero-card:hover {
  transform: translateX(4px);
  background: rgba(255,255,255,.1);
  border-left-color: var(--gold-light);
}
.hero-card-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: rgba(201,168,76,.18);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.hero-card-icon svg { width: 22px; height: 22px; stroke: var(--gold); }
.hero-card-body { flex: 1; }
.hero-card h3 { font-size: .95rem; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.hero-card p { font-size: .82rem; color: rgba(255,255,255,.6); line-height: 1.5; margin-bottom: 12px; }
.hero-stat { border-top: 1px solid rgba(201,168,76,.25); padding-top: 10px; display: flex; align-items: baseline; gap: 6px; }
.hero-stat .num { font-family: var(--font-serif); font-size: 1.5rem; color: var(--gold); font-weight: 700; line-height: 1; }
.hero-stat .lbl { font-size: .75rem; color: rgba(255,255,255,.5); }

/* ===== STATS STRIP ===== */
.stats-strip {
  background: var(--navy);
  padding: 50px 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(255,255,255,.1);
  border-radius: var(--radius-lg); overflow: hidden;
}
.stat-item {
  background: var(--navy);
  padding: 40px 24px; text-align: center;
}
.stat-num {
  font-family: var(--font-serif);
  font-size: 3rem; font-weight: 700; color: var(--gold);
  line-height: 1;
}
.stat-label { font-size: .85rem; color: rgba(255,255,255,.6); margin-top: 8px; letter-spacing: .04em; }

/* ===== WHY CHOOSE US ===== */
.why { padding: 90px 0; background: var(--off-white); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 20px; }
.why-content { }
.why-features { margin-top: 32px; display: flex; flex-direction: column; gap: 22px; }
.why-feature {
  display: flex; gap: 18px; align-items: flex-start;
}
.why-feature-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--gold-pale);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.why-feature-icon svg { width: 22px; height: 22px; stroke: var(--gold); }
.why-feature h4 { font-size: 1rem; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.why-feature p { font-size: .9rem; color: var(--text-mid); line-height: 1.6; }
.why-visual {
  position: relative;
}
.why-quote {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  position: relative;
}
.why-quote::before {
  content: '\201C';
  font-family: var(--font-serif);
  font-size: 7rem; line-height: .6;
  color: var(--gold); opacity: .2;
  position: absolute; top: 20px; left: 28px;
}
.why-quote blockquote {
  font-family: var(--font-serif);
  font-size: 1.2rem; color: var(--white);
  line-height: 1.7; margin-bottom: 24px;
  position: relative;
}
.why-quote-author {
  display: flex; align-items: center; gap: 14px; margin-top: 20px;
  padding-top: 20px; border-top: 1px solid rgba(201,168,76,.25);
}
.why-quote-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  object-fit: cover; object-position: top;
  border: 2px solid var(--gold); flex-shrink: 0;
}
.why-quote-author cite { font-size: .92rem; color: var(--gold); font-style: normal; font-weight: 600; display: block; }
.why-quote-author span { font-size: .78rem; color: rgba(255,255,255,.5); }
.why-values {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px;
}
.why-value {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 16px; text-align: center;
  border-top: 3px solid var(--gold);
  box-shadow: 0 2px 12px var(--shadow);
}
.why-value svg { width: 28px; height: 28px; stroke: var(--gold); margin: 0 auto 10px; display: block; }
.why-value h5 { font-size: .8rem; font-weight: 600; color: var(--navy); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; }
.why-value p { font-size: .78rem; color: var(--text-light); line-height: 1.5; }

/* ===== PRACTICE AREAS PREVIEW ===== */
.practices { padding: 90px 0; }
.practices-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; }
.practices-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.practice-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition);
  cursor: pointer;
  position: relative; overflow: hidden;
}
.practice-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--gold); transform: scaleX(0);
  transition: transform var(--transition); transform-origin: left;
}
.practice-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px var(--shadow-md); border-color: transparent; }
.practice-card:hover::before { transform: scaleX(1); }
.practice-icon {
  width: 56px; height: 56px;
  background: var(--gold-pale);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: background var(--transition);
}
.practice-card:hover .practice-icon { background: var(--gold); }
.practice-icon svg { width: 26px; height: 26px; stroke: var(--gold); transition: stroke var(--transition); }
.practice-card:hover .practice-icon svg { stroke: var(--navy); }
.practice-card h3 { font-size: 1.05rem; font-weight: 600; color: var(--navy); margin-bottom: 10px; }
.practice-card p { font-size: .88rem; color: var(--text-mid); line-height: 1.65; }
.practice-card .card-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; font-size: .85rem; font-weight: 600; color: var(--gold);
}
.practice-card .card-link svg { width: 14px; height: 14px; transition: transform var(--transition); }
.practice-card:hover .card-link svg { transform: translateX(4px); }

/* ===== BLOG PREVIEW ===== */
.blog-preview { padding: 90px 0; background: var(--off-white); }
.blog-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 16px var(--shadow);
  transition: all var(--transition);
  cursor: pointer;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px var(--shadow-md); }
.blog-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-img .placeholder-icon { width: 48px; height: 48px; stroke: rgba(255,255,255,.3); }
.blog-category {
  position: absolute; top: 16px; left: 16px;
  background: var(--gold); color: var(--navy);
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 20px;
}
.blog-card-body { padding: 24px; }
.blog-meta { font-size: .78rem; color: var(--text-light); margin-bottom: 10px; display: flex; gap: 12px; }
.blog-card-body h3 {
  font-family: var(--font-serif); font-size: 1.1rem; color: var(--navy);
  line-height: 1.4; margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-card-body p { font-size: .87rem; color: var(--text-mid); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card-footer { padding: 16px 24px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.blog-card-author { display: flex; align-items: center; gap: 9px; font-size: .82rem; color: var(--text-mid); font-weight: 500; }
.author-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  object-fit: cover; object-position: top;
  border: 2px solid var(--gold-pale); flex-shrink: 0;
}
.author-avatar-placeholder {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--gold-pale);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.author-avatar-placeholder svg { width: 16px; height: 16px; stroke: var(--gold); }
.author-sidebar-card {
  display: flex; align-items: center; gap: 14px;
}
.author-sidebar-card .author-avatar { width: 56px; height: 56px; border-color: var(--gold); }
.author-sidebar-card strong { font-size: .95rem; color: var(--navy); display: block; margin-bottom: 2px; }
.author-sidebar-card span { font-size: .8rem; color: var(--text-light); }
.blog-read-more { font-size: .83rem; font-weight: 600; color: var(--gold); display: flex; align-items: center; gap: 5px; }
.blog-read-more svg { width: 14px; height: 14px; transition: transform var(--transition); }
.blog-card:hover .blog-read-more svg { transform: translateX(4px); }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 80px 0;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(201,168,76,.12), transparent 60%);
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  position: relative;
}
.cta-text h2 {
  font-family: var(--font-serif); font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--white); margin-bottom: 10px;
}
.cta-text p { color: rgba(255,255,255,.7); font-size: 1rem; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; flex-shrink: 0; }

/* ===== TEAM SECTION ===== */
.team { padding: 90px 0; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px; margin-top: 48px; }
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  transition: all var(--transition);
}
.team-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px var(--shadow-md); }
.team-photo {
  height: 300px;
  background: var(--light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cccccc' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 00-4-4H8a4 4 0 00-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") center center/64px no-repeat;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.team-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  transition: transform .5s ease, filter var(--transition);
}
.team-card:hover .team-photo img { transform: scale(1.04); }
.team-photo-placeholder {
  width: 80px; height: 80px; background: var(--border);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.team-photo-placeholder svg { width: 36px; height: 36px; stroke: var(--text-light); }
.team-info { padding: 22px 20px; }
.team-info h3 { font-family: var(--font-serif); font-size: 1.1rem; color: var(--navy); margin-bottom: 4px; }
.team-info .role { font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.team-info p { font-size: .85rem; color: var(--text-mid); line-height: 1.6; }

/* ===== ABOUT PAGE ===== */
.about-history { padding: 90px 0; }
.about-history-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; margin-top: 20px; }
.about-img-wrap { border-radius: var(--radius-lg); overflow: hidden; position: relative; box-shadow: 0 20px 60px var(--shadow-md); }
.about-img-wrap img { width: 100%; height: 480px; object-fit: cover; object-position: center top; transition: transform .6s ease; }
.about-img-wrap:hover img { transform: scale(1.03); }
.about-img-badge {
  position: absolute; bottom: 28px; left: 28px;
  background: var(--gold); color: var(--navy);
  border-radius: var(--radius);
  padding: 14px 20px;
}
.about-img-badge .big { font-family: var(--font-serif); font-size: 2.2rem; font-weight: 700; line-height: 1; }
.about-img-badge .small { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.about-img-placeholder {
  height: 480px; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.about-img-placeholder svg { width: 80px; height: 80px; stroke: rgba(255,255,255,.2); }

.values-section { padding: 80px 0; background: var(--navy); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.value-card {
  text-align: center; padding: 40px 28px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.value-card:hover { background: rgba(255,255,255,.05); transform: translateY(-4px); }
.value-icon { width: 60px; height: 60px; background: rgba(201,168,76,.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.value-icon svg { width: 28px; height: 28px; stroke: var(--gold); }
.value-card h3 { font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.value-card p { font-size: .9rem; color: rgba(255,255,255,.7); line-height: 1.7; }

/* ===== PRACTICE AREAS FULL PAGE ===== */
.pa-section { padding: 90px 0; }
.pa-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 48px; }
.pa-card {
  display: flex; gap: 24px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 28px;
  transition: all var(--transition);
}
.pa-card:hover { box-shadow: 0 12px 40px var(--shadow-md); transform: translateY(-4px); border-color: var(--gold-pale); }
.pa-card-icon { flex-shrink: 0; }
.pa-card-icon .icon-wrap {
  width: 60px; height: 60px; background: var(--gold-pale);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
}
.pa-card-icon svg { width: 28px; height: 28px; stroke: var(--gold); }
.pa-card-body h3 { font-family: var(--font-serif); font-size: 1.2rem; color: var(--navy); margin-bottom: 10px; }
.pa-card-body p { font-size: .9rem; color: var(--text-mid); line-height: 1.7; }

/* ===== BLOG FULL PAGE ===== */
.blog-section { padding: 80px 0; }
.blog-full-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; }
.blog-posts-grid { display: grid; gap: 32px; }
.blog-post-card {
  display: grid; grid-template-columns: 260px 1fr; gap: 24px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all var(--transition);
}
.blog-post-card:hover { box-shadow: 0 12px 40px var(--shadow-md); transform: translateY(-3px); }
.post-img {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  min-height: 200px; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.post-img img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 24px 24px 24px 0; display: flex; flex-direction: column; }
.post-body .blog-category { position: static; display: inline-block; margin-bottom: 12px; }
.post-body h3 { font-family: var(--font-serif); font-size: 1.2rem; color: var(--navy); margin-bottom: 10px; line-height: 1.4; }
.post-body p { font-size: .9rem; color: var(--text-mid); line-height: 1.7; flex-grow: 1; }
.post-body .blog-meta { margin-bottom: 0; margin-top: 16px; }
.post-body .blog-read-more { margin-top: 14px; }

.blog-sidebar { }
.sidebar-widget {
  background: var(--off-white); border-radius: var(--radius-lg);
  padding: 28px; margin-bottom: 28px;
}
.sidebar-widget h4 {
  font-family: var(--font-serif); font-size: 1.1rem; color: var(--navy);
  margin-bottom: 18px; padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
}
.sidebar-categories li { padding: 8px 0; border-bottom: 1px solid var(--border); }
.sidebar-categories li:last-child { border-bottom: none; }
.sidebar-categories a { font-size: .9rem; color: var(--text-mid); display: flex; justify-content: space-between; }
.sidebar-categories a:hover { color: var(--gold); }
.sidebar-categories span { color: var(--text-light); font-size: .82rem; }
.recent-post { display: flex; gap: 14px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--border); }
.recent-post:last-child { border-bottom: none; }
.recent-thumb { width: 60px; height: 60px; background: var(--navy); border-radius: var(--radius); flex-shrink: 0; overflow: hidden; }
.recent-thumb img { width: 100%; height: 100%; object-fit: cover; }
.recent-info h5 { font-size: .88rem; font-weight: 600; color: var(--navy); line-height: 1.4; margin-bottom: 4px; }
.recent-info span { font-size: .78rem; color: var(--text-light); }

/* ===== ARTICLE VIEW ===== */
.article-page { padding: 70px 0; }
.article-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; }
.article-content .article-header { margin-bottom: 32px; }
.article-content .article-title { font-family: var(--font-serif); font-size: clamp(1.8rem,4vw,2.6rem); color: var(--navy); line-height: 1.25; margin-bottom: 16px; }
.article-meta { display: flex; gap: 20px; flex-wrap: wrap; font-size: .85rem; color: var(--text-light); margin-bottom: 24px; }
.article-meta span { display: flex; align-items: center; gap: 6px; }
.article-body { font-size: 1rem; line-height: 1.85; color: var(--text-mid); }
.article-body h2 { font-family: var(--font-serif); font-size: 1.5rem; color: var(--navy); margin: 32px 0 12px; }
.article-body h3 { font-size: 1.15rem; font-weight: 600; color: var(--navy); margin: 24px 0 8px; }
.article-body p { margin-bottom: 18px; }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 18px; }
.article-body li { margin-bottom: 8px; }
.article-body blockquote {
  border-left: 4px solid var(--gold);
  padding: 16px 24px; margin: 24px 0;
  background: var(--gold-pale); border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic; color: var(--text-mid);
}
.article-feat-img { width: 100%; height: 360px; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: 36px; }
.article-feat-placeholder { width: 100%; height: 360px; background: linear-gradient(135deg, var(--navy), var(--navy-mid)); border-radius: var(--radius-lg); margin-bottom: 36px; display: flex; align-items: center; justify-content: center; }
.article-feat-placeholder svg { width: 60px; height: 60px; stroke: rgba(255,255,255,.2); }

/* ===== CONTACT PAGE ===== */
.contact-section { padding: 80px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; }
.contact-info { }
.contact-info h3 { font-family: var(--font-serif); font-size: 1.6rem; color: var(--navy); margin-bottom: 16px; }
.contact-info p { color: var(--text-mid); line-height: 1.8; margin-bottom: 32px; }
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item-icon {
  width: 46px; height: 46px; background: var(--gold-pale);
  border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-item-icon svg { width: 20px; height: 20px; stroke: var(--gold); }
.contact-item-body h5 { font-size: .88rem; font-weight: 600; color: var(--text-light); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.contact-item-body a, .contact-item-body p { font-size: .95rem; color: var(--navy); font-weight: 500; }
.contact-item-body a:hover { color: var(--gold); }
.contact-map { margin-top: 32px; border-radius: var(--radius-lg); overflow: hidden; height: 220px; background: var(--light); box-shadow: 0 4px 16px var(--shadow); }
.contact-map iframe { width: 100%; height: 100%; border: none; display: block; }

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: 0 4px 24px var(--shadow);
}
.contact-form-wrap h3 { font-family: var(--font-serif); font-size: 1.5rem; color: var(--navy); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--text-mid); margin-bottom: 7px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans); font-size: .92rem; color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-msg { padding: 12px 16px; border-radius: var(--radius); font-size: .88rem; margin-bottom: 16px; display: none; }
.form-msg.success { background: #d4edda; color: #155724; display: block; }
.form-msg.error { background: #f8d7da; color: #721c24; display: block; }

/* ===== ADMIN LOGIN ===== */
.admin-login-page { min-height: 80vh; display: flex; align-items: center; justify-content: center; padding: 60px 0; background: var(--off-white); }
.admin-login-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 50px 44px; width: 100%; max-width: 420px;
  box-shadow: 0 8px 40px var(--shadow-md);
}
.admin-login-card .logo-wrap { text-align: center; margin-bottom: 28px; }
.admin-login-card .logo-wrap img { height: 56px; margin: 0 auto; }
.admin-login-card h2 { text-align: center; font-family: var(--font-serif); font-size: 1.6rem; color: var(--navy); margin-bottom: 6px; }
.admin-login-card .sub { text-align: center; font-size: .88rem; color: var(--text-light); margin-bottom: 32px; }
.admin-login-card .btn { width: 100%; justify-content: center; margin-top: 8px; padding: 14px; }

/* ===== ADMIN DASHBOARD ===== */
.admin-page { padding: 50px 0; background: var(--off-white); min-height: 80vh; }
.admin-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; }
.admin-header h2 { font-family: var(--font-serif); font-size: 1.8rem; color: var(--navy); }
.admin-tabs { display: flex; gap: 8px; margin-bottom: 28px; }
.admin-tab {
  padding: 10px 22px; border-radius: var(--radius);
  font-size: .88rem; font-weight: 600;
  color: var(--text-mid); background: var(--white);
  border: 1.5px solid var(--border);
  transition: all var(--transition); cursor: pointer;
}
.admin-tab.active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.admin-tab:hover:not(.active) { border-color: var(--gold); color: var(--gold); }
.admin-panel { background: var(--white); border-radius: var(--radius-lg); padding: 32px; border: 1px solid var(--border); }
.articles-table { width: 100%; border-collapse: collapse; }
.articles-table th, .articles-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: .88rem; }
.articles-table th { font-weight: 600; color: var(--text-light); text-transform: uppercase; font-size: .75rem; letter-spacing: .06em; }
.articles-table td { color: var(--text); }
.articles-table tr:hover td { background: var(--off-white); }
.status-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 12px; font-size: .75rem; font-weight: 600;
}
.status-badge.published { background: #d4edda; color: #155724; }
.status-badge.draft { background: #fff3cd; color: #856404; }
.table-actions { display: flex; gap: 8px; }
.table-actions button { padding: 5px 12px; border-radius: var(--radius); font-size: .78rem; font-weight: 600; cursor: pointer; transition: all var(--transition); }
.btn-edit { background: var(--gold-pale); color: var(--navy); border: 1px solid var(--gold); }
.btn-edit:hover { background: var(--gold); }
.btn-delete { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.btn-delete:hover { background: #f5c6cb; }

.article-editor { }
.editor-toolbar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.editor-toolbar button { padding: 6px 12px; background: var(--off-white); border: 1px solid var(--border); border-radius: 4px; font-size: .82rem; cursor: pointer; transition: background var(--transition); }
.editor-toolbar button:hover { background: var(--gold-pale); }
.editor-content {
  width: 100%; min-height: 300px;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 16px; font-family: var(--font-sans); font-size: .92rem; color: var(--text);
  outline: none; line-height: 1.8;
}
.editor-content:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,.15); }
[contenteditable="true"] { outline: none; }

/* ===== NEWSLETTER SECTION ===== */
.newsletter-section { background: var(--gold-pale); padding: 70px 0; }
.newsletter-inner { max-width: 580px; margin: 0 auto; text-align: center; }
.newsletter-inner h2 { font-family: var(--font-serif); font-size: 1.9rem; color: var(--navy); margin-bottom: 12px; }
.newsletter-inner p { color: var(--text-mid); margin-bottom: 28px; }
.newsletter-form { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; }
.newsletter-form input { flex: 1; padding: 13px 18px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: .92rem; outline: none; }
.newsletter-form input:focus { border-color: var(--gold); }
.newsletter-form button { flex-shrink: 0; padding: 13px 24px; background: var(--navy); color: var(--white); border-radius: var(--radius); font-weight: 600; font-size: .88rem; transition: background var(--transition); }
.newsletter-form button:hover { background: var(--navy-dark); }

/* ===== FOOTER ===== */
.footer { background: var(--navy-dark); color: rgba(255,255,255,.75); }
.footer-main {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 48px;
  padding: 72px 0 48px;
}
.footer-brand p { font-size: .88rem; line-height: 1.8; margin: 18px 0 24px; color: rgba(255,255,255,.6); }
.footer-logo { height: 56px; width: auto; margin-bottom: 4px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.15); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); transition: all var(--transition);
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-social svg { width: 15px; height: 15px; }
.footer-links h4, .footer-contact h4 {
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--white); margin-bottom: 20px;
  padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul a { font-size: .88rem; color: rgba(255,255,255,.6); transition: color var(--transition); }
.footer-links ul a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact address p { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: .88rem; color: rgba(255,255,255,.6); }
.footer-contact address .icon { flex-shrink: 0; margin-top: 2px; }
.footer-contact a:hover { color: var(--gold); }
.footer-newsletter { margin-top: 24px; }
.footer-newsletter p { font-size: .82rem; color: rgba(255,255,255,.5); margin-bottom: 10px; }
.footer-newsletter .newsletter-form { flex-direction: column; gap: 8px; max-width: none; }
.footer-newsletter .newsletter-form input { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.15); color: var(--white); }
.footer-newsletter .newsletter-form input::placeholder { color: rgba(255,255,255,.35); }
.footer-newsletter .newsletter-form input:focus { border-color: var(--gold); }
.footer-newsletter .newsletter-form button { background: var(--gold); color: var(--navy); }
.footer-newsletter .newsletter-form button:hover { background: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
}
.footer-bottom .container { display: flex; align-items: center; justify-content: space-between; }
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.4); }
.admin-link { font-size: .78rem; color: rgba(255,255,255,.3); transition: color var(--transition); }
.admin-link:hover { color: var(--gold); }

/* ===== SCROLL TOP ===== */
.scroll-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  background: var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(201,168,76,.4);
  opacity: 0; transform: translateY(16px);
  transition: all var(--transition); z-index: 900;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--gold-light); transform: translateY(-3px); }
.scroll-top svg { width: 20px; height: 20px; stroke: var(--navy); stroke-width: 2.5; }

/* ===== LOADING / EMPTY STATES ===== */
.loading { display: flex; align-items: center; justify-content: center; padding: 80px 0; flex-direction: column; gap: 16px; color: var(--text-light); }
.spinner { width: 40px; height: 40px; border: 3px solid var(--border); border-top-color: var(--gold); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty-state { text-align: center; padding: 80px 24px; }
.empty-state svg { width: 64px; height: 64px; stroke: var(--border); margin: 0 auto 20px; display: block; }
.empty-state h3 { font-family: var(--font-serif); color: var(--navy); margin-bottom: 8px; }
.empty-state p { color: var(--text-light); font-size: .9rem; }

/* ===== ANIMATIONS ===== */
.fade-in { animation: fadeIn .5s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 60px 0; }
  .hero-visual { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .why-visual { order: -1; }
  .about-history-grid { grid-template-columns: 1fr; }
  .blog-full-grid { grid-template-columns: 1fr; }
  .blog-sidebar { display: none; }
  .article-layout { grid-template-columns: 1fr; }
  .practices-grid { grid-template-columns: repeat(2,1fr); }
  .pa-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .topbar-contacts { gap: 10px; }
  .topbar-contacts a:not(:first-child) { display: none; }
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--border);
    padding: 16px; box-shadow: 0 8px 24px var(--shadow);
  }
  .nav-menu.open { display: flex; }
  .nav-link { width: 100%; padding: 12px 16px; border-radius: var(--radius); }
  .header { position: relative; }
  .practices-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .why-values { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .blog-post-card { grid-template-columns: 1fr; }
  .post-img { min-height: 160px; }
  .post-body { padding: 20px; }
  .footer-main { grid-template-columns: 1fr; gap: 36px; }
  .practices-header, .blog-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .admin-login-card { padding: 36px 24px; }
  .newsletter-form { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero { min-height: auto; padding: 70px 0; }
  .hero-actions { flex-direction: column; }
  .blog-header { margin-bottom: 28px; }
}
