:root {
  --dark: #26252a;
  --darker: #222227;
  --light: #f4f3ef;
  --white: #ffffff;
  --gold: #cbb04e;
  --gold-dark: #b29738;
  --text-dark: #333333;
  --text-muted: #777777;
  --text-light: #a5a5ad;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  color: var(--text-dark);
  background: var(--light);
  line-height: 1.7;
}

h1, h2, h3, h4, .brand-text strong {
  font-family: 'Playfair Display', serif;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(34, 34, 39, 0.45);
  backdrop-filter: blur(6px);
  transition: background 0.3s ease;
}

.site-header.scrolled {
  background: rgba(34, 34, 39, 0.96);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}

.brand-shield svg {
  width: 38px;
  height: 44px;
}

.brand-text strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1.1;
  color: var(--white);
}

.brand-text small {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 2px;
  color: var(--gold);
  font-weight: 700;
}

.main-nav {
  display: flex;
  gap: 24px;
}

.main-nav a {
  text-decoration: none;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold);
}

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

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
}

/* Hero */
.hero {
  position: relative;
  height: 92vh;
  min-height: 640px;
  background: var(--darker);
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.7s ease;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 27, 32, 0.78);
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--white);
  max-width: 780px;
  padding-top: 40px;
}

.hero-content h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  line-height: 1.2;
  font-weight: 600;
}

.gold-divider {
  width: 56px;
  height: 2px;
  background: var(--gold);
  margin: 22px auto;
}

.hero-content p {
  color: #c5c5cc;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 30px;
}

.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  border: none;
  padding: 14px 32px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s ease;
}

.btn-gold:hover {
  background: var(--gold-dark);
}

.btn-dark {
  display: inline-block;
  background: var(--darker);
  color: var(--white);
  padding: 14px 32px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-decoration: none;
  transition: opacity 0.25s ease;
}

.btn-dark:hover {
  opacity: 0.9;
}

.hero-indicators {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 10px;
}

.indicator {
  width: 28px;
  height: 3px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
}

.indicator.active {
  background: var(--gold);
}

.hero-connector {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 1px;
  height: 34px;
  background: var(--gold);
  z-index: 5;
}

/* Sections */
.section-light {
  background: var(--light);
  padding: 90px 0;
}

.section-dark {
  background: var(--dark);
  color: var(--white);
  padding: 90px 0;
}

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

.shield-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 48px;
  border: 2px solid var(--gold);
  border-radius: 6px 6px 22px 22px;
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.section-title-gold {
  color: var(--gold);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 16px;
}

.section-title-light {
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 16px;
}

/* 01 Welcome */
.welcome-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.lead-text {
  font-size: 1.08rem;
  color: var(--text-dark);
  margin-bottom: 16px;
  font-weight: 700;
}

.welcome-text p {
  color: var(--text-muted);
  margin-bottom: 22px;
}

.founder-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #ddd9ce;
  padding-top: 20px;
}

.founder-box strong {
  display: block;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.founder-box span {
  font-size: 0.85rem;
  color: var(--gold-dark);
}

.signature {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.7rem;
  color: var(--text-dark);
}

.portrait-frame {
  position: relative;
  padding: 16px;
  border: 2px solid var(--gold);
  background: var(--white);
}

.portrait-frame img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  display: block;
}

/* 02 Practice Areas */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.practice-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.practice-icon {
  font-size: 1.6rem;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.practice-item h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--white);
}

.practice-item p {
  color: var(--text-light);
  font-size: 0.94rem;
}

/* 03 Attorneys */
.attorneys-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.attorney-card {
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.attorney-photo img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.attorney-caption {
  background: var(--darker);
  padding: 20px;
  text-align: center;
}

.attorney-caption h3 {
  color: var(--white);
  font-size: 1.02rem;
  letter-spacing: 1px;
}

.attorney-caption span {
  color: var(--gold);
  font-size: 0.84rem;
}

/* Gold CTA */
.cta-gold-banner {
  background: var(--gold);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}

.cta-inner h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 10px;
}

.cta-inner p {
  margin-bottom: 24px;
  opacity: 0.95;
}

/* 04 Why Choose Us */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 240px 1fr;
  gap: 32px;
  align-items: center;
}

.why-col {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.why-col.left .why-item {
  text-align: right;
}

.why-item h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.why-item p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.why-dot {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.why-centerpiece svg {
  width: 100%;
  height: auto;
}

/* 05 Split Form */
.consultation-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 540px;
}

.split-photo {
  background-size: cover;
  background-position: center;
  min-height: 320px;
}

.split-form-panel {
  background: var(--darker);
  padding: 64px 7%;
  color: var(--white);
}

.underline-form {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.underline-form input,
.underline-form select,
.underline-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding: 12px 4px;
  color: var(--white);
  font-family: inherit;
  font-size: 0.94rem;
}

.underline-form select option {
  color: var(--text-dark);
}

.underline-form input:focus,
.underline-form select:focus,
.underline-form textarea:focus {
  outline: none;
  border-bottom-color: var(--gold);
}

.form-status {
  font-size: 0.9rem;
  color: var(--gold);
  min-height: 22px;
}

/* 06 News */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  background: var(--white);
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.news-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.news-body {
  padding: 24px;
}

.news-date {
  display: inline-block;
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.news-body h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.news-body p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  background: var(--darker);
  color: var(--text-light);
  padding-top: 70px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-desc {
  margin-top: 16px;
  font-size: 0.92rem;
}

.site-footer h4 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
}

.footer-gold-bar {
  background: var(--gold);
  color: var(--darker);
  text-align: center;
  padding: 16px;
  font-size: 0.85rem;
  font-weight: 700;
}

@media (max-width: 960px) {
  .welcome-grid,
  .practice-grid,
  .attorneys-grid,
  .why-grid,
  .consultation-split,
  .news-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .why-col.left .why-item {
    text-align: left;
    flex-direction: row-reverse;
  }

  .why-centerpiece {
    max-width: 180px;
    margin: 0 auto;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 82px;
    left: 0;
    width: 100%;
    background: var(--darker);
    flex-direction: column;
    padding: 20px 6%;
    display: none;
  }

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

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
