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

:root {
  --navy:       #1B2A4A;
  --navy-dark:  #111D35;
  --navy-light: #253A5E;
  --gold:       #C8A951;
  --gold-light: #D4BC72;
  --gold-dark:  #A8893A;
  --white:      #FFFFFF;
  --off-white:  #F7F7F5;
  --gray-100:   #F0F0EE;
  --gray-200:   #E0DED9;
  --gray-400:   #A09E97;
  --gray-600:   #6B6962;
  --gray-800:   #3A3935;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, sans-serif;
  --max-width:  1200px;
  --transition: 0.3s ease;
}

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

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.5rem;
  background: var(--navy);
  color: var(--white);
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
}
.skip-link:focus {
  top: 1rem;
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.25; color: var(--navy); }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title { margin-bottom: 1rem; }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 640px;
  margin-bottom: 3rem;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(200,169,81,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}

/* ===== HEADER / NAV ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  transition: box-shadow var(--transition), background var(--transition);
}
.header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  flex-direction: column;
}
.logo-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.5px;
  line-height: 1.2;
}
.logo-tagline {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  position: relative;
  transition: color var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--navy); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  padding: 0.6rem 1.4rem !important;
  background: var(--navy) !important;
  color: var(--white) !important;
  border-radius: 4px;
  font-weight: 600 !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--navy-light) !important; }

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--navy);
  transition: all var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(200,169,81,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.04) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(200,169,81,0.3);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-text {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  max-width: 540px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-decoration {
  position: absolute;
  right: -5%; top: 50%;
  transform: translateY(-50%);
  width: 500px; height: 500px;
  border: 1px solid rgba(200,169,81,0.1);
  border-radius: 50%;
}
.hero-decoration::before {
  content: '';
  position: absolute;
  top: 40px; left: 40px; right: 40px; bottom: 40px;
  border: 1px solid rgba(200,169,81,0.07);
  border-radius: 50%;
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--off-white);
  border-bottom: 1px solid var(--gray-200);
  padding: 2rem 0;
}
.trust-bar-inner {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--gray-600);
  font-weight: 500;
}
.trust-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--white);
  border-radius: 50%;
  color: var(--gold);
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* ===== SECTIONS ===== */
section { padding: 5rem 0; }

/* About Preview */
.about-preview { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-image-placeholder {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 0.85rem;
  position: relative;
  overflow: hidden;
}
.about-image-placeholder::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold);
}
.about-content h2 { margin-bottom: 1.5rem; }
.about-content p {
  color: var(--gray-600);
  margin-bottom: 1rem;
}
.about-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--navy);
  font-weight: 700;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== PRACTICE AREAS ===== */
.practice-areas { background: var(--off-white); }
.practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.practice-card {
  background: var(--white);
  padding: 2.25rem;
  border-radius: 8px;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.practice-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 0;
  background: var(--gold);
  transition: height var(--transition);
}
.practice-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  border-color: transparent;
}
.practice-card:hover::before { height: 100%; }

.practice-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--gold);
  border-radius: 8px;
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
}
.practice-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}
.practice-card p {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ===== WHY CHOOSE ===== */
.why-choose { background: var(--white); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.why-item {
  text-align: center;
  padding: 2.5rem 1.5rem;
}
.why-icon {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  background: var(--off-white);
  color: var(--gold);
  border-radius: 50%;
  font-size: 1.5rem;
  margin: 0 auto 1.25rem;
  border: 2px solid var(--gray-200);
}
.why-item h3 { margin-bottom: 0.75rem; font-size: 1.1rem; }
.why-item p { font-size: 0.92rem; color: var(--gray-600); }

/* ===== CTA BAND ===== */
.cta-band {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 4rem 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 1rem; }
.cta-band p { color: rgba(255,255,255,0.7); margin-bottom: 2rem; font-size: 1.05rem; }

/* ===== ABOUT PAGE ===== */
.page-hero {
  padding: 10rem 0 4rem;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1.1rem; }

.about-full { padding: 5rem 0; }
.about-full-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}
.about-sidebar {
  position: sticky;
  top: 100px;
}
.about-photo-placeholder {
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}
.about-info-card {
  background: var(--off-white);
  border-radius: 8px;
  padding: 1.5rem;
}
.about-info-card h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.info-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.9rem;
}
.info-row:last-child { border-bottom: none; }
.info-label { color: var(--gray-400); }
.info-value { font-weight: 600; color: var(--navy); }

.about-main h2 { margin-bottom: 1.25rem; }
.about-main p { color: var(--gray-600); margin-bottom: 1rem; }
.about-main h3 { margin-top: 2.5rem; margin-bottom: 1rem; }

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.value-card {
  padding: 1.5rem;
  background: var(--off-white);
  border-radius: 8px;
  border-left: 3px solid var(--gold);
}
.value-card h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: var(--navy);
}
.value-card p { font-size: 0.88rem; color: var(--gray-600); }

/* ===== PRACTICE AREAS PAGE ===== */
.practice-full { padding: 5rem 0; }
.practice-full-grid {
  display: grid;
  gap: 2rem;
}
.practice-detail {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  padding: 2.5rem;
  background: var(--white);
  border-radius: 8px;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.practice-detail:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  border-color: var(--gold);
}
.practice-detail .practice-icon {
  width: 56px; height: 56px;
  font-size: 1.4rem;
  margin-bottom: 0;
  flex-shrink: 0;
}
.practice-detail h3 { margin-bottom: 0.75rem; }
.practice-detail p { color: var(--gray-600); font-size: 0.95rem; }
.practice-detail ul {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.practice-detail ul li {
  font-size: 0.8rem;
  padding: 0.3rem 0.75rem;
  background: var(--off-white);
  border-radius: 20px;
  color: var(--gray-600);
  border: 1px solid var(--gray-200);
}

/* ===== CONTACT PAGE ===== */
.contact-section { padding: 5rem 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}
.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p { color: var(--gray-600); margin-bottom: 2rem; }

.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}
.contact-detail-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--off-white);
  color: var(--gold);
  border-radius: 8px;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-detail h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.contact-detail p, .contact-detail a {
  font-size: 0.92rem;
  color: var(--gray-600);
}
.contact-detail a:hover { color: var(--gold); }

.office-hours {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--off-white);
  border-radius: 8px;
}
.office-hours h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  font-size: 0.88rem;
  color: var(--gray-600);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 2.5rem;
}
.contact-form-wrapper h3 { margin-bottom: 0.5rem; }
.contact-form-wrapper > p { color: var(--gray-600); font-size: 0.92rem; margin-bottom: 2rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--gray-800);
  background: var(--off-white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,169,81,0.15);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 140px; }

.form-submit {
  width: 100%;
  padding: 1rem;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.form-submit:hover {
  background: var(--navy-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(27,42,74,0.3);
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-top: 1rem;
}

/* ===== MAP PLACEHOLDER ===== */
.map-section { padding: 0; }
.map-placeholder {
  width: 100%;
  height: 350px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 0.9rem;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo-name { color: var(--white); font-size: 1.3rem; }
.footer-brand .logo-tagline { color: var(--gold); }
.footer-brand p { margin-top: 1rem; font-size: 0.9rem; line-height: 1.7; }

.footer h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.footer ul li { margin-bottom: 0.6rem; }
.footer ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer ul li a:hover { color: var(--gold); }

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid,
  .about-full-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .about-sidebar { position: static; }
}

@media (max-width: 768px) {
  section { padding: 3.5rem 0; }

  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.25rem;
    box-shadow: -5px 0 30px rgba(0,0,0,0.1);
    transition: right var(--transition);
  }
  .nav-links.open { right: 0; }
  .nav-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 998;
  }
  .nav-overlay.active { display: block; }
  .nav-toggle { display: flex; z-index: 1001; }
  .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); }

  .hero { min-height: 80vh; }
  .hero-decoration { display: none; }

  .why-grid { grid-template-columns: 1fr; }
  .practice-detail { grid-template-columns: 1fr; }
  .practice-detail .practice-icon { width: 48px; height: 48px; }

  .form-row { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

  .trust-bar-inner { gap: 1.5rem; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .about-stats { flex-direction: column; gap: 1rem; }
}
