
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:wght@400;600&family=Inter:wght@300;400;500;600;700&display=swap');

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #F5F2EC;
  color: #2E2E2E;
}

:root {
  --navy-primary: #1E2A38;
  --gold-primary: #C8A45D;
  --gold-light: #E6C97A;
  --beige-bg: #F5F2EC;
  --text-dark: #2E2E2E;
  --text-secondary: #666666;
  --white: #FFFFFF;
  

  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-xxl: 80px;
}

.hero-large {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.2;
  font-family: 'Crimson Text', serif;
  color: var(--navy-primary);
}

.hero-medium {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.3;
  font-family: 'Crimson Text', serif;
  color: var(--navy-primary);
}

.heading-1 {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.2;
  font-family: 'Crimson Text', serif;
  color: var(--navy-primary);
}

.heading-2 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
  font-family: 'Crimson Text', serif;
  color: var(--navy-primary);
}

.heading-3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  font-family: 'Inter', sans-serif;
  color: var(--navy-primary);
}

.body-large {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-dark);
}

.body-regular {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-dark);
}

.body-small {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* Button System - Sharp Rectangular */
.btn-primary {
  background: transparent;
  color: var(--navy-primary);
  border: 2px solid var(--navy-primary);
  border-radius: 0px;
  padding: 18px 32px;
  min-width: 220px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(.645,.045,.355,1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary:hover {
  background: var(--navy-primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 42, 56, 0.2);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-gold {
  background: var(--gold-primary);
  color: var(--white);
  border: 2px solid var(--gold-primary);
  border-radius: 0px;
  padding: 18px 32px;
  min-width: 220px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(.645,.045,.355,1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(200, 164, 93, 0.3);
}

.btn-secondary {
  background: none;
  border: none;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  color: var(--navy-primary);
  cursor: pointer;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-primary);
  transition: width 0.4s ease-in-out;
}

.btn-secondary:hover {
  color: var(--gold-primary);
}

.btn-secondary:hover:after {
  width: 100%;
}

/* Container System */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Section Spacing */
.section-padding {
  padding: 100px 0;
}

.section-padding-small {
  padding: 60px 0;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-xs { margin-top: var(--space-xs); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-xxl { margin-top: var(--space-xxl); }

.mb-xs { margin-bottom: var(--space-xs); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-xxl { margin-bottom: var(--space-xxl); }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(245, 242, 236, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(200, 164, 93, 0.2);
  transition: all 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(30, 42, 56, 0.1);
  background: rgba(255, 255, 255, 0.98);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.logo:hover {
  opacity: 0.8;
}

.logo-text {
  font-size: 18px;
  font-weight: 600;
  font-family: 'Crimson Text', serif;
  color: var(--navy-primary);
}

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

.nav-link {
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  color: var(--navy-primary);
  cursor: pointer;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-primary);
  transition: width 0.3s ease-in-out;
}

.nav-link:hover {
  color: var(--gold-primary);
}

.nav-link:hover:after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn-header {
  background: var(--gold-primary);
  color: var(--white);
  border: none;
  border-radius: 0;
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-header:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(200, 164, 93, 0.3);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--navy-primary);
  cursor: pointer;
  padding: 8px;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://images.unsplash.com/photo-1566041510394-cf7c8fe21800');
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(245, 242, 236, 0.97) 0%,
    rgba(245, 242, 236, 0.92) 50%,
    rgba(230, 201, 122, 0.15) 100%
  );
  z-index: -1;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-text {
  animation-delay: 0.2s;
}

.hero-subtitle {
  color: var(--text-secondary);
  max-width: 600px;
}

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

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 40px;
  border-top: 1px solid rgba(200, 164, 93, 0.3);
}

.stat-item {
  flex: 1;
}

.stat-number {
  font-size: 36px;
  font-weight: 600;
  font-family: 'Crimson Text', serif;
  color: var(--gold-primary);
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(200, 164, 93, 0.3);
}

.hero-image {
  position: relative;
  animation-delay: 0.4s;
}

.image-frame {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.lawyer-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  box-shadow: 0 20px 60px rgba(30, 42, 56, 0.15);
}

.image-accent {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 150px;
  height: 150px;
  border: 3px solid var(--gold-primary);
  z-index: -1;
}

.credentials-badge {
  background: var(--white);
  padding: 24px;
  margin-top: -40px;
  margin-left: 32px;
  margin-right: 32px;
  box-shadow: 0 10px 40px rgba(30, 42, 56, 0.1);
  position: relative;
  z-index: 10;
}

/* Practice Areas */
.practice-areas-section {
  background: var(--white);
  position: relative;
}

.section-header {
  max-width: 700px;
  margin: 0 auto;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.area-card {
  background: var(--beige-bg);
  padding: 40px;
  border: 1px solid rgba(200, 164, 93, 0.2);
  transition: all 0.4s cubic-bezier(.645,.045,.355,1);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.area-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gold-primary);
  transition: width 0.5s ease-in-out;
}

.area-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(30, 42, 56, 0.12);
  border-color: var(--gold-primary);
}

.area-card:hover::before {
  width: 100%;
}

.area-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--gold-primary);
  border: 2px solid var(--gold-primary);
  transition: all 0.3s ease;
}

.area-icon svg {
  width: 32px;
  height: 32px;
}

.area-card:hover .area-icon {
  background: var(--gold-primary);
  color: var(--white);
  transform: scale(1.1);
}

.cta-center {
  display: flex;
  justify-content: center;
}

/* About Section */
.about-section {
  background: var(--beige-bg);
  position: relative;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-container {
  position: relative;
}

.about-image-frame {
  position: relative;
  width: 100%;
}

.about-image {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 20px 60px rgba(30, 42, 56, 0.15);
}

.about-accent {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 200px;
  height: 200px;
  border: 3px solid var(--gold-primary);
  z-index: -1;
}

.about-text {
  animation-delay: 0.2s;
}

.credentials-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.credential-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--white);
  border-left: 3px solid var(--gold-primary);
  transition: all 0.3s ease;
}

.credential-item:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 24px rgba(30, 42, 56, 0.08);
}

.credential-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 164, 93, 0.15);
  color: var(--gold-primary);
  flex-shrink: 0;
}

.credential-icon svg {
  width: 24px;
  height: 24px;
}

.credential-content {
  flex: 1;
}

/* Testimonials */
.testimonials-section {
  background: var(--white);
  position: relative;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.testimonial-card {
  background: var(--beige-bg);
  padding: 40px;
  border: 1px solid rgba(200, 164, 93, 0.2);
  position: relative;
  transition: all 0.4s cubic-bezier(.645,.045,.355,1);
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--gold-primary);
  transition: height 0.5s ease-in-out;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(30, 42, 56, 0.12);
  border-color: var(--gold-primary);
}

.testimonial-card:hover::before {
  height: 100%;
}

.quote-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 164, 93, 0.15);
  color: var(--gold-primary);
}

.quote-icon svg {
  width: 32px;
  height: 32px;
}

.stars {
  display: flex;
  gap: 4px;
}

.star-filled {
  color: var(--gold-primary);
  fill: var(--gold-primary);
  width: 16px;
  height: 16px;
}

.testimonial-text {
  color: var(--text-dark);
  font-style: italic;
  line-height: 1.8;
}

.testimonial-author {
  padding-top: 20px;
  border-top: 1px solid rgba(200, 164, 93, 0.3);
}

.author-name {
  color: var(--navy-primary);
}

/* Contact Section */
.contact-section {
  background: var(--beige-bg);
  position: relative;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-card {
  background: var(--white);
  padding: 32px;
  border-left: 3px solid var(--gold-primary);
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 24px rgba(30, 42, 56, 0.08);
}

.info-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 164, 93, 0.15);
  color: var(--gold-primary);
}

.info-icon svg {
  width: 28px;
  height: 28px;
}

.contact-form-container {
  background: var(--white);
  padding: 48px;
  box-shadow: 0 12px 40px rgba(30, 42, 56, 0.08);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-primary);
  font-family: 'Inter', sans-serif;
}

.form-input {
  padding: 14px 16px;
  border: 2px solid rgba(200, 164, 93, 0.3);
  border-radius: 0;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(200, 164, 93, 0.1);
}

.form-input::placeholder {
  color: var(--text-secondary);
  opacity: 0.6;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

select.form-input {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23C8A45D' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* Footer */
.footer {
  background: var(--navy-primary);
  color: var(--beige-bg);
  padding: 80px 0 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(200, 164, 93, 0.2);
}

.footer-column {
  display: flex;
  flex-direction: column;
}

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

.footer-logo svg {
  color: var(--gold-primary);
  width: 32px;
  height: 32px;
}

.footer-logo-text {
  font-size: 20px;
  font-weight: 600;
  font-family: 'Crimson Text', serif;
  color: var(--beige-bg);
}


.footer-title {
  font-size: 16px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  color: var(--gold-primary);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  background: none;
  border: none;
  padding: 0;
  font-size: 14px;
  font-weight: 400;
  font-family: 'Inter', sans-serif;
  color: rgba(245, 242, 236, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
  position: relative;
  padding-left: 0;
}

.footer-link:hover {
  color: var(--gold-primary);
  padding-left: 8px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(245, 242, 236, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact-item:hover {
  color: var(--gold-primary);
}

.footer-contact-item svg {
  color: var(--gold-primary);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(200, 164, 93, 0.3);
  color: var(--gold-primary);
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.social-link:hover {
  background: var(--gold-primary);
  color: var(--navy-primary);
  transform: translateY(-4px);
}

.footer-bottom {
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* Responsive */
@media (max-width: 1024px) {
  .container {
    padding: 0 24px;
  }
  
  .hero-large {
    font-size: 36px;
  }
  
  .heading-1 {
    font-size: 32px;
  }
  
  .section-padding {
    padding: 80px 0;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    border-bottom: 1px solid rgba(200, 164, 93, 0.2);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    font-size: 16px;
    width: 100%;
    text-align: left;
  }

  .btn-header {
    display: none;
  }

  .hero-section {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-stats {
    gap: 24px;
  }

  .stat-number {
    font-size: 28px;
  }

  .areas-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .area-card {
    padding: 32px;
  }

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

  .about-accent {
    width: 150px;
    height: 150px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .testimonial-card {
    padding: 32px;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-form-container {
    padding: 40px;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }
  
  .hero-large {
    font-size: 28px;
  }
  
  .heading-1 {
    font-size: 24px;
  }
  
  .heading-2 {
    font-size: 22px;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  .btn-primary,
  .btn-gold {
    min-width: 100%;
    padding: 16px 24px;
  }

  .logo-text {
    font-size: 16px;
  }

  .header-content {
    padding: 16px 0;
  }

  .hero-section {
    padding: 80px 0 40px;
  }

  .hero-cta {
    flex-direction: column;
  }

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

  .stat-divider {
    display: none;
  }

  .stat-item {
    flex: 0 0 calc(33.333% - 16px);
  }

  .image-accent {
    width: 100px;
    height: 100px;
    top: -10px;
    right: -10px;
  }

  .credentials-badge {
    margin-left: 16px;
    margin-right: 16px;
    padding: 20px;
  }

  .about-accent {
    width: 100px;
    height: 100px;
    bottom: -10px;
    left: -10px;
  }

  .credential-item {
    padding: 20px;
  }

  .credential-icon {
    width: 40px;
    height: 40px;
  }

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

  .contact-form-container {
    padding: 32px 24px;
  }

  .info-card {
    padding: 24px;
  }

  .footer {
    padding: 60px 0 32px;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding-top: 32px;
  }
}