:root {
  --green: #1b3a2d;
  --green-light: #2d5a47;
  --green-pale: #e8f0ec;
  --gold: #b8963e;
  --gold-light: #d4b76a;
  --cream: #faf7f2;
  --dark: #0f1f18;
  --text: #5c6b63;
  --white: #ffffff;
  --radius: 6px;
  --shadow: 0 25px 60px rgba(27, 58, 45, 0.12);
}

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

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

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--green);
  font-weight: 600;
  line-height: 1.15;
}

/* Navbar */
.navbar {
  padding: 1.25rem 0;
  transition: all 0.4s;
}

.navbar.scrolled {
  background: rgba(250, 247, 242, 0.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(27, 58, 45, 0.06);
}

.navbar-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--green) !important;
}

.navbar-brand em {
  font-style: italic;
  color: var(--gold);
}

.nav-link {
  font-weight: 500;
  color: var(--text) !important;
  margin: 0 0.75rem;
  font-size: 0.9rem;
}

.btn-green {
  background: var(--green);
  color: var(--cream);
  border: none;
  padding: 0.8rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.35s;
  box-shadow: 0 8px 25px rgba(27, 58, 45, 0.25);
}

.btn-green:hover {
  background: var(--green-light);
  color: var(--cream);
  transform: translateY(-2px);
}

.btn-outline-green {
  border: 2px solid var(--green);
  color: var(--green);
  background: transparent;
  padding: 0.8rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: all 0.35s;
}

.btn-outline-green:hover {
  background: var(--green);
  color: var(--cream);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?w=1600&q=80') center/cover no-repeat;
  filter: brightness(0.15);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--dark) 60%, transparent 100%);
}

.hero-content { position: relative; z-index: 2; }

.hero-ornament {
  width: 80px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 2rem;
}

.hero-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--cream);
  margin-bottom: 1.5rem;
}

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

.hero-sub {
  color: rgba(250, 247, 242, 0.75);
  font-size: 1.15rem;
  max-width: 500px;
  margin-bottom: 2.5rem;
}

.hero-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(184, 150, 62, 0.3);
}

.cred-item strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  color: var(--gold);
}

.cred-item span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(250, 247, 242, 0.6);
}

/* Sections */
section { padding: 110px 0; }

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-heading {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  margin-bottom: 1rem;
}

/* Practice areas */
.practice-card {
  background: white;
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  border: 1px solid var(--green-pale);
  transition: all 0.4s;
  height: 100%;
  position: relative;
}

.practice-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.4s;
}

.practice-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.practice-card:hover::after { transform: scaleX(1); }

.practice-card .icon {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

.practice-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

/* About */
.about { background: white; }

.about-img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.values-list {
  list-style: none;
  margin-top: 2rem;
}

.values-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--green-pale);
}

.values-list li i {
  color: var(--gold);
  margin-top: 0.25rem;
}

/* Team */
.team-elegant {
  text-align: center;
}

.team-elegant img {
  width: 200px;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  border: 3px solid var(--gold);
  box-shadow: var(--shadow);
}

.team-elegant h3 { font-size: 1.35rem; }

.team-elegant .title {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Heritage */
.heritage {
  background: var(--green);
  color: var(--cream);
}

.heritage .section-heading,
.heritage .section-label { color: var(--cream); }

.heritage .section-label { opacity: 0.7; }

.heritage-item {
  text-align: center;
  padding: 2rem 1rem;
}

.heritage-item .year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.heritage-item .desc {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-top: 0.5rem;
}

/* Testimonial */
.testimonial-elegant {
  background: white;
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: var(--shadow);
  text-align: center;
  max-width: 750px;
  margin: 0 auto;
  position: relative;
}

.testimonial-elegant::before {
  content: '"';
  font-family: 'Cormorant Garamond', serif;
  font-size: 6rem;
  color: var(--gold);
  opacity: 0.2;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
}

.testimonial-elegant .quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-style: italic;
  color: var(--green);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

/* CTA */
.cta-elegant {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 5rem 3rem;
  color: var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-elegant::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(184, 150, 62, 0.1) 0%, transparent 70%);
}

.cta-elegant h2 {
  color: var(--cream);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  position: relative;
}

/* Contact */
.contact-elegant {
  background: white;
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.contact-elegant .form-control {
  border: 2px solid var(--green-pale);
  border-radius: var(--radius);
  padding: 0.9rem 1.25rem;
  background: var(--cream);
}

.contact-elegant .form-control:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(27, 58, 45, 0.08);
  background: white;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-detail .icon {
  width: 50px;
  height: 50px;
  background: var(--green-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}

/* Footer */
footer {
  background: var(--dark);
  color: rgba(250, 247, 242, 0.6);
  padding: 4rem 0 2rem;
}

footer h5 {
  color: var(--cream);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
}

footer a {
  color: rgba(250, 247, 242, 0.6);
  text-decoration: none;
  transition: color 0.3s;
}

footer a:hover { color: var(--gold); }

.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 576px) {
  section { padding: 80px 0; }
  .cta-elegant { padding: 3rem 1.5rem; }
  .hero-credentials { gap: 1.5rem; }
}
