:root {
  --navy: #1e2a4a;
  --navy-light: #2c3e6b;
  --navy-dark: #141d35;
  --brown: #3d2b1f;
  --brown-light: #5a4234;
  --cream: #f5f3f0;
  --white: #ffffff;
  --gray-100: #f8f8f8;
  --gray-200: #e8e8e8;
  --gray-300: #d0d0d0;
  --gray-600: #6b6b6b;
  --gray-800: #333333;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max-width: 1200px;
  --header-height: 90px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  line-height: 1.6;
  background: #f1f0f0;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

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

/* ── Header / Navigation ── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: #f1f0f0;
  border-bottom: 1px solid var(--gray-200);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.logo img {
  height: 65px;
  width: auto;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--brown);
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1.1;
}

.logo-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 5px;
  color: var(--gray-600);
}

.header .logo .logo-text {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-800);
  letter-spacing: 0.5px;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--navy);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--navy);
}

.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: 4px;
  font-weight: 600 !important;
  letter-spacing: 0.5px;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--navy-light) !important;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: all 0.3s ease;
}

/* ── Hero Section ── */
.hero {
  margin-top: var(--header-height);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 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='%23ffffff' fill-opacity='0.03'%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");
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 700px;
}

.hero p {
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 560px;
  opacity: 0.9;
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Page Hero (interior pages) ── */
.page-hero {
  margin-top: var(--header-height);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.05rem;
  opacity: 0.85;
  max-width: 560px;
  margin: 0 auto;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  font-family: var(--font-sans);
}

.btn-primary {
  background: var(--white);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--cream);
}

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

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-light);
}

.btn-brown {
  background: var(--brown);
  color: var(--white);
}

.btn-brown:hover {
  background: var(--brown-light);
}

/* ── Sections ── */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--brown);
  margin: 16px auto;
}

/* ── Practice Area Cards ── */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.practice-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 40px 32px;
  text-align: center;
  transition: all 0.3s ease;
}

.practice-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--navy);
}

.practice-card .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.practice-card .icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--navy);
}

.practice-card h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

.practice-card p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.practice-card .learn-more {
  display: inline-block;
  margin-top: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brown);
  letter-spacing: 0.5px;
}

.practice-card .learn-more:hover {
  color: var(--navy);
}

/* ── Why Saxe / Features ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.feature-item {
  text-align: center;
  padding: 20px;
}

.feature-item .number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.feature-item h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

.feature-item p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--brown) 0%, var(--brown-light) 100%);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.cta-banner h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ── About Page ── */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 20px;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 16px;
}

.about-image {
  background: var(--cream);
  border-radius: 8px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-200);
}

.about-image .placeholder {
  text-align: center;
  color: var(--gray-600);
}

.about-image .placeholder svg {
  width: 80px;
  height: 80px;
  stroke: var(--gray-300);
  margin-bottom: 12px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value-card {
  text-align: center;
  padding: 32px 24px;
}

.value-card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

.value-card p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ── Practice Areas Detail ── */
.practice-detail {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--gray-200);
}

.practice-detail:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.practice-detail h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 16px;
}

.practice-detail p {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
  max-width: 800px;
}

.practice-detail ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 32px;
  max-width: 800px;
}

.practice-detail ul li {
  font-size: 0.95rem;
  color: var(--gray-600);
  padding-left: 20px;
  position: relative;
}

.practice-detail ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 2px;
  background: var(--brown);
}

/* ── Attorneys ── */
.attorneys-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  justify-items: center;
}

.attorney-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  overflow: hidden;
  max-width: 600px;
  width: 100%;
  transition: all 0.3s ease;
}

.attorney-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.attorney-photo {
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.attorney-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.attorney-photo .placeholder {
  text-align: center;
  color: var(--gray-600);
}

.attorney-photo .placeholder svg {
  width: 64px;
  height: 64px;
  stroke: var(--gray-300);
  margin-bottom: 8px;
}

.attorney-info {
  padding: 28px;
}

.attorney-info h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.attorney-info .title {
  font-size: 0.9rem;
  color: var(--brown);
  font-weight: 500;
  margin-bottom: 12px;
}

.attorney-info p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 12px;
}

.attorney-info p:last-of-type {
  margin-bottom: 0;
}

.attorney-info .contact-details {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
}

.attorney-info .contact-details a {
  display: block;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.attorney-info .contact-details a:hover {
  color: var(--brown);
}

/* ── Contact Page ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-detail .icon-circle {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-detail .icon-circle svg {
  width: 20px;
  height: 20px;
  stroke: var(--navy);
}

.contact-detail h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-800);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.contact-detail p {
  font-size: 0.95rem;
  color: var(--gray-600);
  margin-bottom: 0;
}

.contact-detail a {
  color: var(--navy);
}

.contact-detail a:hover {
  color: var(--brown);
}

/* ── Contact Form ── */
.contact-form {
  background: var(--cream);
  padding: 40px;
  border-radius: 8px;
}

.contact-form h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  border: 1px solid var(--gray-300);
  border-radius: 4px;
  background: var(--white);
  color: var(--gray-800);
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
}

.form-group textarea {
  height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.8rem;
  color: var(--gray-600);
  margin-top: 12px;
  font-style: italic;
}

/* ── Google Map ── */
.map-section {
  padding: 0;
}

.map-section iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

/* ── FAQ ── */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--white);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: var(--gray-100);
}

.faq-question .arrow {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  stroke: var(--navy);
  min-width: 20px;
}

.faq-item.open .faq-question .arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.8;
}

/* ── Footer ── */
.footer {
  background: var(--navy-dark);
  color: var(--white);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-text {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.footer-brand .logo-text span {
  color: rgba(255, 255, 255, 0.5);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.7;
  max-width: 280px;
}

.footer h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul li a {
  font-size: 0.9rem;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.footer ul li a:hover {
  opacity: 1;
}

.footer-contact p {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 8px;
  line-height: 1.6;
}

.footer-contact a {
  opacity: 0.7;
}

.footer-contact a:hover {
  opacity: 1;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  opacity: 0.5;
}

/* ── Responsive ── */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.4rem;
  }

  .practice-grid,
  .features-grid,
  .values-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .about-image {
    height: 300px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero {
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .section {
    padding: 60px 0;
  }

  .practice-grid,
  .features-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .practice-detail ul {
    grid-template-columns: 1fr;
  }

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

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .attorneys-grid {
    grid-template-columns: 1fr;
  }

}
