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

:root {
  --navy: #0f1e36;
  --navy-mid: #162a4a;
  --gold: #b89244;
  --gold-light: #d4ad5e;
  --cream: #faf8f4;
  --warm-white: #fffdf9;
  --text-dark: #1c1c1c;
  --text-body: #3a3a3a;
  --text-muted: #6b6b6b;
  --border-light: #e8e4dc;
  --bg-section: #f4f1eb;
  --shadow-sm: 0 1px 3px rgba(15,30,54,0.06);
  --shadow-md: 0 4px 16px rgba(15,30,54,0.08);
  --shadow-lg: 0 8px 32px rgba(15,30,54,0.12);
  --radius: 6px;
  --max-width: 1200px;
  --transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Libre Franklin', sans-serif;
  color: var(--text-body);
  background: var(--warm-white);
  line-height: 1.7;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  line-height: 1.25;
  font-weight: 600;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }
img { max-width: 100%; display: block; }

.container { width: 90%; max-width: var(--max-width); margin: 0 auto; }

/* TOPBAR */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
  padding: 8px 0;
  letter-spacing: 0.02em;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.topbar a { color: var(--gold-light); }
.topbar a:hover { color: #fff; }

/* HEADER */
header {
  background: var(--warm-white);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}
.logo span { color: var(--gold); }

nav { display: flex; align-items: center; gap: 6px; }
nav a {
  color: var(--text-dark);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}
nav a:hover, nav a.active { background: var(--navy); color: #fff; }
.nav-cta { background: var(--gold) !important; color: #fff !important; font-weight: 600 !important; padding: 10px 22px !important; }
.nav-cta:hover { background: var(--gold-light) !important; }

.hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { display: block; width: 26px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: var(--transition); }

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #1e3a5f 100%);
  color: #fff;
  padding: clamp(60px, 10vw, 120px) 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(184,146,68,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-content { max-width: 680px; position: relative; z-index: 2; }
.hero h1 { color: #fff; margin-bottom: 20px; font-weight: 700; }
.hero h1 .gold { color: var(--gold-light); }
.hero p { font-size: 1.1rem; line-height: 1.75; color: rgba(255,255,255,0.82); margin-bottom: 32px; }
.hero-stats { display: flex; gap: 40px; margin-top: 40px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.12); }
.hero-stats strong { display: block; font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--gold-light); font-weight: 700; }
.hero-stats span { font-size: 0.82rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; }

/* BUTTONS */
.btn {
  display: inline-block; padding: 14px 32px; font-size: 0.92rem; font-weight: 600;
  border-radius: var(--radius); cursor: pointer; transition: all var(--transition);
  text-decoration: none; border: none; font-family: inherit; letter-spacing: 0.01em;
}
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-light); color: #fff; }
.btn-outline { border: 1.5px solid rgba(255,255,255,0.3); color: #fff; background: transparent; margin-left: 12px; }
.btn-outline:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-mid); color: #fff; }

/* SECTIONS */
.section { padding: clamp(50px, 8vw, 80px) 0; }
.section-alt { background: var(--bg-section); }
.section-header { max-width: 620px; margin-bottom: 40px; }
.section-header .label {
  display: inline-block; font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 10px;
}
.section-header h2 { margin-bottom: 14px; }
.section-header p { color: var(--text-muted); font-size: 1.02rem; }

/* PRACTICE AREA CARDS (Homepage - compact) */
.pa-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.pa-card {
  background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius);
  padding: 28px 24px; transition: box-shadow var(--transition), transform var(--transition);
}
.pa-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.pa-card .icon {
  width: 44px; height: 44px; background: var(--bg-section); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px; font-size: 1.3rem;
}
.pa-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.pa-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
.pa-card .read-more { display: inline-block; margin-top: 12px; font-size: 0.85rem; font-weight: 600; color: var(--gold); }

/* PRACTICE AREA FULL (Practice page - full width sections) */
.pa-full-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--border-light);
}
.pa-full-section:last-child { border-bottom: none; }
.pa-full-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.pa-full-header .icon {
  width: 52px; height: 52px; background: var(--bg-section); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0;
}
.pa-full-header h2 { font-size: 1.5rem; margin: 0; }
.pa-full-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.pa-full-body p { font-size: 0.95rem; color: var(--text-body); line-height: 1.7; }
.pa-full-body .pa-links {
  margin-top: 14px;
  font-size: 0.88rem;
}
.pa-full-body .pa-links a {
  display: inline-block;
  margin-right: 18px;
  font-weight: 600;
}

/* FEATURES */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px; }
.feature-item { text-align: left; }
.feature-item .number { font-family: 'Playfair Display', serif; font-size: 2.2rem; color: var(--gold); font-weight: 700; margin-bottom: 8px; opacity: 0.7; }
.feature-item h3 { font-size: 1.1rem; margin-bottom: 6px; }
.feature-item p { font-size: 0.92rem; color: var(--text-muted); }

/* TESTIMONIALS */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.testimonial-card {
  background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius);
  padding: 28px; position: relative;
}
.testimonial-card::before {
  content: '\201C'; font-family: 'Playfair Display', serif; font-size: 4rem;
  color: var(--gold); opacity: 0.25; position: absolute; top: 10px; left: 24px; line-height: 1;
}
.testimonial-card p { font-size: 0.95rem; font-style: italic; color: var(--text-body); margin-bottom: 14px; position: relative; z-index: 2; }
.testimonial-card .author { font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.stars { color: var(--gold); font-size: 0.85rem; margin-bottom: 10px; }

/* CTA */
.cta-banner { background: var(--navy); color: #fff; padding: clamp(45px, 6vw, 70px) 0; text-align: center; }
.cta-banner h2 { color: #fff; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.7); max-width: 520px; margin: 0 auto 24px; font-size: 1.02rem; }

/* BLOG GRID */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.blog-card {
  background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius);
  overflow: hidden; transition: box-shadow var(--transition), transform var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.blog-card-body { padding: 22px; }
.blog-card .tag {
  display: inline-block; font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); margin-bottom: 8px;
  background: var(--bg-section); padding: 3px 10px; border-radius: 3px;
}
.blog-card h3 { font-size: 1.05rem; margin-bottom: 8px; line-height: 1.35; }
.blog-card h3 a { color: var(--navy); text-decoration: none; }
.blog-card h3 a:hover { color: var(--gold); }
.blog-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 10px; }
.blog-card .meta { font-size: 0.78rem; color: var(--text-muted); }
.blog-card .read-link { font-size: 0.85rem; font-weight: 600; color: var(--gold); display: inline-block; margin-top: 6px; }

/* BLOG SINGLE */
.blog-hero { background: var(--navy); color: #fff; padding: clamp(35px, 5vw, 60px) 0; }
.blog-hero .label {
  display: inline-block; font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold-light); margin-bottom: 12px;
}
.blog-hero h1 { color: #fff; max-width: 750px; margin-bottom: 14px; }
.blog-hero .meta { color: rgba(255,255,255,0.55); font-size: 0.85rem; }
.blog-content { max-width: 750px; margin: 0 auto; padding: clamp(30px, 5vw, 60px) 0; }
.blog-content p { margin-bottom: 18px; font-size: 1.02rem; }
.blog-content h2 { margin-top: 36px; margin-bottom: 14px; }
.blog-content h3 { margin-top: 28px; margin-bottom: 10px; }
.blog-content ul, .blog-content ol { margin: 14px 0 18px 24px; }
.blog-content li { margin-bottom: 6px; font-size: 0.98rem; }
.blog-content blockquote {
  border-left: 3px solid var(--gold); padding: 14px 22px; margin: 22px 0;
  background: var(--bg-section); border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic; color: var(--text-body);
}
.blog-content .internal-links {
  background: var(--bg-section);
  padding: 20px 24px;
  border-radius: var(--radius);
  margin: 28px 0;
}
.blog-content .internal-links h3 {
  font-size: 1rem;
  margin: 0 0 10px 0;
  color: var(--navy);
}
.blog-content .internal-links a {
  display: inline-block;
  margin-right: 14px;
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 500;
}
.blog-nav {
  border-top: 1px solid var(--border-light); padding-top: 24px; margin-top: 36px;
  display: flex; justify-content: space-between; gap: 20px;
}
.blog-nav a { font-size: 0.88rem; font-weight: 600; color: var(--navy); }

/* ABOUT */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.about-image {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  height: 380px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
}
.about-image .initials { font-family: 'Playfair Display', serif; font-size: 5rem; color: var(--gold); opacity: 0.3; font-weight: 700; }
.about-text h2 { margin-bottom: 16px; }
.about-text p { margin-bottom: 14px; font-size: 0.95rem; }
.about-text .about-links { margin-top: 20px; }
.about-text .about-links a { margin-right: 16px; font-weight: 600; font-size: 0.92rem; }

.timeline { margin-top: 30px; padding-left: 28px; border-left: 2px solid var(--border-light); }
.timeline-item { margin-bottom: 24px; position: relative; }
.timeline-item::before {
  content: ''; width: 10px; height: 10px; background: var(--gold); border-radius: 50%;
  position: absolute; left: -34px; top: 5px;
}
.timeline-item .year { font-size: 0.78rem; font-weight: 600; color: var(--gold); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 3px; }
.timeline-item h4 { font-family: 'Libre Franklin', sans-serif; font-size: 0.98rem; font-weight: 600; color: var(--navy); margin-bottom: 3px; }
.timeline-item p { font-size: 0.86rem; color: var(--text-muted); }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 42px; }
.contact-info h2 { margin-bottom: 16px; }
.contact-info p { margin-bottom: 18px; font-size: 0.95rem; }
.contact-detail { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-detail .icon-wrap {
  width: 42px; height: 42px; background: var(--bg-section); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0;
}
.contact-detail h4 { font-family: 'Libre Franklin', sans-serif; font-size: 0.88rem; font-weight: 600; color: var(--navy); margin-bottom: 2px; }
.contact-detail p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

.contact-form { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius); padding: 32px; }
.contact-form h3 { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--navy); margin-bottom: 5px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 10px 13px; border: 1px solid var(--border-light); border-radius: var(--radius);
  font-family: inherit; font-size: 0.92rem; color: var(--text-dark); background: var(--warm-white);
  transition: border-color var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--gold); }
.form-group textarea { min-height: 110px; resize: vertical; }

/* PAGE HERO */
.page-hero { background: var(--navy); color: #fff; padding: clamp(35px, 5vw, 60px) 0; }
.page-hero h1 { color: #fff; margin-bottom: 8px; }
.page-hero p { color: rgba(255,255,255,0.65); font-size: 1rem; max-width: 560px; }
.breadcrumb { font-size: 0.78rem; color: rgba(255,255,255,0.45); margin-bottom: 12px; }
.breadcrumb a { color: var(--gold-light); }

/* FOOTER */
footer { background: var(--navy); color: rgba(255,255,255,0.6); padding: 50px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .logo { color: #fff; font-size: 1.35rem; display: inline-block; margin-bottom: 12px; }
.footer-brand p { font-size: 0.86rem; line-height: 1.65; }
footer h4 {
  font-family: 'Libre Franklin', sans-serif; font-size: 0.82rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.85); margin-bottom: 16px;
}
footer ul { list-style: none; }
footer li { margin-bottom: 8px; }
footer li a { color: rgba(255,255,255,0.55); font-size: 0.86rem; transition: color var(--transition); }
footer li a:hover { color: var(--gold-light); }
.footer-bottom { padding: 20px 0; text-align: center; font-size: 0.78rem; color: rgba(255,255,255,0.35); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .about-split, .contact-grid, .pa-full-body { grid-template-columns: 1fr; }
  .about-image { height: 240px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 24px; }
}
@media (max-width: 768px) {
  nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--warm-white); flex-direction: column; padding: 20px; border-bottom: 1px solid var(--border-light); box-shadow: var(--shadow-md); }
  nav.open { display: flex; }
  .hamburger { display: flex; }
  .blog-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .pa-grid { grid-template-columns: 1fr; }
}
